i made map that can aim and fire fullautomatic 88flak ...usenoammo 1
it is fantastic
but when multiplay, sirious problem occur
fps...
very low
i want know how institute fire delay of flak
who someone said:
'wait ##' add your script
i dont think this way right
if this way right, i dont know where i add this line
below my flak88turret.tik:
TIKI
setup
{
scale 0.62 // Set default scale to
16/30.5 since world
// is in 16 units per
foot and model is in cm's
//scale 1.55 // Seems to work
better than 0.52
path models/statweapons/88mmflak
skelmodel 88turret.skd
surface all shader flak88
}
init
{
server
{
classname TurretGun
weapontype cannon
name "Rapid Fire R.L"
// turret settings
idleCheckOffset "-240 0 0"
viewOffset " -100 -10 115"
//pickupsound flak88_reload
//noammosound flak88_reload
// Primary fire type info
projectile
models/projectiles/flak88shell.tik
firetype projectile
ammotype "heavy"
//semiauto
//clipsize 1
meansofdeath rocket
bulletcount 1
usenoammo 1
//ammorequired 1
firedelay 5.0
bulletrange 8000
bulletdamage 200
bulletspread 0 0
tracerfrequency 3
turnspeed 38
pitchcaps "-55 10 0"
// DM Attributes
dmprojectile models/projectiles/flak88shell.tik
//dmammorequired 1
dmfiredelay 5.0
//dmbulletcount 1
dmbulletrange 8000
dmbulletdamage 400
dmbulletspread 15 15 75 75
dmcrosshair 0
SoundSet "tank_"
}
client
{
cache muzsprite.spr
cache models/fx/muzflash.tik
cache models/ammo/rifleshell.tik
cache model vsssource.spr
cache model smoke_ring.spr
}
}
animations
{
idle 88turret.skc
wheel_left 88turret_wheel_left.skc
wheel_right 88turret_wheel_right.skc
fire 88turret_fire.skc
{
server
{
first shoot
}
client
{
entry stopaliaschannel king_snd_fire
first sound king_snd_fire weapon 1.0 -1 0.95
0.1
first tagspawn tag_barrel
(
model vsssource.spr
count 6
alpha 0.30
color 1.00 1.00 1.00
life 0.70
scalerate 15.00
cone 20.00 20.00
velocity 700.00
accel -2000.00 0.00 0.00
friction 4.00
fade
circle
randomroll
)
// muzzle flash
first tagdlight tag_barrel 0.25 0.2 0.05 110
0.11
first tagspawn tag_barrel
(
spawnrate 1.00
model muzsprite.spr
alpha 0.50
color 1.00 1.00 1.00
varycolor
scale 1.70
life 0.05
scalerate 1.00
velocity 4.00
friction 3.00
fade
alignstretch 1.00
)
first tagspawn tag_barrel
(
spawnrate 1.00
model muzsprite.spr
alpha 0.50
color 1.00 1.00 1.00
scale 1.60
life 0.05
scalerate 0.70
velocity 17.00
offsetalongaxis 9 0 0
fade
alignstretch 0.40
)
first tagspawn tag_barrel
(
spawnrate 1.00
model muzsprite.spr
alpha 0.50
color 1.00 1.00 1.00
scale 1.60
life 0.05
velocity 18.00
fade
)
first tagspawn tag_barrel
(
spawnrate 1.00
model models/fx/muzflash.tik
color 1.00 1.00 1.00
scale 1.09
life 0.01
velocity 2009.00
accel 0.00 20.00 30.00
friction 2.00
offsetalongaxis range -10 4 0 0
fade
alignstretch 0.02
)
first tagspawn tag_barrel
(
spawnrate 1.00
model models/fx/snipesmoke.tik
color 1.00 1.00 1.00
scale 3.00
life 1.00
velocity 220.00
friction 10.00
angles 0 0 random 270
avelocity 0 0 10
align
)
}
}
}
/*QUAKED turretweapon_german_88mmflakturret (0.5 .25 0.25) (-32 -32 0)
(32 32 128)
Big gun - Boom boom.
*/
i changed tracerfrequency and dmfiredelay but all useless
its impossible??
i cant estblish flak88 firedelay
Moderator: Moderators
-
omniscient
- Major General
- Posts: 694
- Joined: Tue Sep 16, 2003 12:02 am
