[DiscordArchive] I must ask, are your incursions pre-defined in the code as a table? Or are you also storing their da
[DiscordArchive] I must ask, are your incursions pre-defined in the code as a table? Or are you also storing their da
Archived author: Barnes • Posted: 2023-08-10T12:36:50.203000+00:00
Original source
I must ask, are your incursions pre-defined in the code as a table? Or are you also storing their data in the database?
Archived author: Foe • Posted: 2023-08-10T12:39:39.726000+00:00
Original source
Database
Archived author: Barnes • Posted: 2023-08-10T12:40:09.586000+00:00
Original source
Fun stuff. Seems to be the way most of these incursion like scripts are going. Easier to define it.
Archived author: Foe • Posted: 2023-08-10T12:40:33.432000+00:00
Original source
I have pre-defined dummy NPCs that get spawned, then it randomly selects a theme, spawns the themed NPCs on the bunnies and copies the bunnies settings like way points etc
Archived author: Barnes • Posted: 2023-08-10T12:40:58.558000+00:00
Original source
ohhhh ok, interesting. Did you use the Bunnies for the WorldObject to spawn the NPCs on?
Archived author: Barnes • Posted: 2023-08-10T12:41:09.456000+00:00
Original source
I attempted that route with Pumpkins but i didn't like the Pumpkins being there
Archived author: Barnes • Posted: 2023-08-10T12:41:13.178000+00:00
Original source
lol
Archived author: Foe • Posted: 2023-08-10T12:41:20.155000+00:00
Original source
Nah, just created some new custom creatures that are invisible
Archived author: Barnes • Posted: 2023-08-10T12:44:42.803000+00:00
Original source
Ohhh ok. The way I have mine setup is there is a new table in the database that stores an ID, name, npc1-15_ids (15 seperate columns for the EntryIDs), and then I have 4 sets of x, y, and z coordinates (to create a box of all four points.) and then the script randomly spawns the NPCs in that box. The user will define the theme of each incursion by naming it and selecting what custom creatures get to spawn in that Incursion and they will collect the GPS coordinates of the box. The script randomly iterates through the available incursions and spawns them randomly.
Archived author: Barnes • Posted: 2023-08-10T12:45:34.209000+00:00
Original source
I had to make sure when defining the 4 sets of GPS coordinates that I was flying slightly above the highest point to where i was spawning the incursion so that the NPCs 'dropped' onto the world. If i just ran around and collected gps points i found that some NPCs were being spawned below the map.