Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > 9Dragons
You last visited: Today at 05:27

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



NPC Change Tool by LightYagami <3

Discussion on NPC Change Tool by LightYagami <3 within the 9Dragons forum part of the MMORPGs category.

Reply
 
Old   #1
 
LightYagamiXXX's Avatar
 
elite*gold: 0
Join Date: Apr 2025
Posts: 54
Received Thanks: 7
NPC Change Tool by LightYagami <3



Requirements: Python installed

PyQt6 installed (py -m pip install PyQt6)

Tutorial:

1. Turn on brain
2. Open a map

File → Open

Pick a map_jangjuk*.xns (bamboo map example)

3.Find the NPC you want to replace

Use the Search box (type NPC ID or part of name)

4.Click the NPC ID in the list that you would like to change

5.Click the "Copy NPC from another XNS file"
Select the map you wanna copy the NPC from ( in our case shaolin base or map_sorim.xns)
(You want to edit npc ID : 21050 from bamboo for example into ID 3115 from shaolin base and all its components so we will open shao map using the copy npc from another xns feature.)
On source unique ID = the npc you want to end up with (in my case, shaolin skill trainer ID 3115)
so after entering id 3115 and loading the correct map in copy npc (shao base) then i can replace succesfully the NPC.

Tick all options:

Copy basic fields = makes it the new NPC (ID + classes/trade/relations)

Copy name + role = copies text shown in game

Copy scripts = copies dialog/quest/shop/trainer behavior

Preserve target location = keeps the NPC spawn spot (recommended)


Hit OK

File → Save

Pack everything inside VR_ENVIRONMENT.XP and copy that in game launcher, NPC should be swapped succesfully whitout breaking of bytes

When you are done, dont forget to add the npc and skill list into the nfofile npc scripts



( If you want to improve the code and reupload, you are welcome to ! )
This will not change your npc skin, just give you the interface of the desired npc and its functions!
.xns .xzi etc templates got us very far but 010 editor is kinda weak, hope you enjoy it and many thanks to the original coders of the map templates ! <3
LightYagamiXXX is offline  
Thanks
1 User
Old 12/03/2025, 16:01   #2


 
Adek's Avatar
 
elite*gold: 37
Join Date: Jan 2009
Posts: 2,544
Received Thanks: 1,034
Quote:
Originally Posted by LightYagamiXXX View Post
( If you want to improve the code and reupload, you are welcome to ! )
I didn't have time to check it yet, but you could open a Git repository (e.g. on GitHub), so people like me could do some pull requests or forks.
Adek is offline  
Thanks
1 User
Reply




All times are GMT +1. The time now is 05:27.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.