Advertisement
Civilization Fanatics' Center  

Welcome to Civilization Fanatics' Center.

You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support.

Go Back   Civilization Fanatics' Forums > CIVILIZATION III > Civ3 - Creation & Customization

Notices

Reply
 
Thread Tools
Old Feb 27, 2003, 09:40 PM   #1
DJ_Izumi
Chieftain
 
Join Date: Feb 2003
Posts: 87
How do unit graphics get upgraded? (Like Workers)

I wanted a more modern infantry in the game for later. But really, Mechanized Infantry are modern troops, using APCs to move them about, we only see the Icon of an M-2 Bradly though.

Still, you see these WWI era troops still in use in modern combt. Bang, click, bang, click, bang.

Workers have their images upgraded upon a specfic techonological discovery. Does anyone know how to have Infantry upgrade? Perhaps upon the discovery of a certian tech, that they are only VISUALLY upgraded from WWI era troops to something more like Vietname era troops, or at modern 1990's style?

Just an idea, of a very minor change. ^^;
DJ_Izumi is offline   Reply With Quote
Old Feb 27, 2003, 10:41 PM   #2
pdescobar
Moo, baby. Moo.
 
pdescobar's Avatar
 
Join Date: Nov 2002
Location: CFC or playing DyP
Posts: 1,366
Workers, Settlers, Armies, and Leaders have their graphics change on ERA changes. My guess is that this is accomplished via PediaIcons.txt in PTW and simply with folder names in vanilla civ3. If you look at the PTW PediaIcons.txt, under the Unit Animation section you have:

Code:
#ANIMNAME_PRTO_Settler
Settler
#ANIMNAME_PRTO_Settler_ERAS_Industrial_Age
Settler Modern Times
#ANIMNAME_PRTO_Settler_ERAS_Modern_Era
Settler Modern Times
[...and later...]
#ANIMNAME_PRTO_Leader_ERAS_Ancient_Times
Leader Ancient Times
#ANIMNAME_PRTO_Leader_ERAS_Middle_Ages
Leader Middle Ages
#ANIMNAME_PRTO_Leader_ERAS_Industrial_Age
Leader Industrial Ages
#ANIMNAME_PRTO_Leader_ERAS_Modern_Era
Leader Modern Times
Note that the default Settler is used for ancient/middle ages and that there are explicit entries for industrial and modern eras. And, if you look closely you will see that the industrial and modern entries both point to the "Settler Modern Times" animation -- so there are really just 2 flavors of this unit. Meanwhile the Leader has a different look for every era.

So, in theory, you could do something like this:
Code:
#ANIMNAME_PRTO_Infantry
Infantry
#ANIMNAME_PRTO_Infantry_ERAS_Modern_Era
Marine
And when you enter the modern age, all your infantry will look like marines. I haven't actually tested this, but the logic is sound If anyone has a correction or addition to the process, please say so.

You are correct, however, in assuming that this is a strictly graphical change. They will still have all the stats and abilities of a standard infantry. If you want a unit change, you'd have to create a new unit and manually upgrade them at a barracks just as happens now when moving from, for instance, Rifleman to Infantry.
pdescobar is offline   Reply With Quote
Old Feb 27, 2003, 11:11 PM   #3
pdescobar
Moo, baby. Moo.
 
pdescobar's Avatar
 
Join Date: Nov 2002
Location: CFC or playing DyP
Posts: 1,366
Just whipped up a quick test to confirm the method. Yep, that's all you need. The above addition to pediaicons.txt results in the infantry switching to the marine graphic once you hit the modern era:
Attached Thumbnails
Click image for larger version

Name:	moderninfantry.jpg
Views:	190
Size:	24.5 KB
ID:	29408  
pdescobar is offline   Reply With Quote
Old Feb 28, 2003, 02:00 AM   #4
DJ_Izumi
Chieftain
 
Join Date: Feb 2003
Posts: 87
Nope, that's exactly what I'm looking for. Only because the little WWI guys with their British helmets look sorta silly as they tend to stay in the game all the way threw.

So I'll set mine so that in the modern era, the Infantry units are replaced with this cute little guy.
DJ_Izumi is offline   Reply With Quote
Old Feb 28, 2003, 02:03 AM   #5
DJ_Izumi
Chieftain
 
Join Date: Feb 2003
Posts: 87
Er, this guy. :\
Attached Thumbnails
Click image for larger version

