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,668
Posts: 94,537

Administrators:
DeeZire, Redemption

There are currently 51 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 06-07-2003, 03:13 PM   #1 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: UK
Posts: 164
Default Creating A New Paradrop

Im trying to create a new paradrop for the UK side in my mod it works but it still drops rangers and not Royal Marines like I want it to

ObjectCreation
Code:
; -----------------------------------------------------------------------------
; -----------------------------------------------------------------------------
ObjectCreationList SUPERWEAPON_Paradrop1UK
  DeliverPayload
    Transport = AmericaJetCargoPlane
    StartAtPreferredHeight = Yes
    StartAtMaxSpeed = Yes
    MaxAttempts = 4
    DropOffset = X:0 Y:0 Z:-10
    DropDelay = 150         ; time in between each item dropped (if more than one)
    ParachuteDirectly = Yes ; will tell all contained parachutes to go ahead and bunch
    PutInContainer = AmericaParachute
    Payload = UKInfantryMarine 5
    DeliveryDistance = 0  ;when outbound vehicle must be this close to target to continue delivery
    PreOpenDistance = 300 ;When inbound, vehicle can be this much farther than DeliveryDistance to begin delivery
    DeliveryDecalRadius = 50
    DeliveryDecal
      Texture           = SCCParadrop_USA
      Style             = SHADOW_ALPHA_DECAL
      OpacityMin        = 25%
      OpacityMax        = 50%
      OpacityThrobTime  = 500
      Color             = R:227 G:229 B:22 A:255
      OnlyVisibleToOwningPlayer = Yes
    End
    ;RequiresLivePlayer = Yes ; I want to require a live player, but I'll settle for dropping neutral rangers instead
  End
End

; -----------------------------------------------------------------------------
; -----------------------------------------------------------------------------
ObjectCreationList SUPERWEAPON_Paradrop2UK
  DeliverPayload
    Transport = AmericaJetCargoPlane
    StartAtPreferredHeight = Yes
    StartAtMaxSpeed = Yes
    MaxAttempts = 4
    DropOffset = X:0 Y:0 Z:-10
    DropDelay = 80        ; time in between each item dropped (if more than one)
    ParachuteDirectly = Yes ; will tell all contained parachutes to go ahead and bunch
    PutInContainer = AmericaParachute
    Payload = UKInfantryMarine 10
    DeliveryDistance = 0  ;when outbound vehicle must be this close to target to continue delivery
    PreOpenDistance = 300 ;When inbound, vehicle can be this much farther than DeliveryDistance to begin delivery
    DeliveryDecalRadius = 50
    DeliveryDecal
      Texture           = SCCParadrop_USA
      Style             = SHADOW_ALPHA_DECAL
      OpacityMin        = 25%
      OpacityMax        = 50%
      OpacityThrobTime  = 500
      Color             = R:227 G:229 B:22 A:255
      OnlyVisibleToOwningPlayer = Yes
    End
    ;RequiresLivePlayer = Yes ; I want to require a live player, but I'll settle for dropping neutral rangers instead
  End
End

; -----------------------------------------------------------------------------
; -----------------------------------------------------------------------------
ObjectCreationList SUPERWEAPON_Paradrop3UK
  DeliverPayload
    Transport = AmericaJetCargoPlane
    StartAtPreferredHeight = Yes
    StartAtMaxSpeed = Yes
    MaxAttempts = 4
    DropOffset = X:0 Y:0 Z:-10
    DropDelay = 80        ; time in between each item dropped (if more than one)
    ParachuteDirectly = Yes ; will tell all contained parachutes to go ahead and bunch
    PutInContainer = AmericaParachute
    Payload = UKInfantryMarine 10
    DeliveryDistance = 0  ;when outbound vehicle must be this close to target to continue delivery
    PreOpenDistance = 300 ;When inbound, vehicle can be this much farther than DeliveryDistance to begin delivery
    DeliveryDecalRadius = 50
    DeliveryDecal
      Texture           = SCCParadrop_USA
      Style             = SHADOW_ALPHA_DECAL
      OpacityMin        = 25%
      OpacityMax        = 50%
      OpacityThrobTime  = 500
      Color             = R:227 G:229 B:22 A:255
      OnlyVisibleToOwningPlayer = Yes
    End
    ;RequiresLivePlayer = Yes ; I want to require a live player, but I'll settle for dropping neutral rangers instead
  End
  DeliverPayload
    Transport = AmericaJetCargoPlane
    StartAtPreferredHeight = Yes
    StartAtMaxSpeed = No
    MaxAttempts = 4
    DropOffset = X:0 Y:0 Z:-10
    DropDelay = 80        ; time in between each item dropped (if more than one)
    ParachuteDirectly = Yes ; will tell all contained parachutes to go ahead and bunch
    PutInContainer = AmericaParachute
    Payload = UKInfantryMarine 10
    DeliveryDistance = 0  ;when outbound vehicle must be this close to target to continue delivery
    PreOpenDistance = 300 ;When inbound, vehicle can be this much farther than DeliveryDistance to begin delivery
    DeliveryDecalRadius = 50
    DeliveryDecal
      Texture           = SCCParadrop_USA
      Style             = SHADOW_ALPHA_DECAL
      OpacityMin        = 25%
      OpacityMax        = 50%
      OpacityThrobTime  = 500
      Color             = R:227 G:229 B:22 A:255
      OnlyVisibleToOwningPlayer = Yes
    End
    ;RequiresLivePlayer = Yes ; I want to require a live player, but I'll settle for dropping neutral rangers instead
  End
