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 / Better understanding of fpi code

Author
Message
Sloan
17
Years of Service
User Offline
Joined: 6th Oct 2007
Location: this forum
Posted: 16th Oct 2007 18:50
I am a content creator so am new to coding but I am very willing to learn. I have read a few of the tutorials on FPI coding (Bullshock's was very helpful!)and I have explored many of the fpi's included in FPSC.

My question is about frame actions. ie...setframe, endframe, incframe. What are these frame actions referring too? They are present in the zombie script. Also, am I to understand that the animate action refers to the specific animations? ie...anim2 = move slow, anim5 = move fast.

Basically I am trying to understand so I can make smart AI melee attacks with my creatures as they are unarmed.(at least not any ranged weapons)

Thanks for the help.
Fluffy
17
Years of Service
User Offline
Joined: 28th May 2007
Location: In a dark dingy room slouched over my PC
Posted: 16th Oct 2007 19:01
Look at Nickydudes FPSC hints 'n tips
that gives a whole lot of info on fpi scripts

Anthology Games
Sloan
17
Years of Service
User Offline
Joined: 6th Oct 2007
Location: this forum
Posted: 16th Oct 2007 19:09
Thanks, I also found the actions list in the manual. Should have known to check that first.
Sloan
17
Years of Service
User Offline
Joined: 6th Oct 2007
Location: this forum
Posted: 16th Oct 2007 20:49
Ok, here is another question. Does it matter which action comes first when it comes to move and animate? Using the zombie script as anexample they have the following actions for a single state. movefore=10,animate=5 do these actions occur pretty much at the same instant or is the order important?
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 17th Oct 2007 11:23
Quote: "Ok, here is another question...movefore=10,animate=5 do these actions occur pretty much at the same instant or is the order important"

Dude, just try it both ways and see if you can tell a difference.

Don't forget to visit Conjured Entertainment
Sloan
17
Years of Service
User Offline
Joined: 6th Oct 2007
Location: this forum
Posted: 17th Oct 2007 13:59
Thanks,I guess I'll just experiment once I finish animating my critter.

Login to post a reply

Server time is: 2024-11-23 23:54:10
Your offset time is: 2024-11-23 23:54:10