Mod idea: stats and levels in the Arena
-
Thomason1005
- Posts: 712
- Joined: Sat Apr 20, 2013 7:44 am
- Location: GerMany
Re: Mod idea: stats and levels in the Arena
Cool ill add these once i have time (not before the we)
Re: Mod idea: stats and levels in the Arena
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.
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
At pg. 3
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.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.
-
Thomason1005
- Posts: 712
- Joined: Sat Apr 20, 2013 7:44 am
- Location: GerMany
Re: Mod idea: stats and levels in the Arena
i dont think it should be a big problem with hand to hand combat, but fall damage and thrown weapons might become difficultSehiro wrote:At pg. 3Does 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.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.
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
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
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.
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
the memory could both exist or not.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.
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
Haz dis died? :p
Re: Mod idea: stats and levels in the Arena
Not quite yet, but it's admittedly not doing very well.
Re: Mod idea: stats and levels in the Arena
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.
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
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!
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
Well, let's hope it's sunny also in Germany and that the sun brings back some motivation to both of you.
-
Thomason1005
- Posts: 712
- Joined: Sat Apr 20, 2013 7:44 am
- Location: GerMany
Re: Mod idea: stats and levels in the Arena
Yeah i havent done anything lately...
maybe i can do some tomorrow
at least we have to put sth out thats working
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
Thank you manThomason1005 wrote:Yeah i havent done anything lately...
maybe i can do some tomorrow
Thomason1005 wrote:at least we have to put sth out thats working

Re: Mod idea: stats and levels in the Arena
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.
I'll look at adding sliders into the stats menu.
Re: Mod idea: stats and levels in the Arena
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.
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.
The sliders are still enabled, so you can cheat by simply moving the sliders.
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.
- Attachments
-
- march30th_sliders_arenamod.zip
- The updated HTML and CSS files with my changes. Might break down some of your javascript stuff.
- (2.14 KiB) Downloaded 53 times
Re: Mod idea: stats and levels in the Arena
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).Endoperez wrote:The sliders are still enabled, so you can cheat by simply moving the sliders.
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