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

Forum Info
Forum Members: 18,574
Total Threads: 8,655
Posts: 94,419

Administrators:
DeeZire, Redemption

There are currently 56 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 04-15-2003, 05:37 PM   #1 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: Canada
Posts: 1,097
Send a message via MSN to Oldfaq
Default What am I doing wrong?

hey,
this ini i have been worknig on to get a mech working, and Iwas wondering if anybody could help me thnx, I used the GLARocketbuggy as a test... but no luck
and is there anyhtnig I am forgetting to change or something minor like that?
The launch effects/launch bones are like that because I want to make it so that it shoots from differents spots everytime, I want to make it random, but Im not sure if that will work?
;--------------------------------------------------------------------------------
Object AmericanMech

; *** ART Parameters ***
SelectPortrait = SURocketBuggy_L
ButtonImage = SURocketBuggy

Draw = W3DTruckDraw ModuleTag_01
OkToChangeModelColor = Yes

DefaultConditionState
Model = Mech
WeaponFireFXBone = PRIMARY Weapon011
WeaponLaunchBone = PRIMARY Weapon09
WeaponFireFXBone = PRIMARY Weapon10
WeaponLaunchBone = PRIMARY Weapon08
WeaponFireFXBone = PRIMARY Weapon04
WeaponLaunchBone = PRIMARY Weapon05
WeaponFireFXBone = PRIMARY Weapon13
WeaponLaunchBone = PRIMARY Weapon00
WeaponLaunchBone = PRIMARY Weapon12
WeaponLaunchBone = PRIMARY Weapon11
End

WeaponFireFXBone = SECONDARY Weapon02
WeaponLaunchBone = SECONDARY Weapon03
WeaponFireFXBone = SECONDARY Weapon04
WeaponLaunchBone = SECONDARY Weapon05
WeaponFireFXBone = SECONDARY Weapon06
WeaponLaunchBone = SECONDARY Weapon07
End

ConditionState = REALLYDAMAGED
Model = Mech
WeaponFireFXBone = PRIMARY Weapon011
WeaponLaunchBone = PRIMARY Weapon09
WeaponFireFXBone = PRIMARY Weapon10
WeaponLaunchBone = PRIMARY Weapon08
WeaponFireFXBone = PRIMARY Weapon04
WeaponLaunchBone = PRIMARY Weapon05
WeaponFireFXBone = PRIMARY Weapon13
WeaponLaunchBone = PRIMARY Weapon00
WeaponLaunchBone = PRIMARY Weapon12
WeaponLaunchBone = PRIMARY Weapon11
End

WeaponFireFXBone = SECONDARY Weapon02
WeaponLaunchBone = SECONDARY Weapon03
WeaponFireFXBone = SECONDARY Weapon04
WeaponLaunchBone = SECONDARY Weapon05
WeaponFireFXBone = SECONDARY Weapon06
WeaponLaunchBone = SECONDARY Weapon07
End

ConditionState = RUBBLE
WeaponFireFXBone = PRIMARY Weapon011
WeaponLaunchBone = PRIMARY Weapon09
WeaponFireFXBone = PRIMARY Weapon10
WeaponLaunchBone = PRIMARY Weapon08
WeaponFireFXBone = PRIMARY Weapon04
WeaponLaunchBone = PRIMARY Weapon05
WeaponFireFXBone = PRIMARY Weapon13
WeaponLaunchBone = PRIMARY Weapon00
WeaponLaunchBone = PRIMARY Weapon12
WeaponLaunchBone = PRIMARY Weapon11
End

WeaponFireFXBone = SECONDARY Weapon02
WeaponLaunchBone = SECONDARY Weapon03
WeaponFireFXBone = SECONDARY Weapon04
WeaponLaunchBone = SECONDARY Weapon05
WeaponFireFXBone = SECONDARY Weapon06
WeaponLaunchBone = SECONDARY Weapon07
End

