LE, in going through a lot of the data lately, I am noticing that many spawns have the exact same appearances _except_ for size. Do you (or anyone) know if SOE may use some sort of size_offset, so when a spawn pops in, it's size could be between say, 35 and 39? The example I use in our data are the spawns "dark horror".
I understand these are "event" spawns, but it got me thinking... if we wanted to use a single spawn ID, but have the spawns appear slightly different each time, we could set a size_offset of like 5, and the spawn will pop either -5 or +5 than the configured "size" field.
[REQ] Spawn "size_offset"
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
Re: [REQ] Spawn "size_offset"
Yah we could do that. Add it to the spawns table whenever you are ready and just let me know so I'll add the code support.
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Re: [REQ] Spawn "size_offset"
Ok, added a field `size_offset` to table `spawn` - tinyint(3).
The Minor version is: 19
The Minor version is: 19
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Re: [REQ] Spawn "size_offset"
This is implemented and working. The only question I had about functionality is, if I have an NPC who has a size ranging from 35 to 39... would I set the `size` value to 37, and the `size_offset` to 2, so it would add/subtract 2 from 37 to get me my 35-39?
Is that how offsets work?
Thanks!
Is that how offsets work?
Thanks!
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
Re: [REQ] Spawn "size_offset"
Yup, that is correct. A size of 37 and an offset of 2 would give you the range of 35-39.John Adams wrote:This is implemented and working. The only question I had about functionality is, if I have an NPC who has a size ranging from 35 to 39... would I set the `size` value to 37, and the `size_offset` to 2, so it would add/subtract 2 from 37 to get me my 35-39?
Is that how offsets work?
Thanks!
Who is online
Users browsing this forum: No registered users and 1 guest