To better understand how to create a code mod, I was looking through the FloorMod example. Just to experiment, I tried adding another option that would allow the player to change the minimum floor value from default value of -1 to user defined (the idea, is that the player can build floors below ground). I got this error when i reloaded the game, but not sure how to resolve. below is snippet of the code for FloorBehavior.cs
#Modifying FloorMod
1 messages · Page 1 of 1 (latest)
GameSettings doesn't have a MinFloor variable
ahh, so the Maxfloor is a vanilla variable gotcha
Yes
that makes sense, thats what i was thinking; bummer
guess i'll have to petition kenneth to add a MinFloor variable lol
@clever bobcat is it possible to create new variables for GameSettigns with a code mod?
What do you want to achieve with that?
create a MinFloor variable for GameSettings lol
But why?
so i can build a multi-level bunker lol
I love this idea
I forgot about this
its possible but not worth it lol
i did created a mod like this
its called basement floor
it does go beyond -1
up to how many player wants
the limitation here is you cant see the builds you build under -1
i tried creating this because of similar ideas you guys have, i wanna build underground server
but alas, a limitation is a limitation hahaha, i tried alternative but yeahhhh