 |
|
Peter Triggs
|
|
Gone Fishin, Canada
Jan 2000 time: 05:15
|
|
"MOB messages"? I never wrote anything about MOB messages.
In a day or two I'll put together a file so that you can just insert the Updater into MedMod, but I'm working on something else right now.
|
|
|  |
 |
|
Cube
|
 |
El Paso, Tx
Nov 2000 time: 22:15
|
|
It says something like MObunitcost not found in string database. Basically what I think the problem is that its not finding the messages that popup to upgrade the units. The part that says units need to be upgraded, we have this much gold, do you want to upgrade all the units, do you want to upgrade some of the units etc........ I read the installation file and it says I need to put CRA_scen_str.txt in a scenario folder, but I didn't find CRA_scen_str.txt in the 9/13 update, and I don't want to download craddle since it's 12 MB and my connection sucks.
In a day or two I'll put together a file so that you can just insert the Updater into MedMod, but I'm working on something else right now.
that's Ok I need to study for two test, Differential Equations(a Hard math class), and Communications 1302( I need to read 3 chapters). My Diff. EQ. test is tommorow, and the Communications test is on Teusday, so I probably won't be playing CTP 2 until Wednesday.
|
|
|  |
 |
|
Peter Triggs
|
|
Gone Fishin, Canada
Jan 2000 time: 05:15
|
|
Ahh, the MObs strings, it comes back to me. Couldn't do what I had originally planned but this should help:
Here's the original UnitUpdater file. Since you want to use it with the MedMod expansion pack, I've renamed it MM2X_UnitUpdater.slc. Put it in the same folder as the other MM2X_... slc files.
Now here's the strings you need:
code:
MObsUnitsFirst "Great news, Sire! Our recent discovery will allow us to re-train and re-equip some of
our military units. We have already switched production to the new units but we have some
old units in use. Shall I proceed?"
MObsUnitsCostOK "We have {NUM_OBS_UNITS} {OBS_UNIT_ARRAY[0].name} units who are pleading for
more modern equipment. It will cost {TOTAL_COST} gold to provide them with it and we have enough gold in
the treasury. Shall we retrain and re-equip all of them?"
MObsUnitsCostOKand1unit "We have {NUM_OBS_UNITS} {OBS_UNIT_ARRAY[0].name} unit who is pleading for
more modern equipment. It will cost {TOTAL_COST} gold to provide them with it and we have enough gold in
the treasury. Shall we re-train and re-equip them?"
SOME "Not all. Show me them."
MPartialUpdate "Shall we modernize this unit?"
MObsUnitsCostNotEnoughGold "It will cost {TOTAL_COST} gold to modernize those units
but we don't have enough gold in the treasury. Shall we retrain and
re-equip some of them?"
MNoMoreGold "Sire, I regret to inform you that the treasury is bare."
Copy and paste these into whatever file Wes has been using for his strings (presumably, one of the string files in ctp2_data\english\gamedata).
Now you get to customize the data. At the beginning of the UnitUpdater file there are four data arrays:
code:
//DATA ARRAYS: here's where you fill in the above arrays
enadv[0]=AdvanceDB(ADVANCE_FEUDALISM);
OLD_UNIT_TYPE[0]=UnitDB(UNIT_HOPLITE);
NEW_UNIT_TYPE[0]=UnitDB(UNIT_PIKEMEN);
PER_UNIT_UPDATE_COST[0]=205;
enadv[1]=AdvanceDB(ADVANCE_FEUDALISM);
OLD_UNIT_TYPE[1]=UnitDB(UNIT_WARRIOR);
NEW_UNIT_TYPE[1]=UnitDB(UNIT_PIKEMEN);
PER_UNIT_UPDATE_COST[1]=230;
enadv[2]=AdvanceDB(ADVANCE_GUNPOWDER);
OLD_UNIT_TYPE[2]=UnitDB(UNIT_ARCHER);
NEW_UNIT_TYPE[2]=UnitDB(UNIT_INFANTRYMAN);
PER_UNIT_UPDATE_COST[2]=850;
Those are just examples, you'll want to fill them in with your own data. I think it's pretty self-explanatory. You just have to go through the MedMod tech tree and decide which advances you want to allow the enabling of which updates, and how much it should cost. You can have as many as you want so long as you follow the above pattern.
You've already got CRA_updater.slc; check Hexagonian's data there. But remember that the data is relative to the Unit and Advance databases (Units.txt and Advance.txt) so it won't be completely compatible.
Attachment: mm2x_unitupdater.slc
This has been downloaded 10 time(s).
|
|
|  |
 |
|
Peter Triggs
|
|
Gone Fishin, Canada
Jan 2000 time: 05:15
|
|
Some people put their 'messages', really 'messageboxes', in a separate .slc file (I don't know why). But the strings, which are the actual text that the message sends go in a .txt file. Originally, it would have been scenario_str.txt, but I don't know what Wes is using now.
|
|
|  |
All times are GMT. The time now is 05:15. Apolyton Time is 00:15. |
top of page
|
| archivepost |
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|