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 46 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements

DeeZire Online > Editing Community > Command and Conquer Editing > Generals & Zero Hour Editing » Tech Reinforcement Pad help and questions to modify it...

Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here.

Reply
 
LinkBack Thread Tools
Old 08-25-2005, 02:54 PM   #1 (permalink)
Senior Member
 
Join Date: Jun 2003
Posts: 415
Default Tech Reinforcement Pad help and questions to modify it...

I have this idea where, for example, a Troop Crawler comes out at the end of the screen where it unloads Red Guards to the Reinforcement Pad, is this even possible? I wanna try this, thinking it would work to make the Reinforcement Pad to drop-in reinforcements not from a cargo plane that's air-dropped but land based. Anyone tried this? Any tips to make this work?

And with regards to the cargo plane, how will I know which side of the screen will it come out for drop-in? Is it always like, when my base is at the upper-left of the map and I captured a Reinforcement Pad, the cargo plane will also be coming from the upper-left as well or is it based from where the Pad is? Where will it depend from then?

Thanks for any assistance!
Indigo
Indigo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-25-2005, 05:09 PM   #2 (permalink)
Senior Member
 
CommieDog's Avatar
 
Join Date: Oct 2004
Location: Alaska (Hell Frozen Over)
Posts: 370
Default

I believe that the Tech Reinforcement Pad spawns the transport aircraft from the nearest point on the edge of the map.
CommieDog is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-25-2005, 06:47 PM   #3 (permalink)
Member
 
Join Date: Mar 2005
Posts: 47
Default

It seems like it would be possible, but prone to problems as on some maps the (ground-based) transport may have trouble getting to the Reinforcement Pad. The transport could also get stuck somewhere while trying to leave the map, thus slowing down the game. It might work if used only for specific maps with smooth terrain and no water.
Dukester is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-27-2005, 01:07 AM   #4 (permalink)
Senior Member
 
Join Date: Jun 2003
Posts: 415
Default

I know to the nearest point, but usually, which edge/end part of the map? Just curious though...

But still, any hints to which INI I should fiddle with this?
Indigo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-27-2005, 02:09 AM   #5 (permalink)
Senior Member
 
CommieDog's Avatar
 
Join Date: Oct 2004
Location: Alaska (Hell Frozen Over)
Posts: 370
Default

Whichever edge/end of the map on whicl the nearest point lies.
CommieDog is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-27-2005, 08:10 AM   #6 (permalink)
Senior Member
 
Join Date: Mar 2003
Location: Rep. of Ireland
Posts: 373
Default

Quote:
Originally Posted by Indigo";p=&quot View Post
I know to the nearest point, but usually, which edge/end part of the map? Just curious though...

But still, any hints to which INI I should fiddle with this?
It's a little more difficult then just fiddling with one INI, it involves two

ObjectCreationList.INI
TechBuildings.INI

First find the TechReinforcementPad in TechBuildings.INI then go to where the code looks like this...

Code:
  Behavior       = OCLUpdate ModuleTag_05 ; Context window is a reaction to this, no CommandSet 
    MinDelay     = 120000
    MaxDelay     = 120000
    CreateAtEdge = Yes ; as opposed to just creating on self

    FactionTriggered = Yes ; This requires a controlling player before it works
    FactionOCL   = Faction:America                   OCL:OCL_ReinforcementPadUSAVehicle
    FactionOCL   = Faction:AmericaSuperWeaponGeneral OCL:OCL_SWGen_ReinforcementPadUSAVehicle
    FactionOCL   = Faction:AmericaLaserGeneral       OCL:OCL_LGen_ReinforcementPadUSAVehicle
    FactionOCL   = Faction:AmericaAirForceGeneral    OCL:OCL_AFGen_ReinforcementPadUSAVehicle

    FactionOCL   = Faction:China                     OCL:OCL_ReinforcementPadCHIVehicle
    FactionOCL   = Faction:ChinaTankGeneral          OCL:OCL_TnkGen_ReinforcementPadCHIVehicle
    FactionOCL   = Faction:ChinaInfantryGeneral      OCL:OCL_InfGen_ReinforcementPadCHIVehicle
    FactionOCL   = Faction:ChinaNukeGeneral          OCL:OCL_NukeGen_ReinforcementPadCHIVehicle

    FactionOCL   = Faction:GLA                       OCL:OCL_ReinforcementPadGLAVehicle
    FactionOCL   = Faction:GLAToxinGeneral           OCL:OCL_ToxGen_ReinforcementPadGLAVehicle
    FactionOCL   = Faction:GLADemolitionGeneral      OCL:OCL_DemoGen_ReinforcementPadGLAVehicle
    FactionOCL   = Faction:GLAStealthGeneral         OCL:OCL_StlthGen_ReinforcementPadGLAVehicle
  End
