Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Miscellaneous > Archive > CtP2-Creation/AI/Mods/Scenarios-Archive > Can't get unit updater to work
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Cube is offline Cube
Warlord
El Paso, Tx
Nov 2000
time: 22:15
  Old Post 06-10-2001 23:25
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Can't get unit updater to work Support Apolyton or Terrorists Win

Recently with medmod V2 coming out I though I would implement Peter Triggs unit udater, but I can't get it to work. I already edited everything for medmod, but it says it cant find the MOB messages, and I can't find it in script.slc. I extracted update string . txt from the 9/13 craddle update, but it still doesn't work. I searched for the thread, but didn't find it either. Can any one help?

Peter Triggs is offline Peter Triggs
Prince
Gone Fishin, Canada
Jan 2000
time: 05:15
  Old Post 07-10-2001 19:10
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

"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 is offline Cube
Warlord
El Paso, Tx
Nov 2000
time: 22:15
  Old Post 08-10-2001 01:48
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Get a bigger avatar today!

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.

hexagonian is offline hexagonian
King
Gnawing on your mind...
Jun 1999
time: 23:15
  Old Post 09-10-2001 00:10 Visit hexagonian's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Help yourself to an AD-FREE life

quote:
Originally posted by Cube
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.


The most current Cradle update file has all of the text files only (582 KB), so the file you are looking for should be in there.

I could always send you a CD with all my modified files...

Peter Triggs is offline Peter Triggs
Prince
Gone Fishin, Canada
Jan 2000
time: 05:15
  Old Post 11-10-2001 01:59
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

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).

Cube is offline Cube
Warlord
El Paso, Tx
Nov 2000
time: 22:15
  Old Post 11-10-2001 04:28
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Inflate your Upload Space

I already edited it for medmod there were about 40 or so unit updates, and it was very tediuos. I lowerered the upgrade cost to about 0.1 % production since money is hard to make in medmod with the high upkeeps, or at least it was in the previous version.

I though these were messages, but you said they were strings. I know messages go in the MM2_script.slc file, But I don't really know where the strings go. I'll have to try in all the files in that folder except the library ones. What's the difference between a string and a message?

Peter Triggs is offline Peter Triggs
Prince
Gone Fishin, Canada
Jan 2000
time: 05:15
  Old Post 12-10-2001 04:07
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Get a bigger avatar today!

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.

Cube is offline Cube
Warlord
El Paso, Tx
Nov 2000
time: 22:15
  Old Post 13-10-2001 03:41
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Full PM-box? Change here!

well I got it to work, and I'm playing, but I haven't discovered phalanx yet so I don't know if it works. It didn't give any error messages, so It more than likely works.

Wes uses MM2_scenario_str.txt for his strings.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:15.
Apolyton Time is 00:15.
    top of page
Rate This Thread:
archivepost
Forum Jump:
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
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0490 seconds (90.03% PHP - 9.97% MySQL) with 31 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net