Spawner Objects (Game Mechanics)

From SWGANH Wiki
Jump to: navigation, search




Game Mechanics - Mechanics Category

SWGANH Wiki is a repository of Star Wars Galaxies Developer information. This site is only meant to be used by SWGANH Developer team.


Navigation

Description

Template (Game Messages)

Related Tags

25% This document has been partially completed.

Mechanics This document is about game mechanics.

Game Mechanics

This is the last layer of spawning mechanics before a mob is spawned into the game world, and its results are influenced by the lower tier functions of the spawning system such as the region lists, resource concentrations and player traffic in the area. A spawner object (sometimes given an in-game appearance by having a lair) would be created which would have information about what sort of spawn belonged at that location. As a player came into range for the MOBs to be initiated into the world, new creature/NPC objects would be generated to fit the specifications of the spawn. Ie, 2 Grand wrix and 3 mottled wrix. If all players vacated the "spawn radius" of that spawner object, the MOB objects would be removed from the world and from server memory (and/or the DB, as appropriate). When another player entered the spawn radius of that spawner object, the spawn type would again dictate what would be created. If it was a mixed type (as the example above), the ratio would be the same but the creatures themselves would be different - different size, different color tones, and different HAM.


Observations From the NGE about spawner objects

Spawner objects seem to be placed at most, 90 meters from one another. There appears to be overlap of the spawner object locations in some cases as some spawn objects are closer than 90 meters to another spawner object. The overlap seems to be able 30 meters, therefore spawns can be anywhere from 60-90 meters from one another. Spawner objects also will not appear in no build zones or city .municipal areas

When a player enters 120 meters of a spawn point (visible lair or invisible spawn point), then the spawn object will spawn the lair and then subsequently all attached mobs/npcs. It takes around 7 seconds to spawn the mobs around the spawn point once the spawn radius has been entered.

When a player passes 128 meters (the limit of examine range) from the spawn point, then the spawn point despawns from the game world after 30 seconds if the player is still beyond 128 meters when the 30 second timer has elapsed. Following this, it takes around 30 seconds to despawn associated mobs with the spawn point once the original spawn object has despawned.

Mob positions, stats etc reset every time the lair is spawned or despawned.


Note: Patrolling mobs seem to be their own spawner object. If the player gets past a certain distance then the patrolling mob will despawn and will respawn at its position when the player re-enters the spawn radius.

Source References

Source Source in Context