Oni Central Forum

A forum for the Oni community

You are not logged in.

#26 06/21/10 17:06

s10k
Member
Registered: 01/14/07
Website

Re: Oni statistics

hm... You need to do some scripting to avoid the function to be called more than once. I don't remember right now the correct way to do it (you need to play with "ifs" I think), but you can just look at original scripts in savepoints triggervolumes or in level maze by edt.

Last edited by s10k (06/21/10 17:06)

Offline

#27 06/21/10 21:06

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: Oni statistics

Can someone tell me what`s is about these:
<TriggerVolumeId>46</TriggerVolumeId> 
<ParentId>0</ParentId>
I didnt find any useful information about it on wiki.

Each TriggerVolume has their own ID number, so you will need to give your TV a unique ID.  In your example, you had the ID as 0, try a different number.

If the TriggerVolume is a "child" of another TV, then you will need to designate the ParentId.

The Flag should be set to 1 for a single entry.

This info was found here on the wiki: http://wiki.oni2.net/OBD:BINA/OBJC/TRGV

Mukade: The size is set with this setting:  <Size>35 50 45</Size>

Last edited by EdT (06/21/10 21:06)

Offline

#28 06/21/10 22:06

Mukade
Member
From: Ottawa, Ontario - Canada
Registered: 05/29/07

Re: Oni statistics

Ahhhh awesome! Thx


"He looks mean enough to tear my arm off and beat me to death with it. In fact, he looks mean enough to tear his OWN arm off and beat me to death with it."

Offline

#29 06/21/10 22:06

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Oni statistics

What good is a parent trigger?


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#30 06/21/10 23:06

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: Oni statistics

What good is a parent trigger?

I don't know. :-) The info was on the wiki

Offline

#31 06/22/10 13:06

Tantir
Member
From: Cracow
Registered: 06/10/07

Re: Oni statistics

Thank you for answers. I make it for First level.
What is done:
TIME: Faster you are, more points you have. <--- Can you tell me, how much time you need to finish first lvl? This point can be a little unbalanced.
HEALTH: You lose points for taking damage and going over power <--- Thanks to love_Oni it is finished.
KILLS: How many enemies you kill <--- It will be great to use chr_display_combat_stats but I must used normal couter.
BACKBRAKERS: How many enemies have their back braked <--- Finished. Max value 32. There is only 31 enemies so I think its enouch.
FRIENDLY CASAULTIES: How many neutrals guys died. <--- Finished.
ALARM: Activated or not. <--- Finished
BLOCKS: How many times you blocked punchs. <--- Finished. I think it count it in approximation.
BAD LANDINGS: What can I say? Just don`t fall from big height . <--- Finished.
SECRETS: How many you found, of course smile <--- There is only 7 in warehouse level? Including secret striker?
END: Finial note. Sum of all above. It is number from 1 to 100. But, it can be smaller than 0 when you are very bad, and can be over 100 only when you are master. Hmm, It will be very very hard to have 100+, but having 100 is quite possible.

Its all for now.  Nexl level: Manufacture plantl.
I will be grateful if someone will try it, and tell about bugs, or maybe someone have idea of adding new stat?


