Thread Tools
Old April 13, 2002, 04:09   #1
primemover
Chieftain
 
primemover's Avatar
 
Local Time: 16:57
Local Date: October 31, 2010
Join Date: Nov 2001
Location: Houston, TX, USA
Posts: 89
getting new units right on build list?
Hi folks. Need help again. Anyone know how to define the text for a new unit?

I am making a new ship type based on one that already exists. but in my buildlist it calls my new ship a

"UNIT_WARSHIP" (nice generic name for now...)

how I define the "title" of the UNIT_WARSHIP in units.txt so that it just says "Warship" in my build list?

Thanks ahead of time for any help.

Prime mover
primemover is offline  
Old April 13, 2002, 07:53   #2
Martin Gühmann
staff
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Super Moderator
 
Martin Gühmann's Avatar
 
Local Time: 00:57
Local Date: November 1, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
Just open the gl_str.txt in your ..\ctp2_data\english\gamedata\ folder and add the line:

UNIT_WARSHIP "Warship"

to this file.

BTW if you are working on a scenario you can also use the scen_str.txt.

-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"
Martin Gühmann is offline  
Old April 13, 2002, 12:58   #3
primemover
Chieftain
 
primemover's Avatar
 
Local Time: 16:57
Local Date: October 31, 2010
Join Date: Nov 2001
Location: Houston, TX, USA
Posts: 89
Thanks for the tip
Thanks alot! For some reason when I used XP's search it did not find the string UNIT_ and some other modded unit, it did not find the strings in this file. I beginning to think XP's file search really sucks. Even window Me's works better.

Thanks again.
primemover is offline  
Old April 15, 2002, 07:39   #4
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 22:57
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
Well I al ways thought you could not make the ai billed any ship dumb thing just can’t handle it.

But there is another way
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
 

Bookmarks

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 On

Forum Jump


All times are GMT -4. The time now is 18:57.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team