Removing Artillery

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

    #1

    Removing Artillery

    I'm familiar with modding maps back in DC/1942 and its my understanding thats its fairly similar to BF2.

    I'm in the TWL 5v5 ladder and there has been a ton of controversy regarding artillery in a 5v5 INF only setting. Artillery from the commander is strictly prohibited and results in an automatic map disqualification.

    Is there a way from a modding standpoint to circumvent this by either:

    A) Disabling the artillery button on the command interface?
    b) Simply removing the artillery form the map?

    Any help or suggestions would be phenominal.
  • [CR]R|Rct.Lurx

    #2
    Re: Removing Artillery

    arty button cannot be disabled taht easy...

    If u wanna remove the Arty from the map, u habe to provide a new map and a download to the players

    Comment

    • ebc_admin

      #3
      Re: Removing Artillery

      Removing the arty server side is easy.
      Open the server.zip
      extract the gamemodes\gpm_cq\map size you want\GamePlay_objects.com

      dont change the

      rem [ObjectSpawnerTemplate: CPNAME_object]
      ObjectTemplate.create ObjectSpawner CPNAME_object
      ObjectTemplate.activeSafe ObjectSpawner CPNAME_object
      ObjectTemplate.modifiedByUser admin
      ObjectTemplate.isNotSaveable 1
      ObjectTemplate.hasMobilePhysics 0
      ObjectTemplate.setObjectTemplate 1 ARS_D30
      ObjectTemplate.setObjectTemplate 2 USART_LW155
      ObjectTemplate.minSpawnDelay 360
      ObjectTemplate.maxSpawnDelay 360
      ObjectTemplate.teamOnVehicle 1

      or the map will crash.

      find the lines

      rem [ObjectSpawner: CPNAME_object]
      Object.create CPNAME_object
      Object.absolutePosition 784.000/171.478/69.000
      Object.rotation 0.000/0.000/0.000
      Object.setControlPointId 1
      Object.layer 1

      and rem the lines i.e


      rem [ObjectSpawner: CPNAME_object]
      rem Object.create CPNAME_object
      rem Object.absolutePosition 784.000/171.478/69.000
      rem Object.rotation 0.000/0.000/0.000
      rem Object.setControlPointId 1
      rem Object.layer 1

      then re pack and there will be no arty.
      Clients will need to do nothing as its server side.

      I have changed "CPNAME_object" but it should be obvious from this.



      Hope it helps.


      Comment

      • FFOLKES

        #4
        Re: Removing Artillery

        Just do this on the artillery objects if you are trying to edit an existing map in the gameplayobjects.com file

        BEFORE:

        ObjectTemplate.teamOnVehicle 1


        AFTER:

        ObjectTemplate.teamOnVehicle 0

        This way they aren't removed from the map just disabled for the commander to use.

        Comment

        • TGL|Badlizzard
          TGL Anti-Cheat Director
          • Jan 2005
          • 1380

          #5
          Re: Removing Artillery

          Damn arty cost us a 5v5 match as we capped out the other team, and dropped arty on our own head.... I know it can be disabled, but it would have to be approved by TWL.

          Comment

          Working...