Want to increase the size of a mob (Ru'aun Mimic) #4887
-
For a variety of reasons i'd like to be able to generally change the size of a particular mob (in this case the mimic in the Ru'aun zone). In the long long ago, there were some flags you could flip to easily change the size, but i'll be damned if i can sort out how to change a mob size on spawn in the lua. Many apologies if this is something that I should easily be able to find, but any direction would be much appreciated. Cheers. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Mob entityFlags in As for the values, in the sql table its in decimal but in hex its like this: tl;dr its not just "bigger number for bigger model" try 2, 4, 8, and C (which is 4 and 8 combined) |
Beta Was this translation helpful? Give feedback.
Mob entityFlags in
mob_pools.sql
control model size. There's a GM command that allows altering them on the fly via lua and it can be sort of done by script, with the caveat that to see the changes the entity must be respawned or the player must rezone. the client isn't cable of resizing a model already on your screen. So if you must do it in script, do it before the mob is spawned and not onSpawn! Also make sure you aren't wiping out other flags unrelated to size - you'll need to know what its got before you start.As for the values, in the sql table its in decimal but in hex its like this:
0x0000000?
where that question mark is the byte to alter for size and the zeroes are going to be ot…