Garry's Mod

Garry's Mod

Emplacement Gun
This topic has been locked
DragonKing 20 Jun, 2014 @ 5:02pm
would like to use this in a map
This is close to perfect, the mounted guns made with hammer seem to break when loaded in gmod with their animations not working properly. Would it be possible to make this more accurate by adding the 2 "env_sprites" used in the coast maps? been trying for hours now finding a way to solve the problem with the original mounted guns because i want to put it in a map for gmod that i am currently working on. Would add you as a contributor to the map if you help me out :)

only other thing i see weird is the small delay between the activate animation till you can use it, a bit off from how the original works.

ps. already added the current gun into the map and it works
< >
Showing 1-3 of 3 comments
Zaubermuffin  [developer] 21 Jun, 2014 @ 2:07am 
env_sprites, env_sprites, env_sprites... It rings a bell, but I've made this literally years ago. I think I did a complete thing though - it has the light cone, the halo when you stare at it - which env_sprite am I missing?

I think (but I'm not sure) that the delay is exactly because of the animation - it's not really "possible" to aim the gun while the animation plays. But again, this was all done a very long time ago.
DragonKing 21 Jun, 2014 @ 4:06am 
The original gun has 2 extra env_sprites attached to it since the point_spotlight is only visible from the front to a certain angle. the sprites have the same names, eg: "turret_4_glowsprite" with seperate values.

turret_4_glowsprite (a)
Render Mode -> Additive
FX Amount (0 - 255) -> 200
Disable Receiving Shadows -> Yes
Sprite Name -> blueflare1.vmt
Scale -> 0.25

turret_4_glowsprite (b)
Render Mode -> Additive
FX Amount (0 - 255) -> 75
Disable Receiving Shadows -> Yes
Sprite Name -> blueflare1.vmt
Scale -> 1

logic_auto
OnMapSpawn / SetParent / turret_4_model / 0 (delay) / yes (once)
OnMapSpawn / SetParentAttachment / light / 0.1 (delay) / yes (once)

and finally the sprites would just have to turn on/off when you activate it's flashlight
GOING_GAGOBEARS 16 Aug, 2014 @ 11:38am 
battel plaza search it
< >
Showing 1-3 of 3 comments
Per page: 1530 50