Oni Central Forum

A Community-driven Forum discussing Bungie's Oni

You are not logged in.

#1 23/9/12 8:36

TOCS
Member

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?


T0CS.png

Offline

#2 23/9/12 8:53

s10k
Member

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 24/9/12 14:39

TOCS
Member

Re: A BSL question

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


T0CS.png

Offline

#4 8/7/14 16:15

TOCS
Member

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?


T0CS.png

Offline

#5 8/7/14 16:43

paradox-01
Member

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 8/7/14 16:47

Iritscen
Moderator

Re: A BSL question

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


byproducts are fine, but where's the beef?

Offline

#7 8/7/14 16:50

TOCS
Member

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


T0CS.png

Offline

#8 8/7/14 16:56

Iritscen
Moderator

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.


byproducts are fine, but where's the beef?

Offline

#9 8/7/14 17:03

TOCS
Member

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 (8/7/14 17:05)


T0CS.png

Offline

#10 8/7/14 17:16

Iritscen
Moderator

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.


byproducts are fine, but where's the beef?

Offline

Board footer