rotating gun Created 19 years ago2004-07-01 08:08:13 UTC by RacerX RacerX

Created 19 years ago2004-07-01 08:08:13 UTC by RacerX RacerX

Posted 19 years ago2004-07-01 08:08:13 UTC Post #37950
i know it's possible to make a stationary cannon or machine gun that can be used and aimed by the player, but can you make one that can be rotated a complete 360 degrees?

thanks in advance...
Posted 19 years ago2004-07-01 08:09:43 UTC Post #37951
the way hl works, i dont think thats possible. it might be if the player was in a certian position, but im not so sure.
Posted 19 years ago2004-07-01 08:19:45 UTC Post #37952
it is possible, onlly the player should be not close to the gun ore at the origin off it
Posted 19 years ago2004-07-01 08:22:08 UTC Post #37953
http://collective.valve-erc.com/index.php?ent=func_tank

Yawrange set to 360 would do the job. Just try it...
Posted 19 years ago2004-07-01 08:22:12 UTC Post #37954
If you were on top of it?
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 19 years ago2004-07-01 08:28:05 UTC Post #37957
If you don't want the player to have to reuse the gun again and again before it faces the right direction, you can place the origin brush a bit behind the gun, e.g. on the place where the player is supposed to be when he uses the gun. Then there's no need for him to move as the gun rotates around his position... :)
Posted 19 years ago2004-07-01 11:30:20 UTC Post #37988
thanks, i'll give it a try
Posted 19 years ago2004-07-01 12:46:40 UTC Post #38006
i got idea, make a platform which is part of the tank. make sure it cant rotate up and down. then make another gun that looks like it is "attatched" to the gun, but let it go up and down, but make sure the origin is in the same place. that should make the effect you want. not sure whether it works.
Posted 19 years ago2004-07-01 13:16:22 UTC Post #38017
You as a player can't control multiple func_tanks at once... but for an enemy func_tank, yes, it has been used in Half-Life now and then. For example, the APC's turret and it's actual gun barrel were both func_tanks, although only the gun barrel actually shot at you.
Posted 19 years ago2004-07-01 14:05:38 UTC Post #38030
oh, damn, if that would of worked, that would be cool.
Posted 19 years ago2004-07-01 16:19:27 UTC Post #38056
well, i've seen something similiar to Dread_furst idea in Chemical Existance but i'm not quite sure how was that done, but there was a moving platform that rotates while you rotate the gun. Worth a try
Posted 19 years ago2004-07-01 16:36:17 UTC Post #38058
Spirit of Half-Life allows the player to control multiple guns at once. Maybe Chemical Existance used Spirit code, or they had a coder of their own.

But indeed, maybe it's fakeable to some extend with normal Half-Life. Just experiment. :)
Posted 19 years ago2004-07-01 17:48:29 UTC Post #38094
You can make one func_tank to look like 4 guns, and then make a sprite that will attach to the thing properly.. it looks strange when its blasting away..

You can mask away the tracer fire (that seems to come from you and not the 4 guns) you can make it look like an AA cannon or something..

Um.. that has some sort of usefulness? no? meh... :zonked:
You must be logged in to post a response.