Okay, well as some may know, scripting is not exactly my strong suit, but I find them very interesting, and I understand how they work, just not exactly how to write them. For a map I am making, I have several scripting ideas, but one - I am not sure if the are possible, and 2 - I do not know how i would necessarily write them. Yes I know I am a tester, and I should know these things, but I never really needed to
Anyways, the map I am making is a recreation of Dark Souls. Here is a link to the topic, if you are interested in it (has not been updated in a while) Dark Souls: Prepare Yourself
Basically I am trying to recreate the general atmosphere of Dark Souls, but I cannot do that without different scripts.
The first script I thought about creating involves a leveling system. Basically, if you have not played Dark Souls the leveling system works this way: You kill an enemy and they drop "souls", you then use these souls to level up at the savepoint system (bonfire). What I intend to do is have the mobs spawn via a script, and have them either drop an item (which will act as the soul) or fill up a HUD bar (by this I mean each mob a player kills will fill the HUD bar - I will have a very high maximum, so they wont lose a soul count). These souls will then be used at the checkpoint system for a player to choose what they level up.
Preferably the second option will used, but I do not know if it is possible.
The second script I wanted to involve is the stamina system. Several concepts will revolve around this, so it is a rather large script. Firstly, i want to include a playerswing script tied to specific weapons, this will lower the stamina bar with each swing, and then if the bar is depleted, they can no longer swing ( I know, not possible, but if you have an idea as to how I could create this, it would be greatly appreciated. The second thing would be sprinting, or rather access to a "speed zone" and that access will deplete then stamina, and you cannot access that zone if your stamina is below 10. Obviously there would have to be a regeneration to the stamina HUD aswell.
The third script is a magic system, but it would revolve around the leveling system implemented. If player does not have ___ level in ___ skill then they cannot use the spell.
The fourth script would be a basic "starting script" It would be the class choice, player chooses a class, recieves the levels tied to that class, as well as the items tied to it.
If you guys are able to help walk me through this, or even want to help with them, I would appreciate it alot
I know some of these scripts will be huge in length, but I intend to create a working dark souls map, and it cannot be functional without these scripts. I know this community is awesome, so any help would be great
* few other concepts i intend to include - using particles create the "sword" in the bonfires, and then also possibly creating the bosses themselves out of particles*