Garry's Mod

Garry's Mod

Fortification Tool for SWRP
TheJoe  [vývojář] 14. led. 2021 v 6.36
Bugs
Report Problems
< >
Zobrazuje se 115 z 18 komentářů
it doesnt pull up the build menu when i press R
TheJoe  [vývojář] 17. led. 2021 v 3.50 
You playing in singleplayer? If so thats probably the source of your Problem
ok thank you it works now
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  [vývojář] 28. čvc. 2021 v 2.28 
probably a typing mistake, try putting it in glua lint
Naposledy upravil TheJoe; 28. čvc. 2021 v 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
})
I tried putting custom barricades in but when I open up the menu there is nothing. Im in multiplayer
TheJoe  [vývojář] 9. zář. 2022 v 9.06 
Check if your file/path has spaces or uppercase letters, that can sometimes cause issues.
hey uh i dosent work i pressed all buttons and it dosent work
TheJoe  [vývojář] 13. lis. 2022 v 4.05 
maybe in singleplayer?
i am in single player i dont have any friends lol i could try multi player see if it works for me
hello? i still want to use this mod anymore advice?????
TheJoe  [vývojář] 15. lis. 2022 v 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
alr
for some reason, when i add a model and it builds it, it builds it sideways and in the direction the holo is showing
< >
Zobrazuje se 115 z 18 komentářů
Na stránku: 1530 50