Posts: 2,605
Threads: 412
Joined: Nov 2021
Reputation:
0
Hehe  So I stayed home from school today, they might kill me but I dont care.. I finished a buff spell. Bless, that will increase the MaxHP for a sertain amount of minutes (20min).
And this nice pic (top-right corner) shows up showing how much time it is left on it. You can also notice the health bar. The current MaxHP is 100, when I used the spell I got 200 resulting in a half bar. Since the bless doesn't heal you at the same time, so it leaves the char with 100/200 hp, so he needs to heal himself.
First I used %: http://img185.imageshack.us/img185/8919/blessop8.png
But Verrigan helped me get the counting correct (sec):
that pretty damn nice  Can't wait for this game to come out xD
Posts: 2,605
Threads: 412
Joined: Nov 2021
Reputation:
0
concerning the time on the spell that is shown on the picture. It will show seconds if it is less than 1 minutes left, otherwise it shows whole minutes.
Working to finish the same for the following: -
Boost Stat - Spell Name:
- Strength - Earthen Strength
- Endurance - Protection
- Agility - Minor Combat Sense
- Wisdom - Tranquility
- Intelligence - Clear Thought
- Health - Bless
- Mana - Mana Surge
- Stamina - Speed
Please give me another name for the spell if you know of a better one
Posts: 2,742
Threads: 115
Joined: Jun 2006
Reputation:
0
Super-Mega-Ultra-Buff-er
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
You could make a spell what allows you to open up a shop window wherever you are...
Maybe one that increases some at multiple times, like
God mode-hp,mp,sp or like
Way of the knight =p - Str and Def
Posts: 2,605
Threads: 412
Joined: Nov 2021
Reputation:
0
Quake Wrote:Maybe one that increases some at multiple times, like
God mode-hp,mp,sp or like
Way of the knight =p - Str and Def Yes, Im considering having more than just those 8. And I already programmed it so a spell can have multiple buffs. You can see the 8 pictures on this image taken from vb. (They will have different images, just finished the one called Bless):
![[Image: spellsiy7.png]](http://img106.imageshack.us/img106/9762/spellsiy7.png)
I might add 2-6 more depending on if I will add a button to the visual inventory were you delete a spell. Otherwise it might get full cause I only have 20 slots for spells.
Should I have a bar that decreses as the time goes, or should I have it so it shows whole minutes until it comes to less than 1 minute, then it shows secs?
Currently have the 2:nd idea (thanks to verrigan)
i like ur gui... are the spells visible?
Posts: 2,605
Threads: 412
Joined: Nov 2021
Reputation:
0
The time one seems better, will be more specific.
Posts: 2,605
Threads: 412
Joined: Nov 2021
Reputation:
0
Finished it!
Check how the stats have changed, you see the +(num). The items addon to that too, so when a spell is used, that text will be green instead of white. Have not done that yet  Also, the time set on 100s, so I took the screenshot when when some was below 1 minute so you could see the change from m to s. I can set any time I want.
Looking good man... keep it up.
Posts: 2,605
Threads: 412
Joined: Nov 2021
Reputation:
0
Thanks, do anybody know if there is a way in the client to get the spell number from the spellinventory. If not, I will make a tutorial for it, cause I need to do it either way and its not much code.
Edit: There is =/ lol on me
Code: Player(MyIndex).Spell(i)
Edit 2: New screenshot, showing the fontcolor change on the label when a spell is used. Also shows the spell information by hovering the mouse over them.
Posts: 2,742
Threads: 115
Joined: Jun 2006
Reputation:
0
You should make the icons re-stack into a nice box in the corner.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Posts: 2,605
Threads: 412
Joined: Nov 2021
Reputation:
0
So you mean the spell that is used first, is placed on the top, and then they follow down as you use them instead of having fixed location for them?
If so, its pretty hard.. well its easy if you know the formula etc..
Posts: 2,742
Threads: 115
Joined: Jun 2006
Reputation:
0
Well, at the moment they are dotted around.
You could simply check all the bless' activity and position, if there is an un-manned slot simply change around the blocks.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Posts: 2,605
Threads: 412
Joined: Nov 2021
Reputation:
0
Yeah I know, but its still tricky. when for example the top one is over, then you need to restack them.. well actually as I think of it. Its not that hard  I'll do it, a few ifstatements does the job.
Posts: 2,742
Threads: 115
Joined: Jun 2006
Reputation:
0
Just keep all the bless' top and left at hand and change them around when a bless is cast or runs out.
Or a player logs off
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Posts: 2,605
Threads: 412
Joined: Nov 2021
Reputation:
0
Kite Wrote:Or a player logs off  Hum? Not sure what you mean with that.. All buffs are removed when you logout.
Posts: 2,742
Threads: 115
Joined: Jun 2006
Reputation:
0
Heh, I forgot that everything is reset when you log off. I though you would need to re-align all the buffs, but all that will be lost when the app. is closed.
My bad.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Posts: 2,605
Threads: 412
Joined: Nov 2021
Reputation:
0
It doesn't need to be reset, but I decided not to save it in the account file, would just cause problems somehow, so instead they will be gone when you logout.
|