Vehicle Spawning

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • IHM

    #1

    Vehicle Spawning

    Can anyone help me, simple question, don't laugh, can someone tell me how to copy vehicle spawn point from other versions of a map? Such as on the 32 and 64 player versions of Dalian Plant there is a heli spawn point at the Maintenance
    Building, but on the 16 player version there isn't. Can anyone help me with this, I just wanna put the heli on the 16 version, basically so its more fun in co-op mode, want to have heli fights on co-op on Dalian and a few others.

    Thanks.
  • GlobalFear

    #2
    Re: Vehicle Spawning

    Navigate to "C:\Program Files\EA GAMES\Battlefield 2\mods\bf2\Levels\Dalian_plant" and open "server.zip" in WinRAR.

    Inside the .zip navigate to "GameModes\gpm_cq\32" and open "GamePlayObjects.con"

    Locate the following in the code:
    Code:
    rem [ObjectSpawnerTemplate: CPNAME_DP_32_reactors_shooper]
    ObjectTemplate.create ObjectSpawner CPNAME_DP_32_reactors_shooper
    ObjectTemplate.activeSafe ObjectSpawner CPNAME_DP_32_reactors_shooper
    ObjectTemplate.modifiedByUser esj
    ObjectTemplate.isNotSaveable 1
    ObjectTemplate.hasMobilePhysics 0
    ObjectTemplate.setObjectTemplate 2 AHE_AH1Z
    Code:
        rem [ObjectSpawner: CPNAME_DP_32_reactors_shooper]
       Object.create CPNAME_DP_32_reactors_shooper
       Object.absolutePosition 115.086/153.200/-95.006
       Object.rotation -32.000/0.000/0.000
       Object.setControlPointId 24
       Object.layer 4
    Now close that .con and go back to WinRAR.
    Within the .zip navigate to :"GameModes\gpm_coop\16" and open the "GamePlayObjects.con" in notepad.
    Once there paste the first chunk of code you found under the following heading:
    Code:
    rem ********** Object Spawner **********
    So it looks like:
    Code:
    [B]rem ********** Object Spawner **********
    rem [ObjectSpawnerTemplate: CPNAME_DP_32_reactors_shooper]
    ObjectTemplate.create ObjectSpawner CPNAME_DP_32_reactors_shooper
    ObjectTemplate.activeSafe ObjectSpawner CPNAME_DP_32_reactors_shooper
    ObjectTemplate.modifiedByUser esj
    ObjectTemplate.isNotSaveable 1
    ObjectTemplate.hasMobilePhysics 0
    ObjectTemplate.setObjectTemplate 2 AHE_AH1Z[/B]
    
    rem [ObjectSpawnerTemplate: CPNAME_DP_SP16_powerplant_AT]
    ObjectTemplate.create Objec.............[I] <SNIP>[/I]
    Place the second under the following heading:
    Code:
    if v_arg1 == host
    So it looks like:
    Code:
    [B]if v_arg1 == host
    
       rem [ObjectSpawner: CPNAME_DP_32_reactors_shooper]
       Object.create CPNAME_DP_32_reactors_shooper
       Object.absolutePosition 115.086/153.200/-95.006
       Object.rotation -32.000/0.000/0.000
       Object.setControlPointId 24
       Object.layer 4[/B]
    
       rem [ObjectSpawner: CPNAME_DP_SP16_powerplant_AT]
       Object.create CPNAM.............[I] <SNIP>[/I]
    A Cobra will now spawn when the corrosponding base is controlled by the USA.

    Helpful tricks: CTRL + F Opens the "Find" Window.

    Comment

    Working...