ConditionState = WEAPONSET_PLAYER_UPGRADE
Model = Mech
WeaponFireFXBone = PRIMARY Weapon011
WeaponLaunchBone = PRIMARY Weapon09
WeaponFireFXBone = PRIMARY Weapon10
WeaponLaunchBone = PRIMARY Weapon08
WeaponFireFXBone = PRIMARY Weapon04
WeaponLaunchBone = PRIMARY Weapon05
WeaponFireFXBone = PRIMARY Weapon13
WeaponLaunchBone = PRIMARY Weapon00
WeaponLaunchBone = PRIMARY Weapon12
WeaponLaunchBone = PRIMARY Weapon11
End

WeaponFireFXBone = SECONDARY Weapon02
WeaponLaunchBone = SECONDARY Weapon03
WeaponFireFXBone = SECONDARY Weapon04
WeaponLaunchBone = SECONDARY Weapon05
WeaponFireFXBone = SECONDARY Weapon06
WeaponLaunchBone = SECONDARY Weapon07
End

ConditionState = WEAPONSET_PLAYER_UPGRADE REALLYDAMAGED
Model = Mech
WeaponFireFXBone = PRIMARY Weapon011
WeaponLaunchBone = PRIMARY Weapon09
WeaponFireFXBone = PRIMARY Weapon10
WeaponLaunchBone = PRIMARY Weapon08
WeaponFireFXBone = PRIMARY Weapon04
WeaponLaunchBone = PRIMARY Weapon05
WeaponFireFXBone = PRIMARY Weapon13
WeaponLaunchBone = PRIMARY Weapon00
WeaponLaunchBone = PRIMARY Weapon12
WeaponLaunchBone = PRIMARY Weapon11
End

WeaponFireFXBone = SECONDARY Weapon02
WeaponLaunchBone = SECONDARY Weapon03
WeaponFireFXBone = SECONDARY Weapon04
WeaponLaunchBone = SECONDARY Weapon05
WeaponFireFXBone = SECONDARY Weapon06
WeaponLaunchBone = SECONDARY Weapon07
End

ConditionState = WEAPONSET_PLAYER_UPGRADE RUBBLE
Model = Mech
WeaponFireFXBone = PRIMARY Weapon011
WeaponLaunchBone = PRIMARY Weapon09
WeaponFireFXBone = PRIMARY Weapon10
WeaponLaunchBone = PRIMARY Weapon08
WeaponFireFXBone = PRIMARY Weapon04
WeaponLaunchBone = PRIMARY Weapon05
WeaponFireFXBone = PRIMARY Weapon13
WeaponLaunchBone = PRIMARY Weapon00
WeaponLaunchBone = PRIMARY Weapon12
WeaponLaunchBone = PRIMARY Weapon11
End

WeaponFireFXBone = SECONDARY Weapon02
WeaponLaunchBone = SECONDARY Weapon03
WeaponFireFXBone = SECONDARY Weapon04
WeaponLaunchBone = SECONDARY Weapon05
WeaponFireFXBone = SECONDARY Weapon06
WeaponLaunchBone = SECONDARY Weapon07
End

TrackMarks = None

Dust = RocketBuggyDust
DirtSpray = RocketBuggyDirtSpray

End

; ***DESIGN parameters ***
DisplayName = OBJECT:US Mech
Side = America
EditorSorting = VEHICLE
TransportSlotCount = 3 ;how many "slots" we take in a transport (0 == not transportable)
WeaponSet
Conditions = None
Weapon = PRIMARY MechLaser
Weapon = SECONDARY BuggyRocketWeapon
End
ArmorSet
Conditions = None
Armor = TruckArmor
DamageFX = TankDamageFX
End
BuildCost = 1300
BuildTime = 6.0 ;in seconds
VisionRange = 180
ShroudClearingRange = 300
Prerequisites
Object = AmericaWarFactory
End

ExperienceValue = 50 50 100 150 ;Experience point value at each level
ExperienceRequired = 0 200 400 800 ;Experience points needed to gain each level
IsTrainable = Yes ;Can gain experience
CrusherLevel = 2 ;What can I crush?: 1 = infantry, 2 = trees, 3 = vehicles
CrushableLevel = 1 ;What am I?: 0 = for infantry, 1 = for trees, 2 = general vehicles
CommandSet = AmericanMechCommandSet

