Kay-No Posted December 26, 2010 Author Posted December 26, 2010 Hello, ive played around some with EO, but there where two features i couldnt get a grip of. The first is NPC shop. Ive created a shop and a NPC as shopkeeper, but i dont know how to link them together.The other thing is the Gold (that you can below the hp and mana bars).Is it a certain itemnumber to work with it?
Yxxe Posted December 26, 2010 Posted December 26, 2010 1\. Shop Tile Attribute.2\. Number 1 is the gold item number.
Bafoon Posted December 26, 2010 Posted December 26, 2010 Yeah, it stinks because the shop has to be set as a tile attribute.
Yxxe Posted December 26, 2010 Posted December 26, 2010 @Ninja:> Yeah, it stinks because the shop has to be set as a tile attribute.Change the NPC UDT to handle a shop number if the shopkeeper attribute is selected, and modify the server-side code handling different NPC types to open up a shop window when attacked.
Bafoon Posted December 26, 2010 Posted December 26, 2010 Well, I have the Winds Nocutrne engine, so my problem is solved right there.
Yxxe Posted December 26, 2010 Posted December 26, 2010 @Ninja:> Well, I have the Winds Nocutrne engine, so my problem is solved right there.Didn't know that, but fair enough. Might be good as reference to Kay-No, though.
Exvayate Posted December 27, 2010 Posted December 27, 2010 @Lightning:> @Ninja:> > > Yeah, it stinks because the shop has to be set as a tile attribute.> > Change the NPC UDT to handle a shop number if the shopkeeper attribute is selected, and modify the server-side code handling different NPC types to open up a shop window when attacked.Got a tutorial or have a link to a tutorial on this? I would like to add that feature into my game. :]
VitinhooxD Posted December 28, 2010 Posted December 28, 2010 Its kinda easy just look thru EO's source and you will find out.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now