View Single Post
  #1  
Old 06-30-2006, 09:27 AM
unicorn97211
Sarnak
 
Join Date: May 2006
Posts: 37
Default #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
 2m   2f    2u
 3m   3f    3u
 4m   4f    4u
 5m   5f    5u
 6m   6f    6u
 7m   7f    7u
 8m   8f    8u
 9m   9f    9u
10m  10f   10u
#modeltest 1 40

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
 2m   2f    2u     12m  12f   12u      22m   22f    22u      32m   32f    32u      
 3m   3f    3u     13m  13f   13u      23m   23f    23u      33m   33f    33u     
 4m   4f    4u     14m  14f   14u      24m   24f    24u      34m   34f    34u     
 5m   5f    5u     15m  15f   15u      25m   25f    25u      35m   35f    35u     
 6m   6f    6u     16m  16f   16u      26m   26f    26u      36m   36f    36u     
 7m   7f    7u     17m  17f   17u      27m   27f    27u      37m   37f    37u     
 8m   8f    8u     18m  18f   18u      28m   28f    28u      38m   38f    38u     
 9m   9f    9u     19m  19f   19u      29m   29f    29u      39m   39f    39u     
10m  10f   10u     20m  10f   20u      30m   30f    30u      40m   40f    40u
This is nice when choosing models because you can just spawn a range of races and it's very clearly seen which ones work among all the male humans that don't.

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.
Reply With Quote