; *** AUDIO Parameters ***
VoiceSelect = RocketBuggyVoiceSelect
VoiceMove = RocketBuggyVoiceMove
VoiceAttack = RocketBuggyVoiceAttack
SoundMoveStart = RocketBuggyMoveStart
SoundMoveStartDamaged = RocketBuggyMoveStart
VoiceGuard = RocketBuggyVoiceMove


UnitSpecificSounds
; These have the syntax of SomeNameSomewhereInCode = SomeNameSomewhereInLookupINIs
VoiceCreate = RocketBuggyVoiceCreate
; Required for the W3DTruckDraw module
TruckLandingSound = RocketBuggyLand
TruckPowerslideSound = RocketBuggyPowerslide
VoiceCrush = RocketBuggyVoiceCrush
VoiceEnter = RocketBuggyVoiceMove
End

; *** ENGINEERING Parameters ***
RadarPriority = UNIT
KindOf = PRELOAD SELECTABLE CAN_ATTACK DONT_AUTO_CRUSH_INFANTRY ATTACK_NEEDS_LINE_OF_SIGHT CAN_CAST_REFLECTIONS VEHICLE SALVAGER SCORE

Body = ActiveBody ModuleTag_02
MaxHealth = 350
InitialHealth = 350
End
Behavior = AIUpdateInterface ModuleTag_03
End
AutoAcquireEnemiesWhenIdle = Yes
End
Locomotor = SET_NORMAL CrusaderLocomotor
Behavior = PhysicsBehavior ModuleTag_04
Mass = 100.0
End

Behavior = AutoHealBehavior ModuleTag_08
HealingAmount = 2
HealingDelay = 1000 ; msec
TriggeredBy = Upgrade_GLAJunkRepair
End

Behavior = WeaponSetUpgrade ModuleTag_09
TriggeredBy = Upgrade_GLABuggyAmmo
End

Behavior = DestroyDie ModuleTag_11
DeathTypes = NONE +CRUSHED +SPLATTED
End

; A crushing defeat
Behavior = FXListDie ModuleTag_12
DeathTypes = NONE +CRUSHED +SPLATTED
DeathFX = FX_CarCrush
End
Behavior = CreateObjectDie ModuleTag_13
DeathTypes = NONE +CRUSHED +SPLATTED
CreationList = OCL_RocketBuggy_CrushEffect
End
Behavior = CreateCrateDie ModuleTag_14
CrateData = SalvageCrateData
;CrateData = EliteTankCrateData
;CrateData = HeroicTankCrateData
End

Behavior = TransitionDamageFX ModuleTag_15
ReallyDamagedParticleSystem1 = Bone:Smoke RandomBone:Yes PSys:SmallLightSmokeColumn
ReallyDamagedFXList1 = Loc: X:0 Y:0 Z:0 FXList:FX_BattleMasterDamageTransition
End

Behavior = FlammableUpdate ModuleTag_21
AflameDuration = 5000 ; If I catch fire, I'll burn for this long...
AflameDamageAmount = 3 ; taking this much damage...
AflameDamageDelay = 500 ; this often.
End

Geometry = BOX
GeometryMajorRadius = 13.0
GeometryMinorRadius = 9.0
GeometryHeight = 7.5
GeometryIsSmall = Yes

Shadow = SHADOW_VOLUME
ShadowSizeX = 45 ; minimum elevation angle above horizon. Used to limit shadow length

End

-----------------------------------------------
Weapon.ini
-----------------------------------------------


