[DOD:S] Day of Defeat entities not being able to be enabled when set to Start Disabled
Hello, I'm here to report a bug I'm experiencing with Day of Defeat entities.
Here I have a dod_capture_area with the keyvalue StartDisabled set to Yes
Via I/O this dod_capture_area is supposed to be enabled when the Allies capture the first dod_control_point
However, in-game when I capture the first dod_control_point the second dod_capture_area does not get enabled
Setting the StartDisabled keyvalue back to No, inside the dod_capture_area allows me to properly enable and disable it via ent_fire but this simply won't be possible to do without sv_cheats enabled
A work around I discovered while writing this is to have all Day of Defeat Entities set to start enabled and using a logic_auto with OnMapSpawn to manually disable them, which while it does achieve the desired goal, it is not very intuitive from a logic perspective and adds unnecessary complexity to logic setups, at least until a proper fix is implemented.
I will also add that this seems to be an issue with nearly all Day of Defeat specific entities
I will also add that this seems to be an issue with nearly all Day of Defeat specific entities
For unrelated reasons to each other. Lets go though each entity that inherits "EnableDisable" in the FGD:
-
dod_capture_area-StartDisabledKV doesn't work because the associated variable gets set to false when the entity spawns (this should've been done in the class constructor instead).EnableandDisableinputs work as intended. -
dod_bomb_dispenser- same issue asdod_capture_area. -
dod_control_point-StartDisabledKV andEnable/Disableinputs don't exist. This would probably need to be a preserved entity for them to work properly even if they did exist. -
info_doddetect-StartDisabledKV andEnable/Disableinputs don't exist. They'd be kinda useless unless Valve also fixed the entity not being preserved between rounds when it's supposed to be. -
dod_control_point_master-StartDisabledKV andEnable/Disableinputs exist and work correctly, but are kinda useless due to entity not being preserved between rounds. -
dod_bomb_target-StartDisabledKV andEnable/Disableinputs exist and work correctly. Reset between rounds, as it should be. -
info_player_axis/info_player_allies-StartDisabledKV andEnable/Disableinputs exist and (should) work correctly. Preserved between rounds, as they should be.