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 > Civ3-General-Archive > Tutorial - How to add a custom unit with PTW
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
Boris Godunov is offline Boris Godunov
King
Portland, OR
Aug 2001
time: 00:23
  Old Post 07-11-2002 23:36
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Tutorial - How to add a custom unit with PTW Support Apolyton or Terrorists Win

I posted this in another thread, but don't think many saw it. This is from the perspective of a non-computer person (me), so hopefully it will help others are similarly not that computer savvy. I will try to clarify anything as needed.

Step-by-Step Guide to Adding a Unit with PTW.

Okay, so you’ve just downloaded a cool new unit from online. How would you add it?

Here is a step-by-step guide. For the purposes of this guide, the unit is the “Napoleonic Rifleman” (available at civfanatics.com)

1) Create the Mod folder.

a.) In your PtW directory (under Civ3), there is a folder called “Scenarios.” Create a new folder here and name it whatever you want your mod to be called. Ours will be “Napoleon.”

b) Now, within that folder, you need to create a directory of several folders that the game will search for your files. The directory should look like this:

I. Napoleon
. |____A) Art
. | |___1) Civilopedia
. | | |____a) Icons
. | | |____i) Units
. | |__2) Units
. |____B) Text

Naturally, IGNORE the outline notation when naming the folders!

2) Place the Napoleonic Rifleman unit folder you’ve downloaded in the 2) Units folder (the one under Art, not the one under icons).

3) You may have a couple of .pcx files for the unit, depending on whether or not the creator made them. If you do (they are likely in the unit folder), copy and paste them into the i) Units folder under Art-Civilopedia-Icons-Units. If you don’t have pcx files for this particular unit, don’t worry—they aren’t necessary.

4) Go to the main Text folder under PTW. Among the text files there will be Civilopedia” and “Pediaicons.” Copy these and paste them in your B) Text folder

5) In the Pediaicons file, scroll to the section where you see a bunch of entries that say #ICON_PRTO_[Unit name]. Go to the end of this list and create a new entry named #ICON_PRTO_Napoleonic_Rifleman. If you have .pcx files for it, add the two lines underneath this one just like all the other units, substituting the names of the .pcx files with the nap. Rifleman pcx.files. If you don’t have custom .pcx files, you still must have something here, so just cut and paste another unit’s .pcx files (like the regular rifleman).
[What this is doing is telling the civilopedia which pictures to use when you display the new unit during the game]

6) Also in the Pediaicons file, way down near the bottom, there is a section for the units where the entries start #ANIMNAME_PRTO_[Unitname]. At the end of this list, add a line that says #ANIMNAME_PRTO_Napoleonic_Rifleman. Now underneath this line, enter the name of the unit exactly how it should appear in the editor/game – Napoleonic Rifleman (no underscores).

7) This step is optional for if you want a detailed civilopedia entry for the new unit. Open up Civilopedia.txt and find the section that is giving the unit descriptions. This is pretty easy—just copy the exact format of other entries, substituting the PRTO_Napoleonic_Rifleman i.d. and adding text as you wish. Even if you don’t do this, that’s ok…the unit should still work.

8) Let’s go to the PTW editor. Start a new PTW scenario. In order to be able to edit the rules for units, you have to check the “Custom Units” option. It’s under one of the toolbars up top (I forget which). Once you do this, open the rules and go to units.

9) On the units screen, press the “Add” button. When prompted, enter “Napoleonic Rifleman” as the unit name. Now you can set all the values, requirements, etc. for the unit as normal.

10) BE SURE to fill in the text box on the unit screen that says “Civilopedia” the name of the unit like this: PRTO_Napoleonic_Rifleman –this is critical! Now you should be done with the units screen.

11) Back in the main editor, go to the “Scenario Properties” screen. There is an icon for it on the toolbar that looks like the army standard the armies in Civ3 carry. On this screen, on the left side underneath the large text box is a smaller one which says something like “Scenario Search files” (I am not at home, so this is from memory). Enter in the name of the MOD folder you created: Napoleon – this tells the scenario to look for modifications in these folders when you load it.

Once you do this, save and exit, you should be set. I usually set up a test scenario for all my custom units—you can add the unit to the map and start the game with it to test it out.

