Page 1 of 1

Slot warning for modders

Posted: Thu Mar 30, 2006 10:52 am
by el cid again
Testing conclusively demonstrates that bombs in slots 197 to 214 are HARD CODED in ways we do not see or control. For one thing, they are coded by side. These bombs can be moved, but only at the price of incorrect options when the AI substitutes armaments. For example, if you put a 500 pound bomb in the 250 kg bomb slot, a Japanese bomber will use it instead of the Japanese bomb - thinking it is still the 250kg bomb. The AI does not "know" what is in the slot - it only knows what is supposed to be in the slot - and it acts accordingly - wether or not it is true!


RE: Slot warning for modders

Posted: Thu Mar 30, 2006 11:01 am
by DuckofTindalos
Well gee, already knew that...

RE: Slot warning for modders

Posted: Thu Mar 30, 2006 12:48 pm
by treespider
In the editor manual it says:

"These devices can be altered, but they should never be moved."

RE: Slot warning for modders

Posted: Thu Mar 30, 2006 4:15 pm
by Monter_Trismegistos
At this stage of knowing game mechanics, I dont trust manual anymore.

RE: Slot warning for modders

Posted: Thu Mar 30, 2006 5:39 pm
by el cid again
In the editor manual it says:

"These devices can be altered, but they should never be moved."

Yes it does. But they are horribly organized and I changed that. There appear to be ranges - that is some ranges for ships weapons - others for air - others for land - etc. Over time as many as four duplicates of the same weapon have accumulated in CHS - and this created a dirth of slots - as well as a problem just finding something. I have reorganized the slots - fully cognizent of the prohibition - and am engaged in testing - with independent testers as well - to sort out the issues.

Something else I have learned is that a formation MUST BE assigned itself as a formation. This seems not to have been known by several CHS modders (and presumably others). It MIGHT imply one could cause a unit to evolve if the formation was assigned a different formation - but don't assign it zero - and TEST TEST TEST if you don't assign it itself.


RE: Slot warning for modders

Posted: Thu Mar 30, 2006 5:47 pm
by DuckofTindalos
ORIGINAL: Monter_Trismegistos

At this stage of knowing game mechanics, I dont trust manual anymore.

Well, I go by this rule:

"If the manual says you can do something, take it with a grain of salt. If the manual says you can't do something, it's most likely correct".