September 4, 2001, 13:09
|
#1
|
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.
|
|
|
|
September 4, 2001, 13:14
|
#2
|
Prince
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
|
|
|
|
September 5, 2001, 13:08
|
#3
|
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?
|
|
|
|
September 5, 2001, 14:21
|
#4
|
Prince
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
|
|
|
|
September 5, 2001, 18:06
|
#5
|
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.
|
|
|
|
Posting 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
|
|
|
All times are GMT -4. The time now is 09:04.
|
|