If you encounter and crashes where the game just drops to the desktop with no message, then things are likely not right in the .txt files you edited. If you get an error message like “Cannot find file Art/Unit/ etc.,” that probably means something is screwy in the ini file for the unit in its folder (this is also a text file you can alter—make sure the .flc and .wav files it is referencing are spelled correctly/in proper folders and that the .ini file itself is named EXACTLY what the unit name is as it appears in the game).

Thanks to korn469 and Warpstorm for their help. Any additions/changes to this guide welcome. Like I said, I’m not at home, so this is from memory. And if there is a better thread to post this in, let me know.

Firaxis, can I get a fee for doing your job?

Sn00py is offline Sn00py
King
From New Zealand
Aug 2001
time: 13:23
  Old Post 09-11-2002 07:50 Visit Sn00py's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

quote:
Firaxis, can I get a fee for doing your job?




Firaxis aren't even a company anymore, they're like Britney Spears - all the popularity and money, but no quality work.

Boris Godunov is offline Boris Godunov
King
Portland, OR
Aug 2001
time: 00:23
  Old Post 10-11-2002 00:12
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton

Sn00py, if I have a tiny graphics request, would you consider it, pretty please?

isak is offline isak
Warlord
Airhose, Denmark
Mar 2002
time: 06:23
  Old Post 10-11-2002 01:07
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Re: Tutorial - How to add a custom unit with PTW Help yourself to an AD-FREE life

Nice guide definitely -

Two minor issues though:

quote:
Originally posted by Boris Godunov
6) Also in the Pediaicons file, way down near the bottom, there is a section for the units where the entries start #ANIMNAME_PRTO_[Unitname]. At the end of this list, add a line that says #ANIMNAME_PRTO_Napoleonic_Rifleman. Now underneath this line, enter the name of the unit exactly how it should appear in the editor/game – Napoleonic Rifleman (no underscores).


Actually, what you enter under the #ANIMNAME_xxx line for your unit, only tells the game which folder to look for animations in. You can give the unit any Name you want in the BIX.
The good part of that, is that you don't have to create a new folder and copy artwork if you want several units using the same artwork.

If you add in 3 new types of Settlers with fancy new names, but want them all to use the same artwork, you can just type in Settler under each one of their #ANIMNAME entries, and this will tell the game to look for animations in the first folder named 'Settler' it finds.

quote:
11) Back in the main editor, go to the “Scenario Properties” screen. There is an icon for it on the toolbar that looks like the army standard the armies in Civ3 carry. On this screen, on the left side underneath the large text box is a smaller one which says something like “Scenario Search files” (I am not at home, so this is from memory). Enter in the name of the MOD folder you created: Napoleon – this tells the scenario to look for modifications in these folders when you load it.

You only need this step if you're giving the BIX file a different name than the Main Folder you created. The game automatically checks the Scenarios directory for any folders with the same name as your BIX file, so if you name the BIX file Napoleon, it finds your folder named Napoleon, without anything entered in the Scenario Search Folders.

Sn00py is offline Sn00py
King
From New Zealand
Aug 2001
time: 13:23
  Old Post 10-11-2002 02:26 Visit Sn00py's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Got spare money?

What's your request Boris?

monkspider is offline monkspider
King
banned
Aug 2001
time: 23:23
  Old Post 10-11-2002 03:07
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Help yourself to an AD-FREE life

You rock Bory!

Boris Godunov is offline Boris Godunov
King
Portland, OR
Aug 2001
time: 00:23
  Old Post 10-11-2002 21:22
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Inflate your Upload Space

quote:
Originally posted by Sn00py
What's your request Boris?


Someone earlier created a mine graphic for the terrain that was, instead of a mine entrance, a cluster of little buildings. So instead of ugly mines surrounding my city, it looks like urban sprawl.

However, I'm not really satisfied with the graphic. I was wondering if you would try your hand at your own version? The buildings would have to be era-generic enough to look ok from ancient through modern times, of course, since mine graphics don't update.

What do ya think?

Boris Godunov is offline Boris Godunov
King
Portland, OR
Aug 2001
time: 00:23
  Old Post 10-11-2002 22:31
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

