how do i set up an automated turret?

Forum Archive - from http://theuniversal.net
Locked
User avatar
flametard
Posts: 1245
Joined: Sun Apr 01, 2007 2:05 am
Location: Join NR! faction name: 'NR new recruits' password: 'Truth'
Contact:

how do i set up an automated turret?

Post by flametard »

i tried to make one and when i entered it teleported me to the starport/lower right hand corner of the world.. how do i set the height of the turret and weapon if possible?

can you make it automatically fire at people without a player being in it? like an NPC automated turret that fires at everyone but the person who built it or a family member or teammate?
User avatar
zaroba
World Owner
World Owner
Posts: 7257
Joined: Fri Oct 10, 2003 11:06 pm
Location: Hereford, PA
Contact:

Post by zaroba »

for automatic i think the only way is for it to be team based
it will shoot at anybody not on the same team as the building.

as for the other part, no clue.
User avatar
flametard
Posts: 1245
Joined: Sun Apr 01, 2007 2:05 am
Location: Join NR! faction name: 'NR new recruits' password: 'Truth'
Contact:

Post by flametard »

i tested it by setting myself to a different team i think. anyway, if anyone knows the answer to this let me know, thanks.
User avatar
flametard
Posts: 1245
Joined: Sun Apr 01, 2007 2:05 am
Location: Join NR! faction name: 'NR new recruits' password: 'Truth'
Contact:

Post by flametard »

I looked for the :

Defesnes Weapon / Trigger field in the bdat and couldnt find it.

Changed the weapon i want the auto turrents to use to weapon 3 slot. since i heard the turrets only use weapon 3 for some reason.

I think the model converter is what i need to add a turret to the model im going to use, am i right? I see options for :

add horizontal turret
add vertical turret
set horizontal turret attach point
set vertical turret attach point

and

set generic weapon attach point


again my goal is to create a building that fires weapon 3 at any passing player that is not on the buildings owner's team. preferrably i would like this weapon to be fired from the top of the building model that i am using.

can anyone help?! cause right now... i set myself to all sorts of teams but i cant get the thing to fire at me. also when i enter the turret i'm viewing frmo the bottom of the model, not the top, and it seems to want to fire the weapon (i see an explosion in front of me and hear the weapon fire sound) but i see no projectile, or projectile shadow.

please help
Locked