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 Scripts / want ww2 unarmed characters to attack

Author
Message
xymore
13
Years of Service
User Offline
Joined: 9th Jun 2011
Location: East coast, USA
Posted: 9th Jun 2011 18:43
hello
just got fps creator ( love it )
but need a little help with character AI

im starting off with a detention block (prison)
i only have the base packs that came with fps bonaza deal
anyways, want to use some unarmed characters from the ww2 pack.

i would like the unarmed characters to attack, but cant make it happen just want basic attack ( punch, slap, kick .. whatever) is this possible ..

im a newb, as if i needed to point that out ...
any help would be welcome and great ...
please and thank you
xymore
13
Years of Service
User Offline
Joined: 9th Jun 2011
Location: East coast, USA
Posted: 9th Jun 2011 21:24
umm, i just did the upgrade to latest fps version and found new melee.fpi ... now unarmed character can attack ...

is their a page that has a list of all .fpi files ????

also have a new problem ...
the unarmed character attacks the player through the wall
if player is in hallway and the unarmed character is in his cell ... the unarmed character attacks and damages the player before he enters the cell ... how can i correct this
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 9th Jun 2011 22:10 Edited at: 9th Jun 2011 22:31
Quote: "i would like the unarmed characters to attack, but cant make it happen just want basic attack ( punch, slap, kick .. whatever) is this possible .."

Yeah, look in the scriptbank in the people folder for melee10.fpi and assign that as the AI MAIN for the character.

Anyway, give that a try, and feel free to tweak it by choosing your own frames from the animation if you have a modeling program like FragMOTION
You don't need to change them in the modeling program, it is just for viewing the individual frames and picking the ones to assign in the FPE.
The FPE file is where you add you custom slap or whatever by assigning those frames as a new animation, like above.
You could edit the animations if you want, but since you are new, I would say just stick to the basics first and pick your frames from the stock animations.

It looks as if animation #8 is the new melee animation assignment for the stock characters.


;animationinfo
animmax = 100
anim0 = 190,209
anim1 = 210,234
anim2 = 235,259
anim3 = 260,279
anim4 = 280,299
anim5 = 300,318
anim6 = 319,355
anim7 = 160,189
anim8 = 330,355...


So you could edit that assignment of frames in the FPE or add a new animation to the bottom of the list, then edit the script to call it instead of #8.


...
anim90 = 832,851
anim91 = 852,881

anim92 = 328,360...

I hope this helps.

xymore
13
Years of Service
User Offline
Joined: 9th Jun 2011
Location: East coast, USA
Posted: 11th Jun 2011 08:58
thank you so much for the info ..

Login to post a reply

Server time is: 2024-11-24 08:28:31
Your offset time is: 2024-11-24 08:28:31