User avatar
muddymonkey77
Captain
Posts: 183
Joined: Mon Jan 22, 2007 5:35 pm
Location: New York

Spanish Militias Disbanding-where is code?

Fri Feb 22, 2008 3:24 am

I've managed to make it so that the Various regiments don't disband. It works for the Americans, British, and French. However, the Spanish militias are always disbanding. Where is the code located to make them also not disband at the end of the year?

USA code looks like this in the .scn file now:

The USA is the nation formed by the 13 rebellious colonies after the Declaration of Independance from Britain, on July 4th 1776.
str1775CampaignVC_AME
AME|0|1|6|0|0|0|2|
55|56|57|58|59|60|61|62|63|64|65|66|67|68|69|71|74|75|76|77|78|79|80|81|82|83|84|85|86|87|88|89|90|
4|2|2|1|2|2|3|1|3|3|4|5|3|1|1|2|1|1|1|1|1|1|1|1|6|4|5|2|1|1|1|1|1|
0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|
80|92|137|337|228|241|298|383|442|480|


Oh, and what do the other numbers mean?
Image

User avatar
lodilefty
Posts: 7613
Joined: Sat Aug 11, 2007 3:27 pm
Location: Finger Lakes, NY GMT -5 US Eastern

Fri Feb 22, 2008 1:13 pm

Hey muddy!

Believe it or not, the Spanish Autoraise command is in the 1776 Campaign.sct file in the Events folder! The 75 campaign uses 76 events to avoid duplicate code...

Look for the 'Autoraise' command, in the evt_nam_Galvez event. The '75' is the % likely to disband.

If you're not already doing it, I strongly suggest you download the DB files and work with them. The Scenario files in the game [.scn suffix] are almost unreadable.... The huge string you cite is 'decoded' nicely in the database.

Yes, the csv file -> csv splitter -> rename file -> game editor sequence is daunting, but there people here that can get you through it. After all, they've gotten me through it!!!!! :niark:

Return to “Birth of America”

Who is online

Users browsing this forum: No registered users and 6 guests