So if you are on a small server or just a private test server
you may not want your citizen run cities to have a citizen
requirement because your city hall and building will go away
if you don't meet the required time to get that many citizens
in the city. (By default this is 24 hours)
So in order to change this so that your city has no citizen requirements
as they rank up you do the follow.
First off make sure the swgemu server is properly shut down
before doing any of these changes.
Now go into your source code and look for the file
Core3/MMOCoreORB/bin/scripts/managers/city_manager.lua
and open it with your favourite text editor if you are linux
this will be something like pico, vi etc.
Now search for this line
CitizensPerRank = {2, 4, 6, 8, 10}
What this line is telling you the number of people you have
to have in your city for each rank so by the time it reaches
metropolis you have a reuquirement to have 10 people in your city
to keep your city going.
The ranks in order and the number of people you have to have in
the city in order are
Outpost (2), Village(4), Township(6), City(8), Metropolis(10)
Comment it out so it looks like this
-- CitizensPerRank = {2, 4, 6, 8, 10}
Then copy the old line and paste it and make it look like
this
CitizensPerRank = {0, 0, 0, 0, 0}
Volia! No more citizen requirements at any city rank and
your city hall won't disappear any more.
You may have to recompile your server again to reflect
the changes I did it even if I didn't have to.
Oh and if you want to change the grace period that is given
for cities to get these citizens at each rank instead of totally
disabling them you can give yourself move time by editing the same
file and look for the following line.
--The amount of time in minutes a new city has to gain enough citizens to remain a city.
NewCityGracePeriod = 1440
The time is in seconds so 1440 is 24 hours if you want to increase the amount of
time cities have to gain their new citizens then just increase this number and
recomplile your server again.
I hope this information helps!
Tips and tricks and commands for running a SWGEMU development server.
Subscribe to:
Post Comments (Atom)
Player Run Cities Guide
So you want to setup your own city some where. To do this you will need certain skills I would recommend getting to Master Politician. ...
-
So there was a file a long time ago on a Google Drive called "Commands V2 - Sorted.pdf" I still had a copy of this file on my ha...
-
So once you get your server up and running you may want to create your own custom resources and this is how you do it! In case anyone els...
-
If you are running your own private swgemu server then once you get it up and running you will want to give your character some of the ski...
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.