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.

Author
Message
Zilla
18
Years of Service
User Offline
Joined: 28th Nov 2005
Location: Swiss KGB
Posted: 24th Aug 2006 12:09
I want to create a FPSC-Object that does an animation, when the player approaches this object or presses ENTER.

e.g. I already have a 3D-model (table) with a animation that opens and closes its drawer. How can I import this object and its animation? Do I have to create a special script and/or trigger?
Disturbing 13
19
Years of Service
User Offline
Joined: 12th Apr 2005
Location: Murder Capital of the World
Posted: 24th Aug 2006 12:35
do a search on entity creator and you should be able to find what you need.

Zilla
18
Years of Service
User Offline
Joined: 28th Nov 2005
Location: Swiss KGB
Posted: 24th Aug 2006 16:43
I found the thread, but there are no links to the software and other links are dead and Duke Blue Devils has no contact information
FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 24th Aug 2006 16:44
I think if you check the FPSC home page you can download the free entity creator.It comes with a video tutorial.

Zilla
18
Years of Service
User Offline
Joined: 28th Nov 2005
Location: Swiss KGB
Posted: 24th Aug 2006 17:56
Hi, FredP

I know this program and it's absolutely great (and free!) and I use it very often to make (unanimated) entities etc. for fpsc. But can it handle animations to solve my problem (see above)?
FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 24th Aug 2006 18:19
You would use the entity creator to import it into FPSC as an object and make it dynamic.Use the dooruse.fpi script as the main AI script and it will ask you how many frames of animation which would be the number of frames of animation that you used when you animated the model.
If you have any more questions please feel free to post them and I will do my best to answer them.

Zilla
18
Years of Service
User Offline
Joined: 28th Nov 2005
Location: Swiss KGB
Posted: 24th Aug 2006 18:44
Cool! I'll try this!
Zilla
18
Years of Service
User Offline
Joined: 28th Nov 2005
Location: Swiss KGB
Posted: 27th Aug 2006 13:29 Edited at: 27th Aug 2006 13:40
@FredP

Thanks a lot for your help! It worked!

I attached a in-game video of ths animation (the textures are not the final ones).

Another question:
How can I tell FPSC: "Play the animation from frame x to frame y"?

Attachments

Login to view attachments
FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 27th Aug 2006 13:37
Your can use the main AI script dooruse.fpi.
When you press ENTER it will run from your first frame to your last.
Pressing ENTER again will reverse the effect aka run the last frame to the first.
If you want your entity to stay animated (keep going and not stop then I have included an AI script that will do that for you.
Just save the script I have posted below in your scriptbank file and replace your entity's main AI with it.

Attachments

Login to view attachments
Zilla
18
Years of Service
User Offline
Joined: 28th Nov 2005
Location: Swiss KGB
Posted: 27th Aug 2006 13:42 Edited at: 27th Aug 2006 13:46
Wow
No wonder you are a MOD! You really deserve it
FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 27th Aug 2006 18:54
Thanks!

Zilla
18
Years of Service
User Offline
Joined: 28th Nov 2005
Location: Swiss KGB
Posted: 27th Aug 2006 19:53
Oops! There's a little problem with this script, when I use it with my model:

The drawer of my table opens and closes only about "1 millimeter" and the animation is much too fast. Do you have any ideas how I could correct this?

The other animations (dooruse.fpi autodoor.fpi) are correct.

Login to post a reply

Server time is: 2024-09-30 08:25:06
Your offset time is: 2024-09-30 08:25:06