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 / animation script

Author
Message
joiund
14
Years of Service
User Offline
Joined: 13th Jan 2010
Location:
Posted: 6th May 2010 13:28 Edited at: 6th May 2010 13:42
i made a model of a pyramid rotating on 3d max and exported it as an x
format i made an fpe file for it . its fps reedy the model have animation so i want to make the animation script for it and how to modify the fpe file to run the animation all the time and how to make a frame to run . i uploaded the files (the model + fpe file)

thank you for your help

Demon Stone Cold

Attachments

Login to view attachments
LPP
14
Years of Service
User Offline
Joined: 5th May 2010
Location:
Posted: 8th May 2010 02:35
Hey bud,

Try this, add thsi to your AL Scripts (main)

;Artificial Intelligence Script

;Header

desc = Animation spin

;Triggers

:state=0:spinrate=4

;End of Script
joiund
14
Years of Service
User Offline
Joined: 13th Jan 2010
Location:
Posted: 8th May 2010 18:47
thank man for your help but i have a problem the animation of the pyramid do not work as i made it i made it so it spin around like a fan but when i run your script it spin around one side .

Demon Stone Cold
LPP
14
Years of Service
User Offline
Joined: 5th May 2010
Location:
Posted: 9th May 2010 03:33
I'm sorry I must of missunderstood what you want then is to use the animation you made your self for the pyramid..

;Artificial Intelligence Script

;Header

desc = Animation

;Triggers

:state=0:animate=100 Your Pyramin frame count

;End of Script

----------------------------------------

;header
desc = pyramid;ai
aiinit = Appear1.fpi
aimain = Default.fpi
aidestroy = Disappear1.fpi

;spawn
spawnmax = 0
spawndelay = 0
spawnqty = 0

;orientation

model = pyramid.x
offx = 0
offy = -30
offz = 0
rotx = 0
roty = 0
rotz = 0
scale = 100
defaultstatic = 1
materialindex = 3
collisionmode = 1
strength = 5

;visualinfo

textured = pyramid.dds
castshadow =1

;Animationinfo

;Animationinfo
animmax = 100
anim0 = 1,100 Add the animation cout here aswell
joiund
14
Years of Service
User Offline
Joined: 13th Jan 2010
Location:
Posted: 9th May 2010 12:45
thank man for your help
but i stele have the same problem i used your fpi and fpe script and it didn't work i made some changes to it nothing happened if i may ask i uploaded the x file and the fpe if you can change them and test it i would be grateful thank you again .

Demon Stone Cold
Shadowtroid
14
Years of Service
User Offline
Joined: 23rd Dec 2009
Location: nope
Posted: 9th May 2010 15:22
That's not the right script.

The FPE is right, but for the FPI script use the line

:state=0:animate=0

instead.

joiund
14
Years of Service
User Offline
Joined: 13th Jan 2010
Location:
Posted: 9th May 2010 22:14
i used :state=0:animate=0
and :state=0:animate=100
but none of them work

Demon Stone Cold
LPP
14
Years of Service
User Offline
Joined: 5th May 2010
Location:
Posted: 10th May 2010 11:28
OK tested and it is animated, works well with your animation..

Attachments

Login to view attachments
LPP
14
Years of Service
User Offline
Joined: 5th May 2010
Location:
Posted: 10th May 2010 12:23
Oh I forgot to add the FPI animation file however I am uploading a freebie animation for all to enjoy...along with the FPI animation file..


( Ring Spin by bone animation via the FPI script anim)

Attachments

Login to view attachments
joiund
14
Years of Service
User Offline
Joined: 13th Jan 2010
Location:
Posted: 10th May 2010 16:25
Thank You LPP For Your Help Works Grate thank you

Demon Stone Cold

Login to post a reply

Server time is: 2024-11-25 00:48:31
Your offset time is: 2024-11-25 00:48:31