Garry's Mod

Garry's Mod

Fortification Tool for SWRP
TheJoe  [utvecklare] 14 jan, 2021 @ 6:36
Bugs
Report Problems
< >
Visar 1-15 av 18 kommentarer
averyweasel 16 jan, 2021 @ 18:37 
it doesnt pull up the build menu when i press R
TheJoe  [utvecklare] 17 jan, 2021 @ 3:50 
You playing in singleplayer? If so thats probably the source of your Problem
averyweasel 17 jan, 2021 @ 13:53 
ok thank you it works now
Nighthawk 27 jul, 2021 @ 19:07 
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  [utvecklare] 28 jul, 2021 @ 2:28 
probably a typing mistake, try putting it in glua lint
Senast ändrad av TheJoe; 28 jul, 2021 @ 2:29
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 @ 19:21 
I tried putting custom barricades in but when I open up the menu there is nothing. Im in multiplayer
TheJoe  [utvecklare] 9 sep, 2022 @ 9:06 
Check if your file/path has spaces or uppercase letters, that can sometimes cause issues.
Alan 12 nov, 2022 @ 6:00 
hey uh i dosent work i pressed all buttons and it dosent work
TheJoe  [utvecklare] 13 nov, 2022 @ 4:05 
maybe in singleplayer?
Alan 13 nov, 2022 @ 4:26 
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:39 
hello? i still want to use this mod anymore advice?????
TheJoe  [utvecklare] 15 nov, 2022 @ 17:56 
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:58 
alr
Nighthawk 2 sep, 2024 @ 20:45 
for some reason, when i add a model and it builds it, it builds it sideways and in the direction the holo is showing
< >
Visar 1-15 av 18 kommentarer
Per sida: 1530 50