rocket turret orientation
Posted Nov 28, 2008
How do I make a rocket turret point in the direction I want it too after coming out of the ground?
I've tried rotating them, I've tried setting the Yaw value in entity properties, I've even tried enabling and disabling them at the start, but no matter what, they always come out pointing them same direction.
Registered users don’t see ads!
Register now!
Posted Nov 28, 2008
Replied
3 hours
later
You could try setting up an npc_bullseye and an ai_relationship to make the Turret "Hate" the bullseye, and then delete it shortly after. I don't know if it would remain in that orientation though or just return to default.
Posted Nov 28, 2008
Replied
3 hours
later
The turret didn't point at the bullseye at all, even though I didn't remove it.
Posted Nov 28, 2008
Replied
13 minutes
later
Did you setup the ai_relationship properly?
Posted Nov 28, 2008
Replied
54 minutes
later
Here's what I have
Key Values:
Name: relationship_3
Subject(s): npc_rocket_3
Target(s): bullseye_3
Disposition: Hate
Radius for subject: 0
Disposition Priority: 99
Start Active: Yes
Reciprocal: No
Inputs/Outputs:
none
Flags:
Notify subject of target's location (checked)
Notify target of subject's location (unchecked)
Posted Nov 28, 2008
Replied
2 hours
later
Are you triggering the relationship when you activate the Turret? You can't just place them, they have to be activated.
Posted Nov 28, 2008
Replied
1 hour
later
I tried the ApplyRelationship input and nothing happened
Posted Nov 28, 2008
Replied
16 minutes
later
Try using a logic_auto and set it to OnMapLoad or whatever.
Registered users don’t see ads!
Register now!
Posted Nov 29, 2008
Replied
10 hours
later
I tried both OnMapSpawn and OnLoadGame, and neither did anything.