#18545 - 10/24/08 06:16 PM
skills
|
EAL
Grape Nuts
Registered: 07/03/08
Posts: 31
|
Offline
|
|
Im thinking about adding skills to my game. for example mining, fishing, smiting, hunting. But im stuck.
Any ideas how to go about it and how to start it?
|
|
Top
|
|
|
#18547 - 10/24/08 07:38 PM
Re: skills
[Re: Fayt]
|
EAL
Grape Nuts
Registered: 07/03/08
Posts: 31
|
Offline
|
|
do you have it so that when you increase that skill you can gain more experience for that skill, or you get the same amount each time?
|
|
Top
|
|
|
#18549 - 10/24/08 08:17 PM
Re: skills
[Re: Fayt]
|
EAL
Grape Nuts
Registered: 07/03/08
Posts: 31
|
Offline
|
|
thats really cool.
Im Still trying to figure out the code for skills.
|
|
Top
|
|
|
#18551 - 10/25/08 11:59 AM
Re: skills
[Re: Fayt]
|
EAL
Grape Nuts
Registered: 07/03/08
Posts: 31
|
Offline
|
|
i wanted to add fishing,cooking, mining, smiting skills. There more you do that skill the more experience you ca get for the skill and better chance of seceding. I have made hidden little place like a lake and a abandon mine, so i wanted the payers to be able to use the skills there. When the player catches a fish or mines ore its stored. The player then can sell the fish or ore , or cook the fish to eat, or smith the ore into objects and weapons.
|
|
Top
|
|
|
#18563 - 10/26/08 09:11 AM
Re: skills
[Re: Fayt]
|
EAL
Grape Nuts
Registered: 07/03/08
Posts: 31
|
Offline
|
|
Sorry I didn't know dragon kingdom was like that I never seen dragon kingdom.
One skill I wanted was fishing. I wanted so you could fish, gain experience, at higher levels you can catch better fish, and cook it, but that could be just a button with a certain chance of not burning it.
|
|
Top
|
|
|
#18569 - 10/26/08 12:09 PM
Re: skills
[Re: Fayt]
|
EAL
Grape Nuts
Registered: 07/03/08
Posts: 31
|
Offline
|
|
Thanks. Im going work on it right away.
|
|
Top
|
|
|
#18570 - 10/26/08 02:03 PM
Re: skills
[Re: EAL]
|
gamefreak888
Rice Krispies
Registered: 09/06/07
Posts: 215
|
Offline
|
|
You don't need a switch just use functions and add them to index.php. Much easier.
|
|
Top
|
|
|
#18575 - 10/27/08 09:25 AM
Re: skills
[Re: Fayt]
|
gamefreak888
Rice Krispies
Registered: 09/06/07
Posts: 215
|
Offline
|
|
-.-'
You don't have to put all the elseif functions in index.php, you can also put them in several files, just like it's done in admin.php.
And you can use simple COMMENTS (for example: //this is a comment)
Like:
//Basic town functions elseif ~ etc.
//Fighting functions elseif ~
|
|
Top
|
|
|
|
|