Garry's Mod

Garry's Mod

42 betyg
Star Wars Mines
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Content Type: Addon
Addon Type: Entity
Addon Tags: Fun, Roleplay
Filstorlek
Lades upp
Uppdaterades
650.509 KB
24 nov, 2024 @ 6:35
11 dec, 2024 @ 10:19
3 ändringsnotiser ( visa )

Abonnera för att ladda ner
Star Wars Mines

Beskrivning
You ever wanted to turn the tide of battle with an explosive surprise? Or maybe stop a seperatist tank dead in its tracks? Well, now you can!
This addon comes with two mines and respective sweps for placing them. Both are generic and fit any Star Wars era. Due to my constraints on a selection of models, I couldn't create any lore accurate mines. If you can model and want to create quality models for new mines, then hit me up.

Anti-Personnel Mine
  • small spherical trigger and explosion radius
  • triggers on players and npcs
  • no restrictions on the angle of the surface

Anti-Vehicle Mine
  • detects vehicles above it
  • large explosion radius
  • triggers on Gmod, HL2 and LVS vehicles
  • can only be placed at a max angle of 10°

Note: All SWEPS have their own ammo types. You probably want some way of replenishing their ammo.

For Developers
This addon contains a base for mines. It is however not yet very matured. Beware that changes may be done to the base. Otherwise feel free to use it.

Some features include:
  • two different brushes for trigger areas
  • different behaviour variables for triggering and sounds
  • some functions you can overwrite (ask me if you want specific ones to be added)
  • some behaviour variables for the swep

Known Issues
  • The trigger area for the Anti-Vehicle Mine is sometimes larger than intended. However it should still damage the vehicle. Also it doesn't rotate with the mine itself and always points up.
  • The view model of the sweps sometimes has missing bones, which leads to errors and a hl2 granade appearing. I couldn't find the cause for this issue yet.

Credits
Thanks to DolUnity for some help and letting me use code snippets!
Thanks to Luiggi33 for creating the brush entities, contribution of code quality improvements and consultation!
11 kommentarer
senfauge  [skapare] 21 maj @ 14:27 
In which content pack would it be in?
ZodiacOverkill 21 maj @ 12:56 
Yeah i would check it out incase he took it from you
senfauge  [skapare] 21 maj @ 2:58 
I don't know about that. Though this addon is standalone and free to use :)
ZodiacOverkill 20 maj @ 19:40 
dosnt kraken have this in his arccw content but you gotta buy it
[GGC] Strudi 8 dec, 2024 @ 10:01 
Very good addon, i use it on my AnimeRP server
Дядя Саша (Отчим) 2 dec, 2024 @ 11:21 
Thanks, it still works.
senfauge  [skapare] 30 nov, 2024 @ 10:08 
They can. Are you sure you are actually hitting them? Maybe you got some code running that prevents them from taking damage?
Дядя Саша (Отчим) 29 nov, 2024 @ 7:05 
They cannot be destroyed by shots.
senfauge  [skapare] 25 nov, 2024 @ 2:13 
So far I haven't planned on adding a defusal feature. You couldn't even get close enough to the Anti-Personnel Mine before it explodes. Shooting them is your best defusal method.
But maybe I will get a good idea and add a defusal feature at a later time.
Дядя Саша (Отчим) 25 nov, 2024 @ 1:11 
Will a function to defuse these mines ever be developed?