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

Forum Info
Forum Members: 18,581
Total Threads: 8,667
Posts: 94,503

Administrators:
DeeZire, Redemption

There are currently 47 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 09-30-2004, 02:29 PM   #1 (permalink)
Junior Member
 
Join Date: Sep 2004
Posts: 8
Default New to modding, have a question

I'm new at modding, and what i want to do is add a secondary firing mode to the raptor jet, but i want it to be selectable (similar to the rangers flashbang), how can i add a button to make this happen?
WpgIkon is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-30-2004, 03:16 PM   #2 (permalink)
Senior Member
 
Join Date: May 2004
Posts: 134
Default

first you should add the secondary weapon fire bone, you can use the same as primary, then look at this:

WeaponSet
Conditions = NONE
Weapon = PRIMARY RaptorJetMissileWeapon
Weapon = SECONDARY raptor_Vulcan ;(for example)
AutoChooseSources = PRIMARY FROM_SCRIPT FROM_AI DEFAULT_SWITCH_WEAPON
AutoChooseSources = SECONDARY FROM_SCRIPT FROM_AI
WeaponLockSharedAcrossSets = Yes ;

End

You should made a secondary weapon set for your raptor, then edit commandbutton.ini, add:

CommandButton Command_AmericaRaptorSwitchToMissiles
Command = SWITCH_WEAPON
WeaponSlot = PRIMARY
Options = CHECK_LIKE OK_FOR_MULTI_SELECT
TextLabel = CONTROLBAR:RangerMachineGun
ButtonImage = SSMachineGun ;(image you want)
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:ToolTipSwitchToRangerMachineGun
End

CommandButton Command_AmericaRaptorSwitchToVulcan
Command = SWITCH_WEAPON
WeaponSlot = SECONDARY
Options = CHECK_LIKE OK_FOR_MULTI_SELECT NEED_UPGRADE
Upgrade = Upgrade_AmericaRangerFlashBangGrenade
TextLabel = CONTROLBAR:FlashBangGrenadeMode
ButtonImage = SSFlashbang
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:ToolTipSwitchToUSAFlashBang
End


then add these two command to commandset of your raptor.
it's complate
homura is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-30-2004, 03:43 PM   #3 (permalink)
Junior Member
 
Join Date: Sep 2004
Posts: 8
Default

Quote:
Originally Posted by homura
first you should add the secondary weapon fire bone, you can use the same as primary, then look at this:

WeaponSet
Conditions = NONE
Weapon = PRIMARY RaptorJetMissileWeapon
Weapon = SECONDARY raptor_Vulcan ;(for example)
AutoChooseSources = PRIMARY FROM_SCRIPT FROM_AI DEFAULT_SWITCH_WEAPON
AutoChooseSources = SECONDARY FROM_SCRIPT FROM_AI
WeaponLockSharedAcrossSets = Yes ;

End

You should made a secondary weapon set for your raptor, then edit commandbutton.ini, add:

CommandButton Command_AmericaRaptorSwitchToMissiles
Command = SWITCH_WEAPON
WeaponSlot = PRIMARY
Options = CHECK_LIKE OK_FOR_MULTI_SELECT
TextLabel = CONTROLBAR:RangerMachineGun
ButtonImage = SSMachineGun ;(image you want)
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:ToolTipSwitchToRangerMachineGun
End

CommandButton Command_AmericaRaptorSwitchToVulcan
Command = SWITCH_WEAPON
WeaponSlot = SECONDARY
Options = CHECK_LIKE OK_FOR_MULTI_SELECT NEED_UPGRADE
Upgrade = Upgrade_AmericaRangerFlashBangGrenade
TextLabel = CONTROLBAR:FlashBangGrenadeMode
ButtonImage = SSFlashbang
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:ToolTipSwitchToUSAFlashBang
End


then add these two command to commandset of your raptor.
it's complate
With the command.ini edit does it matter where in the file it goes? and when editing the commandset for the raptor, does it matter what number i use for the commands.

my weaponset looks like this..

WeaponSet
Conditions = PLAYER_UPGRADE
Weapon = PRIMARY RaptorJetLaserGuidedMissileWeapon
Weapon = SECONDARY NapalmMissileWeapon
AutoChooseSources = SECONDARY NONE
WeaponLockSharedAcrossSets = Yes

and i'm not sure where to put the new bone in the file... like i said i'm really new to this, and i appriciate the help you have given
WpgIkon is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-30-2004, 04:42 PM   #4 (permalink)
Senior Member
 
Join Date: Feb 2004
Location: Glued to the chair in front of my laptop
Posts: 1,158
Default

Well, the bone you will have to actually do lots of things to get in. First, get the Renegade Mod Tools, the .W3D->.Gmax importer, and BigPOP. Use BigPOP to extract the W3D files from the main .big file *Generals.big or ZeroHour.big I think* in your main Generals or Zero Hour and open up Renx *from the Renegade Mod Tools* then import the Raptor into Renx using the importer I was talking about before. Then add a bone *try KillaKanz's site at http://killasmods.game-mod.net/ * then click on the tank boning tutorial, bone your raptor. Then export it back, and put your new bone in the new line of code. Somebody PLEASE correct me if I'm wrong.
GametagAeonFlux is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-30-2004, 10:04 PM   #5 (permalink)
Senior Member
 
Join Date: May 2004
Posts: 134
Default

no,no,no, you don't need to edit model file at all, look at this:

DefaultConditionState
Model = AVRaptor
HideSubObject = BurnerFX01 BurnerFX02
WeaponLaunchBone = PRIMARY WeaponA
End


add "WeaponLaunchBone = SECONDARY WeaponA" above "end", it's ok for using the same bone.

commandset contains at max 14 buttons, it relates middle panel, edit it in commandset.ini.

location of each button is :

1 3 5 7 9 11 13
2 4 6 8 10 12 14

the number before commandbutton means its location on the panel.

all the ini files is compressed in a file named INI.big ( INIZH.big for zero hour) use finalbig3 to extract them out , you can find it in most generals web.

all ini files must be placed at : you zerohour's folder\data\ini
homura 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
What OS for modding? adamstrange Generals & Zero Hour Editing 37 07-25-2004 02:33 AM
Got a quick modding question Pint0_Xtreme Generals & Zero Hour Editing 4 03-09-2004 08:00 AM
General Modding Question Decker Red Alert 2 & Yuri's Revenge Editing 10 12-27-2003 11:34 PM
Modding Question for Deezire fed11 Generals & Zero Hour Editing 1 06-14-2003 05:22 PM
Modding Rich_234432 Red Alert 2 & Yuri's Revenge Editing 16 04-29-2003 06:02 PM


All times are GMT -4. The time now is 07:10 AM.


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