Garry's Mod

Garry's Mod

1,027 ratings
[VJ Advanced] WW2 SNPC - German Flak Anti-Air Gun
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: NPC
Addon Tags: Fun, Realism
File Size
Posted
Updated
18.076 MB
14 Jun, 2019 @ 9:03am
4 Mar, 2021 @ 9:00am
3 Change Notes ( view )

Subscribe to download
[VJ Advanced] WW2 SNPC - German Flak Anti-Air Gun

Description
Require VJ Base Addon and other required items to work.

Ground emplacements for shooting down LFS AI planes!


Add 5 SNPCs.

Nazi Germany Anti-Air Gun Emplacements:
FlaK 37 Emplacement (LFS)
FlaK 38 Emplacement (LFS)
FlaK 38 Emplacement Camo (LFS)
FlaK 38 Emplacement Winter (LFS)
MG81 Zwilling Emplacement (LFS)

Cvar List:
vj_advancedoi_snpc_lfsteam_german (default=1)
vj_advancedoi_snpc_lfsteam_allies (default=2)
If you want to use these snpc with LFS AI planes, please assign the correct AI Team value which tell the AA gun which AI team stands for Axis or Allies. For example, if you are using German planes with AI Team of 1, set vj_advancedoi_snpc_lfsteam_german as 1. Set both of this Cvar to 0 leads to AA guns attacking all planes, regardless of team.

If you didnt know about LFS planes, I suggest you to try it out as it has AI-controlled planes and well-made plane physics. Though this snpc addon is VJ-Based, so it doesn't need LFS Base.

Anti-Air Gun SNPC with (LFS) means they can attack LFS planes, while also being able to be targeted by such planes when the guns are crewed. Also, they can target all other NPCs just like regular VJ SNPCs.

However, the gun emplacement will still prioritize any hostile VJ SNPCs within range and sight before fighting the planes.

The Flak AA gun can shoot down LFS AI-controlled planes within range, the MG81 has the lowest range while 88 mm Flak 36 has the farthest range. All guns can also be used against ground targets as well, but with shorter range.

The AA gun has high elevation, along with the ability to fire shells that can explode near its target to effectively combat fighter planes and helicopters. For Flak 37, its shell can do good damage to armoured target too.

Also the gun will take the target plane velocity into account and shoot in front of it to be more likely to score hit.
Planes flying straight over the AA guns are most likely to be shot down, as well as those flying in constant path and speed.

****************************************************************************************
The emplacement needs to be crewed with SNPCs in order to fire and move, so be sure to spawn a couple of soldier SNPCs from the required addons to crew the guns.
****************************************************************************************

The gun crew can be shot down independently of the gun emplacement itself, leaving the gun empty for other SNPCs to recrew.

However, the gun shield on some emplacements provides partial and directional cover for the gun crew, protecting the crew from bullet in certain directions but occasionally bullets may penetrate the shield and injure the gun crew.


Be aware that the emplacements are made for DOI advanced SNPC (found in the required items) only, but trial-and-error may teach you what snpc can use these Gun emplacement or not.
Players CANNOT use these emplacements.

NOTES:

Playermodel of the snpc are not included.

For the best result, please only spawn them with their default weapons.

The NPC are in Day of Infamy tab.

If you subscribe this addon, please also give a thumb up



Credits:
Panzer Elite, Volksjager - some coding
DrVrej - vj base , sounds.
Hauptmann, Professor Heavy - the flak gun models
Gredwitch - models, materials, other resources.
Also other people who I cannot remember that made the resources I used.

I do not own or made the models or its textures , sounds .etc. I only modified the code and pack them into an addon.

I apologise if I had used your contents without your required permission.

If the addon does not work, unsubscribe incompatible addons:
http://steamproxy.net/sharedfiles/filedetails/?id=840889184
http://steamproxy.net/sharedfiles/filedetails/?id=1129493108
If the models are invisible set the following command in your console: mat_dxlevel 90
Missing texture may due to conflicting addons or having too many addons.
If there is any more bugs, feel free to inform me at the comments

If you subscribe this addon, please also give a thumb up









Popular Discussions View All (4)
2
10 Aug, 2023 @ 11:51am
LFS ai planes aren't shooting at the NPCs
[TW] Trng1447
1
6 Mar, 2022 @ 8:09am
NPCs Do not follow
Gabriel
1
1 Jun, 2021 @ 6:35pm
why my soldier doesnt get in the flak
gigapekka
194 Comments
a lovely combine 24 Mar @ 1:18pm 
just ignore the lua error it work perfectly
a lovely combine 24 Mar @ 1:08pm 
░░░░░▐▀█▀▌░░░░▀█▄░░░
░░░░░▐█▄█▌░░░░░░▀█▄░░
░░░░░░▀▄▀░░░▄▄▄▄▄▀▀░░
░░░░▄▄▄██▀▀▀▀░░░░░░░
░░░█▀▄▄▄█░▀▀░░
░░░▌░▄▄▄▐▌▀▀▀░░ THIS IS BOB
▄░▐░░░▄▄░█░▀▀ ░░
▀█▌░░░▄░▀█▀░▀ ░░ HE IS A STUPID
░░░░░░░▄▄▐▌▄▄░░░ COPY AND PASTE
░░░░░░░▀███▀█░▄░░ LET HIM DIE AGAIN
░░░░░░▐▌▀▄▀▄▀▐▄░░
░░░░░░▐▀░░░░░░▐▌░░
Dromaeda 31 Dec, 2023 @ 9:54am 
Update, yeah, I don't recommend using this addon, turns out the code is outdated by quite a lot, which would explain the functional errors. Best to not bother with using this addon until the guys who put it together fix it or just delete it. sorry guys.
Dromaeda 31 Dec, 2023 @ 9:22am 
Same issue here as everyone else, reloading does not work for the snpc's, fire whatever's loading into the emplacement of for the infantry, their magazine, and once they run out of ammo they don't reload and keep trying to fire. A fix would be nice, but I doubt it'll arrive, and I don't feel like cleaning up the code lol.
beavergaming89 4 Oct, 2023 @ 2:55pm 
can someone help me find a ww2 plane pack
Ben G 26 Aug, 2023 @ 3:53am 
FOR YOUR NEXT SNPC, MAKE SPIDERMAN
Disanedor 24 Aug, 2023 @ 8:58am 
░░░░░▐▀█▀▌░░░░▀█▄░░░
░░░░░▐█▄█▌░░░░░░▀█▄░░
░░░░░░▀▄▀░░░▄▄▄▄▄▀▀░░
░░░░▄▄▄██▀▀▀▀░░░░░░░
░░░█▀▄▄▄█░▀▀░░
░░░▌░▄▄▄▐▌▀▀▀░░ THIS IS BOB
▄░▐░░░▄▄░█░▀▀ ░░
▀█▌░░░▄░▀█▀░▀ ░░ HE IS A STUPID
░░░░░░░▄▄▐▌▄▄░░░ COPY AND PASTE
░░░░░░░▀███▀█░▄░░ LET HIM DIE AGAIN
░░░░░░▐▌▀▄▀▄▀▐▄░░
░░░░░░▐▀░░░░░░▐▌░░
GameDog535 18 Jul, 2023 @ 7:15pm 
And i think it has something to do with the lua error it has
GameDog535 18 Jul, 2023 @ 7:14pm 
Once the turrets stop shooting at me once then they wont fire again for some reason
monkey balls 24 Jun, 2023 @ 10:16am 
dude wtf fix this everyone is not happy whith this