View Full Version : #spawn and races
Melandril
05-26-2019, 09:35 AM
Hi,
I am trying to reverse engineer the amazing work done on this site (again, not developing).
TL;DR;
when I use #spawn <name> 440 etc, I get a human; but when I go to Volska and #viewnpctype on a husk beetle, it says race 440. What am I doing wrong?
Slightly longer version:
As for the bigger picture, my next goal is to learn how to do custom NPC spawning and skinning like the pros on here. So, I thought if I found a nice NPC skin, found it's race, I could then learn to spawn it, then learn how to make it a static spawn using the other GM commands.
Thank you
Kingly_Krab
05-26-2019, 12:05 PM
Some NPC races require the Gender of the NPC to be 2 (neuter).
Scorpious2k
05-26-2019, 01:34 PM
Also not all races can be spawned in all zones without some extra work.
Melandril
05-26-2019, 03:09 PM
suppose I should refresh before replying hours later. you both answered my questions.
Thank you
Melandril
05-26-2019, 11:16 PM
Also not all races can be spawned in all zones without some extra work.
would this be something you do with a script or SQL? or by diving into the C++?
Thanks
I'd love to use 653 as a pet skin
Scorpious2k
05-27-2019, 01:37 AM
None of the above. You need to add or edit (if it already exists) a file called zonename_chr.txt where zonename is the short name of the zone like tutorial_chr.txt or arena_chr.txt.
See here for more: http://www.eqemulator.org/forums/showthread.php?t=17993
Some models only show in certain zones. This let's you override that.
Melandril
05-27-2019, 04:11 PM
I appreciate that thread. If I understood right, it said
1) create a gequip2_chr.txt file in the client folder
2) add a race entry (eg "drl,drl")
3) and make sure the first line is the number of race entries
Supposedly, this makes the undead dragon available usable in all zones.
Either I missed a step, did a step wrong, or this does not work (even with a server shutdown and reset and a client reset.)
Thoughts?
Thanks
Scorpious2k
05-28-2019, 06:00 AM
Nope. It should be zonename_chr.txt as I explained above. If you want the model to be global - all zones - put it in the file called GlobalLoad_chr.txt (same format I think) and put it in the Resources directory.
Be careful using this because each model uses memory on the client. Depending on how much you have, you can make the client fail due to lack of memory.
Melandril
05-28-2019, 05:36 PM
Thank you for explaining that. I did not see the thing about GlobalLoad, but I googled it after you said it, found it in the resources folder, and added drl to it. I can now use race in old world zones.
I really appreciate you helping me with this =)
Scorpious2k
05-29-2019, 06:26 AM
Glad to help out.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.