Name:	modern.gif
Views:	172
Size:	7.9 KB
ID:	29412  
DJ_Izumi is offline   Reply With Quote
Old Feb 28, 2003, 02:31 AM   #6
Der PH
Combat Smurf
 
Der PH's Avatar
 
Join Date: Oct 2002
Location: Aachen, Germany, Europe, Earth, ...
Posts: 317
Question

But how do you change the units_32-icon? The units only have one entry in the editor's unit-list, even if the graphics are updated during an era-change.
Der PH is offline   Reply With Quote
Old Feb 28, 2003, 03:28 AM   #7
zulu9812
The Newbie Nightmare
 
zulu9812's Avatar
 
Join Date: Jan 2002
Location: Athens of the North
Posts: 6,378
from the bottom of the PTW pediaicons.txt:

Quote:
# Era-Specific Unit icons
#UNITICON_PRTO_Settler_ERAS_Industrial_Age
72
#UNITICON_PRTO_Settler_ERAS_Modern_Era
72
#UNITICON_PRTO_Worker_ERAS_Industrial_Age
73
#UNITICON_PRTO_Worker_ERAS_Modern_Era
73
#UNITICON_PRTO_Leader_ERAS_Middle_Ages
66
#UNITICON_PRTO_Leader_ERAS_Industrial_Age
67
#UNITICON_PRTO_Leader_ERAS_Modern_Era
68
#UNITICON_PRTO_Army_ERAS_Middle_Ages
69
#UNITICON_PRTO_Army_ERAS_Industrial_Age
70
#UNITICON_PRTO_Army_ERAS_Modern_Era
71
zulu9812 is offline   Reply With Quote
Old Feb 28, 2003, 03:33 AM   #8
Tacit_Exit
King
 
Tacit_Exit's Avatar
 
Join Date: Dec 2002
Location: Oz
Posts: 933
This is great news!
Power to pdescobar for testing.
Any suggestions for a Modern Guerilla graphic?
Tacit_Exit is offline   Reply With Quote
Old Feb 28, 2003, 03:40 AM   #9
LouLong
In love with Rei Ayanami
 
LouLong's Avatar
 
Join Date: Nov 2001
Location: Fontainebleau FRANCE
Posts: 7,385
Utahjazz "FARC" for modern guerilla ?
LouLong is offline   Reply With Quote
Old Feb 28, 2003, 05:16 AM   #10
Der PH
Combat Smurf
 
Der PH's Avatar
 
Join Date: Oct 2002
Location: Aachen, Germany, Europe, Earth, ...
Posts: 317
Quote:
Originally posted by zulu9812
from the bottom of the PTW pediaicons.txt:
Thanx, Zulu!
Der PH is offline   Reply With Quote
Old Feb 28, 2003, 06:59 AM   #11
thestonesfan
A Client of Ron Kuby
 
thestonesfan's Avatar
 
Join Date: Aug 2002
Location: Iowa
Posts: 7,549
Great idea, guys! It's a wonder no one has brought this up yet.

It would be really great if you good do it by tech, though. Have WW1 infantry morph into WW2 infantry with motorized transport, or something.
__________________
What a drag it is gettin' old.
thestonesfan is offline   Reply With Quote
Old Feb 28, 2003, 07:04 AM   #12
Colonel Kraken
Deity
 
Colonel Kraken's Avatar
 
Join Date: Dec 2001
Location: Grand Rapids, MI
Posts: 2,451
Quote:
Originally posted by thestonesfan
Great idea, guys! It's a wonder no one has brought this up yet.

It would be really great if you good do it by tech, though. Have WW1 infantry morph into WW2 infantry with motorized transport, or something.
Yes, I totally agree. I wish you could do it by tech.

No one here has really brought it up (at least not for a very long time), but I've been doing it for a long time now.
Colonel Kraken is offline   Reply With Quote
Old Feb 28, 2003, 09:43 AM   #13
Mephansteras
Warlord
 
Mephansteras's Avatar
 
Join Date: Jan 2003
Posts: 125
Hmm...neat effect. I'll have to work that in somehow.
Mephansteras is offline   Reply With Quote
Old Feb 28, 2003, 01:51 PM   #14
Grandmaster
Deity
 
Grandmaster's Avatar
 
