PDA

View Full Version : Hostile Turret dosnt work



Corona
01-10-2001, 10:40 AM
I made a turret and it does not shoot at me.
Here are the setting.

Name: GUN1
Target: shoot
Pitch yaw roll: 0 90 0
Yaw rate: 50
Yaw Range: 120
Yaw tollerence: 10
Pitch rate: 50
Pitch Range: 50
Pitch tollerence: 10
Barrel lenght: 142
Barrel Horizontal: 6
Barrel vertical: 0
Flash Sprite: sprites/muz3.spr
Sprite scale: 1
Rate of fire: 5
Damage bullet: 25
Fireing persistence: 10
Bullet accurazy: Large cone
Minimum target range: 300
Maximal target range: 200
R player: nemesis
R unknown: Dislike
Bullets: 12mm

Flags:
Active

There is a Hgrunt behind the gun that triggers the gun when he dies.

I'll include a map where the gun is in a test chamber:

Friendly Garg
01-10-2001, 01:33 PM
Target: shoot


Give the shoot functions please. (shoot entities... whatever it's called)

Lambda
01-10-2001, 05:04 PM
Also, and I admit I'm not a mapper, but just maybe common sense says the MAXIMUM distance should be LONGER than the MINIMUM distance?
And could the spelling of 'length' in the script be bugging it up?

Corona
02-10-2001, 01:03 AM
=) typo.
Forgot to add a zero.
And I also use WC so called smart edit, so grammer wont be a problem.


env_shooter
name: shoot
no. of gibs: 1
Delay between shots: 0
Gib Veclocity: 70
Course variance: 1
Gib life: 2
Model or sprite name: models/shell.mdl
Gib sprite scale: 0.8
Bib skin: 0
<flag>
Repeatble

ambient_generic
name: shoot
Wavname: ambience/biggun1.wav
Volume: 10
<flag>
Start silent
Is NOT looped.

BlackPanther
03-10-2001, 10:17 AM
ok.. these are the RIGHT settings you need to put in there:

Name: GUN1
Target: shoot (shoot being an ambient_generic for the gun sounds ok?)

Pitch yaw roll: 0 90 0
Yaw rate: 50
Yaw Range: 120
Yaw tollerence: 10
Pitch rate: 50
Pitch Range: 50
Pitch tollerence: 10
Barrel lenght: 142
Barrel Horizontal: 6
Barrel vertical: 0

This is all dandy

Flash Sprite: sprites/muz3.spr
Sprite scale: 1
Rate of fire: 5
Damage bullet: 25
Fireing persistence: 10
Bullet accurazy: Large cone
Minimum target range: 300
Maximal target range: 0 (Best not to put in a maximum range.)
R player: nemesis
R unknown: Dislike
Bullets: 12mm

Flags:
Active

Make the grunt target GUN1 when dead.

Othe then that..should work.