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 > How do I add units / modify tech tree ?
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
Pizza is offline Pizza
Chieftain
Stratford, Ontario, Canada
Jan 2001
time: 05:14
  Old Post 15-07-2001 08:26 Visit Pizza's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
How do I add units / modify tech tree ? Support Apolyton

Is it possible to add units and modify the tech tree ? I miss the legion and phalanx for CTP1. Also, can I modify the tech tree ? Which files would I have to look at ?

Thanks for any info

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:14
Post  Old Post 15-07-2001 17:57 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton buy from Amazon

Here are some pices of information about it:

You have to modify the the advance.txt in your ..\ctp2_data\default\gamedata\ to add more advances compare this file with the craddle or MedPack2 versions craddle version can be found in the ..\scenarios\cradle of civilization 1.1\scen0000\default\gamedata\ folder and the MedPack version is called MM2_advance.txt.

If you want to add a picture for your new advance you have to modify the uniticon.txt in the same folder as the advance.txt.

To add the name for your advance you you have to modify the gl_str.txt in your ..\ctp2_data\english\gamedata\ folder.

To add Great Library entries you have to modify the Great_Library.txt in the same folder as gl_str.txt.

For the units you start with the unit.txt. The unit graphics that you see on the map are stored in sprite files. A unit sprite file for CTP2 looks like gu000.spr. You find the sprites in the ..\ctp2_data\default\grapics\sprites\ folder. The unit sprites for CTP1 can also be found in this folder they are called like gu00.spr. To add the sprites for your units you have to modify the file newsprites.txt in your ..\ctp2_data\default\gamedata\ folder. To add the stuff for the Great Library follow the steps for the advances (uniticon.txt, gl_str.txt, Great_Library)

I tryed to make the explanation short therefore I left out examples. But I think it is no problem to copy, paste and modify the code of existing advances and units. So if you need more information about it please ask.

-Martin

Pedrunn is offline Pedrunn
King
of Natal, Brazil
Jul 2001
time: 02:14
Question  Old Post 15-07-2001 20:47
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

Martin, i'm doing this kind of changes a long ago, but i'm having a problem with only one thihg: At the newsprites.txt it does not give sprite file name it just gives a number. So, how do i associate the number with the file?
I used to change the sprite file direct from the units.txt, but this number thing is something i always wanted to know?

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:14
Post  Old Post 15-07-2001 21:52 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, pre-order Civilization IV

In the unit.txt you find a line like:

DefaultSprite SPRITE_PILLBOX

This line reveres to a line in the newssprite.txt:

SPRITE_PILLBOX 123

This is an exaple from the WW2 scenario. The number 123 means that the game search for sprite called gu123.spr. You see the sprite files contain a number in its name. The u indicates that its a unit sprite. A city sprite looks like gc000.spr. c for city. Of course it would be better to put the file name of the sprite into the unit.txt, than we could add more than 200 units or city graphics effects or goods to the game. The fact that the number is located in the newsprite.txt make this number to a unit sprite.

-Martin

Pedrunn is offline Pedrunn
King
of Natal, Brazil
Jul 2001
time: 02:14
  Old Post 16-07-2001 04:43
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton buy from Amazon

Thank you Martin this makes things much clear.

Pizza is offline Pizza
Chieftain
Stratford, Ontario, Canada
Jan 2001
time: 05:14
  Old Post 25-07-2001 07:16 Visit Pizza's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Remove this text

Thanks Martin.

I have been able to add the phalanx, chariot, and legion back in. I'm planning on adding some of my own futuristic units.

What files have to be modified in order to get the AI to use new advances ? Is it just 'AdvanceLists.txt' under the aidata directory ? I played a game for several hours before I realized the AI could not move up the tech tree.

hexagonian is offline hexagonian
King
Gnawing on your mind...
Jun 1999
time: 23:14
  Old Post 25-07-2001 08:18 Visit hexagonian's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton or Terrorists Win

Go to my site

http://www.mydocsonline.com
login: hexagonia
password: hextapul

I have a modders guide available for download for adding units/advances/wonders, etc (basically it's for working in all of the text files)

Sorry, no SLIC advice though...

Ta'bas is offline Ta'bas
Settler

Jul 2001
time: 15:14
  Old Post 30-07-2001 20:34
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Support Apolyton, pre-order Civilization IV

I have added the hi-tech units, the slinger, amazon units, fantasy units using the mod guide everything works except when I start a game the unit will not show up in the city-manager to build. They will show up when I reload the SLC but only for that turn that I reload it. I have edited the newsprite, unitcon, units, G.Library, gl_str, and the unitbuildlist. Is there something i am missing?Any suggestion would be appreciated.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:14
Post  Old Post 31-07-2001 02:46 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Remove this text

Ta'bas did you start a new game afterwards you modified the gamefiles. If you try to load a game that is started before you added some units to the game you will see wired effects. So far I have no other idea what your problem could be.

-Martin

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:14.
Apolyton Time is 00:14.
    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.0349 seconds (89.04% PHP - 10.96% 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