scholastic Posted August 11, 2009 Author Share Posted August 11, 2009 Is there anyone who can help me break down the tutorials…Ive read them all and most of the ones sent by normal users start out like they are teachin you then it turns into a book about how they are going to and never get to the point.I am working on my NPC's and i am tryn to get my SHOPKEEPER TO BE ABLE TO SELL,NUY,AND REPAIR things...Will i ever find help or am i not smart enough to post it to where it is by the intelligent minds or whatever...im sure you understand? Link to comment Share on other sites More sharing options...
scholastic Posted August 11, 2009 Author Share Posted August 11, 2009 Since my last post was so long i am not triple posting just adding on-because im sure 20 forums of a topic is worse then two posts by someone who is asking a question and tryin to make it easier to read.Maybe i need a dicionary to understand that asking whatever questions on this forum as it is titled actually means ask a question that the oneson here do not understand and if you have problems and post twice then that means you suck. Link to comment Share on other sites More sharing options...
Roujo Posted August 13, 2009 Share Posted August 13, 2009 I'm not sure that Shopkeeper NPCs work, actually… The only way I've been able to open a shop window is through the Shop tile attribute, so if your trying the NPC way, this might be your problem.If not, reply back, you'll find help! =) Link to comment Share on other sites More sharing options...
Robin Posted August 13, 2009 Share Posted August 13, 2009 @scholastic:> Since my last post was so long i am not triple posting just adding on-because im sure 20 forums of a topic is worse then two posts by someone who is asking a question and tryin to make it easier to read.Maybe i need a dicionary to understand that asking whatever questions on this forum as it is titled actually means ask a question that the oneson here do not understand and if you have problems and post twice then that means you suck.Just take the code from the TILE_TYPE_SHOP. The bit where players walk on it, then paste it into the Attack Sub after a check if the NPC is an NPC_TYPE_SHOPKEEPER.There, now you'll open the shop if the NPC is a shopkeeper. Link to comment Share on other sites More sharing options...
Roujo Posted August 13, 2009 Share Posted August 13, 2009 Uhh… That's a source edit, right? Is there a way to do this without editing the source? Link to comment Share on other sites More sharing options...
Dthen Posted August 13, 2009 Share Posted August 13, 2009 I think that's scripted… Link to comment Share on other sites More sharing options...
Pryex Posted August 13, 2009 Share Posted August 13, 2009 Please just edit previous posts instead of double posting. Link to comment Share on other sites More sharing options...
emblem Posted August 13, 2009 Share Posted August 13, 2009 Robins way is a source edit.Quickest way:Create a shop (/shopeditor in the chatbox)Place shop tiles in front of a counter.Instant shop. Link to comment Share on other sites More sharing options...
Agoraphobic Posted August 13, 2009 Share Posted August 13, 2009 ```' Executes whenever a scripted NPC does an action.Sub ScriptedNPC(Index, Script) Select Case Script Case 0 Call PlayerMsg(Index, "This scripted NPC has no apparent use.", WHITE) Exit Sub Case 1 Call GoShopping(index, 1) Exit Sub Case Else Call PlayerMsg(Index, "No NPC script found. Please contact an admin to solve this problem.", WHITE) Exit Sub End SelectEnd Sub```I haven't reinstalled eclipse yet after my hard drive crashed to test, however this should work as a scripted npc. Link to comment Share on other sites More sharing options...
Roujo Posted August 13, 2009 Share Posted August 13, 2009 OMG! The GoShopping command! I didn't know it existed! =)This is really helpful, thank you!Roujo Link to comment Share on other sites More sharing options...
emblem Posted August 13, 2009 Share Posted August 13, 2009 @Agoraphobic:Ug. Indenting.Also, your avatar is from one of my favorite animes.Alsooo. GoShopping … Never thought of that. Link to comment Share on other sites More sharing options...
Murdoc Posted August 13, 2009 Share Posted August 13, 2009 @scholastic:> Since my last post was so long i am not triple posting just adding on-because im sure 20 forums of a topic is worse then two posts by someone who is asking a question and tryin to make it easier to read.Maybe i need a dicionary to understand that asking whatever questions on this forum as it is titled actually means ask a question that the oneson here do not understand and if you have problems and post twice then that means you suck.You just need to chill out dude. Link to comment Share on other sites More sharing options...
Khachaturian Posted August 13, 2009 Share Posted August 13, 2009 I keep seeing this topic in the Recent Unread and keep thinking its about someone whos had too much drink Link to comment Share on other sites More sharing options...
Murdoc Posted August 13, 2009 Share Posted August 13, 2009 @Bone:> I keep seeing this topic in the Recent Unread and keep thinking its about someone whos had too much drinkI thought the same thing. Link to comment Share on other sites More sharing options...
Guardian Posted August 15, 2009 Share Posted August 15, 2009 First off, which version of eclipse are you using? Second off, you should be able to press f1, go to "edit items" make a currency, then go to "edit shops" make a shop, then place it within the specific area that you want. Then, you can check off whether you want it to sell, buy or repair items. If that doesn't work, then you might need to rescript stuff. Link to comment Share on other sites More sharing options...
Owen F Posted August 15, 2009 Share Posted August 15, 2009 one time i saw some dude make a custom menu shop that triggered on npc so that the npc could be the shopkeeper.he nearly killed himself when i told him of the goshopping command. Link to comment Share on other sites More sharing options...
Patrick Posted August 15, 2009 Share Posted August 15, 2009 "Call GoShopping" is only added if you have godlord's inventory script. Link to comment Share on other sites More sharing options...
Owen F Posted August 15, 2009 Share Posted August 15, 2009 Are you sure?i could have sworn i've used it in a clean main.txt Link to comment Share on other sites More sharing options...
Patrick Posted August 15, 2009 Share Posted August 15, 2009 From the posts I've heard of. Maybe you didn't? Link to comment Share on other sites More sharing options...
Owen F Posted August 15, 2009 Share Posted August 15, 2009 no no goshopping is an open command, how could you create it via Scripting? i mean think man!godlords inventory script is just used in lots of scripts as it is so f-in useful Link to comment Share on other sites More sharing options...
Patrick Posted August 15, 2009 Share Posted August 15, 2009 GoShopping I think is a sub which opens up the shop thing. Link to comment Share on other sites More sharing options...
Owen F Posted August 15, 2009 Share Posted August 15, 2009 yeah but how would the script open the shop? Link to comment Share on other sites More sharing options...
Patrick Posted August 15, 2009 Share Posted August 15, 2009 A long code? Link to comment Share on other sites More sharing options...
Owen F Posted August 15, 2009 Share Posted August 15, 2009 there is no way to make a script open a shop other than goshopping 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