![]() |
![]() ![]() ![]() ![]() ![]()
|
Author | Topic: BATTLE ENGINE HAS BEEN SOLVED!!! ALL HAIL SOMETHING!!! |
Jakk |
![]() Okay... I am at the library, and i dont remember the code so stay with me, I will come on at my computer and redo it all, for more understanding. To have the random go to different numbers, just set the value at the random 1-100 thing of the value on the random variable. This should be done before the fight, after the fight, and every time the player and the monster exchange blows... if you dont understand, tomorrow, I will make it clearer |
carlii |
![]() WOW omg that's wiicked! Would it be possible for you to send me a copy of the ASL? :) pretty please? ;) |
0 Ste 0 |
![]() coolies, could you upload a copy of the code? or paste it all on here, and give me an instruction on where to place the code? thanks. =) u made life much more easier =D |
Computer Whizz |
![]() ?? Your message didn't make alot of sense Jakk... Do you mean it's a library that uses a random number as input (ie the programmer set's the random number, passes it to the library and then that controls the battle) or did you mean it sets a radom number ect... It's good that you've made a library for a battle system, but you'll have to take into account that many people will bug you about altering stuff, fixing any bugs which may be there ect... ; ) Good luck. Computer Whizz |
Jakk |
![]() okay, I'm home and I have about a gallon of copy in me. I have to download quesxt again...then i will make a quick example of what i mean... sorry for the delay.... |
Jakk |
![]() This should work... and 0 ste 0 copy it into a text document, then drag the text doc to the QDK program.Oh, yeah and tell me what you think about the game also... and i didnt mean for it to be copy in my last post... coffee is what i ment quote: |
0 Ste 0 |
![]() looks promising. at the moment i cant do anything, or look at the code, as i accidently deleted a partition on my hard drive, so i have 3 hard drives that im trying to fix right now, if i cant fix em im screwed lol. but as soon as i get things sorted, ill take a look at it. |
Gautier UK |
![]() fixed them. lol. =) |
Computer Whizz |
![]() That's all and well if you want the player to be attacked (by a not so even) 50% of the time. But What if you want to give your player a dodge status (so that the player is able to dodge attacks the higher his/her level)? You could always link it straight to the dodge status - but what if the monster had a hit status? What is the maths to figure that hit % out? And the other way around - the monster has a dodge percent and you have a hit percent... If they are percentages then if they're both 100% then what is the answer? This is needed really for versatility - I don't want to get to a really hard boss at a low level just for me to dodge 50% of the time - then encounter a weak monster to dodge again 50% of the time... Computer Whizz |
Jakk |
![]() computer whizz, I really do not want to make a big battle engine thing, I just made this to point people in the right direction |
Computer Whizz |
![]() True! This is a nice simple system to use with a game. I'm just saying it's not the 'be-all and end-all' of battle systems (well, a part of a battle system). Computer Whizz |