this is the last edit version xD ,, with talking NPC, not all NPCs talking r8 now , i just put the bases for dialogs , after that u can make all of them talking with whatever u want
my 2day edit have the shop boy saying blabla and the TC conductor totally working ,
i tried to make it as simple and easy as i can so u can all add what u want easily
and here are the steps to do it
at the source folder u will find another folder named NPCsStuff inside it there is an INI file named Dialog
* open the Dialog.ini file it will look like that
as u can c
1-start a new section for the NPC u want it to talk by typing it's [NPC_ID]
2-face= ---->put the face number (the NPC avatar)
3-txt0= ------>r8 the text the NPC will say when u click it and u have to name it txt0 for the first speach then u can add txt1 and txt2 as it will needed
4-opt0=for options the dialog will contain separating them by the "-" symbol
5-req= the requirements needed for every option means if u have 6 options u have to put 6 reqs , what if nothing needed ?? , then u will have to put "-" for every one for example (if u have 3 options ,number 1 does not need requirements no2 needs 100 sliver and 3 the exit option then u will do it like that (req0= -goold,100)
6-rew= the rewards the player will have if he has the requirements and it is as the req if no rewards then "-"
*u have only three reqs to choose from them so far (mini lvl,gold,CPs) and for eachone u just write the option u need and "," then the number
*u have also 4 options as rewards (lvl,gold,cps and item)
for the level as reward u r8 "lvl,(Value)" for example : -rew=lvl,50 --> that means the palyer will be lvl 50 as a reward
*for gold and CPS just r8 them and the value u want just like (gold,50000 or cps,200)
*for items u have to know the Item ID and r8 them on that order
itemID,quality(1-7),Plus(0-9),Bless(0-15),Enchanted(0-255),soc1,soc2
for example if u want to reward the player a Super L30 club +5 bless -3 enchanted 150 with one socket super dragon gem on it it must be like that :-
rew=480050,7,5,3,150,13,0
u can find all items names and IDs on the CoItems.txt at the main source folder
*for teleporting u r8 teleport,map id,location x,location y for example if u want to teleport the player to Mystic Castle it will be like that
rew=teleport,1015,723,573
i know it is not perfect yet but i think it is a very good work for a beginner like me xD
i am still a noob with that stuff lol
i hope u will enjoy it all
and be4 i forgot , that source based on hadeset source and i have learned a lot from Korvacs coding all thanks for them
my 2day edit have the shop boy saying blabla and the TC conductor totally working ,
i tried to make it as simple and easy as i can so u can all add what u want easily
and here are the steps to do it
at the source folder u will find another folder named NPCsStuff inside it there is an INI file named Dialog
* open the Dialog.ini file it will look like that
Code:
[10063] face=3 txt0=I have a great Quest for you if you - answer my question i will get u to lvl 30 txt1=well done u got it opt0=sure-no i am not that talent opt1=Ok thank you req=gold,100 rew=lvl,10 [10050] face=2 txt0=Hello there how are you i am the teleporter magician where do u want to go opt0=Ape Mountain-Bird Island-Phoenix castle-Desert City-Mine Cave-Market-No I will stay req=gold,100-gold,100-gold,100-gold,100-gold,100-gold,100 rew=teleport,1020,567,576-teleport,1015,723,573-teleport,1011,190,271-teleport,1000,500,650-teleport,1003,70,50-teleport,1036,210,195
1-start a new section for the NPC u want it to talk by typing it's [NPC_ID]
2-face= ---->put the face number (the NPC avatar)
3-txt0= ------>r8 the text the NPC will say when u click it and u have to name it txt0 for the first speach then u can add txt1 and txt2 as it will needed
4-opt0=for options the dialog will contain separating them by the "-" symbol
5-req= the requirements needed for every option means if u have 6 options u have to put 6 reqs , what if nothing needed ?? , then u will have to put "-" for every one for example (if u have 3 options ,number 1 does not need requirements no2 needs 100 sliver and 3 the exit option then u will do it like that (req0= -goold,100)
6-rew= the rewards the player will have if he has the requirements and it is as the req if no rewards then "-"
*u have only three reqs to choose from them so far (mini lvl,gold,CPs) and for eachone u just write the option u need and "," then the number
*u have also 4 options as rewards (lvl,gold,cps and item)
for the level as reward u r8 "lvl,(Value)" for example : -rew=lvl,50 --> that means the palyer will be lvl 50 as a reward
*for gold and CPS just r8 them and the value u want just like (gold,50000 or cps,200)
*for items u have to know the Item ID and r8 them on that order
itemID,quality(1-7),Plus(0-9),Bless(0-15),Enchanted(0-255),soc1,soc2
for example if u want to reward the player a Super L30 club +5 bless -3 enchanted 150 with one socket super dragon gem on it it must be like that :-
rew=480050,7,5,3,150,13,0
u can find all items names and IDs on the CoItems.txt at the main source folder
*for teleporting u r8 teleport,map id,location x,location y for example if u want to teleport the player to Mystic Castle it will be like that
rew=teleport,1015,723,573
i know it is not perfect yet but i think it is a very good work for a beginner like me xD
i am still a noob with that stuff lol
i hope u will enjoy it all
and be4 i forgot , that source based on hadeset source and i have learned a lot from Korvacs coding all thanks for them