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

Forum Info
Forum Members: 18,677
Total Threads: 8,796
Posts: 95,827

Administrators:
DeeZire, Redemption

There are currently 37 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 05-24-2003, 03:13 AM   #1 (permalink)
Junior Member
 
Join Date: Apr 2003
Location: Malaysia
Posts: 12
Default Editing factionbuilding.ini - question

Hi, I've quit from RA2 and YR editing and now I would like to edit Generals. My first question is how do I change ownership of buildings(if it's possible)? I can change the prerequisites, cost, build time and those things(piece of cake), anybody can do that, but I can't change a building's ownership. Doesn't seem to work like in YR. Can anybody tell me how?
Thanks.
FNHA is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-24-2003, 04:15 AM   #2 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 196
Send a message via AIM to trex238 Send a message via MSN to trex238
Default

I'm assuming that you've changed Side = * and gotten no where. That's because this doesn't really change who builds the building. To change who gets a building you have to edit CommandButton and CommandSet. CommandButton allows the building to be built and CommandSet allows said button to be used. So if you put a China building on the GLA worker command set that building can be used by the GLA. Kinda makes you wonder what the side slot in FactionBuilding is for . Anyways that should get you going and the same thing works for units. Oh yeah you have to give the command set to a unit (or building if you want to construct units). You may need a second dozer or worker to make new buildings.
trex238 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-24-2003, 06:35 AM   #3 (permalink)
Member
 
Join Date: May 2003
Location: Arizona, AMERICA
Posts: 43
Send a message via AIM to MTDFreak09
Default

Here, let me tell you how exactly to do this. If you are replacing the building, leave commandbutton.ini alone. Go to factionbuilding.ini and change the side, time, blah blah blah, to how you want it. Then go to commandset.ini and hit CTRL+F and look for either...

CommandSet AmericaDozerCommandSet

CommandSet GLAWorkerCommandSet

or

CommandSet ChinaDozerCommandSet

If you looked for AmericaDozer, you will see...

CommandSet AmericaDozerCommandSet
1 = Command_ConstructAmericaPowerPlant
2 = Command_ConstructAmericaStrategyCenter
3 = Command_ConstructAmericaBarracks
4 = Command_ConstructAmericaSupplyDropZone
5 = Command_ConstructAmericaSupplyCenter
6 = Command_ConstructAmericaDetentionCamp
7 = Command_ConstructAmericaPatriotBattery
8 = Command_ConstructAmericaParticleCannonUplink
9 = Command_ConstructAmericaWarFactory
10 = Command_ConstructAmericaCommandCenter
11 = Command_ConstructAmericaAirfield
12 = Command_DisarmMinesAtPosition
End

The numbers refer to where the icon is on the command bar when you click it. You may only go 1-12 AND as you see... its full. A good idea would be to make a copy of the dozer and name it differently, and add entirely different buildings. SO the command "Command_ConstructAmericaWarFactory" refers to what the command is in CommandButton.ini

EX:

CommandButton Command_ConstructAmericaWarFactory
Command = DOZER_CONSTRUCT
Object = AmericaWarFactory
TextLabel = CONTROLBAR:ConstructAmericaWarFactory
ButtonImage = SACWeaponsfact
ButtonBorderType = BUILD ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:ToolTipUSABuildWarFactory
End

It is refering to all of this. If you are taking a building and duplicating it, you must copy and edit to your pleasure.

SO... basically, commandset.ini tells what unit to use what line(s) from commandbutton.ini, which takes the object from factionbuilding.ini, EX: all of the lines from "Object AmericaWarFactory" all the way to the very las "End".

In conclusion. factionbuilding.ini is used by commandbutton.ini to tell commandset.ini to use the codes from factionbuilding.ini when the button from commandbutton.ini is pushed, which tells the game to create the building...

Sorry for all the confusion I may have just caused. If you would like a better tutorial, I'll teach you via e-mail. mtdfreak09@aol.com, or by AIM.
MTDFreak09 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-24-2003, 10:42 AM   #4 (permalink)
Junior Member
 
Join Date: Apr 2003
Location: Malaysia
Posts: 12
Default

Thanks, MTDFreak09. I would like you to e-mail me and explain the process, if it's not a problem to you.

Thanks for your help.
FNHA 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
INI editing Question Udo Red Alert 2 & Yuri's Revenge Editing 13 03-31-2006 01:49 PM
A question about voxel editing XtremeNL Red Alert 2 & Yuri's Revenge Editing 4 07-24-2005 07:03 PM
Editing question about Textures.big ZeR04U Generals & Zero Hour Editing 9 11-16-2004 05:19 AM
Editing SHP Colour's Question Creed Red Alert 2 & Yuri's Revenge Editing 29 11-18-2003 07:40 AM
FactionBuilding.INI, where is it? Rippler_20 Generals & Zero Hour Editing 1 02-23-2003 03:17 PM


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


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