PDA

View Full Version : Sandbag woes...


Cleetis
09-20-2003, 07:35 PM
OK so I put this in Stadt to kind of curb the spawn rushing problem we've been having. But the sandbags don't stop the grenade blast. In other words, even if the grenade is thrown in front of the sandbag and you are on the other side, the blast radius still kills you.
Here is my code:

local.sandbag = spawn script_model
local.sandbag model "static/sandbag_longsegment.tik"
local.sandbag.origin = ( -1851.00 3295.00 .12 )
local.sandbag.angles = ( 0 90 0 )
local.sandbag.scale = 1.
local.sandbag solid

local.mg422 = spawn models/statweapons/mg42_gun.tik
local.mg422.origin = ( -1661.00 3300.00 66 ) //+65 above sanbags
local.mg422.angle = -90
local.mg422 yawCenter -90
local.mg422 maxyawoffset 40// OR 50
local.mg42B = spawn script_model
local.mg42B model "statweapons/mg42_bipod.tik"
local.mg42B.origin = ( -1662.00 3302.00 66 )
local.mg42B.angles = (0 -90 0)
local.mg42B solid

local.mg422 = spawn models/statweapons/mg42_gun.tik
local.mg422.origin = ( -1981.00 3300.00 66 ) //+65 above sanbags
local.mg422.angle = -90
local.mg422 yawCenter -90
local.mg422 maxyawoffset 40// OR 50
local.mg42B = spawn script_model
local.mg42B model "statweapons/mg42_bipod.tik"
local.mg42B.origin = ( -1982.00 3302.00 66 )
local.mg42B.angles = (0 -90 0)
local.mg42B solid



And a shot of what I did:
http://mywebpages.comcast.net/awilson110/sandbag.jpg
Any and all help is greatly appreciated. Thanks guys!!

Report Post | IP: Logged

The_Jackal
09-21-2003, 01:31 AM
Are you ducking low enough? lol JK :rolleyes:

Just add this line:

local.sandbag nodamage

That's it! Good luck with grenades now!

Cleetis
09-21-2003, 08:03 AM
Thanks for the reply. After doing some reading, I have tried both nodamage and immune explosion with no luck. Grenade blasts still go through both of them.
Here is how I have it now:
local.sandbag = spawn script_model
local.sandbag model "static/sandbag_longsegment.tik"
local.sandbag.origin = ( -1851.00 3295.00 .12 )
local.sandbag.angles = ( 0 90 0 )
local.sandbag.scale = 1.
local.sandbag solid
local.sandbag nodamage
Any other ideas and thoughts are welcomed. Thanks again for taking time to reply Jackal.

The_Jackal
09-22-2003, 02:37 PM
Sorry, man. I don't think this is a probabilty right now. As far I know, no one has found a way to get this to work when scripting the bags in.

Perhap you can think of another method to accomplish this end.