Garry's Mod

Garry's Mod

Emplacement Gun
此主题已被锁定
DragonKing 2014 年 6 月 20 日 下午 5:02
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
< >
正在显示第 1 - 3 条,共 3 条留言
Zaubermuffin  [开发者] 2014 年 6 月 21 日 上午 2:07 
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 2014 年 6 月 21 日 上午 4:06 
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
BABYFRAGGER2013 2014 年 8 月 16 日 上午 11:38 
battel plaza search it
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50