Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Product Chat / Airmod problem

Author
Message
RelMayer
18
Years of Service
User Offline
Joined: 14th Apr 2008
Location: France
Posted: 27th Jan 2010 11:09
Hello, I'm using 1.16 FPSC with Fenix Mod (it's includes Airmod), and I've a problem:

I can block the ennemies' attack, but they hurt me in anyways and I lose HP...

There's a way to fix it ?

I'm using EAI Medieval stuff.

Please apologize my bad english, I'm French.

ELDORA Rocks !
Errant AI
19
Years of Service
User Offline
Joined: 24th Aug 2006
Location:
Posted: 27th Jan 2010 18:18 Edited at: 27th Jan 2010 18:19
You will need to set up the character AI scripts to recognize blocking by using the AirMod plrusingblock=1/0 condition in the state where damage is given to the player.

For example, I'll show the basic melee10.fpi would be changed.

It starts like this:



And then it is changed to this:



I have duplicated the state=2 line where damage is dealt and in the first added the condition that the player is NOT blocking. In the duplicate, I have added the condition that the player IS blocking AND I have deleted the plraddhealth=-10 action.

Now Airmod blocking will work when you block with your weapon! You could also change the sound effect when blocking to one of the metal clanging ones in soundbank.
RelMayer
18
Years of Service
User Offline
Joined: 14th Apr 2008
Location: France
Posted: 27th Jan 2010 22:32
Thank you !

Please apologize my bad english, I'm French.

ELDORA Rocks !
ambideXter
16
Years of Service
User Offline
Joined: 9th Jan 2010
Location: The Netherlands
Posted: 9th Feb 2010 12:35
Thnx so much EAI, and 4 giving the link on YouTube (M3T4LST0RM).

Login to post a reply

Server time is: 2026-07-19 03:40:51
Your offset time is: 2026-07-19 03:40:51