Ok, package is in attachment in first post.
And here is a problem. I used onisplit gui to create it, but it isnt working. I mean, when I lunch AE instaler, it isn`t on the list. Why?
If I use Mod_Info.cfg from other package it working perfectly.

Offline

#32 06/22/10 14:06

Mukade
Member
From: Ottawa, Ontario - Canada
Registered: 05/29/07

Re: Oni statistics

It's not working because it's a script isn't it?

Those you either have to use Oni Script Installer or do it manually

For the second level, I'd suggest adding stat of how many times you hit trip wires for the brain wink

Also, I have another suggestion, probably easy to implement....

Okay, so in the game Hitman, at the end, it rates your style from Stealthy ----> Killing Maniac, judging on how much noise you made, shots fired, times detected and enemies killed. Maybe you could do something like that, doesn't have to be using all those elements, it would be difficult. But just using enemies killed, I think you could make a scale based on how many opponents are in the level.. (Eg. in warehouse: 31/31 guys kill = Noisy Killing Manic 1/31 killed = Stealthy Assassin) Or something like that wink

Last edited by Mukade (06/22/10 14:06)


"He looks mean enough to tear my arm off and beat me to death with it. In fact, he looks mean enough to tear his OWN arm off and beat me to death with it."

Offline

#33 06/22/10 17:06

Iritscen
Moderator
From: NC, USA
Registered: 10/22/07

Re: Oni statistics

Mukade wrote:

It's not working because it's a script isn't it?

Those you either have to use Oni Script Installer or do it manually

Nuh-uh.  AE supports BSL mods now.  See http://wiki.oni2.net/Making_a_mod_package .


Check out the Anniversary Edition Seven at ae.oni2.net!

Offline

#34 06/23/10 07:06

love_Oni
Member
From: Da Nang, Vietnam
Registered: 05/10/08

Re: Oni statistics

Tantir wrote:

Its all for now.  Nexl level: Manufacture plantl.
I will be grateful if someone will try it, and tell about bugs, or maybe someone have idea of adding new stat?

big_smile Congratulation for finishing the Stats, Tantir! I'll try it now.

Do I have to play it in the Edition, or the original one? Do I have to play from the start? (i.e the training?)


The Boy Who Knew Too Much tongue

Offline

#35 06/23/10 09:06

Tantir
Member
From: Cracow
Registered: 06/10/07

Re: Oni statistics

Mukade wrote:

For the second level, I'd suggest adding stat of how many times you hit trip wires for the brain wink

Okay, so in the game Hitman, at the end, it rates your style from Stealthy ----> Killing Maniac, judging on how much noise you made, shots fired, times detected and enemies killed. Maybe you could do something like that, doesn't have to be using all those elements, it would be difficult. But just using enemies killed, I think you could make a scale based on how many opponents are in the level.. (Eg. in warehouse: 31/31 guys kill = Noisy Killing Manic 1/31 killed = Stealthy Assassin) Or something like that wink

Yeah, I will add stat with lasers in second level. Also, Idea with Stealthy ----> Killing Maniac  is good, so I will think about it later. ]


love_Oni:
Just download package, and instal it with AE instaler. If you cant find Statistics on the list, you should just copy Mod_Info.cfg from other package. I will try repair it later.
Than load Warehouse level or  save point 1 and play. You must beat whole level without loading. And you must play on hard, since on easy and normal Konoko has more health.

And than, post your score.
I have 66 when I test it yesterday, but I was in hurry  wink



Edit:
Can me tell someone whats is wrong with my package?
I think it is Onisplit fault, or AE instaler. But... Can it be repaired?

Last edited by Tantir (06/23/10 10:06)

Offline

#36 06/23/10 09:06

s10k
Member
Registered: 01/14/07
Website

Re: Oni statistics

mod.cfg really don't work.

Offline

#37 06/23/10 14:06

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Oni statistics

Well for one you put too many zeroes in your name. Please remove one and tell me if that fixes it. smile


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#38 06/23/10 14:06

Tantir
Member
From: Cracow
Registered: 06/10/07

Re: Oni statistics

No its not it, Gumby.
Something is wrong with Mod_info.cfg

Onisplit generates that:

AEInstallVersion ->  1.1
NameOfMod -> Stats
ModVersion -> 1.0
Creator -> sa
HasOnis -> Yes
HasBsl -> Yes
Readme -> No rademe

// Package created by OniSplit GUI v0.9 in 23.06.2010 (DD.MM.YYYY) at 21:31:31 (HH:MM:SS)

And its not showing up in AE instaler.

If I copy this file from other package everything working. (I copied it from Casey mod, and edited it.

AEInstallVersion ->  1.0 
NameOfMod -> Statistics
ModString -> 23500Casey 2     <-----
Category -> AE: Characters
Creator -> Tantir
HasOnis -> Yes
HasBsl -> Yes
Readme -> Adds statistics

If I change any letter in Mod string AE instaler won`t work at all. I got error like this one: http://blogs.msdn.com/blogfiles/kirillo … humb_1.png

Its all what can I say.

Offline

#39 06/23/10 14:06

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Oni statistics

I'm not sure. What are you using to edit the files? But still, you put in too many zeroes. smile
I got it to show up in the installer...


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#40 06/28/10 21:06

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: Oni statistics

Can you provide updates on the stats perhaps as you reach each save point?

Offline

Board footer

Powered by FluxBB