Ariel Posted June 16, 2012 Author Share Posted June 16, 2012 I Played in my game for a bit run around kill mobs and such and then i died. i just return to where i started the game and that was so boring and annoying.. and then i found about:**(MUST HAVE BEFORE USING THIS GUIDE)** http://www.touchofdeathforums.com/smf2/index.php/topic,64302.msg687805.html#msg687805Checkpoint was the sulution! but, it again was to boring just walking on tile. i want the player to exercise his free will, whether he want to make a new CP or not… So this will made a NPC type which will do that(INN), still i didnt mange to do that it will ask a Yes\No question before in a conv window so if anybody know how i want to hear! (CS:DE)CLIENT and SERVER:in modConstants add after```Public Const NPC_BEHAVIOUR_GUARD As Byte = 4```This```Public Const NPC_BEHAVIOUR_INN As Byte = 5```do that for Client and for Server.SERVER ONLY:In modCombat ind the sub "CanPlayerAttackNpc", search there for```' init conversation if it's friendly```and just after the first end ifadd``` If Npc(npcNum).Behaviour = NPC_BEHAVIOUR_INN Then 'INN SetCheckpoint attacker, MapNum, NpcX, NpcY - 1 CanPlayerAttackNpc = False End If```CLIENT ONLY:In frmEditor_NPC in cmbBehaviour (just next to the lable that said: "Behaviour:" add to her list "INN"make sure its number 6 in the list!And your done!:)again, if anyone know how to add Yes\No before saving new CP please let me know how :P Link to comment Share on other sites More sharing options...
kurenai Posted June 16, 2012 Share Posted June 16, 2012 Help me : I find the 'init conversation if it's friendly, not found. (Server) Link to comment Share on other sites More sharing options...
JohnPony Posted June 16, 2012 Share Posted June 16, 2012 @kurenai:> Help me : I find the 'init conversation if it's friendly, not found. (Server)Your using Eclipse origins aren't you…. Link to comment Share on other sites More sharing options...
Ariel Posted June 16, 2012 Author Share Posted June 16, 2012 Oh, im sorry i havent tryed it on eo yet, but you can add it to the end of the sub i guess. Link to comment Share on other sites More sharing options...
tslusny Posted June 16, 2012 Share Posted June 16, 2012 Why you dont added this to CS:DE convo? its surprisingly easyto add it to convo find:```Public Sub sendChat(ByVal Index As Long)```here find:```Case 3 ' Give Item ' exit out early ClosePlayerChat Index Exit Sub```add this under it:```Case 4 ' Set checkpoint ' exit out early SetCheckpoint Index, TempPlayer(Index).c_mapNum, GetPlayerX(Index), GetPlayerY(Index) ClosePlayerChat Index Exit Sub```Thats all and for execution of inn just use Unique in Convo editor Link to comment Share on other sites More sharing options...
Ariel Posted June 16, 2012 Author Share Posted June 16, 2012 OMG that what i was looking for XD thank you so much!But for some reason the "EVENT" in conv num 2 dont save for me 0.0 is it for everyone ? Link to comment Share on other sites More sharing options...
PVJsquad Posted June 18, 2012 Share Posted June 18, 2012 I Cann't find the code?```' init conversation if it's friendly``` Link to comment Share on other sites More sharing options...
tslusny Posted June 18, 2012 Share Posted June 18, 2012 This is tutorial for CS:DE Link to comment Share on other sites More sharing options...
PVJsquad Posted June 18, 2012 Share Posted June 18, 2012 Ouh I'm Sorry ~_~ 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