Thanks for the clarifications, isak!

Sn00py is offline Sn00py
King
From New Zealand
Aug 2001
time: 13:23
  Old Post 11-11-2002 02:05 Visit Sn00py's homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

So you want me to make the mines look like small mining village/towns?

Something like the western cowboy sort of buildings might fit all era's the best?

Boris Godunov is offline Boris Godunov
King
Portland, OR
Aug 2001
time: 00:23
  Old Post 11-11-2002 05:35
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Support Apolyton, buy Call to Power 2

quote:
Originally posted by Sn00py
So you want me to make the mines look like small mining village/towns?

Something like the western cowboy sort of buildings might fit all era's the best?


Yeah, that sounds like it would be pretty cool. ...I guess generic is the only way I can think of to describe it, but I'd love to see what your talent can do.

Zero is offline Zero
King
Bouncing back and forth
Sep 2002
time: 00:23
  Old Post 11-11-2002 11:14
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Avatar Enlargement: We've got the solution

Wat if u wanna declare both ww2 scenario AND japan scenario in one bix for example?

Will naming bix Napoleon and setting scenario search parameter Dinobarb, allow you to play with Napoleon scenario units AND dino units?

Amadan is offline Amadan
Chieftain

Jun 2002
time: 23:23
  Old Post 11-11-2002 19:57
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Avatar Enlargement: We've got the solution

quote:
Originally posted by Calc II
Wat if u wanna declare both ww2 scenario AND japan scenario in one bix for example?

Will naming bix Napoleon and setting scenario search parameter Dinobarb, allow you to play with Napoleon scenario units AND dino units?


Seperate the folder names with a semicolon, no spaces:

Dinobarb;Medival Japan

Sn00py is offline Sn00py
King
From New Zealand
Aug 2001
time: 13:23
  Old Post 12-11-2002 01:57 Visit Sn00py's homepage!
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Inflate your Upload Space

Hey Boris, I'll put it on my list, I've got a deadline at the moment with a website by Thursday, so I should be able to do it after then.

sprnv8 is offline sprnv8
Settler
Florence,Kentucky,U.S.A.
Aug 2002
time: 00:23
  Old Post 13-11-2002 01:44 Visit sprnv8's homepage!
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Get a bigger avatar today!

quote:
Originally posted by Amadan


Seperate the folder names with a semicolon, no spaces:

Dinobarb;Medival Japan


I couldn't use semi-colons ";", I had to use a Back-slash "/"

I know it says to use ; but for som reason my game wont allow that.

Jaguar is offline Jaguar
King
Montgomery County, MD
Apr 2000
time: 00:23
  Old Post 19-11-2002 06:30
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

Calc and Sprnv:

Look at the Scenario Properties in the TETurkhan Scenario. See how he did it? Do it the same way, only with the folders you want to include.

Rahotep is offline Rahotep
Settler
in a house
Sep 2002
time: 05:23
  Old Post 13-12-2002 02:16
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Lose 30 kilos (of popups)

Erm i was wondering how i used the terrain graphics with PTW. You see I'm making a small scenario with map and i wanted to use the Warpstorm Watercolor Terrain because i think it looks more like the old colonization style maps so if any one could tell me i would be very greatful

Boris Godunov is offline Boris Godunov
King
Portland, OR
Aug 2001
time: 00:23
  Old Post 20-12-2002 19:41
Edit/Delete Message Reply w/Quote
#17 Report this post to a moderator
Avatar Enlargement: We've got the solution

Bump for Kramerman's benefit.

Mizaq is offline Mizaq
Prince
San Diego
Nov 2001
time: 21:23
  Old Post 02-04-2003 22:57 Visit Mizaq's homepage!
Edit/Delete Message Reply w/Quote
#18 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

I'm almost positive you would do it in the same manner as with units (i.e. place the appropriate files in your mod's directory). If you see how PTW installed the warpstorm graphics in your computer, look at its directory structure and copy that same structure and files to your mod's directory.

mine is

\Warpstorm Watercolor Terrain\art\
||
under \art\ there are two subdirectories \cities\ and \terrain\ and a resources.pcx. if you see what I'm talking about you're in the right area.

