View Issue Details

IDProjectCategoryView StatusLast Update
0004405Spring engineGeneralpublic2014-06-09 01:55
Reportersilentwings Assigned ToKloot  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version97.0 
Summary0004405: CMD.MANUALFIRE is not passed to gadget:AllowCommand if the order if given in FPS mode
Descriptionas above
Steps To Reproduce1) Select a unit that can manual fire (eg. com in BA)
2) Enter FPS mode, give a manual fire (dgun) order
3) Check if gadget:AllowCommand was called
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

Kloot

2014-06-02 23:12

developer   ~0013187

FPS mode isn't implemented via commands.

silentwings

2014-06-02 23:59

reporter   ~0013188

Is there any way to disallow a command given in fps mode?

If not, then the unit_limit_dgun gadget (in base content) is a bit broken!

Kloot

2014-06-03 00:49

developer   ~0013189

Last edited: 2014-06-03 00:50

Nope, all fps controls (except the AllowDirectUnitControl check) completely bypass Lua.

You will have to get creative within a unit's script if you want to block its weapons while being FPS'ed outside a certain area.

silentwings

2014-06-03 02:16

reporter   ~0013190

Hmm, I don't fancy a unitscript adventure & if fps mode bypasses lua then it probably causes so many hax opportunities that I should just disable it completely. You can close the ticket :)

Kloot

2014-06-09 01:55

developer   ~0013237

note to self: add a AllowDirectUnitControlUpdate callin

Issue History

Date Modified Username Field Change
2014-06-01 01:33 silentwings New Issue
2014-06-02 23:12 Kloot Note Added: 0013187
2014-06-02 23:59 silentwings Note Added: 0013188
2014-06-03 00:49 Kloot Note Added: 0013189
2014-06-03 00:50 Kloot Note Edited: 0013189
2014-06-03 02:16 silentwings Note Added: 0013190
2014-06-09 01:55 Kloot Note Added: 0013237
2014-06-09 01:55 Kloot Status new => closed
2014-06-09 01:55 Kloot Assigned To => Kloot
2014-06-09 01:55 Kloot Resolution open => no change required