• Func_tank and Prisoner Pods
    9 replies, posted
How would I go about making a func_tank turret that I could aim and fire while in a prop_vehicle_prisoner_pod?
Amazing what you can do with a google search: [url]http://www.halfwit-2.com/?page=tutorials&id=191[/url]
[QUOTE=IronPhoenix;36631481]Amazing what you can do with a google search: [url]http://www.halfwit-2.com/?page=tutorials&id=191[/url][/QUOTE] I looked there but it doesn't explain how to make the gun active and able to fire while the player is in a vehicle, like the prisoner pod. It just explains how to make one that can activate while the player is in the trigger space. I'm assuming i have to set up outputs from the prisoner pod to activate the gun, but the "Activate" output isn't activating the gun. Am I using the wrong output or do I need to put more outputs?
[QUOTE=xXpyroHatakeXx;36633476]I looked there but it doesn't explain how to make the gun active and able to fire while the player is in a vehicle, like the prisoner pod. It just explains how to make one that can activate while the player is in the trigger space. I'm assuming i have to set up outputs from the prisoner pod to activate the gun, but the "Activate" output isn't activating the gun. Am I using the wrong output or do I need to put more outputs?[/QUOTE] Well, your prisoner pod is acting as the trigger space right? And i believe their are check to see if there is a player inside the pod.
[QUOTE=IronPhoenix;36633539]Well, your prisoner pod is acting as the trigger space right? And i believe their are check to see if there is a player inside the pod.[/QUOTE] My prisoner pod is acting as the trigger space, and I have the output from the pod being "PlayerOn" (entity name of func_tank) via this input "Activate." Unfortunately, this doesn't do anything.
[QUOTE=xXpyroHatakeXx;36633622]My prisoner pod is acting as the trigger space, and I have the output from the pod being "PlayerOn" (entity name of func_tank) via this input "Activate." Unfortunately, this doesn't do anything.[/QUOTE] And is this in gmod? Because some things such as func_tank's don't work properly as far as i can remember.
[url]https://developer.valvesoftware.com/wiki/Func_tank[/url] This page says there is an Input called "Use" which is what I need, I think. But it isn't in Valves FGD's, so how do I go about puttign it in so it makes a "use" fire from the prisoner pod when the player enters it? No, this is in HL2.
[url]http://obsidianconflict.net/forums/viewtopic.php?t=2717[/url]
[QUOTE=IronPhoenix;36633833][url]http://obsidianconflict.net/forums/viewtopic.php?t=2717[/url][/QUOTE] Thats exactly what I was looking for, thank you. I'll post which method works for me when I finish.
The method I got to work (in short) is: The turret is aimed at an info_target parented to the end of the barrel, with the func_tank parented to some func_rotating brushes to change its direction. The player controls the turret from the pod via a game_ui. Not quite how I wanted the turret to work (doesn't even function like [url=http://www.halfwit-2.com/?page=tutorials&id=191]this one[/url]) but it serves the purpose.
Sorry, you need to Log In to post a reply to this thread.