Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 03/09/17 18:03

Scarlett
Member
From: Jamaica
Registered: 11/25/15

How to make a character immune to particle attacks

Does anyone know how to make a character immune to any form of weapon base attacks like the bots at the conversion center interior level?

Offline

#2 03/10/17 09:03

s10k
Member
Registered: 01/14/07
Website

Re: How to make a character immune to particle attacks

http://wiki.oni2.net/BSL:Functions

chr_weapon_immune [ai_name:string | script_id:int] - makes a character weapon immune - chr_weapon_immune(vat_bot_1); // chr_weapon_immune 0

That should do it.

Offline

#3 03/10/17 22:03

Scarlett
Member
From: Jamaica
Registered: 11/25/15

Re: How to make a character immune to particle attacks

Oh thank you smile but too bad this is not part of the ONCC

Offline

#4 03/11/17 07:03

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

Re: How to make a character immune to particle attacks

Well, not the ONCC, but the BINACHAR that represents a specific character can at least be set up to call the chr_weapon_immune or chr_boss_shield functions upon spawn (see <Scripts> section of http://wiki.oni2.net/XML:BINA/OBJC/CHAR).


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

Offline

#5 03/11/17 14:03

Scarlett
Member
From: Jamaica
Registered: 11/25/15

Re: How to make a character immune to particle attacks

Awesome!! Then I guess I add something like that for level0_final so the character will have the immunity in any level. I am making a character that was inspired by gengar and mismagius. But since it is impossible to make physical contact not affect character apart from using super shield, which I don't want, so I want to make it just immune to weapons and throws but have weak physical damage and have very low evade chances and low hp, like 200 or maybe lower. However has strong particle attacks and dodge a lot

Offline

#6 03/11/17 14:03

s10k
Member
Registered: 01/14/07
Website

Re: How to make a character immune to particle attacks

Yeah you can probably use the global folder so the script is executed in every level:
http://wiki.oni2.net/IGMD/global

Probably, although doesn't work with player's shapeshifter?

Last edited by s10k (03/11/17 18:03)

Offline

#7 03/11/17 14:03

Scarlett
Member
From: Jamaica
Registered: 11/25/15

Re: How to make a character immune to particle attacks

Oh yeah that's another thing as well. It only works on the character with the name it is assigned to

Offline

Board footer

Powered by FluxBB