I'm currently working on a way to dynamicaly load item into byond games after the server has already been intialized.
Has anyone else done anywork in this area?
-Salarn
ID:153677
![]() May 22 2003, 4:48 pm
|
|
Salarn wrote:
I'm currently working on a way to dynamicaly load item into byond games after the server has already been intialized. The XML library is for just this sort of thing: http://www.byondscape.com/ascape.dmb/Deadron.2003-0517/ |
It has to be good... and useful... and stuff. =)
These links might help a bit more than my inane comments: http://www.byondscape.com/ascape.dmb/Staff.2002-0210/ http://www.byondscape.com/ascape.dmb/Gazoot.2003-0116/ |
I'm not aware of any such projects, but it's been discussed before that for MMORPGs and such it makes sense to dump off as much data into dynamic files as possible.
The simplest way is to have a standard monster type, load it up with every var your system will ever need for monsters, and then create a savefile (or savefile-formatted text file) with modifications for the various monsters:
You should be able to loop through a savefile formatted like this and load up data for any monster type you want to spawn. (Naturally the same idea works for weapons, armor, etc. You could even adapt it to include instructions for dungeon or town building algorithms.) The proc might look something like this:
Lummox JR