lance324 Posted May 21, 2009 Author Share Posted May 21, 2009 how do i add money to the game so people can buy items and trade?how do i add a trade app to the game so people can trade?how do i add inns and hotels to the game so people can rest and heal their life?how do i add potions so people can heal life by themselves? Link to comment Share on other sites More sharing options...
Fruitpunch Posted May 21, 2009 Share Posted May 21, 2009 1\. when creating items look for the "Currency" value under type2\. source i believe3\. scripting4\. scriptingThe potions are easy```if GetPlayerMaxHP(index) > GetPlayerHP(index) thenCall SetPlayerHp(index, GetPlayerHP(index) + Rand(5, 10))elseCall Playermsg(index, "You already have full health", RED)end if```Put that under scripted item in the main.txt. It will heal 5-10 health everytime a person uses it. Link to comment Share on other sites More sharing options...
vrage Posted May 21, 2009 Share Posted May 21, 2009 http://www.touchofdeathforums.com/smf/index.php?topic=36848.0 Link to comment Share on other sites More sharing options...
lance324 Posted May 22, 2009 Author Share Posted May 22, 2009 fruitpunch, whenu say scripting and sourceshow do u do that?im new to this but am catching along but can you verify scripting and sourcing cuz i see scripting but dont no wat to do wit it Link to comment Share on other sites More sharing options...
Minilinkki Posted May 22, 2009 Share Posted May 22, 2009 84post = "How i post" topics?Script -> Main.txtSource -> Buy VB6 and have fun Link to comment Share on other sites More sharing options...
Techno 5.0 Posted May 22, 2009 Share Posted May 22, 2009 @lance324:> how do i add inns and hotels to the game so people can rest and heal their life?> > how do i add potions so people can heal life by themselves?1\. you can make a shop that sells keys to rooms in a buildingand once you buy one and open the door the key will dissapear and u will be able to walk in the roomthen place healing atributes on the bed and when the player stands on the bed they heal. you dont have to script any of this2\. its a type of item you can make. when making an item choose potion Link to comment Share on other sites More sharing options...
Patrick Posted May 23, 2009 Share Posted May 23, 2009 @lance324:> how do i add money to the game so people can buy items and trade?> > how do i add a trade app to the game so people can trade?> > how do i add inns and hotels to the game so people can rest and heal their life?> > how do i add potions so people can heal life by themselves?In item editor/trade Answered by ninjaanswered by ninja. Link to comment Share on other sites More sharing options...
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