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 / Nothing happens

Author
Message
A dude
14
Years of Service
User Offline
Joined: 15th Mar 2010
Location: The Solar System
Posted: 1st Nov 2012 01:52


Nothing happens when the player dies.
Meows
13
Years of Service
User Offline
Joined: 12th Oct 2011
Location: Totally over the Rainbow
Posted: 2nd Nov 2012 06:22
Quote: ":state=0,plrhealthless=1:presetgunanimation=handdead,plrdeath=5,plrdeathspeed=3,plrdeathbounce=20

Nothing happens when the player dies. "


Yupp. Nothing was supposed to happen. You did not put in a action for something to happen.

From the great FPI scripting language.pdf

An fpi script is made up of statements and remarks. The statements start with a colon. Following that is a condition, a test to see if something is true. If there is more than one condition, they are separated by a comma. After all the conditions have been listed, there is another colon. The second colon separates the conditions from the actions. If there is more than one action, they too are separated by a comma.
:condition,second condition:action,second action;



Find one of the The FPI scripting language.pdf
NorthernFox and FLATLANDER among others, like Ched80 have put many available to learn from.

Life is a short trip to another world
A dude
14
Years of Service
User Offline
Joined: 15th Mar 2010
Location: The Solar System
Posted: 2nd Nov 2012 16:22
Actually, presetgunanimation=handdead,plrdeath=5,plrdeathspeed=3,plrdeathbounce=20 are all actions. At least according to FPI Editpad.
Corno_1
14
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 3rd Nov 2012 12:43
Quote: "Yupp. Nothing was supposed to happen. You did not put in a action for something to happen."

cool, but i must say this is not true
Quote: "Nothing happens when the player dies. "

yes, this is true. Maybe you should contact scene comander. I see the issue too.

you need a script? I need useful requests at the moment!
http://forum.thegamecreators.com/?m=forum_view&t=200918&b=23
A dude
14
Years of Service
User Offline
Joined: 15th Mar 2010
Location: The Solar System
Posted: 3rd Nov 2012 14:05 Edited at: 3rd Nov 2012 14:06
Removed by me.

maho76
13
Years of Service
User Offline
Joined: 31st May 2011
Location: universe-hub, playing the flute
Posted: 5th Nov 2012 15:24
äähm... does your gun-x-file HAS the animation required?

i dont think SC has updated all weapon-x-files for additional animations, he has just give those a code to use who can do this (atm custom or for future modelpacks).

actual x-files of stockweapons no additonal animations included (as far as i am aware of).

thats what wondered me with this command. was possible before using setframe/endframe-commands and custom weapon-x-files, so i dont see a necessarity for this command, except easier handling for MPs in the future.

A dude
14
Years of Service
User Offline
Joined: 15th Mar 2010
Location: The Solar System
Posted: 5th Nov 2012 16:35
the stock guns DO have the animations. The hand take, hand push and more work.

Login to post a reply

Server time is: 2024-11-23 19:25:18
Your offset time is: 2024-11-23 19:25:18