logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,575
Total Threads: 8,656
Posts: 94,426

Administrators:
DeeZire, Redemption

There are currently 54 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements


Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here.

Reply
 
LinkBack Thread Tools
Old 11-15-2004, 12:26 AM   #1 (permalink)
Member
 
Join Date: Aug 2004
Posts: 44
Default 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?
schtoogie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-15-2004, 01:47 AM   #2 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 853
Send a message via AIM to mastermind2003 Send a message via MSN to mastermind2003
Default

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.
mastermind2003 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-15-2004, 05:50 AM   #3 (permalink)
Senior Member
 
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
Send a message via ICQ to CodeCat Send a message via MSN to CodeCat
Default

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.
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-15-2004, 03:31 PM   #4 (permalink)
Senior Member
 
Join Date: Jun 2004
Location: Earth-ish
Posts: 197
Default

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)
Cedar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-15-2004, 04:55 PM   #5 (permalink)
Senior Member
 
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
Send a message via ICQ to CodeCat Send a message via MSN to CodeCat
Default

There are programs that can convert CSF to STR.
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-16-2004, 10:07 PM   #6 (permalink)
Senior Member
 
Join Date: Jun 2004
Location: United States of America
Posts: 122
Default

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.
DaLump is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-17-2004, 02:31 AM   #7 (permalink)
Member
 
Join Date: Aug 2004
Posts: 44
Default

Yeah, I figured this all out the day after I posted though :-X

Thanks for your help anyway. Really, I appreciate it.
schtoogie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-17-2004, 06:53 AM   #8 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: Earth
Posts: 339
Send a message via MSN to FleetCommand Send a message via Yahoo to FleetCommand
Default

Oh, what a shame. If you hesitated posting that we'd at least had a blissful feeling of being useful.
FleetCommand is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-17-2004, 12:43 PM   #9 (permalink)
Member
 
Join Date: Aug 2004
Posts: 44
Default

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.
schtoogie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Neutral buildings and buildable units? SmokeyDaBear Generals & Zero Hour Editing 4 05-31-2006 03:48 PM
Tooltips? gamerfreak121 LOTR: Battle For Middle Earth I & II Editing 2 03-06-2006 10:53 AM
Intangible Buildings and Units drewrock11 Red Alert 2 & Yuri's Revenge Editing 15 05-27-2005 07:54 AM
Getting units to sell buildings CodeCat Generals & Zero Hour Editing 8 07-10-2003 08:42 AM
I can't find the INI file which contains buildings/units DKasemier Generals & Zero Hour Editing 4 04-27-2003 02:27 PM


All times are GMT -4. The time now is 10:38 PM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.