Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 04/20/17 13:04

TwelveEyes
Member
Registered: 04/20/17

How does Barabus' health regen/powerup move function codewise?

I've been trying to understand how exactly Barabus regen works under the hood, but since I'm new to Oni modding I really have no idea how it works exactly. So I thought I would get some second opinions from the more experienced community members.

Do the particles that Barabus' powerup move spawn actually have some health changing function attached to them, or are they solely a visual effect? Is the health regeneration effect of Barabus powerup move a hardcoded function inside the Oni executable that is unique to AI characters, or can it be given to players as well?

Offline

#2 04/20/17 16:04

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

Re: How does Barabus' health regen/powerup move function codewise?

Welcome, you ask some good questions.  Unfortunately Barabas' regeneration is in fact hardcoded.  The bright side is that, like Mukade's teleportation, it can still be utilized by other AIs as long as you adhere to specific conditions and rules that Bungie West set or assumed when they wrote the AI code.  We actually have an article dedicated to Barabas' regeneration mechanic: http://wiki.oni2.net/Barabas%27_regeneration


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

Offline

Board footer

Powered by FluxBB