You need to make your own OCL which uses a ground transport and gives you the units that you want, lets look at one of these current OCLs as an example...

Code:
ObjectCreationList OCL_ReinforcementPadUSAVehicle
  DeliverPayload
    Transport = AmericaJetCargoPlane
    StartAtPreferredHeight = Yes
    StartAtMaxSpeed = Yes
    MaxAttempts = 4
    DropOffset = X:0 Y:0 Z:-5
    DropDelay = 400
    PutInContainer = LargeParachute
    Payload = AmericaTankCrusader 1
    ParachuteDirectly = Yes ; will tell all contained parachutes to go ahead and bunch
    ; up on the target instead of parachuting to the spot below their drop point.
    DeliveryDistance = 250
  End
End
As you can see they're pretty simple really, all you need to do is make a copy where the transport is 'ChinaVehicleTroopCrawler' and the Payload is 'ChinaInfantryRedguard 8'. Also, comment out the 'PutInContainer' and 'ParachuteDirectly' attributes and set the Z value in the DropOffset to 0, like the following....

Code:
ObjectCreationList OCL_ChinaGroundReinforcement
  DeliverPayload
    Transport = ChinaVehicleTroopCrawler 
    StartAtPreferredHeight = Yes
    StartAtMaxSpeed = Yes
    MaxAttempts = 4
    DropOffset = X:0 Y:0 Z:0
    DropDelay = 400
    ;PutInContainer = LargeParachute
    Payload = ChinaInfantryRedguard 8
    ;ParachuteDirectly = Yes ; will tell all contained parachutes to go ahead and bunch
    ; up on the target instead of parachuting to the spot below their drop point.
    DeliveryDistance = 250
  End
End
Next, simply put this new OCL into the TechReinforcementPad code above, we'll just replace the Chinese one for the moment...

Code:
  Behavior       = OCLUpdate ModuleTag_05 ; Context window is a reaction to this, no CommandSet 
    MinDelay     = 120000
    MaxDelay     = 120000
    CreateAtEdge = Yes ; as opposed to just creating on self

    FactionTriggered = Yes ; This requires a controlling player before it works
    FactionOCL   = Faction:America                   OCL:OCL_ReinforcementPadUSAVehicle
    FactionOCL   = Faction:AmericaSuperWeaponGeneral OCL:OCL_SWGen_ReinforcementPadUSAVehicle
    FactionOCL   = Faction:AmericaLaserGeneral       OCL:OCL_LGen_ReinforcementPadUSAVehicle
    FactionOCL   = Faction:AmericaAirForceGeneral    OCL:OCL_AFGen_ReinforcementPadUSAVehicle

    FactionOCL   = Faction:China                     OCL:OCL_ChinaGroundReinforcement ;<------THIS IS OUR CHANGE HERE
    FactionOCL   = Faction:ChinaTankGeneral          OCL:OCL_TnkGen_ReinforcementPadCHIVehicle
    FactionOCL   = Faction:ChinaInfantryGeneral      OCL:OCL_InfGen_ReinforcementPadCHIVehicle
    FactionOCL   = Faction:ChinaNukeGeneral          OCL:OCL_NukeGen_ReinforcementPadCHIVehicle

    FactionOCL   = Faction:GLA                       OCL:OCL_ReinforcementPadGLAVehicle
    FactionOCL   = Faction:GLAToxinGeneral           OCL:OCL_ToxGen_ReinforcementPadGLAVehicle
    FactionOCL   = Faction:GLADemolitionGeneral      OCL:OCL_DemoGen_ReinforcementPadGLAVehicle
    FactionOCL   = Faction:GLAStealthGeneral         OCL:OCL_StlthGen_ReinforcementPadGLAVehicle
  End
Note: You may need to try setting the new OCL to absolutely no payload as the troop crawler already comes with the troops, if this still doesn't work, then create a duplicate troopcrawler with no initial payload and use that instead.
Waraddict is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-28-2005, 01:14 PM   #7 (permalink)
Senior Member
 
Join Date: Jun 2003
Posts: 415
Default

Thanks Waraddict! I really needed this one, thanks very much!
Indigo 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
Tech War Fortress, a new tech building SW & ROTR The_Hunter Generals & Zero Hour Editing 6 11-03-2005 10:30 PM
Help with FA2 Reinforcement scripts, please? Acerz492 Red Alert 2 & Yuri's Revenge Editing 5 01-25-2005 08:20 AM
Battleships and Reinforcement pads? adamstrange Generals & Zero Hour Editing 7 11-04-2004 12:49 AM
modify/create frenzy special power S0L0 Generals & Zero Hour Editing 16 10-06-2004 07:14 AM
How to modify the pre-built upgrades field? borg4 Generals & Zero Hour Editing 0 06-04-2003 06:51 PM


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


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