Join Date: Apr 2002
Location: Long Island, NY
Posts: 3,058
Somebody should do era-specific King units for PTW, so that Caesar isn't wearing a toga in the Modern Ages and Bismarck isn't dressed in uniform in the ancient era.... great job pdescobar for figuring this out.
Grandmaster is offline   Reply With Quote
Old Feb 28, 2003, 06:07 PM   #15
DJ_Izumi
Chieftain
 
Join Date: Feb 2003
Posts: 87
Don't I get any credit for beinging it up?
DJ_Izumi is offline   Reply With Quote
Old Feb 28, 2003, 06:08 PM   #16
zulu9812
The Newbie Nightmare
 
zulu9812's Avatar
 
Join Date: Jan 2002
Location: Athens of the North
Posts: 6,378
pdescobar wasn't even the first, and it is pretty obvious
zulu9812 is offline   Reply With Quote
Old Feb 28, 2003, 08:10 PM   #17
Redking
Prince
 
Join Date: Dec 2002
Location: Where all roads lead to
Posts: 383
Thanks guys. I was planning to ask just these questions.

I'm hope to use this technique for upgrading the graphics for barbarians, advanced barbarians, and barbarian ships.

Of course, unit stats will not change with the animations, but for simple barbarians I don't see that as so much a problem.
__________________
What John Keegan said.
Redking is offline   Reply With Quote
Old Feb 28, 2003, 08:34 PM   #18
pdescobar
Moo, baby. Moo.
 
pdescobar's Avatar
 
Join Date: Nov 2002
Location: CFC or playing DyP
Posts: 1,366
Quote:
Originally posted by zulu9812
pdescobar wasn't even the first, and it is pretty obvious
That's right zulu, squash my brief moment of glory Seriously, though, zulu is right -- I'm sure many were using this long before I figured it out, I just happened to be the first to answer the question when DJ_Izumi asked. I'm glad it was brought up though since I was looking for a way to add in a bunch of new unit animations recently and had forgotten about this feature.
pdescobar is offline   Reply With Quote
Old Feb 28, 2003, 08:37 PM   #19
Procifica
ACW Scenario Creator
 
Join Date: Jan 2003
Location: Washington State, USA
Posts: 2,541
Is there a way to do something like this in the regular Civ 3 game?
Procifica is offline   Reply With Quote
Old Feb 28, 2003, 09:44 PM   #20
pdescobar
Moo, baby. Moo.
 
pdescobar's Avatar
 
Join Date: Nov 2002
Location: CFC or playing DyP
Posts: 1,366
Quote:
Originally posted by Procifica
Is there a way to do something like this in the regular Civ 3 game?
Regular civ3 doesn't use ANIMNAME entries and instead (I believe) relies on folder names for units exactly matching their unit names. So, to use the same example, making an infantry take marine graphics in the modern age,
  1. go into your civ3 units folder and create a new folder called "Infantry Modern Times".
  2. Copy the Marine.INI from the Marine folder into this new folder and rename in "Infantry Modern Times.INI"
  3. Edit this new INI file and change all the entries which point to a file to point to the files in the marine folder. Example:
    Code:
    DEFAULT=MarineDefault.flc
      becomes
    DEFAULT=..\Marine\MarineDefault.flc

This time, I actually tested it before I answered, so that does work

However, I have no idea how to change the build queue icon in vanilla civ3 as my vanilla PediaIcons.txt does not have the final section that PTW has which zulu posted earlier.
pdescobar is offline   Reply With Quote
Reply

Bookmarks

Go Back Civilization Fanatics' Forums > CIVILIZATION III > Civ3 - Creation & Customization > How do unit graphics get upgraded? (Like Workers)

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Graphics] Unit graphics Required Darque Civ4 - Dragonia II Mod 5 Mar 14, 2008 01:14 AM
What unit do you use to accompany settlers and workers? TheLastOne36 Civ4 - General Discussions 17 Feb 04, 2008 04:05 PM
Multi-Unit Ancient/Middle Age Workers Rabid Pop Tart Civ3 - Multi-Figure Units 28 Jun 20, 2006 07:38 AM
New Unit: Gnomish Workers Sept 16th 2005 Kinboat Civ3 - Unit Graphics 33 Jan 15, 2006 05:40 AM
Unit requests: Settlers and workers Rob (R8XFT) Civ3 - Creation & Customization 23 Aug 18, 2004 06:53 PM


Advertisement

All times are GMT -6. The time now is 02:28 PM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
This site is copyright © Civilization Fanatics' Center.
Support CFC: Amazon.com | Amazon UK | Amazon DE | Amazon CA | Amazon FR