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

Forum Info
Forum Members: 18,537
Total Threads: 8,627
Posts: 94,210

Administrators:
DeeZire, Redemption

There are currently 107 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements

DeeZire Online > Editing Community > Command and Conquer Editing > Generals & Zero Hour Editing » Faction Unit, Building, Commandset and Button ??

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

Reply
 
LinkBack Thread Tools
Old 03-01-2004, 08:15 AM   #1 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: London
Posts: 178
Send a message via ICQ to Tesla-Chrono Send a message via AIM to Tesla-Chrono Send a message via MSN to Tesla-Chrono
Default Faction Unit, Building, Commandset and Button ??

As the topic states, If I want to add the Nuke Truck to the GLA Side what files would I have to edit? I remember adding the Carpet-Bomb to the USA side a good while ago and I think the files I have mentioned above were involved but its been age's since I have modded or even tried to add a new feature or removed unit from Generals/Zero Hour.

So all I’m asking is what files would I have to edit to make the Nuke Truck (GLA Cine 5 I think) to the actual GLA Side. I don’t need a walk through I would just like to know what files I need to edit.

Thanks a lot.
Tesla-Chrono is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-01-2004, 09:11 AM   #2 (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

You already have the unit all coded I guess, because it's already in there. You're using ConvoyTruckArmedWithNuke I assume. Well then, you need to make a command button you can click on to build it. So open CommandButton.ini, and add this code anywhere in the file:

Code:
CommandButton Command_ConstructGLAConvoyTruck
  Command = UNIT_BUILD
  Object = ConvoyTruckArmedWithNuke
  TextLabel = CONTROLBAR:ConstructGLAConvoyTruck
  ButtonImage = SACLeopard
  ButtonBorderType = BUILD ; Identifier for the User as to what kind of button this is
  DescriptLabel = CONTROLBAR:ToolTipGLABuildConvoyTruck
End
Once that is done, simply open CommandSet.ini and add Command_ConstructGLAConvoyTruck to the GLA war factory.
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-01-2004, 09:40 AM   #3 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: London
Posts: 178
Send a message via ICQ to Tesla-Chrono Send a message via AIM to Tesla-Chrono Send a message via MSN to Tesla-Chrono
Default

Thanks for your help ImmoMan, no i have not coded the Truck yet but it shouldnt be too hard.

Thanks.
Tesla-Chrono 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
Generals/zero hour Unit/building editing NEED HELP! Leutian Generals & Zero Hour Editing 17 07-10-2006 08:44 PM
killing your own unit with button LOOK AGAIN! Hostile LOTR: Battle For Middle Earth I & II Editing 17 03-16-2005 11:16 AM
Building a unit problem KG115 Generals & Zero Hour Editing 3 01-14-2004 05:53 AM
Building and unit problem csraven Generals & Zero Hour Editing 2 08-24-2003 12:13 PM
Bulldozer (or construction unit) Building Menu gatekeep2 Generals & Zero Hour Editing 4 02-25-2003 03:31 AM


All times are GMT -4. The time now is 04:51 PM.


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