Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 09/23/12 08:09

TOCS
Member
From: Denmark
Registered: 04/04/07

A BSL question

I've been wondering for some time now, if it's possible to increase health through the BSL scripts? The health of the player is 300 or whatever, is it possible to increase this?

Offline

#2 09/23/12 08:09

s10k
Member
Registered: 01/14/07
Website

Re: A BSL question

Yes but it will reduce every second even if the player is not being hit.

chr_set_health 0 500, where 0 is the character.

The best way to increase the health of a character is via xml editing.

Offline

#3 09/24/12 14:09

TOCS
Member
From: Denmark
Registered: 04/04/07

Re: A BSL question

Thanks, it works. I'll look into that XML stuff later.

Offline

#4 07/08/14 16:07

TOCS
Member
From: Denmark
Registered: 04/04/07

Re: A BSL question

Sorry for being the necromancer this time! But since it's pretty related to this I'll just ask here.

Okay, so it seems that there's a difference in the health pool you get between each difficulty. I know that the player (chr 0) has 400 health (with hypo) on hard. A little while ago I thought I'd see how the game was on easy since I hadn't played it like that since when I first beat the game over 10 years ago. But it looks like that number gets changed from 400 to somewhere in the 500's (with hypo). Where does it dictate that health limit, and can it be set differently? E.g. could increase the limit so that I could potentially get let's say 600 or 700 health with the use of a hypo? And another question too, how does this affect the damage multiplier?

Offline

#5 07/08/14 16:07

paradox-01
Member
From: Germany
Registered: 01/14/07

Re: A BSL question

Putting a little list together...
If that doesn't answer all question I hope Loser or someone else can bring illumination here. smile

character health = oncc <health> + char <additionalhealth>
For "how does this affect the damage multiplier?": I don't think the regular onc damage factors are influence by health value.
http://wiki.oni2.net/XML:ONCC#.3CDamageFactors.3E


http://wiki.oni2.net/XML:ONCC
<Health>


http://wiki.oni2.net/XML:BINA/OBJC/CHAR#XML
<AdditionalHealth>


(hypo-related)
http://wiki.oni2.net/XML:ONGS
<MaxOverhealthFactor>
<OverhealthHypoStrength> (should be probably adapted to match new value in above tag)
<OverhealthMinDamage>
<OverhealthMaxDamage>

Offline

#6 07/08/14 16:07

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

Re: A BSL question

Edit: Deleted, 'dox beat me to it.  But see here for Hard variant characters: http://wiki.oni2.net/XML:ONCV.


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

Offline

#7 07/08/14 16:07

TOCS
Member
From: Denmark
Registered: 04/04/07

Re: A BSL question

Ah, so you have some sort of base health and for every step you go up in difficulty the ONCC has data for detracting the value? If that's so, there must be several ONCC's for each character, or at least several parameters that control each difficulty level?

This is interesting stuff! Why the hell didn't I dig into this a lot earlier?! smile

Offline

#8 07/08/14 16:07

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

Re: A BSL question

If by "detracting" you mean "adding to or subtracting from", then yes smile  If you look at the ONCC files in the game data, you'll see things like ONCCred_easy, ONCCred_med, and ONCCred_hard.


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

Offline

#9 07/08/14 17:07

TOCS
Member
From: Denmark
Registered: 04/04/07

Re: A BSL question

By difficulty I meant the in-game difficulty not the character difficulty. tongue E.g. the player characters has more health on easy than on hard. big_smile

P.S. Phone correction, I meant 'decreasing'! wink

Last edited by TOCS (07/08/14 17:07)

Offline

#10 07/08/14 17:07

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

Re: A BSL question

Oops, you're right.  I shouldn't be posting on multiple forums at once  roll Keep in mind that the BSL can also change the level according to the difficulty setting, though I haven't looked at the game scripts to see how much they actually look at difficulty.


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

Offline

Board footer

Powered by FluxBB