Since 1.18 and the 'adding' of 'Static_' defined objects into cfgVehilces, no longer can you define them in cfgNonAiVehilces and be able to query them from the map.
Prior to 1.18 if an object was defined in cfgNonAiVehilces with the object class name prefixed with 'static_' you could then also created a scripted class, then use scripts to interact with baked in map objects that use the defined model from the config entry.
POST 1.18 this is no longer available. the engine has NO way to query the baked in to map objects. PLEASE return ALL of the 'Static_' defined objects BACK to cfgNonAiVehilces, if and if so desired, make all of the entries in cfgVehilces to "Land_".
Description
Description
Details
Details
- Severity
- Major
- Resolution
- Open
- Reproducibility
- N/A
- Operating System
- Windows 10 x64
- Category
- General
Steps To Reproduce
PRE 1.18
defined a map object model in CfgNonAIVehicles as such..
class CfgNonAIVehicles { class StaticObject; class Static_Garbage_Bin: StaticObject { scope = 2; model = "\DZ\structures\residential\Misc\Garbage_Bin.p3d"; }; };
with this.. you can define a scripted class in 4_World..
class Static_Garbage_Bin extends Object { void Static_Garbage_Bin() { Print( GetType() + " found at POS=<" + GetPosition() + ">" ); } }
and this will print to logs the POS of every one of those objects that is baked into the map.
POST 1.18
none of this works.
Event Timeline
Comment Actions
Thank you for the report Zedmag.
We are currently looking into the problem.
Regards,
Geez
Comment Actions
Hello Zedmag.
The issue has been resolved for the current experimental - Newly implemented static objects were renamed to StaticObj_* instead of Static_
Regards,
Geez
Comment Actions
Does this mean the original back end mechanics of linking map objects to "Static" config will be the way it was?