482
edits
(→Notes) |
(→Notes) |
||
Line 488: | Line 488: | ||
The solution is to combine the two <load> sections into one, and the same with the <unload> sections. You'll need to know a little about [[Nasal]] programming to do anything complicated, but as a rule you can just copy/paste whatever is in the aircraft's <load> section to the start of Bombable's <load> section, and the same with <unload>. | The solution is to combine the two <load> sections into one, and the same with the <unload> sections. You'll need to know a little about [[Nasal]] programming to do anything complicated, but as a rule you can just copy/paste whatever is in the aircraft's <load> section to the start of Bombable's <load> section, and the same with <unload>. | ||
* You'll notice the Nasal code starts with ''<![CDATA['' and ends with '']]>''. That is needed to make Nasal code work within XML files. [http://www.w3schools.com/xml/xml_cdata.asp CDATA usage is explained here.] | |||
==STEP 4. Add to an AI Scenario== | ==STEP 4. Add to an AI Scenario== |
edits