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 / where I can find a documentation for think like this: 121 Climbing_idle

Author
Message
GnRSlash
15
Years of Service
User Offline
Joined: 26th Dec 2008
Location:
Posted: 30th Dec 2008 20:05
I was looking for documentation about what these numbers means:

121 Climbing_idle

is there something like this?
How can I discover these numbers and what it means?

tks

†GnR† Slash
"Pode um homem realmente fazer a diferença?"
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 30th Dec 2008 22:00
Open the following file:
"FPS Creator/Docs/FPS Creator Manual.pdf"


Search for "ANIMATE=X"

You will be taken to a list of animations for stock characters.
Each animation has a number, you can find out what frames of animation this number corresponds to by opening the desired characters FPE file and scrolling to the bottom.


The one and only,


GnRSlash
15
Years of Service
User Offline
Joined: 26th Dec 2008
Location:
Posted: 12th Jan 2009 17:52
Hey Plystire,

Do you know the scripts on community tutorial (pdf) page 96:
Explode a barrel when stepping on a trigger zone

I am trying to do it but it doesn't work.
Could you explain the scripts for us like you did in another post (line by line?)

because I didn't understand the appearifactivate.fpi and detonator.fpi

FPI documentation is too simple... example: what is a default fpi script???

If you explain these scripts I would be grateful!



†GnR† Slash
"Pode um homem realmente fazer a diferença?"
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 12th Jan 2009 22:39 Edited at: 12th Jan 2009 23:00
Quote: "FPI documentation is too simple... example: what is a default fpi script???

If you explain these scripts I would be grateful!"

I'm not Plystire, but I bet he would say something like..."if you want to know what these scripts are, then explore your script bank".

Fact is, the best way to start learning FPI is to study the stock scripts.
You will find conditions and actions that were not in the manual.

Quote: "example: what is a default fpi script"

I call the default.fpi the 'do nothing script', because that is what it does...nothing.




;Artificial Intelligence Script

This line is a comment (note the semicolon at beginning) and tells us what the file is.


;Header

Another comment


desc = Default Entity Behaviour (Nothing)

This is the first line that is not a comment.
The desc is the description of the script and is required.
Accidentally commenting out this line will result in the script failing to run.


;Triggers

Another comment

:state=0:state=1

This is state zero which is the initialization state, and here it does only one action, which is to move to state=1.
The colon at the begining starts our list of conditions, with the second colon starting our list of actions.
Conditions and actions are both separated with commas, so a multiconditional and mutliactioned line would be formatted as...
:condition,condition,condition:action,action,action

Here we have only one condition, state=0.
We also have only one action, state=1.
:condition:action

;End of Script

The last comment representing The End of the script.

Since there is no condition for state=1 the script sits in limbo and thus does nothing, hence the default entity behavior of nothing.

All of your stock scripts are just sitting there waiting for you to explore and modify them. (backups first)
Here is the default path where you can find them...
C:\Program Files\The Game Creators\FPS Creator\Files\scriptbank

GnRSlash
15
Years of Service
User Offline
Joined: 26th Dec 2008
Location:
Posted: 13th Jan 2009 01:54
thanks Conjured. I will explore the script bank, maybe this is the only way to learn something since the manual doesn't explain why.

but my question still's alive:
The scripts about tutorial page 96: "Explode a barrel when stepping on a trigger zone"

it doesn't work here. (I fixed the syntax errors in the tutorial scripts).

I am using fpscreator X9 107.

†GnR† Slash
"Pode um homem realmente fazer a diferença?"
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 13th Jan 2009 09:15
Quote: "I am using fpscreator X9 107"


You will need a more up-to-date version of FPSC for that script to work. If I recall (not at my computer), that script relies on a newer FPI action that was added in a recent update.


The one and only,


Login to post a reply

Server time is: 2024-11-24 18:49:19
Your offset time is: 2024-11-24 18:49:19