Edit the sticky bombs?

Started by HooRaH, August 27, 2006, 09:54:11 PM

Previous topic - Next topic

HooRaH

hey guys

   

   im sorta new to modding... i was wondering if there was a way to edit the sticky bombs so you can throw them further...i tried to open the pk.3 with pakscape and the file was an .exe...it wouldnt open...

   

   a little help please

   

   thanks

Memotjuh

1 post plz...

   

   you mean the mines of Admin pro?

Elgan {sfx}

should be in scripting, open AP with paksscape, go to global/ac/mines then find chuck.scr scroll to this line

   

   

      local.mine.velocity = local.fwd_vec * 300 + ( 0 0 250 )
   

   

   then edit it, put numbers higher

   

      local.mine.velocity = local.fwd_vec * 600 + ( 0 0 250 )
   

   

   //twice as far, maybe, just guessing but im prob close, have fun


HooRaH

is there a way to make them not kill teamates?

Elgan {sfx}

turn off team damage, hehe or..

   

   go to mainglobalacmines

   

    open

   explode.scr

   

   scroll to

   team_check

   

   and change this

   

   

   team_check local.player local.shooter:
   
      local.gametype = getcvar "g_gametype"
   
      if(local.gametype=="1")
      {
         end 0
      }
   
      local.ff =  getcvar "g_teamdamage"
   
      if(local.ff=="0")
      {
         if(local.player.dmteam == local.shooter.dmteam)
         {
            end 1
         }
      }
   
   end 0
   
   

   

   to this

   

   

   team_check local.player local.shooter:
   
      local.gametype = getcvar "g_gametype"
   
      if(local.gametype=="1")
      {
         end 0
      }
   
      local.ff =  getcvar "g_teamdamage"
   
      if(local.ff=="0")
      {
         if(local.player.dmteam == local.shooter.dmteam)
         {
            end 0
         }
      }
   
   end 0
   
   

HooRaH

very much appreciated...thanks :)

TriacNT

Hey folks!

   

   I'm one of the Admins for HooRaH's server and I think I can clarify.

   We've got a sticky bomb mod, created by Elgan. In the sticky_bombs.scr file

   It simple says Version 2. It's not a part of the Admin mod.

   

   When I open the .pk3, the only file under Global is that sticky_bombs.scr.

   The only other files in the .pk3 are the scripts for the individual stock maps.

   

   When editing, I didn't locate the code lines you mentioned above (so perhaps this is

   an earlier version of the mod?)