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,798
Posts: 95,842

Administrators:
DeeZire, Redemption

There are currently 29 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-03-2008, 12:33 PM   #1 (permalink)
Junior Member
 
Join Date: Sep 2008
Posts: 4
Default Cargo Planes you can control and build in

I'm making a cargo plane mod which I have managed to make controlable by removing the module which opens the door and puts the objects in parachutes and replacing it with a JetAI update module, however I still want my units to parachute out the problem is the door opening module is an AI update so the jet module and the door module wont work together in the same object without one cancelling out the other. I also want some way of building and having the men either parachuted out or garrisoned inside automatically.
Mirosta is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-03-2008, 12:40 PM   #2 (permalink)
Junior Member
 
Join Date: Sep 2008
Posts: 4
Default

In answer to my own question I could mod the pilot eject OCL the only problem being unit build times and making an OCL for every unit I want to create!!
Mirosta is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-03-2008, 01:02 PM   #3 (permalink)
Senior Member
 
Join Date: Jan 2008
Posts: 777
Default

Why do you need to replace DeliveryPayload with JetAi? You can control DeliveryPayloadAI objects as well, just make them KindOf SELECTABLE.

But since you use JetAI you can make it land at an airfield where your infantry can enter it. You can't put them in parachutes though.

If you just want to paradrop a stick of troops from a plane, do this:

Make and OCL that drops 1 soldier in a parachute.

Make a weapon with a clip size of the number of trops in the stick, and a delaybetween shots of the delay between dropping each one. Make the weapon range the distance from the dropzone you want to start dropping. Make the FireOCL the OCL that makes the parachutist. Then just force fire your plane on the dropzone and it will drop the stick of troops.
beng is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-03-2008, 01:14 PM   #4 (permalink)
Senior Member
 
Join Date: Jan 2008
Posts: 777
Post

Another thing you can try is make an OCL that puts the troops inside parachutes and then put them into the plane, like this:

Code:
ObjectCreationList OCL_CargoParadrop
  CreateObject
    ObjectNames = ChinaInfantryRedguard
    PutInContainer = AmericaParachute
    ContainInsideSourceObject = Yes
    RequiresLivePlayer = Yes
  End
  CreateObject
    ObjectNames = ChinaInfantryTankHunter
    PutInContainer = AmericaParachute
    ContainInsideSourceObject = Yes
    RequiresLivePlayer = Yes
  End
End
Then use ObjectCreationUpgrade to load the plane, like the overlord does with it's portable structures. Have the upgrade remove itself via ZH worker style commandsetupgrade so it can be bought again.
beng is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-03-2008, 03:33 PM   #5 (permalink)
Junior Member
 
Join Date: Sep 2008
Posts: 4
Thumbs up Thnx

how about building units and having them garrison inside the plane?? I did manage to do the whole parachute thing but only with specific units not units in the plane. I did it by using the comanche fire rocket pod button which makes the object fire a certain weapon in my case i made it tertiary, just adding a weaponfirebone to the art section at the top called Tertiary then i made a stinger spawner weapon (the unit i'm deploying is a selectable stinger unit) with a fire OCL that i made by copying the eject pilot OCL. I'm modding the first generals not ZH, my dad plays on ZH & he doesn't like it when the CPU side sends hundreds of uber tanks at him... lol :
Mirosta is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-03-2008, 03:39 PM   #6 (permalink)
Junior Member
 
Join Date: Sep 2008
Posts: 4
Default

I know about the make kindof selectable thing, probs is when u build 1 it just flys straight up to flight height. JetAI lets it land and u can't hav JetAI and deliver payload, damn generals game engine!!
Mirosta is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-03-2008, 04:10 PM   #7 (permalink)
Senior Member
 
Join Date: Jan 2008
Posts: 777
Default

If you are using generals then the way to remove the upgrade is to make the OCL spawn an inviaible object that is not contained in the source object, and that immediately dies, with UpgradeDie module removing the upgrade (see battledrone etc).

As i said if you use JetAi you can land the plane at an airfield and have your built units enter it but you cannot put them in parachutes as you are not using deliverypayloadAI.
beng is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-03-2008, 07:01 PM   #8 (permalink)
Senior Member
 
Join Date: Jul 2008
Location: Jakarta, Indonesia
Posts: 298
Default

Hey beng, you already have a controllable cargo plane right? I see yours in the airliner attack map.
n5p29 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-03-2008, 08:53 PM   #9 (permalink)
Senior Member
 
Join Date: Jan 2008
Posts: 777
Default

Well yes but that airliner thing doesn't work the same way, it can unload smart bombs or crash into buildings, but he wants to drop parachutists from his cargo plane manually. There are 2 ways to do this, given above, using weapon FireOCL or Overlord style OCL loading by upgrade. There is no way to parachute troops that are built and manually loaded to a landed plane.
beng is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-05-2008, 11:08 PM   #10 (permalink)
Senior Member
 
Join Date: Jul 2008
Location: Jakarta, Indonesia
Posts: 298
Default

Then why it's very look like a carpet bomb? I think loaded infantry also can being like those bombs.
n5p29 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



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


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