Private server admin questions.
Private server admin questions.
Hi. I'm messing around with a private server and I can't figure out where in the source to change how many towns spawn. For instance if I want to remove them all besides Bree can I do that? If I make a new town file can I have the server only spawn it? Same question really about classes, items, I know where to edit them or add to them. I just can't seem to see where to tell the server about it.
Re: Private server admin questions.
Unfortunately, the number of predefined towns (loaded from templates) is hardcoded to 5.
To hack this, I think you'd need to check out..
town_gen() in generate.c
town_profile[] in tables.c
wild_spawn_towns(), wild_add_new_dungeons(), deltown() in wild.c
If you happen to find any other code location besides these, please let me know. I might use the opportunity to actually un-hardcode the town number.
To hack this, I think you'd need to check out..
town_gen() in generate.c
town_profile[] in tables.c
wild_spawn_towns(), wild_add_new_dungeons(), deltown() in wild.c
If you happen to find any other code location besides these, please let me know. I might use the opportunity to actually un-hardcode the town number.
Re: Private server admin questions.
Would the same be for items and classes?
Re: Private server admin questions.
You can just add items in k_info/a_info/e_info.txt.
About classes, you need to edit tables.c, optionally lib/scpt/classes.lua, and perhaps other places, I'm not sure which ones.
About classes, you need to edit tables.c, optionally lib/scpt/classes.lua, and perhaps other places, I'm not sure which ones.