Now just move the art subdirectory to your mod's directory, and you should be right (as long as you set the scenario properties to point to your mod's directory.

PLATO is offline PLATO

King
Of the occupied South
Dec 2002
time: 23:23
  Old Post 03-04-2003 20:53
Edit/Delete Message Reply w/Quote
#19 Report this post to a moderator
Increase the size of your Attachments

Thanks Boris and isak. This cleared up several questions that I had. This was really helpful!

Yahweh Sabaoth is offline Yahweh Sabaoth
King
The Heavens
Dec 2002
time: 05:23
  Old Post 04-04-2003 00:36
Edit/Delete Message Reply w/Quote
#20 Report this post to a moderator
Support Apolyton or Terrorists Win

This is a really helpful thread. I just wanted to post so so I'm subscribed and privvy to new messages posted here.

Now that y'all have cleared up for us simpletons how to "install" new units, how about how to MAKE them?

I refer to the drawing/animation process. I don't have to buy some animation software, do I?

Boris Godunov is offline Boris Godunov
King
Portland, OR
Aug 2001
time: 00:23
  Old Post 12-04-2003 22:33
Edit/Delete Message Reply w/Quote
#21 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

Don't ask me about drawing/animating units... I know nothingk!

isak is offline isak
Warlord
Airhose, Denmark
Mar 2002
time: 06:23
  Old Post 12-04-2003 22:44
Edit/Delete Message Reply w/Quote
#22 Report this post to a moderator
Increase the size of your Attachments

@Yahweh:

You don't need any software that you have to pay for. Go look for the program 'Flicster' in the files section here on the board. With that, 'all' (as if it was easy ) you need to do is be able to edit static PCX files, and you can use Flicster to 'collect' them into FLC animation files. If you have a program like Animation Shop (comes with Paint Shop Pro) I've heard it should be helpful too, but it's not necessary.

For details on what to do, I guess it's better to ask in the Flicster thread - i'm not exactly a wizard with animations either

@Boris

"NO, Manuél - tell her where I got the money from...."

Yahweh Sabaoth is offline Yahweh Sabaoth
King
The Heavens
Dec 2002
time: 05:23
  Old Post 14-04-2003 19:32
Edit/Delete Message Reply w/Quote
#23 Report this post to a moderator
Avatar Enlargement: We've got the solution

Thanks for the reply... do you know if you can make .PCX files with CorelDraw?

Spiffor is offline Spiffor
Emperor
CPA - Evil Clone brigade
Nov 2001
time: 06:23
  Old Post 14-04-2003 19:42
Edit/Delete Message Reply w/Quote
#24 Report this post to a moderator
Tired of ads?

Yahweh :
I don't know for Corel draw, but I use Paint shop pro when I goof around with units. You can download the fully-functional 30 day trial here

Yahweh Sabaoth is offline Yahweh Sabaoth
King
The Heavens
Dec 2002
time: 05:23
  Old Post 14-04-2003 19:48
Edit/Delete Message Reply w/Quote
#25 Report this post to a moderator
Tired of ads?

Thank you for the link.

panag is offline panag
Emperor
MY WORDS ARE BACKED WITH BIO-CHEMICAL WEAPONS
Oct 2000
time: 07:23
Thumbs up  Old Post 17-04-2003 01:11 Visit panag's homepage!
Edit/Delete Message Reply w/Quote
#26 Report this post to a moderator
Got spare money?

hi ,

wow , great stuff , this thread should be topped


have a nice day

Valkyrie is offline Valkyrie
Settler

Sep 2002
time: 05:23
  Old Post 14-06-2003 15:16
Edit/Delete Message Reply w/Quote
#27 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

Hi!

I am trying to add a unit named "F-14D Tomcat"... the folder and .ini file are named the same way. Will the space be a problem? What necessary steps do I have to take? Thanks!

BandicootMan is offline BandicootMan
Settler

May 2003
time: 05:23
  Old Post 14-06-2003 22:51
Edit/Delete Message Reply w/Quote
#28 Report this post to a moderator
Suffering from ads?



You rock snoopy! I only use your tile set for SP games. Can't wait to see what you can do with those ugly mines.

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