Luner Posted March 3, 2009 Author Share Posted March 3, 2009 How do i make NCPs talk and give quests? oh, and can i make it so that if u talk to a ncp, itll open a store? plz get back to me, becouse im realy confused…. plz... D= and ty for any1 who answers. :sad: Link to comment Share on other sites More sharing options...
7soccerbo7 Posted March 4, 2009 Share Posted March 4, 2009 You can easily script it Link to comment Share on other sites More sharing options...
Waffle Posted March 4, 2009 Share Posted March 4, 2009 I know you want it so that if you talk to the npc itll open a store right? (WELL if you didn't know you can setup items in the store, then go to edit map, hit the button in between layers and light, it will open a little tap with buttons click the one with 'store' next to it, choose the store, and then set on ground) i did that, but i made a building, made an npc set as a shopkeeper and then added the shop keeper to the building and set tables (counters) and set if you walk up to the counter it will open the store. hope that helped at all….... Link to comment Share on other sites More sharing options...
Luner Posted March 5, 2009 Author Share Posted March 5, 2009 lol thx. but i kinda knew that. but ty for trying to help. =P i want it to be like, you just talk to an ncp, by pressing like, space button when your next to it and itll be like : welcome to my store and itll open the stop. thats realy what im looking for… but thx anyway Link to comment Share on other sites More sharing options...
Techno 5.0 Posted March 5, 2009 Share Posted March 5, 2009 well its pretty much the same thing.but to make it the space button there will require source editing.but as of right now you can only use the CTRL button.just amke a shop and set the shop on an NPC.no scripting required Link to comment Share on other sites More sharing options...
Luner Posted March 5, 2009 Author Share Posted March 5, 2009 how do u set a shop on a ncp? Link to comment Share on other sites More sharing options...
Avantar Posted March 5, 2009 Share Posted March 5, 2009 I am also new to this and asked the same question two days ago. So here: Yo make a scripted NPC and then you paste this code:Case # 'Replace # with next caseCall GoShopping(Index, 1) '1 is Shop nimberin your main.txt underExecutes whenever a scripted NPC does an action.Sub ScriptedNPC(Index, Script) Select Case ScriptRemember to set your NPC to script 1 or whatever you set the case to be. Link to comment Share on other sites More sharing options...
Avantar Posted March 5, 2009 Share Posted March 5, 2009 Oh…and more more thing: You need to setup a shop first in your editor and maybe some items that goes in it. Link to comment Share on other sites More sharing options...
Techno 5.0 Posted March 5, 2009 Share Posted March 5, 2009 @Avantar:> I am also new to this and asked the same question two days ago. So here: Yo make a scripted NPC and then you paste this code:> > Case # 'Replace # with next case> Call GoShopping(Index, 1) '1 is Shop nimber> > in your main.txt under> > Executes whenever a scripted NPC does an action.> Sub ScriptedNPC(Index, Script)> Select Case Script> > Remember to set your NPC to script 1 or whatever you set the case to be.YOU DONT NEED TO SCRIPT ITjust go look in the tuts they will tell you Link to comment Share on other sites More sharing options...
Avantar Posted March 5, 2009 Share Posted March 5, 2009 > i want it to be like, you just talk to an ncp, by pressing like, space button when your next to it and itll be like : welcome to my store and itll open the stop.You can lay the shop attribute down on a tile before the NPC and give the NPC the Shopkeeper attribute. That much I have learned yesterday. Clicking a button to open the shop, I thought required scripting. :confused:O, well as long as you have been helped, Lunar.I still have much to learn :) Link to comment Share on other sites More sharing options...
Luner Posted March 6, 2009 Author Share Posted March 6, 2009 ty u guys so much, and Luner* lol, game name.. i no, its raw… lmao. so yeah, thx to every1, ima try the scripting thing i saw. Link to comment Share on other sites More sharing options...
Luner Posted March 6, 2009 Author Share Posted March 6, 2009 ok, i did the scripting thing i read up there, but how do i talk to the ncp, i clicked ctrl, but it dident talk to the ncp, how do u talk to them? do i have to script that 1? Link to comment Share on other sites More sharing options...
Avantar Posted March 6, 2009 Share Posted March 6, 2009 Well, if it is just one line you want the NPC to say, you can type it in the Speak box under the NPC editor(where all your NPC stats is) The text comes up at the bottom of your screen (very small - might not see it at first :))If you want it to say more/or want it in a speach box or something - yea, it needs to be scripted Link to comment Share on other sites More sharing options...
Waffle Posted March 6, 2009 Share Posted March 6, 2009 Luner and avantar, You two double posted (not holding against you since your new or anything…) you should just edit your posts. Link to comment Share on other sites More sharing options...
Nubbs Posted March 6, 2009 Share Posted March 6, 2009 oh well i guess it doesnt hurt to post this link in two different posts…..>.<http://www.touchofdeathforums.com/smf/index.php?topic=38183.msg364764#msg364764 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