;------------------------------------------------------------------------------
Weapon MechLaser
PrimaryDamage = 50.0
PrimaryDamageRadius = 0.0 ; 0 primary radius means "hits only intended victim"
AttackRange = 100.0
DamageType = SMALL_ARMS
DeathType = NORMAL
WeaponSpeed = 999999.0 ; dist/sec (huge value == effectively instant)
ProjectileObject = NONE
FireFX = WeaponFX_GenericMachineGunFireWithRedTracers
VeterancyFireFX = HEROIC WeaponFX_GenericMachineGunFireWithRedTracers
FireSound = RangerWeapon
RadiusDamageAffects = ALLIES ENEMIES NEUTRALS
DelayBetweenShots = 75 ; time between shots, msec
ClipSize = 11 ; how many shots in a Clip (0 == infinite)
ClipReloadTime = 700 ; how long to reload a Clip, msec
WeaponBonus = DRONE_SPOTTING RATE_OF_FIRE 200%
WeaponBonus = DRONE_SPOTTING RANGE 200%
WeaponBonus = DRONE_SPOTTING DAMAGE 200%
End

--------------------------------------------------------
CommandButton.ini
--------------------------------------------------------
CommandButton Command_ConstructAmericanMech
Command = UNIT_BUILD
Object = GLAVehicleAmericanMech
TextLabel = CONTROLBAR:ConstructGLAVehicleAmericanMech
ButtonImage = SURocketBuggy
ButtonBorderType = BUILD ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:ToolTipGLABuildAmericanMech
End
------------------------------------------
Commandset.ini
-------------------------------------------
CommandSet AmericanMechCommandSet

9 = Command_AttackMove
11 = Command_Guard
12 = Command_Stop
End

----------------------
The Mech is attatched and you can check it out but plse don't take this thnx. and it isn't skinned anyway..
oldfaq
Oldfaq is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-15-2003, 06:45 PM   #2 (permalink)
Senior Member
 
Join Date: Mar 2003
Location: uk
Posts: 556
Send a message via MSN to damo1
Default

the only person that i can think that can help is Tebrey
damo1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-15-2003, 07:21 PM   #3 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: England
Posts: 228
Send a message via ICQ to Shadow Send a message via AIM to Shadow Send a message via MSN to Shadow Send a message via Yahoo to Shadow
Default

Quote:
Originally Posted by Oldfaq
Draw = W3DTruckDraw ModuleTag_01
OkToChangeModelColor = Yes

DefaultConditionState
Model = Mech
WeaponFireFXBone = PRIMARY Weapon011
WeaponLaunchBone = PRIMARY Weapon09
WeaponFireFXBone = PRIMARY Weapon10
WeaponLaunchBone = PRIMARY Weapon08
WeaponFireFXBone = PRIMARY Weapon04
WeaponLaunchBone = PRIMARY Weapon05
WeaponFireFXBone = PRIMARY Weapon13
WeaponLaunchBone = PRIMARY Weapon00
WeaponLaunchBone = PRIMARY Weapon12
WeaponLaunchBone = PRIMARY Weapon11
End

WeaponFireFXBone = SECONDARY Weapon02
WeaponLaunchBone = SECONDARY Weapon03
WeaponFireFXBone = SECONDARY Weapon04
WeaponLaunchBone = SECONDARY Weapon05
WeaponFireFXBone = SECONDARY Weapon06
WeaponLaunchBone = SECONDARY Weapon07
End
I think you're missing a conditionstate after the bold end
Shadow is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-15-2003, 07:40 PM   #4 (permalink)
Senior Member
 
Join Date: Mar 2003
Location: uk
Posts: 556
Send a message via MSN to damo1
Default

you have missed Model = Mech

ConditionState = RUBBLE
Model = Mech
WeaponFireFXBone = PRIMARY Weapon011
WeaponLaunchBone = PRIMARY Weapon09
WeaponFireFXBone = PRIMARY Weapon10
WeaponLaunchBone = PRIMARY Weapon08
WeaponFireFXBone = PRIMARY Weapon04
WeaponLaunchBone = PRIMARY Weapon05
WeaponFireFXBone = PRIMARY Weapon13
WeaponLaunchBone = PRIMARY Weapon00
WeaponLaunchBone = PRIMARY Weapon12
WeaponLaunchBone = PRIMARY Weapon11
End

