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

Forum Info
Forum Members: 18,679
Total Threads: 8,804
Posts: 95,887

Administrators:
DeeZire, Redemption

There are currently 21 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 10-07-2004, 10:12 AM   #1 (permalink)
Senior Member
 
Join Date: May 2004
Posts: 229
Default GetPilotOutofHeli Tutorial...

Where can a i find an working link to it?
The origin networks is offline so i cant get it!
its the tutorial which used the guys from call to arms to code there GetPilotOutofHeli Code...
plz could someone give me a link to it
juLLe is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-07-2004, 11:38 AM   #2 (permalink)
Senior Member
 
Join Date: Aug 2004
Location: Philippines
Posts: 455
Send a message via MSN to IraqiPeopleRocks Send a message via Yahoo to IraqiPeopleRocks
Default

do you mean the bail out code?? if so i am willing to give it!!
IraqiPeopleRocks is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-07-2004, 11:48 AM   #3 (permalink)
Senior Member
 
Join Date: May 2004
Posts: 229
Default

i mean the tutorial which is available at gendev...
but they are offline or so... could someone give me a working link to the tutorial?
juLLe is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-07-2004, 12:42 PM   #4 (permalink)
Senior Member
 
Join Date: Aug 2004
Location: Philippines
Posts: 455
Send a message via MSN to IraqiPeopleRocks Send a message via Yahoo to IraqiPeopleRocks
Default

heres the code!!

put this in CommandButton.ini

CommandButton Command_Bail
Command = OBJECT_UPGRADE
Upgrade = Upgrade_VehicleBail
Options = OK_FOR_MULTI_SELECT NOT_QUEUEABLE
TextLabel = Whatever ; you can make a new string if you like!
ButtonImage = SAPilot
ButtonBorderType = ACTION
DescriptLabel = Whatever ;you can make a new string if you like!
End

Put this in weapons.ini

Weapon CarBail
PrimaryDamage = 0.0
PrimaryDamageRadius = 0.1
DamageType = KILL_PILOT
DeathType = NORMAL
WeaponSpeed = 99999.0
AttackRange = 5.0
ProjectileObject = NONE
DamageDealtAtSelfPosition = Yes
RadiusDamageAffects = SELF SUICIDE ALLIES
DelayBetweenShots = 0
ClipSize = 1
ClipReloadTime = 0
AutoReloadsClip = Yes
End

Put this two code in ObjectCreationList.ini file!

ObjectCreationList OCL_PilotBail
CreateObject
Offset = X:5 Y:10 Z:0
ObjectNames = AmericaInfantryPilot
PutInContainer = AmericaParachute
InheritsVeterancy = Yes
IgnorePrimaryObstacle = Yes
Disposition = LIKE_EXISTING
Count = 1
RequiresLivePlayer = No
End
End

;-----------------------------------------------

ObjectCreationList OCL_VehicleBailer
CreateObject
Offset = X:0 Y:0 Z:0
ObjectNames = AmericaVehicleBailer
IgnorePrimaryObstacle = Yes
Disposition = LIKE_EXISTING
Count = 1
RequiresLivePlayer = No
End
End


put this 3 code into whatever unit you want to bail its pilot!

Behavior = ObjectCreationUpgrade ModuleTag_13
UpgradeObject = OCL_PilotBail
TriggeredBy = Upgrade_VehicleBail
End

Behavior = ObjectCreationUpgrade ModuleTag_14
UpgradeObject = OCL_VehicleBailer
TriggeredBy = Upgrade_VehicleBail
End

Behavior = ProductionUpdate ModuleTag_15
MaxQueueEntries = 1; So you can't build multiple upgrades in the same frame
End

make a new command set to the heli unit or plane
;__________(DEMO COMMAND SET)__________

CommandSet AirF_AmericaJetRaptorCommandSet
1 = Command_Bail
12 = Command_GuardFlyingUnitsOnly
11 = Command_AttackMove
13 = Command_Guard
14 = Command_Stop
End

and the last code put this in americavehicle.ini

Object AmericaVehicleBailer

; ***DESIGN parameters *** DisplayName = OBJECT:Bailer
Side = America
EditorSorting = VEHICLE
ArmorSet
Armor = TruckArmor
End
VisionRange = 1
ShroudClearingRange = 0
WeaponSet
Conditions = None
Weapon = PRIMARY HijackVehicle
End

; *** ENGINEERING Parameters ***
KindOf = CAN_ATTACK PROJECTILE
RadarPriority = LOCAL_UNIT_ONLY

Body = ActiveBody ModuleTag_02
MaxHealth = 10.0
InitialHealth = 10.0
End

Behavior = DestroyDie ModuleTag_03
DeathTypes = ALL
End

Behavior = ConvertToHijackedVehicleCrateCollide ModuleTag_08
RequiredKindOf = VEHICLE ; This is my car now, infidel!
End

Behavior = AIUpdateInterface ModuleTag_09
End
Behavior = PhysicsBehavior ModuleTag_10
Mass = 1.0
End

Behavior = FireWeaponWhenDeadBehavior ModuleTag_22
DeathWeapon = CarBail
StartsActive = Yes
DeathTypes = ALL
End

Behavior = LifetimeUpdate ModuleTag_23
MinLifetime = 0 ; min lifetime in msec
MaxLifetime = 0 ; max lifetime in msec
End

Behavior = UpgradeDie ModuleTag_24
DeathTypes = ALL
UpgradeToRemove = Upgrade_VehicleBail ModuleTag_25
End

Geometry = BOX
GeometryIsSmall = Yes
GeometryMajorRadius = 11.0
GeometryMinorRadius = 4.0
GeometryHeight = 7.0
Shadow = SHADOW_VOLUME

End

tada!! the Bail out code!! so you can land heli's anywhere!
IraqiPeopleRocks is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-08-2004, 09:32 AM   #5 (permalink)
Senior Member
 
Join Date: May 2004
Posts: 229
Default

thanks i need it for coding my Driver and Gunner code...
I think that now i can code an Tank that needs an Driver and an gunnner for working correctly...
juLLe is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-08-2004, 09:54 AM   #6 (permalink)
Senior Member
 
Join Date: May 2004
Posts: 229
Default

are ya sure that this is from the gendev tutorial?
i thought that they used the Glabikecode...

plz give a link to the tutorial
juLLe 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
Is there an Ion cannon tutorial anywhere rebel5555 Generals & Zero Hour Editing 10 09-22-2005 03:53 PM
OLC explanation / tutorial? MisterGoid Generals & Zero Hour Editing 12 02-13-2004 12:32 AM
New Skinning Tutorial DJRowley Generals & Zero Hour Editing 15 11-04-2003 02:02 PM
Modelling Tutorial Dunenewt Generals & Zero Hour Editing 2 09-16-2003 07:34 AM
Tutorial? are there any? Tesla-Chrono Red Alert 2 & Yuri's Revenge Editing 3 01-05-2003 08:16 PM


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


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