Page 9 of 10

Re: Mod idea: stats and levels in the Arena

Posted: Tue Mar 11, 2014 2:37 pm
by Thomason1005
Cool ill add these once i have time (not before the we)

Re: Mod idea: stats and levels in the Arena

Posted: Wed Mar 12, 2014 4:05 am
by Sehiro
Man, I really wish I could help you more... I don't even have a machine on which to run OG though.
And good for the small steps. They mean that we have not stopped, which is the important thing.

Re: Mod idea: stats and levels in the Arena

Posted: Fri Mar 14, 2014 3:50 am
by Sehiro
At pg. 3
Endoperez wrote:Good point, Overgrowth might not have a way to track killer yet. Maybe the last character to deal damage to the dead guy? Maybe char id and time tick could be saved as character-specific variables. Closest is good enough for now.
Does the game keep track of the damage dealt by the player? Because in case we can simply say that if an enemy who has been damaged by the player dies (for whichever cause: fall, weapon thrown, another enemy), the player gets one kill.

Re: Mod idea: stats and levels in the Arena

Posted: Fri Mar 14, 2014 4:05 am
by Thomason1005
Sehiro wrote:At pg. 3
Endoperez wrote:Good point, Overgrowth might not have a way to track killer yet. Maybe the last character to deal damage to the dead guy? Maybe char id and time tick could be saved as character-specific variables. Closest is good enough for now.
Does the game keep track of the damage dealt by the player? Because in case we can simply say that if an enemy who has been damaged by the player dies (for whichever cause: fall, weapon thrown, another enemy), the player gets one kill.
i dont think it should be a big problem with hand to hand combat, but fall damage and thrown weapons might become difficult
i wanted to do it last because the aschar.as is often updated with new alphas
i think the attacking player sends a message to the defending players script which then does the damage calculation (checks if it is blocked etc). If the character dies, it sends a message to the level script. We need to add the last character (his id) who has dealt damage to him to this message
to get this character we might have to additionally pass the characters id when attacking but i think thats already done
im on my pc again tomorrow, then i can check it and maybe do the changes

Re: Mod idea: stats and levels in the Arena

Posted: Mon Mar 17, 2014 12:52 pm
by Sehiro
Np if it's done last. I trust your knowledge about technicalities :)
I just thought about the kill-counter in a different way.
I meant, if the player has ever, in the course of all the battle, damaged a particular opponent, when this opponent dies for whichever reason, the player may get a kill or exp point. This way the counting of exp is not calculated on the numbers of killed but on the number of successfully damaged opponents. It's like marking an enemy with your id when you damage him and when he dies you get an exp point.
This implies the existence of some sort of log or system memory though, and I don't know if it exists. Reading this
Thomason1005 wrote:i think the attacking player sends a message to the defending players script which then does the damage calculation (checks if it is blocked etc). If the character dies, it sends a message to the level script.
the memory could both exist or not.
May this work somehow?

Edit: I am just throwning out an idea, hoping it makes you work less.

Edit2: I guess that for a first version of the mod, if the kill counter works just with hand to hand kills and not with weapon and fall kills it's not a problem.

Re: Mod idea: stats and levels in the Arena

Posted: Tue Mar 25, 2014 3:42 am
by Sehiro
Haz dis died? :p

Re: Mod idea: stats and levels in the Arena

Posted: Tue Mar 25, 2014 8:15 am
by Endoperez
Not quite yet, but it's admittedly not doing very well.

Re: Mod idea: stats and levels in the Arena

Posted: Wed Mar 26, 2014 1:55 am
by Sehiro
Wouldn't you feel upset by leaving this half-way there?
It would be like admitting to have tried and failed... And by what I've seen, I don't believe that any of the two of you belongs to the kind of people who would ever give up a challenge. Don't prove me wrong.

Re: Mod idea: stats and levels in the Arena

Posted: Wed Mar 26, 2014 8:08 am
by Endoperez
It would be an annoying nag, but unfortunately, I've come to accept that I won't be able to finish all the projects I've started.

I'm feeling much more energetic again, though - perhaps it's the sun. We get 6 more hours of daylight now, compared to the end of January. The sun is still up at 5 PM when I come from the school!

Re: Mod idea: stats and levels in the Arena

Posted: Wed Mar 26, 2014 11:58 am
by Sehiro
Well, let's hope it's sunny also in Germany and that the sun brings back some motivation to both of you.

Re: Mod idea: stats and levels in the Arena

Posted: Sat Mar 29, 2014 6:39 am
by Thomason1005
Yeah i havent done anything lately...
maybe i can do some tomorrow

at least we have to put sth out thats working

Re: Mod idea: stats and levels in the Arena

Posted: Sun Mar 30, 2014 6:09 am
by Sehiro
Thomason1005 wrote:Yeah i havent done anything lately...
maybe i can do some tomorrow
Thank you man :D
Thomason1005 wrote:at least we have to put sth out thats working
Image

Re: Mod idea: stats and levels in the Arena

Posted: Sun Mar 30, 2014 7:32 am
by Endoperez
I'm back on my PC too, and could put some time on it. The latest files I have are from February, though.

I'll look at adding sliders into the stats menu.

Re: Mod idea: stats and levels in the Arena

Posted: Sun Mar 30, 2014 9:08 am
by Endoperez
progress_arenastats.png
progress_arenastats.png (14.32 KiB) Viewed 2085 times
I haven't tested it in OG yet, and I haven't figured out how to set the starting value to what it's supposed to be instead of '???' for "Points to Distribute", or "test" for the slider value buttons.

The sliders are still enabled, so you can cheat by simply moving the sliders. :P


Edit: disabling the sliders is easy, but Thomason, you should look into the logic of the increase buttons and canceling changes. Do you want to have nothing at all for canceling changes (easiest), a single "reset" button that cancels the changes that haven't been OK'd yet, or actual + and - buttons. The + and - buttons were simple to do, but seem rather complex for code - you have to take the minimum and maximum values into account, can't go below whatever your starting value was in a stat when you entered a screen, etc.

Re: Mod idea: stats and levels in the Arena

Posted: Sun Mar 30, 2014 12:05 pm
by Sehiro
Endoperez wrote:The sliders are still enabled, so you can cheat by simply moving the sliders. :P
Better leave them so if you want to test the values. If I may suggest, try to increase them at 200 and go in the arena at skill 80-90 (assuming the attributes listed in your image modify the parameters listed long ago like attack speed, knockback, damage, health etc).
If you can fight as easily as you would normally do at skill 1-10 in the arena, I guess they are good and I can start doing a couple of calculations for the levels.

P.s. Thank youuuu boooooooothhh :D