WeaponFireFXBone = SECONDARY Weapon02
WeaponLaunchBone = SECONDARY Weapon03
WeaponFireFXBone = SECONDARY Weapon04
WeaponLaunchBone = SECONDARY Weapon05
WeaponFireFXBone = SECONDARY Weapon06
WeaponLaunchBone = SECONDARY Weapon07
End

damo1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-15-2003, 07:48 PM   #5 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: Canada
Posts: 1,097
Send a message via MSN to Oldfaq
Default

thnx, I will go and check to see if this helps!
Oldfaq
Oldfaq is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-15-2003, 09:27 PM   #6 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 335
Send a message via MSN to Tebrey
Default

Hey,

Have you animated the Mech? if so you will need to animate it the code to make it walk and stuff. let me know how far you have gotten and i will try to help.
Tebrey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-16-2003, 01:44 AM   #7 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 386
Send a message via AIM to warlord Send a message via MSN to warlord Send a message via Yahoo to warlord
Default Re: What am I doing wrong?

Quote:
Originally Posted by Oldfaq
Model = Mech
WeaponFireFXBone = PRIMARY Weapon011
WeaponLaunchBone = PRIMARY Weapon09
WeaponFireFXBone = PRIMARY Weapon10
WeaponLaunchBone = PRIMARY Weapon08
WeaponFireFXBone = PRIMARY Weapon04
WeaponLaunchBone = PRIMARY Weapon05
WeaponFireFXBone = PRIMARY Weapon13
WeaponLaunchBone = PRIMARY Weapon00
WeaponLaunchBone = PRIMARY Weapon12
WeaponLaunchBone = PRIMARY Weapon11
End

WeaponFireFXBone = SECONDARY Weapon02
WeaponLaunchBone = SECONDARY Weapon03
WeaponFireFXBone = SECONDARY Weapon04
WeaponLaunchBone = SECONDARY Weapon05
WeaponFireFXBone = SECONDARY Weapon06
WeaponLaunchBone = SECONDARY Weapon07
Remove the End from where it is because it should look like this

Quote:
Model = Mech
WeaponFireFXBone = PRIMARY Weapon011
WeaponLaunchBone = PRIMARY Weapon09
WeaponFireFXBone = PRIMARY Weapon10
WeaponLaunchBone = PRIMARY Weapon08
WeaponFireFXBone = PRIMARY Weapon04
WeaponLaunchBone = PRIMARY Weapon05
WeaponFireFXBone = PRIMARY Weapon13
WeaponLaunchBone = PRIMARY Weapon00
WeaponLaunchBone = PRIMARY Weapon12
WeaponLaunchBone = PRIMARY Weapon11
WeaponFireFXBone = SECONDARY Weapon02
WeaponLaunchBone = SECONDARY Weapon03
WeaponFireFXBone = SECONDARY Weapon04
WeaponLaunchBone = SECONDARY Weapon05
WeaponFireFXBone = SECONDARY Weapon06
WeaponLaunchBone = SECONDARY Weapon07
Also you wont be able to get it to shoot out of all them. To do this rename the primary bones to WeaponAXX and the secondary to WeaponBXX. Now make it where it looks like this.

Quote:
Model = Mech
WeaponFireFXBone = PRIMARY WeaponA
WeaponLaunchBone = PRIMARY WeaponA
WeaponFireFXBone = SECONDARY WeaponB
WeaponLaunchBone = SECONDARY WeaponB
Then add this line in the weapon it uses

Quote:
ShotsPerBarrel = 1
Now it should shoot through all the bones.
warlord 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's wrong with this SHP? Whiteboy Red Alert 2 & Yuri's Revenge Editing 20 10-20-2004 07:18 AM
What's wrong with this? General_Granger Generals & Zero Hour Editing 11 07-20-2004 05:14 PM
What am I doing wrong? Razyd Generals & Zero Hour Editing 6 01-17-2004 11:56 PM
What i did wrong? Madfenix Generals & Zero Hour Editing 2 08-22-2003 01:05 PM
What i did wrong? Madfenix Generals & Zero Hour Editing 2 07-27-2003 02:58 PM


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


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