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 > Have i reached the max number of units?
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
Pedrunn is offline Pedrunn
King
of Natal, Brazil
Jul 2001
time: 02:15
  Old Post 01-08-2001 21:26
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Have i reached the max number of units? Browse Apolyton AD-FREE

CTP2 had so much problems when played right out of the box that force us to download Mods. It is impossible after getting this mods not to learn a little about CTP2 modmaking. I even created my own modifications. One of features of it is the number of units. After include the medmod units + new Elite Units + Wonder Units + new units i created myself, I reached a total of about 145 units. While playing it i noticed every time i got the Bronze Working wich i was supose to get the Swordsman Unit I did not got it.

I tried to check the every possible file that could be causing this problem. I did not find a thing . What is the stranger part is that the Swordsman is a unit i got from MM2 and i did not change it at all.

I noticed that the problem also happened with the warrior another Attack unit. I was thiking it was a problem with the Category Attack units. But the others Attack units are ok.

My theory is that i reached the max number of units you can add!
Does anyone know if there is such max number?
I'll will will start decreasing the number of units to see what will happen. And yes, the swordsman appear in the Cheat Mode unit screen.

If anyone else have another suggestion on what is causing that I am all ears.

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:15
  Old Post 02-08-2001 03:17 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Lose 30 kilos (of popups)

You can include 200 unit sprites maximum, but there *should* be no upper limit on actual units, I don't know anyone who found one, and I'm pretty sure I put over 150 into CTP...

I would check for CantBuild lines, wierd enabling (and obsoleting advances) and if you have any SLIC included, look for a

code:
CanCityBuildUnit
line, and take it out.

Ooh, How many units have you enabled with Bronze Working? I know an advance which enables more than four other advances caused a crash, maybe its the same with units?

One more thing, when you say
quote:

+ new units i created myself

Did you actually make the new sprites? There are too few people who make unit sprites

Pedrunn is offline Pedrunn
King
of Natal, Brazil
Jul 2001
time: 02:15
  Old Post 02-08-2001 06:54
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Get a bigger avatar today!

You really have that much units. I was almost sure that my max number of units reached theory was right since i deleted some units and the swordsman appeared in the menu. But not a sight of the warrior .

I will do some more testing. And i'll check the Bronze working number of units.

i cant make sprites, I just get some from CTP1 and the ones in the Apolyton (the site) files.
AnyWay, have you seen the BlueO's Mech units. It says no animations but the do have it. And they are amazing!!! Better than the ones from the CTP2's designers. I cannot believe i didnt ever heard about them.
Sorry i had to share this info with someone .

Last edited by Pedrunn on 02-08-2001 at 06:59

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:15
Post  Old Post 02-08-2001 16:17 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton or Terrorists Win

I guess you started a new game after you modified the game. If you load a saved game with more units than it was saved you will get such problems, but as I remember such problems are a little bit more serious.

-Martin

Pedrunn is offline Pedrunn
King
of Natal, Brazil
Jul 2001
time: 02:15
  Old Post 02-08-2001 16:57
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

I'm pretty sure it is not the Advance thing. since i fixed the swodsman i start focusing in the warrior and i delete all the things enabled by its advance(tool Making) and still it does not appear. I could delete the warrior what i want to but my fear is this problem happennig with others unit during the game.

Martin, that not it, because when you load a game after deleting a unit (for example) all the units that appear right after this one in the unit.txt drops a position (to fill the blank space left by deleted unit). And i'm sure that is not it too.

I will continue deleting the units i most dislike (I already made a list). And see what happen.
Thanks Anyway

Pedrunn is offline Pedrunn
King
of Natal, Brazil
Jul 2001
time: 02:15
  Old Post 03-08-2001 00:56
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Suffering from ads?

AAAAArgh!!! I already deleted 9 units(re-arranging the others units to keep the Age unit equality) and nothing from the warrior!

I will just delete it like i said, start a new game and see if any others unit has also disapeared.

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:15
  Old Post 03-08-2001 02:19 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

Could you post a zip of your units.txt, newsprite.txt and gl_str.txt, as well as any other SLIC you added please? I am really interested and puzzled over this one

Pedrunn is offline Pedrunn
King
of Natal, Brazil
Jul 2001
time: 02:15
  Old Post 03-08-2001 07:21
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Get a bigger avatar today!

Here it is. I Those are all the files i changed about the units before i started the deleting: units.txt , uniticon.txt , newsprit.tst , updater.slc , slc_chris.slc , gl_str.txt , scen.txt and worderunits.slc
I only put the gl_str because you asked for but the only thing i changed in it was the govs names. The slc_chris is the Elite Unit code i borrow from MedMod, the updater is the unit updater, the Wonderunits i think you know what it is . Although none of then has nothing to do with the Warrior.

PS: And the AS before the files are there because i use modswaper to load my changes.

Attachment: units.zip
This has been downloaded 4 time(s).

Last edited by Pedrunn on 03-08-2001 at 07:34

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:15
  Old Post 03-08-2001 16:07 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Get a bigger avatar today!

I think I've found it...

I suspected the problem was in the Elite units code, as it is the only thing that bans certain units.

The lines

code:
for(i = 0;i < 125;i = i + 1) { unitOwner[i] = ANYCIV; }

in AS_SLC_Chris.slc mean that the first 125 units can be built by anyone. As you have 145 (?) units in the mod, you will need to change that number to however many you do now have. That way, their owners will become ANYCIV, and any civ can build them.

Some more points
You might need to delete the // from the first line in AS_SLC_Chris.slc, as it was removed for inclusion in Wouter's SLC file (in the MedMod2) That's this one:
code:
//int_t unitOwner[];

If you get an error with it.

Then in the updater.slc file, the last array you filled in is numbered 22 again, whereas it should be 27.

If there is a problem with the wonderunits code clashing with the elite units code, just tell me, because they both use the same function, and the WU one will need changing. I had the same problem with the OCC scenario... but anyway...

Looks like a great mod Good Luck

Pedrunn is offline Pedrunn
King
of Natal, Brazil
Jul 2001
time: 02:15
  Old Post 03-08-2001 18:12
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

20 units were going to disappear. Almost everyone i create
For sure i was going to loose my mind I had not seen this line.

Thanks IW for being so considerating with my problem. It kinds of make me feel more comfortable with the community. And I was begginnig to feel worried that all my effort in this mod was lost.
I will change this line and I start a new game to see what happens.

PS: I did not notice any problem neither with the Elite Unit . nor with the wonder unit (Great idea anyway, i only start a expansion with one of them ).
Just the Elite messages arent showing up(small bug), but i guess it is because i changed the MM2_scen.txt to AS_scen.txt. The rest is ok. I can try to fix myself.

Pedrunn is offline Pedrunn
King
of Natal, Brazil
Jul 2001
time: 02:15
  Old Post 03-08-2001 18:44
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Help yourself to an AD-FREE life

Wooooooooohoooooooooo!!!!!!!!

It worked! It Worked !! It Worked !!!

Thank you, IW. I wouldnt know what to do without you.

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:15
  Old Post 03-08-2001 20:28 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Support Apolyton buy from Amazon

quote:
Originally posted by Pedrunn
Thanks IW for being so considerating with my problem. It kinds of make me feel more comfortable with the community.


Not a problem at all There are some communities where you just get newbiefied and everyone is nasty and unhelpful for weeks until you get to be known. Apolyton was always friendly to me, so I'll be friendly to everyone else

quote:

Thank you, IW. I wouldnt know what to do without you

Someone else would have helped perhaps

  < 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.0372 seconds (90.84% PHP - 9.16% 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