Started new server

Kiltek

New Member
Joined
Jan 3, 2020
Messages
2
Started a new server been messing with the files moving along pretty well teaching myself. Was wondering if there was a way to make Non-Player City structures into structures players could place or if there's code already around I could plug and play for that to work. Thanks!
 

Aeryna

Moderator
Staff member
Moderator
Joined
Oct 10, 2017
Messages
359
No code. Remove the structures you need and replace with player buildings. And yes, a player can live in a npc city.

Another way to build a home using a npc city is to modify removing the NonbuildZoneAreas from the planet regions context (as bin/scripts/managers/spawn_managers/planetName_regions.lua).

Ex: [Hoth]

Code:
hoth_regions = {
  {"hothstarport",0,-2000,{1,200},NOSPAWNAREA + NOBUILDZONEAREA,1}, -- Hoth Starport
} -- Hoth Starport
Switching to:


Code:
hoth_regions = {
  {"hothstarport",0,-2000,{1,200},NOSPAWNAREA,1},  -- Hoth Starport
}
 
Top Bottom