Garry's Mod

Garry's Mod

Fortification Tool for SWRP
TheJoe  [developer] 14 Jan, 2021 @ 6:36am
Bugs
Report Problems
< >
Showing 1-15 of 17 comments
averyweasel 16 Jan, 2021 @ 6:37pm 
it doesnt pull up the build menu when i press R
TheJoe  [developer] 17 Jan, 2021 @ 3:50am 
You playing in singleplayer? If so thats probably the source of your Problem
averyweasel 17 Jan, 2021 @ 1:53pm 
ok thank you it works now
Nighthawk 27 Jul, 2021 @ 7:07pm 
when i try to add a custom thing to build, it just comes up with this.

fortification-config] addons/fortification-config/lua/sh_fort_config.lua:8: attempt to perform arithmetic on global '“models' (a nil value)
1. unknown - addons/fortification-config/lua/sh_fort_config.lua:8
TheJoe  [developer] 28 Jul, 2021 @ 2:28am 
probably a typing mistake, try putting it in glua lint
Last edited by TheJoe; 28 Jul, 2021 @ 2:29am
Good day, sir!
I was trying to add a new fortification, but nothing happens. The Bridges don't show up, and then I changed "JoeFort.configoverride = false" to "JoeFort.configoverride = true" that had to disable original structures, but it hadn't helped


Here's my file

D:\Steam\steamapps\common\GarrysMod\garrysmod\addons\engineers\lua\sh_fort_config.lua

And here is my file

-- Change to true to disable the default structures
JoeFort.configoverride = true
-- Determines the standard size of the Ressource Pool
JoeFort.Ressources = 250

to do so paste this function and fill in the values for every structure you want to add

JoeFort:AddEnt("Bridge","Fence",{
classname = “”, -- in case its an entity fill in, for props just leave “”
model = “models/karkar/bridge.mdl”, -- enter the model name here, this is never the same as the classname
health = 1000, -- determines the health, 0 means invincible
buildtime = 10, -- determines how long it takes to build
neededresources = 10, -- determines how many ressources will be taken away
})

JoeFort:AddEnt("Bridge part","Fence",{
classname = “”, -- in case its an entity fill in, for props just leave “”
model = “models/askari/bridge01_stlve.mdl”, -- enter the model name here, this is never the same as the classname
health = 1000, -- determines the health, 0 means invincible
buildtime = 10, -- determines how long it takes to build
neededresources = 10, -- determines how many ressources will be taken away
})
Durian 10 Aug, 2022 @ 7:21pm 
I tried putting custom barricades in but when I open up the menu there is nothing. Im in multiplayer
TheJoe  [developer] 9 Sep, 2022 @ 9:06am 
Check if your file/path has spaces or uppercase letters, that can sometimes cause issues.
Alan 12 Nov, 2022 @ 6:00am 
hey uh i dosent work i pressed all buttons and it dosent work
TheJoe  [developer] 13 Nov, 2022 @ 4:05am 
maybe in singleplayer?
Alan 13 Nov, 2022 @ 4:26am 
i am in single player i dont have any friends lol i could try multi player see if it works for me
Alan 13 Nov, 2022 @ 11:39am 
hello? i still want to use this mod anymore advice?????
TheJoe  [developer] 15 Nov, 2022 @ 5:56pm 
pretty sure it doesnt work in singleplayer, when going into singleplayer you can click a checkbox to make it a local 2 player game, should work then
Alan 16 Nov, 2022 @ 8:58am 
alr
Nighthawk 2 Sep, 2024 @ 8:45pm 
for some reason, when i add a model and it builds it, it builds it sideways and in the direction the holo is showing
< >
Showing 1-15 of 17 comments
Per page: 1530 50