Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 20/4/17 13:34

TwelveEyes
Member

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 20/4/17 16:28

Iritscen
Moderator

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


byproducts are fine, but where's the beef?

Offline

Board footer

Powered by FluxBB