RPG Tutorial 1: Experience and leveling
Posted: Tue Aug 28, 2007 9:25 pm
Hello guys, on request of another user i have wrote a tutorial that explaines how to do:
-a basic scripted player
-player attributes
-implementing uses for stats like strenght, speed and stamina
-how to implement melee damage
-how to show an levelup-screen using flipbooks
-how to implement mouse control on the levelup-screen
-how to give experience to the player
it also gives a overview over scripted players and uses the genericplayer.s in scripts\sample as the default scripted player.
I suppose you already know how to add pawns, otherwise this tutorial is nothing for you.
be warned: it's big, 20 pages!
report any critics, positive and negative, here please.
EDIT: Oh yes, i forgot: For allowing mouse input to be made, use the MouseControlledPlayer(false); and ShowMouse(true); commands in the Setup order. Otherwise the mouse will not be visible and so there will be no mouse input.
-a basic scripted player
-player attributes
-implementing uses for stats like strenght, speed and stamina
-how to implement melee damage
-how to show an levelup-screen using flipbooks
-how to implement mouse control on the levelup-screen
-how to give experience to the player
it also gives a overview over scripted players and uses the genericplayer.s in scripts\sample as the default scripted player.
I suppose you already know how to add pawns, otherwise this tutorial is nothing for you.
be warned: it's big, 20 pages!
report any critics, positive and negative, here please.
EDIT: Oh yes, i forgot: For allowing mouse input to be made, use the MouseControlledPlayer(false); and ShowMouse(true); commands in the Setup order. Otherwise the mouse will not be visible and so there will be no mouse input.