 |
Forum Info
|
 |
Forum Members: 18,575
Total Threads: 8,656
Posts: 94,426
Administrators:
DeeZire, Redemption
There are currently 54 users online.
|
 |
Partner Links
|
 |
 |
Advertisements
|
 |
|
| Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here. |
11-15-2004, 12:26 AM
|
#1 (permalink)
|
|
Member
Join Date: Aug 2004
Posts: 44
|
Which tooltips buildings/units use, etc...
How can I change the tooltips that units use? Like, if I wanted the China Airfield to use the USA Airfield's name/tooltip... I can't find this out. Is changing the object name the only way? And if so, how can I change the way the object name relates to the tooltip?
|
|
|
11-15-2004, 01:47 AM
|
#2 (permalink)
|
|
Senior Member
Join Date: Feb 2003
Location: USA
Posts: 853
|
You need to go in the generals.csf file. I recommend you use XCC Mixer, extract Generals.csf, and then put it in your C&C Generals Directory\Data\English folder, and then go into XCC and choose launch XCC String Table Editor.

|
|
|
11-15-2004, 05:50 AM
|
#3 (permalink)
|
|
Senior Member
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
|
I'd personally advise using STR instead of CSF format. It's a lot easier to work with (no editor, just notepad), and it's multiligual.
|
|
|
11-15-2004, 03:31 PM
|
#4 (permalink)
|
|
Senior Member
Join Date: Jun 2004
Location: Earth-ish
Posts: 197
|
Going with STR would mean you have to replace every single line in the CSF file (but I beleive Deezire made one you can download) But if you want to use the CSF download a program called CSF Editor (I think that's its name) but when you have made you changes you have to export it into an INI file (it has the option) then import the INI file and save it that way. (It's a hassle but it works and that's all I care about)
|
|
|
11-15-2004, 04:55 PM
|
#5 (permalink)
|
|
Senior Member
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
|
There are programs that can convert CSF to STR. 
|
|
|
11-16-2004, 10:07 PM
|
#6 (permalink)
|
|
Senior Member
Join Date: Jun 2004
Location: United States of America
Posts: 122
|
Well, I used a CSF editor that messed up the Tactical Overview and tooltips, so I switched to the XCC Mixer. It does many things that are helpful in modding. As far as making a tooltip........
Under the commandset.ini you will have something that looks like this-
CommandSet AmericaDozerCommandSet
1 = Command_ConstructAmericaPowerPlant
2 = Command_ConstructAmericaStrategyCenter
3 = Command_ConstructAmericaBarracks
4 = Command_ConstructAmericaSupplyDropZone
5 = Command_ConstructAmericaSupplyCenter
6 = Command_ConstructAmericaParticleCannonUplink
7 = Command_ConstructAmericaPatriotBattery
8 = Command_ConstructAmericaCommandCenter
9 = Command_ConstructAmericaFireBase
11 = Command_ConstructAmericaWarFactory
13 = Command_ConstructAmericaAirfield
14 = Command_DisarmMinesAtPosition
End
The Command_ConstructAmericaPowerPlant line points to the commandbutton.ini
Under the commandbutton.ini, there is a piece of code headed "CommandButton Command_ConstructAmericaPowerPlant" The code looks like this-
CommandButton Command_ConstructAmericaPowerPlant
Command = DOZER_CONSTRUCT
Object = AmericaPowerPlant
TextLabel = CONTROLBAR:ConstructAmericaPowerPlant
ButtonImage = SAPowerPlant
ButtonBorderType = BUILD ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:ToolTipUSABuildPowerPlant
End
The descript label and text label refer to the CSF file.
In the string table editor (CSF editor) on the left are selections. To edit the descript label for CONTROLBAR:ToolTipUSABuildPowerPlant, you must go under CONTROLBAR (location stated at beginning of label) Find the CONTROLBAR:ToolTipUSABuildPowerPlant descript label and click on it and click edit. There you will be able to edit what the tooltip says.
|
|
|
11-17-2004, 02:31 AM
|
#7 (permalink)
|
|
Member
Join Date: Aug 2004
Posts: 44
|
Yeah, I figured this all out the day after I posted though :-X
Thanks for your help anyway. Really, I appreciate it.
|
|
|
11-17-2004, 06:53 AM
|
#8 (permalink)
|
|
Senior Member
Join Date: Dec 2002
Location: Earth
Posts: 339
|
Oh, what a shame. If you hesitated posting that we'd at least had a blissful feeling of being useful.
|
|
|
11-17-2004, 12:43 PM
|
#9 (permalink)
|
|
Member
Join Date: Aug 2004
Posts: 44
|
Now now, you're still useful. I need some help with my carpet bomber though... I have a thread for it and everything, but people are ignoring it.
|
|
|
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 Off
|
|
|
All times are GMT -4. The time now is 10:38 PM.
|