#modeltest command
My wife likes to do the zone population. I created a #modeltest command so that she could explore models in each zone. It works like this:
#modeltest [Start Race ID] [End Race ID] When I enter: #modeltest 1 10 Spawns 3 rows of 10 mobs using my current loc as the base origin. The first row of 10 is races 1 through 10 male gender, the second row of 10 is races 1 through 10 female gender and the third row of 10 is races 1 through 10 unisex gender. Code:
1m 1f 1u Spawns 4 groups of the 3x10 rows listed above for models 1 through 40. Basically we are wrapping at 10. Like so: Code:
1m 1f 1u 11m 11f 11u 21m 21f 21u 31m 31f 31u When you see a mob in the grid you like, just target it and #npcstat it to get all the modeling info you need to create your spawns. I did this once using a range of 1 to 400. LAG! haha but it worked. If anyone else is interested in this command I'll clean up the code and post it. I'm thinking of adding options to the command to also specify gender and texture/material ranges. |
I think this command must be include in official version, it was a powerfull tools for search models available in zone. That wonderful :)
|
Nice
Please do =) that sounds really great as far as a quick way to see visually how the differant mobs would look.
|
It's still a tad rough but here ya go, I recommend using #repop between uses if you are using large ranges.
Usage: #modeltest [Start Race] [End Race] [Start Gender] [End Gender] [Start Texture] [End Texture] [Helm Texture] Examples: #modeltest 1 3 Shows a model for human, barbarian and erudite for each gender with a texture of 0 and helm texture of 0. #modeltest 1 3 0 0 Shows only male models for human, barbarian and erudite with a texture of 0 and helm texture of 0. #modeltest 1 3 0 0 0 10 Shows only male models for human, barbarian and erudite with textures 0 through 10 and helm texture of 0. #modeltest 1 3 0 0 0 10 2 Shows only male models for human, barbarian and erudite with textures 0 through 10 and helm texture of 2. #modeltest 1 400 Shows a model for races 1 through 400 for each gender with a texture of 0 and helm texture of 0 and causes a ton of lag! The Code: command.h change: Code:
void command_mlog(Client *c, const Seperator *sep); Code:
void command_mlog(Client *c, const Seperator *sep); change: Code:
command_add("npcemote","[message] - Make your NPC target emote a message.",150,command_npcemote) Code:
command_add("npcemote","[message] - Make your NPC target emote a message.",150,command_npcemote) || Code:
// EverHood 6/14/06 Enjoy :) |
hmm... this is a nice tool, but I would really like to see things like this written in perl. The only problem is that there is no way to make a raw NPC like this, however I think there should be. Would you consider writting up a new quest method: quest::spawnraw() which takes each of the npc_type fields (plus location) as arguments and does what your inner loop does? Such a command would prove quite useful for regular quests, and would allow this to be written as a perl command.
|
All times are GMT -4. The time now is 05:44 PM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.