ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

New Construction Options: Difference between revisions

From ModEnc
Jump to navigation Jump to search
m Added to category
Marshall (talk | contribs)
redirecting
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
"New Construction Options", the sound generated by C&C if there are new construction options available, is usually only mentioned because it doesn't work as intended.
#REDIRECT [[EVA_NewConstructionOptions]]
 
== The Bug ==
The sound gained sad fame by the fact that there's a bug resulting in this sound being repeated everytime there is a creation (or similar action) performed, e.g.
 
Unit created.<br>
New construction options.<br>
Unit created.<br>
New construction options.<br>
Unit created.<br>
New construction options.<br>
New construction options.<br>
New construction options.<br>
Technology stolen.<br>
New construction options.<br>
New construction options.<br>
Unit created.<br>
New construction options.<br>
 
...etc.
 
[[DCoder]] also reported: That's not the only problem with the NCO bug... At least to me.. when I hear "New Construction Options", my sidebar jumps to a random position (up or down). Gad damn annoying.
 
== The "New Construction Options" bug (by DCoder) ==
 
The information provided in this tutorial is a compilation of info provided by various members of the modding community, credit goes to ''[[Martyr]]'', ''[[CannisRabidus]]'', ''[[Blade]]''... did I forget anyone?
 
Many modders have experienced the "New Construction Options" or NCO bug. Symptoms: EVA repeatedly saying "NCO" after any vehicle/infantry/structure is built.
The cause of this bug is indirectly the WW's decision to keep navy a part of the VehicleTypes list, rather than creating a separate one. Ergo, shipyards are classed as Factory=VehicleType, just like the War Factories are. This results in the game thinking that you can build the ground vehicles when you only have the shipyard, and vice versa. So, unless you set all ground vehicles to have at least Prerequisite=one of war factories, and all Naval=yes units Prerequisite=one of shipyards, you'll get the bug when you own one of the factories, but not the other. You can add other Prerequisites if you like, but a factory of the appropriate kind must be present in the Prerequisite= entry.
PrerequisiteOverride= is another problem. Since it ignores the Prerequisite= and only needs one of the buildings from the list, you can restore the bug easily, if you aren't careful. If you set the PrerequisiteOverride= to something else than the appropriate factory, you'll get the bug. So it's best to stay away from this tag in this case...
InfantryTypes don't suffer from this, as there is only one kind of Barracks. BuildingTypes seem to be bug-free (in this aspect) too.
 
 
== Solutions ==
 
'''CannisRabidus:''' Check for typos. You might just think you have all countries listed...<br>
'''ArgCmdr:''' Owner parameters on side-buildings should contain all playable houses, else that sound is played.<br>
'''Renegade:''' Well, from my rich funds of experience with this god-damned bug, I can only give one advice: Just disable that freakin' sound...you won't hunt it down...and even if you did, it will come again...and again...it's everywhere......you can't escape from it...disabling it makes modding much more funny, since you don't need to fuckin' care about it...
<blockquote>eva(md).ini, [EVA_NewConstructionOptions], make it look like this:<br>
[EVA_NewConstructionOptions]<br>
Text=New construction options.<br>
Russian= ;csof049<br>
Allied=; ceva049<br>
Yuri= ;cyur049<br>
Type= QUEUE<br>
Priority= LOW <br>
</blockquote>
Reportedly, TechLevel= typos generate the bug as well.
 
 
This bug is usually referred to as the "NCO-Bug".
 
[[Category:Bugs_and_Errors]]

Latest revision as of 16:07, 18 May 2008