Post your scripting questions / solutions here
Moderator: Moderators
-
Jayblade
- Private
- Posts: 8
- Joined: Tue Jul 29, 2003 8:33 pm
Post
by Jayblade »
I spawned a tiger tank on Southern France, but people are able to shoot throught it. This is the spawn for the tank.
local.tigertank = spawn models/vehicles/tigertank.tik
local.tigertank.origin = ( 477.89 -300.59 -61.33 )
local.tigertank.angles = 90
local.tigertank solid
local.tigertank immune bullet
local.tigertank immune fast_bullet
local.tigertank immune bash
local.tigertank immune mg
local.tigertank immune explosion
How can I prevent people from shooting through it?
-
Alcoholic
- General
- Posts: 1470
- Joined: Sat May 17, 2003 5:57 am
- Location: California
-
Contact:
Post
by Alcoholic »
spawn a brush to stop bullets. will be hard since you can only make block brushes.
local.halt = spawn script_object
local.halt setsize (0 0 0) (64 64 64) //64x64x64
local.halt.origin = $tank.origin
local.halt.angles = $tank.angles //dont really matter cuz its equal on all sides.
-
Jayblade
- Private
- Posts: 8
- Joined: Tue Jul 29, 2003 8:33 pm
Post
by Jayblade »
Is that an example brush to spawn that I can use?
-
Alcoholic
- General
- Posts: 1470
- Joined: Sat May 17, 2003 5:57 am
- Location: California
-
Contact:
Post
by Alcoholic »
yeah, but better change the targetname of the tank, and make the size
(0 0 0) (320 200 128)
its not the best mask in the world, since you cant really make detailed stuff in script like that.
-
Jayblade
- Private
- Posts: 8
- Joined: Tue Jul 29, 2003 8:33 pm
Post
by Jayblade »
Alright, cool. Thanks for your help