Spawner Explanation

Archive of posts related to former distro versions. Be aware that posts here do not refer to the current distro and may not work.
Locked
User avatar
Austin
Former Developer
Posts: 621
Joined: Wed Jan 25, 2006 2:30 am

Spawner Explanation

Post by Austin »

I wrote it all up on the old forums... and so that means it got lost and I have to rewrite it.. Damnit.
--------------------------------------------------------

There are different levels in the spawn system.
Realms, Regions, Groups.

* Realms
Realms are nothing more than a list of regions that belong to them.

* Regions
Regions contain the most data of any of the sets.
1. Coordinates - 4 coordinates to make the region area.
2. Spawn_Wait - How many seconds it waits before starting the engines again.
3. Group_List - A list of spawn groups to use (see groups for more info)
4. Spawn_Data - Stores a list for each group containing a list of what has been spawned.

* Groups
1. Object list - Can be item names, object types, or npc templates.
2. Engine type - When a region is spawning a group, it starts up an engine script that controls the acutal spawning.
User avatar
Austin
Former Developer
Posts: 621
Joined: Wed Jan 25, 2006 2:30 am

Post by Austin »

If anyone is watching the updates, gimme feedback on the progress of .spawner. Places where it isnt intuitive and such.
User avatar
Tritan
Grandmaster Poster
Posts: 147
Joined: Sat Feb 04, 2006 8:17 am

Post by Tritan »

Will this spawner work with 95?
User avatar
tekproxy
Forum Regular
Posts: 352
Joined: Thu Apr 06, 2006 5:11 pm

Post by tekproxy »

I knew as soon as I finished getting your spawner to work you would come back...
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Post by Yukiko »

*taps Austin on the shoulder*

Thanks. Sorry I haven't been around the past few days but am on 12 hour days work schedule ATM.
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Post by OldnGrey »

There is still a long way to go by the looks of it. But it didn't take long for me to see how it was going to work. The style is easily followed with small programs calling numerous functions.

Are you planning to have monster weightings in any of the engines - eg 10 soldiers for every captain in a group? It seems it would take more than an engine to do this, as it would need to be included in the design of the group file.
User avatar
Austin
Former Developer
Posts: 621
Joined: Wed Jan 25, 2006 2:30 am

Post by Austin »

Hmm I could add config entries to an engine for custom entries...
When you add a group to a region, you get a (>) button to go to its panel and set them up. Pass them along with the realm, region and group name to the engine when its started.

Pass it as a dictionary like..

settings[entryname]=value

something like

Code: Select all

CfgElem CustomEntries
{
     Setting EntryName TextEntryWidth
     Setting EntryName TextEntryWidth
}
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Post by OldnGrey »

That's in the gump, but where would they be stored?
I guess there is an initial import and an ongoing data file format to work over.
User avatar
Austin
Former Developer
Posts: 621
Joined: Wed Jan 25, 2006 2:30 am

Post by Austin »

You.. finished the spawner?
Locked