1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

NPC Help

Discussion in 'General Discussion' started by Javelin, Feb 6, 2019.

  1. Javelin
    Offline

    Javelin New Member

    Joined:
    Feb 6, 2019
    Messages:
    6
    Likes Received:
    0
    So I'm not really making a shard here but I need some help with some issues. I'm totally new to ServUO, scirpting C#, pretty much everything. Really what I'm doing is hosting a D&D campaign for me and my friends on our private forum. I've played UO for over 15 years and thought it would be a fun way to add some visuals to the campaign. I decided I would make a test shard and take screen shots of "scenes" I've set up to help describe the scenario my friends will be facing in the D&D world.

    So with that long description here is what I really need help with. I would like to be able to keep the NPCs/Mobs I place from moving so I can take a screen shot of them. I use the admin command to freeze them but, when I log out and then log back into the test shard they are unfrozen and moving around the screen. I would like to be able to log in and set them up and come back and finish setting up the scene later if I have to. Is there a way to freeze them and it save them in the position i left them in? So when I log back into the test shard the NPCs/Mobs I've previously placed are still frozen in place so I don't have to start the process all over again? Also is there a way to turn the NPC/mobs so they are facing the way I want them to face?

    Like I said I'm a total noob to all this. All I've done for my UO experience is be a player never an admin so the commands are totally new to me.
     
  2. Neshoba
    Offline

    Neshoba Member

    Joined:
    Feb 1, 2016
    Messages:
    316
    Likes Received:
    17
    put them on a spawner set to 0 spawnrange and 0 homerange set them blessed if they start fighting each other (lol it happens ) Neshoba_2-6_21.35-1.jpg
     
    • Two Thumbs Up Two Thumbs Up x 1
  3. PyrO
    Offline

    PyrO Well-Known Member

    Joined:
    Jan 27, 2015
    Messages:
    1,014
    Likes Received:
    53
    [add whatevermosnter set cantwalk true

    that sticks even after reloads :p
     
    • Two Thumbs Up Two Thumbs Up x 1
  4. Neshoba
    Offline

    Neshoba Member

    Joined:
    Feb 1, 2016
    Messages:
    316
    Likes Received:
    17
    yea I forgot about that command lol I have a bunch of specials on display set that way
     
  5. Javelin
    Offline

    Javelin New Member

    Joined:
    Feb 6, 2019
    Messages:
    6
    Likes Received:
    0
    Thanks guys. Big help

    I've got a new question. For some reason most of the map on my test server is covered in snow is there a way to revert it back to normal grass tiles?
     
  6. manwitch
    Offline

    manwitch Member

    Joined:
    Jul 13, 2017
    Messages:
    153
    Likes Received:
    4
    Unless you have a season change script, it is handled by the client. Update your client and it should go away
     
  7. Quasar
    Offline

    Quasar Member

    Joined:
    Oct 26, 2018
    Messages:
    47
    Likes Received:
    2
    Here is a script that i use written by Felladrin. add to customs folder, reboot and use command [changeseason summer can also say spring, autumn, winter. It will change the season only in the facet you are in.
     

    Attached Files:

  8. Javelin
    Offline

    Javelin New Member

    Joined:
    Feb 6, 2019
    Messages:
    6
    Likes Received:
    0
    hmmm changed certian things but didn't get rid of the snow. Guess I'll have to download an older client.
     
  9. manwitch
    Offline

    manwitch Member

    Joined:
    Jul 13, 2017
    Messages:
    153
    Likes Received:
    4
    Unless there's a reason you use older clients, the newest client just had the snow removed. OSI changes their client for the seasons every year. So if your downloading an older client make sure it was one that was released in the summer lol.
     
  10. Neshoba
    Offline

    Neshoba Member

    Joined:
    Feb 1, 2016
    Messages:
    316
    Likes Received:
    17
    public class MapDefinitions
    {
    public static void Configure()
    {
    /* Here we configure all maps. Some notes:
    *
    * 1) The first 32 maps are reserved for core use.
    * 2) Map 0x7F is reserved for core use.
    * 3) Map 0xFF is reserved for core use.
    * 4) Changing or removing any predefined maps may cause server instability.
    */
    RegisterMap(0, 0, 0, 7168, 4096, 0, "Felucca", MapRules.FeluccaRules);
    RegisterMap(1, 1, 1, 7168, 4096, 0, "Trammel", MapRules.FeluccaRules);
    RegisterMap(2, 2, 2, 2304, 1600, 1, "Ilshenar", MapRules.FeluccaRules);
    RegisterMap(3, 3, 3, 2560, 2048, 1, "Malas", MapRules.FeluccaRules);
    RegisterMap(4, 4, 4, 1448, 1448, 1, "Tokuno", MapRules.FeluccaRules);
    RegisterMap(5, 5, 5, 1280, 4096, 1, "TerMur", MapRules.FeluccaRules);

    RegisterMap(0x7F, 0x7F, 0x7F, Map.SectorSize, Map.SectorSize, 1, "Internal", MapRules.Internal);
    this is how I set Mine to be spring year round and all facets have full leaves on trees and I forget which number I changed
     
  11. Javelin
    Offline

    Javelin New Member

    Joined:
    Feb 6, 2019
    Messages:
    6
    Likes Received:
    0
    Updated the patch and the snow is gone.

    thanks guys
     
  12. Javelin
    Offline

    Javelin New Member

    Joined:
    Feb 6, 2019
    Messages:
    6
    Likes Received:
    0
    new question! Ok how do I change the hair style, skin hue, hair color or an NPC?
     
  13. Milva
    Offline

    Admin Moderator

    Joined:
    Mar 3, 2013
    Messages:
    4,056
    Likes Received:
    448
    Just use [props on the npc and change where needed
     
  14. Javelin
    Offline

    Javelin New Member

    Joined:
    Feb 6, 2019
    Messages:
    6
    Likes Received:
    0
    ok let me rephrase that I know where to change the stuff i just dont know the itemID to do it
     
  15. Neshoba
    Offline

    Neshoba Member

    Joined:
    Feb 1, 2016
    Messages:
    316
    Likes Received:
    17
    props a npc with hair or item you want it will give the ids for it is a few of them in the bodytable file but its not very descriptive and there a gump art drop in here also that gives the ids for everthing in game give Me a sec and Il find the thread
    (edit 5 minutes later)_ this thread its a handy little tool
    https://www.servuo.com/threads/showart-gump.9091/
     
    #15 Neshoba, Feb 19, 2019 at 10:18 PM
    Last edited: Feb 19, 2019 at 10:25 PM
Similar Threads: NPC Help
Forum Title Date
General Discussion Monsters/NPC'S/Freshly spawned things stuck under map. Please help! Dec 26, 2018
ServUO Discussion seeking help with placement of items and npcs Oct 11, 2017
Discussion help with questnpc condition Apr 25, 2015
Script Support NPC casting speed Jan 11, 2019
Script Support Loring Npc/packslave Dec 13, 2018
Script Support My new NPC is Cheating players Nov 10, 2018
Script Support Staff Runebook unavailable and Nonresponsive NPCs Oct 5, 2018