Thread Tools
Old September 4, 2001, 13:09   #1
King George III
Settler
 
Local Time: 08:04
Local Date: October 31, 2010
Join Date: Aug 2001
Location: nowhere
Posts: 10
I've got another one, ? that is
real simple one, or at least I hope it is. How do you change the appearance of a newly created unit's name in the game from UNIT_CRUISER to Cruiser? Can't seem to figure that one out on my own.
King George III is offline  
Old September 4, 2001, 13:14   #2
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 14:04
Local Date: October 31, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
In ctp2_data/language/gamedata (probably english) there is a file called gl_str.txt. There you have lines like:
UNIT_SETTLER "Settler"

Just add one like this:

UNIT_CRUISER "Cruiser"
__________________
Concrete, Abstract, or Squoingy?
"I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis
Immortal Wombat is offline  
Old September 5, 2001, 13:08   #3
King George III
Settler
 
Local Time: 08:04
Local Date: October 31, 2010
Join Date: Aug 2001
Location: nowhere
Posts: 10
Thanx. Almost everything is right now. but now I am having some trouble with the Apolyton Pack airunits.slc file when I move any original air unit. I figured I might have some trouble with the new ones but it's only the original ones like the bomber. my C++ is a little rusty so i'm having trouble figuring out how to fix it. The error message is "APOL_airunit.slc:111:Array index 0 out of bounds". does anyone perhaps know what that actually means?
King George III is offline  
Old September 5, 2001, 14:21   #4
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 14:04
Local Date: October 31, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
Not specifically, but if you set DebugSlic to No, it should go away.

Find userprofile.txt in ctp_program/ctp directory, and set the line DebugSlic from Yes to No. That should stop it
__________________
Concrete, Abstract, or Squoingy?
"I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis
Immortal Wombat is offline  
Old September 5, 2001, 18:06   #5
King George III
Settler
 
Local Time: 08:04
Local Date: October 31, 2010
Join Date: Aug 2001
Location: nowhere
Posts: 10
Your country thanks you. Er, at least I do. Maybe now I can slow down a little bit and give you a break. Thanx again.
King George III 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 09:04.


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