sticky bomb mod
Posted: Fri Apr 27, 2007 10:47 pm
i want to make a sticky bomb mod but dont where to find the tik files in the original paks.. can any one help??? also i have a smoke grenade mod i am making but i need to figure out how to improve the fps when many are going off in same area because to many going off causes major lag and it goes like 3 stories high and want to scale it down i also want to limit the ammo to 1 nade per person..here is the script i have so far i think i did something wrong
TIKI
setup
{
scale 1.0
path models/fx/dummy
skelmodel dummy2.skd
}
init
{
server
{
classname Explosion
notsolid
life 30
alwaysdraw
toss
gravity .8
setsize "-2 -2 -2" "2 2 2"
radius 500
spawnrate 1.5
bouncefactor 0.8
spawnlife 10
scalerate 0.6
velocity 24 0 4
spin 0.133
offset 0 0 30
scale 90
fadedelay 7
fadein 1
maxalpha .9
}
client
{
originemitter initial
(
spawnrate 1.5
model smokegrenade_allied.spr
color 1 1 1
spritegridlighting
alpha 1
collision
bouncefactor 0.8
life 15
scalerate 0.6
velocity 24
randvelaxis crandom 4 crandom 4 4
spin 0.133
offset crandom 10 crandom 10 range 20 20
angles 0 0 random 360
avelocity 0 0 crandom 20
scalemin 0.4
scalemax 0.6
fadedelay 7
fadein 1
)
}
}
animations
{
idle dummy2.skc
{
client
{
entry sound nebelsmokegrenade_exp_start
entry loopsound nebelsmokegrenade_exp_loop
entry commanddelay 29.9 sound nebelsmokegrenade_exp_end
}
}
}
TIKI
setup
{
scale 1.0
path models/fx/dummy
skelmodel dummy2.skd
}
init
{
server
{
classname Explosion
notsolid
life 30
alwaysdraw
toss
gravity .8
setsize "-2 -2 -2" "2 2 2"
radius 500
spawnrate 1.5
bouncefactor 0.8
spawnlife 10
scalerate 0.6
velocity 24 0 4
spin 0.133
offset 0 0 30
scale 90
fadedelay 7
fadein 1
maxalpha .9
}
client
{
originemitter initial
(
spawnrate 1.5
model smokegrenade_allied.spr
color 1 1 1
spritegridlighting
alpha 1
collision
bouncefactor 0.8
life 15
scalerate 0.6
velocity 24
randvelaxis crandom 4 crandom 4 4
spin 0.133
offset crandom 10 crandom 10 range 20 20
angles 0 0 random 360
avelocity 0 0 crandom 20
scalemin 0.4
scalemax 0.6
fadedelay 7
fadein 1
)
}
}
animations
{
idle dummy2.skc
{
client
{
entry sound nebelsmokegrenade_exp_start
entry loopsound nebelsmokegrenade_exp_loop
entry commanddelay 29.9 sound nebelsmokegrenade_exp_end
}
}
}