Has anyone been using the spawner from 097 Distro. I am attempting to get it working.
It's in. Compiles and appears to work letting me add realms, regions and groups of NPCs. I can assign groups to the regions but nothing spawns.
Just to give some info about my system, I am running a converted POL 095 scriptbase. I am not using any AI Brain stuff but that shouldn't matter for NPC creation in the spawner I wouldn't think.
If anyone has used the spawner successfully I'd like to hear.
Regarding the spawn system in 097 Distro
Austin it's not getting to the 'for' loop in spawnCycle.src
As you can see I put a Broadxast in there and it ain't hitting it.
I'll be the first to admit that the spawn system is very uhm... compartmentalized and is more than I'd want to take on right now.
Code: Select all
for ( cur_amount; cur_amount<=max_amt; cur_amount+=1 )
var spawn_coords := SS_SelectCoordsInArea(coords.x1, coords.y1, coords.x2, coords.y2);
var z_pos := CInt(GetWorldHeight(spawn_coords.x, spawn_coords.y, realm_name));
var spawn_object := group_entries[RandomInt(num_entries)+1];
Broadcast ( "NPC spawning is " + spawn_object);
var created := CreateNPCFromTemplate(spawn_object, spawn_coords.x, spawn_coords.y, z_pos, 0, realm_name);
if ( created )
SS_AddSpawnToRegion(region_name, group_name, created);
elseif ( created.errortext )
SS_ReportText("Error: Unable to create ("+spawn_object+") for group ("+group_name+") in region ("+region_name+"). ->"+created.errortext, SPAWN_REPORT_SYSLOG);
endif
SleepMS(2);
endfor
I'll be the first to admit that the spawn system is very uhm... compartmentalized and is more than I'd want to take on right now.
Yep. I needed the fileaccess.cfg file. Now I get a spawnSystem log file. Here is the entry that keeps repeating in the file:
[11/29 23:10:46] [pkg/systems/spawnSystem/engines/npcFill/spawncycle.ecl]: Completed spawning of group (cold_animals) in region (fornost).
However, there are no animals being spawned.
[11/29 23:10:46] [pkg/systems/spawnSystem/engines/npcFill/spawncycle.ecl]: Completed spawning of group (cold_animals) in region (fornost).
However, there are no animals being spawned.
I guess this is fixed. at least it spawns for me...
After some tweaking to get the new .cfgs into the data...
On another note: The gump gets quite unhandable when you have regions or groups more than 20 or so. The list dosnt move to another page. All gets added down and hard to get a look on the content...
After some tweaking to get the new .cfgs into the data...
On another note: The gump gets quite unhandable when you have regions or groups more than 20 or so. The list dosnt move to another page. All gets added down and hard to get a look on the content...