Quantcast
Channel: Project Reality Forums - PR:BF2 Bugs
Viewing all articles
Browse latest Browse all 2537

v1.3 [Code]ObjectTemplates created multiple times

$
0
0
I'm still working on vehicle parsing BF2 stuff every now and then, and my tool generated a couple of notes for PR's vehicles:
Code:

WARNING: Object gb_jet_eurofighter_sp_frontgear_taxi_RotationalBundle is defined multiple times.
WARNING: Object ger_jet_eurofighter_sp_frontgear_taxi_RotationalBundle is defined multiple times.
WARNING: Object nl_jet_f35a_asf_dummysteer is defined multiple times.
WARNING: Object nl_jet_f35a_asf_taxiengine is defined multiple times.
WARNING: Object us_ahe_uh1d_Engine is defined multiple times.
WARNING: Object brdm_codriver_periscope is defined multiple times.
WARNING: Object brdm_codriver_unscoped is defined multiple times.
WARNING: Object brdm_horn_periscope is defined multiple times.
WARNING: Object brdm_horn_unscoped is defined multiple times.
WARNING: Object ch_ifv_type86_LDrivewheel is defined multiple times.
WARNING: Object ch_ifv_type86_Lwheel_01 is defined multiple times.
WARNING: Object ch_ifv_type86_RDrivewheel is defined multiple times.
WARNING: Object ch_ifv_type86_Rwheel_01 is defined multiple times.
WARNING: Object ru_apc_bmp2_LDrivewheel is defined multiple times.
WARNING: Object ru_apc_bmp2_Lwheel_01 is defined multiple times.
WARNING: Object ru_apc_bmp2_RDrivewheel is defined multiple times.
WARNING: Object ru_apc_bmp2_Rwheel_01 is defined multiple times.
WARNING: Object ru_ifv_bmp3_Pass5 is defined multiple times.
WARNING: Object ru_ifv_bmp3_Pass6 is defined multiple times.
WARNING: Object us_apc_stryker_smoke is defined multiple times.
WARNING: Object us_apc_stryker_mk19_smoke is defined multiple times.
WARNING: Object us_jep_hmmwv_crows_Gunner is defined multiple times.

All those objects have multiple instances of "ObjectTemplate.create" in the vehicles' files (usually once in the .con, and once in the .tweak).
I'm not 100% sure how BF2 reacts to this, but I always was under the impression that templates should only be created once, and subsequent creates will overwrite the existing one. That being the whole reason for .activeSafe being used to edit existing templates.

Just thought I'd give a note. None of those cause really critical issues right now AFAIK, but they could also easily be cleaned up.

Viewing all articles
Browse latest Browse all 2537

Trending Articles