Sign in to follow this  
Xeon

NPC modding discussion

Recommended Posts

Heyo,


 


Not sure where discussion about modding should go, but I figured this is the most relevant place. Anyways, just looking at the NPC code in the server and it looks pretty intense.. So I made this thread for discussion about NPCs and the code behind them-


 


My first note to anyone taking a peek is to check out the "doSomething" function- as that seems to be where a lot of the action is taking place. (com.wurmonline.server.creatures.Npc.class)


 


From the looks of it NPCs can do anything from bandaging wounds, eating/drinking, picking stuff up off the ground and equipping it, interacting with tiles/objects (no idea to what extent), activating skills or abilities (?), as well as attacking creatures/things, and path-finding their way to locations. It also seems they can partake in HOTA.


 


I think it would be nice to add some functionality to allow NPCs to create houses/deeds/tools/ect and perhaps supply goods to traders or even offer their services for a price.


 


For now however I am going to set a couple dozen NPCs loose with armor, tools, and weapons and see what they get themselves into  ;)


Edited by Xeon

Share this post


Link to post
Share on other sites

Moved to requests - Modding subforum is for mods that are already in development or finished. :)

Share this post


Link to post
Share on other sites

Moved to requests - Modding subforum is for mods that are already in development or finished. :)

 

You should see if a modding discussion board/subforum can be made  ;)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this