Garry's Mod

Garry's Mod

317 ratings
Star Wars Mortar
3
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Vehicle
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
15.673 MB
30 May, 2021 @ 10:47am
31 Jul, 2023 @ 7:08am
9 Change Notes ( view )

Subscribe to download
Star Wars Mortar

Description
Star Wars Mortar

Newest Update
Luiggi33 was so nice and added two new shell types to the mortar. So you now can select between three grenade types.

HE | High Explosive | Same as before
SE | Smoke | Smoke grenades to provide cover for troops
IN | Incendiary | A shell that spreads fire on impact (compatable with vFire)

There is also now a darker version of the mortar available by using the "Mortar Dark"-SWEP

Information
This addon adds a star wars mortar, which can be placed either via the entity tab in the spawn menu ("Entities" > "DolUnity" > "[DU] Mortar") or via the SWEP "Mortar" ("Weapons" > "DolUnity" > "Mortar"). After you have placed the mortar you can enter it with USE and control it with W & S to change the milliradian and A & D to change to rotation. After you have aligned the mortar with your target you can fire with space.

The mortar now has health which can been seen in the visor (the blue line at the bottom). If the mortart gets destroyed it can't be used anymore but still be repaired with the fusion cutter from Alydus.

How to use
  1. Get the mortar and rangefinder SWEPs ("Weapons" > "DolUnity" > "Mortar"/"Rangefinder")
  2. Place the mortar on a valid surface with the mortar SWEP
  3. Get the distance and angle to the target with the rangefinder
  4. Convert the distance in meters to milliradian with the help of the table on the left of your screen
  5. Align the mortar with the help of those values
  6. Fire

Mortar Controls
E (+use) - Control the mortar
W (+forward) - Decrease milliradian
S (+back) - Increase milliradian
A (+moveleft) - Rotate the mortar to the left
D (+moveright) - Rotate the mortar to the right
Shift + W/A/S/D (+speed) - Adjust the movement more precise
R (+reload) - Change the shell type
Ctrl (+duck) & E (+use) - Pick up the mortar (You can only pick it if your not controlling it!)
Space (+jump) - Fire a round

Mortar Distance Table

Planned Features
  • Ammo limit for the mortar rounds

Credits
Lua Code - DolUnity
Lua Code for different shell types - Luiggi33
Model & Rigging - DolUnity

Thanks to:
senfauge for creating the mortar range table
Mig for helping me out with some model related questions

Copyright 2021 DolUnity. This item is not authorized for posting on Steam, except under the Steam account named DolUnity
46 Comments
very cool :steamthumbsup:
Nagisa 18 Apr, 2024 @ 11:14am 
Good day,
Can I create my own add-on from your add-on? By that I mean I can take the sounds, models, materials and particles from your add-ons and put it all into an unlisted content pack. Of course without the Lua files @DolUnity
Waffular 3 Dec, 2023 @ 12:03pm 
amazing mod
Nickers 8 Sep, 2023 @ 3:07pm 
I think this is broken, I cant fire.
Icarus 3 Aug, 2023 @ 12:00pm 
Doubt this addon is even still being worked on, but just incase it is I have a suggestion!

No clue if you've used the WH40k mortars from gmod workshop, but a top down view instead of practical ironsights would be lovely. Also adding in a better projectile system that doesn't rely on a giant skybox
Kerk 23 Nov, 2022 @ 6:32pm 
Hello again, I'm unsure if the creators for this will respond, but would you guys know how to fix the turn rate? on the server, I play on its unbearable to turn with your instructions. Would it be this addon that's doing it or the server? any response helps out alot
Kerk 14 Sep, 2022 @ 1:44pm 
Question, how do you increase the turn rate for the mortar? In the video, it provides a faster turn rate, but in single player or on the server, its super slow
Bob the Xeno-Builder 16 Aug, 2022 @ 1:30pm 
Ah yes, the famous m224 republican mortar
HauptmannKrause 1 May, 2022 @ 7:08pm 
Would it be possible to increase the turn rate?
no.name 20 Mar, 2022 @ 6:23am 
i cant find the rangefinder can any body help