Thread: How to add npc's and objects

Results 1 to 4 of 4
  1. #1 How to add npc's and objects 
    Java | JavaScript | Spark

    Join Date
    Sep 2008
    Posts
    868
    Thanks given
    103
    Thanks received
    80
    Rep Power
    21
    You want to add npc's and objects to your RSC, but you just don't know how?
    Here you go.

    What you need:

    - Server (ofcourse)
    - You'll need 7Zip, won't work with winrar


    Now to the tutorial:

    1. you go to the folder conf.server.locs
    2. You extract the npcloc.xml.gz
    3. You put in the next code under <linked-list>:
    Code:
    <NPCLoc>
      <id>NPCID</id>
      <startX>Xposition</startX>
      <startY>Yposition</startY>
      <minX></minX>
      <maxX></maxX>
      <minY></minY>
      <maxY></maxY>
    </NPCLoc>
    You'll have to do this every time,
    don't forget to add the new file to the NPCloc.xml.gz archive with 7Zip

    for objects, you keep the same folder but you extract gameObjectloc.xml.gz
    You open it and you put this code under <linked-list>:
    Code:
      <GameObjectLoc>
        <id>ID</id>
        <x>X</x>
        <y>Y</y>
        <direction>-2</direction>
        <type>0</type>
      </GameObjectLoc>
    and again, you have to add the file to the GameObject.xml.gz archive
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Aug 2011
    Posts
    839
    Thanks given
    524
    Thanks received
    208
    Rep Power
    0
    Nice tutorial added to my list
    Reply With Quote  
     

  3. #3  
    Developer

    Join Date
    Jun 2009
    Posts
    793
    Thanks given
    26
    Thanks received
    66
    Rep Power
    11
    Eh anyone should know this.
    Want something done? Private message me, but have something to offer.
    Reply With Quote  
     

  4. #4  
    Java | JavaScript | Spark

    Join Date
    Sep 2008
    Posts
    868
    Thanks given
    103
    Thanks received
    80
    Rep Power
    21
    Well, this is for the people who don't know this.

    It's not because we know this that ppl who just start coding RSC's know it too
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. [PI] adding npc's and objects
    By oblivion-rs in forum Help
    Replies: 1
    Last Post: 09-25-2010, 12:50 AM
  2. (Paradox 2.0) ~ Shops, Objects, and Npc's?
    By Brawler' in forum Help
    Replies: 2
    Last Post: 12-14-2009, 05:05 AM
  3. npc's walking threw objects
    By Fearless in forum Help
    Replies: 8
    Last Post: 11-22-2009, 03:47 PM
  4. NPC's Attack Objects?
    By Cold Poet in forum Requests
    Replies: 2
    Last Post: 09-13-2009, 08:55 AM
  5. The 377 cache (items-npc's-objects)
    By razvanx in forum Tutorials
    Replies: 0
    Last Post: 05-18-2008, 05:19 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •