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 / Just little help....

Author
Message
Crysis
14
Years of Service
User Offline
Joined: 8th Jun 2010
Location: Serbia
Posted: 11th Jun 2010 21:23
Hi all,
I want to know how to animation model.
1.First i must to animate model in 3ds max.

2.Then i must export it to FPSC via PandaSoft.

3.Then open model with Entity Maker.

4.Texture it and save it for FPSC.

5.And....nothing will hapen....

Animation dont play.

Are anyone know how to play animation?

I know that i need to change state=1 anim=1

but where is that.

In my model frames is 1-100.

PLEASE HELP...

I you want i will make any model you want.
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 11th Jun 2010 23:54 Edited at: 12th Jun 2010 00:18
You define the entity's animations in the entity's FPE file.

Look for a section like this...

;animationinfo
animmax = 100
anim0 = 190,209
anim1 = 210,234
anim2 = 235,259
anim3 = 260,279
anim4 = 280,299

The animation info defines the animations.
Explanations are given in the FPSC Manual and the Official Community Guide to FPSC, which are both in the DOCS folder.

The animations must be in order, and the frames defined must increment not decrement.
So...

;animationinfo
animmax = 100
anim0 = 190,209
anim1 = 210,234
anim4 = 235,259
anim3 = 260,279
anim2 = 280,299

OR

;animationinfo
animmax = 100
anim0 = 190,209
anim1 = 240,234
anim2 = 235,259
anim3 = 260,279
anim4 = 280,299


would be incorrect, and cause an error.

The animations themselves must be ordered lowest to highest.

The first number of the frame assignments is the beginning frame of the animation and the second number is the last frame in the animation.
That is why they must be in order with the lowest number first.


You can skip animation assignments but the ones defined must be in order.
So

;animationinfo
animmax = 100
anim0 = 190,209
anim1 = 210,234
anim2 = 235,259
anim3 = 260,279
anim4 = 280,299
anim21 = 1235,1259
anim32 = 60,79
anim43 = 1280,1299

Would be okay to do.

Note:
anim32 = 60,79

It is okay to use whichever frames you want, as long as the animation is in sequential order (which here anim32 is in order)
AND the frames are in sequential order. (which here it is because the first number 60 is lower than the second number 79)


Also, FPSC uses 20 frames per second, so if you keep that in mind and you will get the timing results desired for synching with music etc.

It sounds complicated but it is not that bad.
I hope this reply helps more than it confuses you.

   Conjured Entertainment

 WARNING: Intense Madness
Crysis
14
Years of Service
User Offline
Joined: 8th Jun 2010
Location: Serbia
Posted: 12th Jun 2010 00:30
Hey thank you....

Just i found this script




This is the animation script for ring


When i change it to my model it looks like this






i have problem with this:




I animate model in 3ds max and my frames is 1-22

so i change it to




and when i test game with my model...pic attached


here is a script of anim.fpi




I get ring model with this script and model is animated and animate is works but my not.Any help?

Attachments

Login to view attachments
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 12th Jun 2010 15:48 Edited at: 12th Jun 2010 19:04
I downloaded your ZIP file thinking it was the model and its files, but it was only a JPG screenshot.

Just so you know, you can upload jpg and png images to the forum without zipping them.

From the image it looks as if the model is not finding the textures or something.

Sometimes the APPEAR1.FPI can mess it up, so try using APPEAR2.FPI for the models appear script.

There also may be a scaling problem if you did not use a stock model to scale yours.
If the model is tiny tiny, then you might not be able to see it.

You made the model a character (ISCHARCTER=1), so it might be better to include some of the other animated states like 2 for walk and 5 for run , etc.
Again, the Official Community Guide to FPSC has an explanation of which animations are set up for which character actions.

It could be something else of course, but these are a few things that can cause problems.

I leave my animmax=100 instead of making it smaller.

If it still doesn't work, then I can take a look at it for you if you post the model and its files here in a ZIP or email them to me.
Let me know if you do not want to post it here (make it public) and I can send you an email if ou give me your email address.

EDIT
I just noticed you use spaces in your file names.
I'm not sure if it would make a difference or not, but I avoid using spaces in file names...
my model.x

would be ...

my_model.x

I replace the spaces with underscores.
The same for the name of the texture file too.

   Conjured Entertainment

 WARNING: Intense Madness
Crysis
14
Years of Service
User Offline
Joined: 8th Jun 2010
Location: Serbia
Posted: 12th Jun 2010 17:59
Hi thanks my email didnt work for me....so you can post it here.
What format do you want? (.3ds,.max,.x or?)
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 13th Jun 2010 06:20
Quote: "Hi thanks my email didnt work for me....so you can post it here.
What format do you want? (.3ds,.max,.x or?) "

ZIP up the 4 files needed for FPSC...

Model file .X
Thumbnail .BMP (64x64)
Entity File .FPE
Texture .PNG in your case, but I like to use DDS.

... Then I can play around and test it to see if I can get it going or figure out what is going wrong.

   Conjured Entertainment

 WARNING: Intense Madness
Crysis
14
Years of Service
User Offline
Joined: 8th Jun 2010
Location: Serbia
Posted: 13th Jun 2010 16:15
Conjured Entertainment,do you know to make guns in FPSC.

I make this one and i make iron sign picture,

but now i must make it FPSC ready.

Do you can export it and other?

I will give you model and iron sign and if you export gun and animate it i will give you free this gun.THIS IS ONLY FOR ME AND YOU.
Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 13th Jun 2010 23:24
Unhelpful Titles

Please do not simply write "Noob Question", "I am a newb", "One Noobie Question", "A question", "Please help", "This isn't working" or anything similar as the title of your post. We have a search facility, and meaningless titles do not help others find answers to their questions. It will also help you to get quicker responses if people have an idea of your thread content.

Crysis
14
Years of Service
User Offline
Joined: 8th Jun 2010
Location: Serbia
Posted: 14th Jun 2010 00:59
Sorry...
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 14th Jun 2010 02:26 Edited at: 14th Jun 2010 02:28
Quote: "Conjured Entertainment,do you know to make guns in FPSC.

I make this one and i make iron sign picture,

but now i must make it FPSC ready.

Do you can export it and other?

I will give you model and iron sign and if you export gun and animate it i will give you free this gun.THIS IS ONLY FOR ME AND YOU. "

No, I have not made weapons with iron sights.
I was just trying to give a little help on the other model.
Let's try to get this model that you have animated sorted out, and then you will be able to get your animations in FPSC.

   Conjured Entertainment

 WARNING: Intense Madness
Crysis
14
Years of Service
User Offline
Joined: 8th Jun 2010
Location: Serbia
Posted: 14th Jun 2010 04:38
Here is quickly made model with animation,for test

Attachments

Login to view attachments
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 14th Jun 2010 15:11 Edited at: 14th Jun 2010 15:40
You ask ...
Quote: "

What format do you want?

"


and I reply...

Quote: "

ZIP up the 4 files needed for FPSC...

Model file .X
Thumbnail .BMP (64x64)
Entity File .FPE
Texture .PNG in your case, but I like to use DDS.

"


...and you send me a 3DS file??? lol

It's okay though, because I think I found the problem...

From your first post I thought you already knew how to animate the model, but now I realize you need help with animating not just importing.

You need to have a skeleton for animation (joints/bones), just creating the frames doesn't cut it.

1) You need to make a skeleton.

2) Then, assign vertices to each joint so that those vertices will be controlled by that joint.

3) Then, you set keyframes at whatever intervals you need to create the animation.

The joints/bones are positioned for the keyframe, and the other frames inbetween the keyframes are generated by the program.

This is a really basic explanation of animating your model.
I suggest you search your modeling program's forums for tutorials.
I'm sure there are hundreds of tutorials for your 3ds Max.
I use Milkshape 3D, so I won't be much help for this, but let me know if you need help importing once you get your animations sorted out.

   Conjured Entertainment

 WARNING: Intense Madness
Crysis
14
Years of Service
User Offline
Joined: 8th Jun 2010
Location: Serbia
Posted: 14th Jun 2010 18:58
Haha,wow...huh......MY ONLY PROBLEM IS BONES?!?!?!


Ha,i forget to add them...

funny....

Thanks a lot,i hope that animation is not too fast....

now what model do you want,
i will make for you.

by the way here is my first character....like in Brothers in Arms...this is for you....if you want i will make other models for you...tell me if you want...any model i will make...I hope that my model is good...

Attachments

Login to view attachments
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 14th Jun 2010 22:38 Edited at: 14th Jun 2010 22:57
Quote: "by the way here is my first character....like in Brothers in Arms...this is for you....if you want i will make other models for you...tell me if you want...any model i will make...I hope that my model is good..."

Glad I could help.....but....this is the stock us Airborne model.
Nice retexture though.

You shouldn't be redistributing TGC's model, even here in the forums, because it is a copyright infringement. (also known as software piracy)

Sharing your retexture is okay as long as it is all your work, but sharing their model is not okay.

Here is a screenshot of a model that I made out of primitives today... (see attached image)

   Conjured Entertainment

 WARNING: Intense Madness

Attachments

Login to view attachments
Crysis
14
Years of Service
User Offline
Joined: 8th Jun 2010
Location: Serbia
Posted: 15th Jun 2010 16:08
Sorry i forgot to say that it's retexture.

This is my first retexture.

Now I focus on models.

When i finish i will share.

Login to post a reply

Server time is: 2024-11-24 23:34:24
Your offset time is: 2024-11-24 23:34:24