End
SpecialPower
Code:
;-----------------------------------------------------------------------------
SpecialPower SuperweaponParadropUK
  Enum                = SPECIAL_CLEANUP_AREA
  ReloadTime          = 240000   ; in milliseconds
  RequiredScience     = SCIENCE_Paradrop1UK
  PublicTimer         = No
  SharedSyncedTimer   = Yes
  RadiusCursorRadius  = 50
End
Science
Code:
Science SCIENCE_Paradrop1UK
  PrerequisiteSciences = SCIENCE_Rank3
  SciencePurchasePointCost = 1
  IsGrantable = Yes
  DisplayName = SCIENCE:USAParaDrop1
  Description = CONTROLBAR:ToolTipUSAScienceParaDrop
End

Science SCIENCE_Paradrop2UK
  PrerequisiteSciences = SCIENCE_Paradrop1 SCIENCE_Rank3
  SciencePurchasePointCost = 1
  IsGrantable = Yes
  DisplayName = SCIENCE:USAParaDrop2
  Description = CONTROLBAR:ToolTipUSAScienceParaDrop
End

Science SCIENCE_Paradrop3UK
  PrerequisiteSciences = SCIENCE_Paradrop2 SCIENCE_Rank3
  SciencePurchasePointCost = 2
  IsGrantable = Yes
  DisplayName = SCIENCE:USAParaDrop3
  Description = CONTROLBAR:ToolTipUSAScienceParaDrop
End
I also put the following in the code for the cargoplane,

Code:
  Behavior    = OCLSpecialPower ModuleTag_06
    SpecialPowerTemplate = SuperweaponParadropUK
    UpgradeOCL           = SCIENCE_Paradrop3UK SUPERWEAPON_Paradrop3UK
    UpgradeOCL           = SCIENCE_Paradrop2UK SUPERWEAPON_Paradrop2UK
    OCL                  = SUPERWEAPON_Paradrop1UK
    CreateLocation       = USE_OWNER_OBJECT
  End
Any ideas?[/code]
Malc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-07-2003, 03:58 PM   #2 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: USA
Posts: 430
Default

I dunno.....I've got mine dropping tanks, so i don't know why you can't drop infantry
alasz11 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-07-2003, 04:42 PM   #3 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: UK
Posts: 164
Default

Ok, im still stuck but i found something which I didn't do but probably should of, theres a bit in the commandset.ini about scriptedrops, so I added the following to that,

Code:
CommandButton Command_ParadropUK
  Command             = SPECIAL_POWER
  SpecialPower        = SuperweaponParadropUK
  Options             = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
  Science             = SCIENCE_Paradrop1UK SCIENCE_Paradrop2UK SCIENCE_Paradrop3UK ;These will cause the buttons to change icons, nothing more
  TextLabel           = CONTROLBAR:Paradrop
  ButtonImage         = SACParatroopers
  ButtonBorderType    = ACTION ; Identifier for the User as to what kind of button this is
  DescriptLabel       = CONTROLBAR:TooltipParaDrop
  RadiusCursorType    = PARADROP
  InvalidCursorName     = GenericInvalid
End
I think my problem is that I don't know how to tell the plane to use this scripted drop?
Malc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-07-2003, 05:25 PM   #4 (permalink)
Senior Member
 
Join Date: Apr 2003
Location: USA
Posts: 115
Send a message via ICQ to Kyp678 Send a message via AIM to Kyp678 Send a message via MSN to Kyp678
Default

Check your UK infantry to see if they're parachutable, if it's not there, add it. Dunno if that's what is causing your problem but doesn't hurt to fix that
Kyp678 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-07-2003, 05:28 PM   #5 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: UK
Posts: 164
Default

I used the ranger code as a template so it should work and that wouldn't make any sense as the game would probably crash if they ukinfantry couldn't parachute. But instead I get Rangers?

As I said before I think the problem is I don't know how to tell the cargoplane to use Command_ParaDropUK instead of the US drop.
Malc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-07-2003, 05:37 PM   #6 (permalink)
Senior Member
 
Join Date: Apr 2003
Location: USA
Posts: 301
Default

It sounds like it could be 1 of 2 things.

1. You don't have the right command. Attach the Command UK drop or whatever to your command center and enter in the module type in the faction building for your command center.

2. Your units are messed up. Under Faction Unit are you sure you UK Marines aren't just a 'clone' of Rangers?
Carbon 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
Help with new tank paradrop Lurking Mastermind Generals & Zero Hour Editing 5 01-07-2008 02:02 PM
Paradrop editing Echo404 Red Alert 2 & Yuri's Revenge Editing 12 03-08-2005 03:18 AM
Paradrop Issue Red Alert 2 & Yuri's Revenge Editing 1 08-05-2003 07:01 PM
Tank Paradrop MORPHLING Red Alert 2 & Yuri's Revenge Editing 15 04-07-2003 04:09 AM
Paradrop Clone11b Red Alert 2 & Yuri's Revenge Editing 12 02-04-2003 01:20 AM


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


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