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 Models and Media / [LOCKED] Creating and adding your own particles

Author
Message
SpyDaniel
18
Years of Service
User Offline
Joined: 4th Feb 2006
Location: United Kingdom
Posted: 7th Jun 2006 03:50 Edited at: 7th Jun 2006 03:51
[center]Creating decals

To create your own decals you need an art program. Now I am no artist, but you need to create 16 images (128, 256 or 512). They must at least play an animation when ran. For example, you could have one red pixel, that doubled in size till you had 16 images. But make sure the back ground is true black, 0,0,0.

Once you have done that, you need to make a blank image which is 4 x (the chosen dimensions) in width and height. Now starting with the first frame of your particle add it neatly to the top left corner of your blank image, make sure it doesn’t use up more than its own size, or your particle will have graphical errors. In case you do not under stand, here is an example.



Repeat this till you fill the image. Now, I don’t know if you have alpha channel ability, but your going to need to go and make a new mask and save an alpha channel. Once you have done that, save the file in a known folder. That’s it, your done.


Adding your own decals


First of all, what we want to do is get our custom decal at hand. Place it into a known folder, keep this open as you’ll need to add to it. Next we go to this location:

The Game CreatorsFPS CreatorFilesentitybankgenericdecals

Go ahead and copy one of the FPE files and paste it into your folder. Right click the file and rename it to some thing relating to the decal you have made. Open the file up and edit the following:

;header
desc =

;ai
aiinit = Add either (repeatsound.fpi) or (appear1.fpi)
aimain = decalflat.fpi
aidestroy = disappear1.fpi

;orientation
model = particles.x
textured = particles_d.tga
defaultheight = 0.5
transparency = 0
soundset = Add the sound you want to play near the decal

;identity details
strength = 0
isimmobile = 1
ismarker = 4

;decals
decalmax = 1
decal0 = Name of particle folder under The Game CreatorsFPS CreatorFilesgamecoredecals

Now we are moving to this location:

The Game CreatorsFPS CreatorFilesgamecoredecals

Create a new folder in this directory, name it what your particle is. Now open that folder and create a text document. Rename it decalspec and add the following:

;decal spec

;DECAL
across = 4
down = 4
offsety = 8
scale = The scale you want the decal to be

Now copy your particle image from your known folder and paste it into your new gamecoredecals folder.

Open up FPSC, click entities, generic, decals and slect your new decal. Place it into your scene and test the map to view your handy work.



Attachments

Login to view attachments
Bloodeath 6 6 6
19
Years of Service
User Offline
Joined: 5th Nov 2005
Location: Sierra vista in indonesia
Posted: 7th Jun 2006 04:05
thanks higgins this is helpful

http://ninjasoftforum.proboards107.com
Candle_
18
Years of Service
User Offline
Joined: 29th May 2006
Location: kindergarten
Posted: 7th Jun 2006 05:10 Edited at: 7th Jun 2006 05:13
Thank you, you rock..
Here is a pdf tut of this.
no image in it thou.

Enjoy today as Yesterday is gone and Tomorrow may never come!
Get your talking Head.

Attachments

Login to view attachments
KeithC
Senior Moderator
19
Years of Service
User Offline
Joined: 27th Oct 2005
Location: Michigan
Posted: 7th Jun 2006 07:08
I'm going to allow this to be stickied, until we can come up with an all-encompassing Tutorial Sticky thread; then this one will be put in it. Good work.

-Keith


brummel
18
Years of Service
User Offline
Joined: 26th Nov 2005
Location: Sweden
Posted: 7th Jun 2006 15:28
Very good job Dan! This will surely be helpful.
FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 7th Jun 2006 18:45
Good tutorial!

FLA
code master
20
Years of Service
User Offline
Joined: 4th Dec 2003
Location: Illinois
Posted: 7th Jun 2006 21:53
@Higgins

Nice tut!

Quote: "4 x (the chosen dimensions)"


why is it like that? shouldn't it be (the chosen x dimension) x (the chosen y dimension)

Quote: "FredP "


hmmm... let me guess... I Has Returned!

Weapon Creator for sale soon!
Weapon Creator
SpyDaniel
18
Years of Service
User Offline
Joined: 4th Feb 2006
Location: United Kingdom
Posted: 7th Jun 2006 22:38
Well you have to have 4 rows and 4 columns, for all 16 images to fit into. It doesnt matter what size you choose to use, fpsc will know how to read the image.



code master
20
Years of Service
User Offline
Joined: 4th Dec 2003
Location: Illinois
Posted: 7th Jun 2006 22:50
Quote: "for all 16 images to fit into."


you can have any number of images. you just have to sepcify the number of images up, by the number of images down. FPSC can determine where the images are.

Weapon Creator for sale soon!
Weapon Creator
SpyDaniel
18
Years of Service
User Offline
Joined: 4th Feb 2006
Location: United Kingdom
Posted: 7th Jun 2006 23:01
I took all my knowledge of decals from looking at files and images. I thought it was only 16 images, but if you say you can have more, then Thats quite cool. You could have a movie play, if you brake it down into images and add a sound file to it.



Bloodeath 6 6 6
19
Years of Service
User Offline
Joined: 5th Nov 2005
Location: Sierra vista in indonesia
Posted: 8th Jun 2006 01:44
I gotta ask why are there so many folders whilst doing this

http://ninjasoftforum.proboards107.com
uman
Retired Moderator
20
Years of Service
User Offline
Joined: 22nd Oct 2004
Location: UK
Posted: 8th Jun 2006 02:44
Currently in this version of FPSC You could not really have a movie or other advanced image animation sequence over and above the default number of 16 and have it play on a decal by adding more frames or images to the decal image.

At least you would be asking for all kinds of problems. FPSC decal support is very resrtictive in the way it is set up and handled by the engine currently. Its very inflexible and all kinds of unwanted bad effects result if you try to work around the limitations.

If it can be done successfully by anyone I will change my opinion. Please tell us how you do it.

And well done Higgins a very useful and helpful addition to the forum tutorials. I take my hat off to you, not that I got one on you understand.

transient
19
Years of Service
User Offline
Joined: 22nd Apr 2005
Location: Australia Zoo
Posted: 11th Jun 2006 10:13
Maybe it would be possible to script a movie using multiple decals and the timer command (by sequentially destroying or hiding them).

It's a hack but it might work.
SpyDaniel
18
Years of Service
User Offline
Joined: 4th Feb 2006
Location: United Kingdom
Posted: 11th Jun 2006 14:41
I belive you could add part of a movie, as frames, to an image, but because fpac turns all images to 512, 256 or 128, the movie would be very low res.



Disturbing 13
19
Years of Service
User Offline
Joined: 12th Apr 2005
Location: Murder Capital of the World
Posted: 11th Jun 2006 16:26
plus you cant control the speed so you would need an awful lot of decals to make even a 10 second scene.

JEEZ!You people just STFU! You waste more space complaining about people wasting space than the people your bashing! Man, I thought I had no life.
SpyDaniel
18
Years of Service
User Offline
Joined: 4th Feb 2006
Location: United Kingdom
Posted: 11th Jun 2006 16:41
You could make a slide show, that would work fine and look great in an office scene.



Disturbing 13
19
Years of Service
User Offline
Joined: 12th Apr 2005
Location: Murder Capital of the World
Posted: 11th Jun 2006 16:45
only problem is it would move so fast you couldnt see what the pics were. Heck I even tried to make running water and it flowed too fast.

JEEZ!You people just STFU! You waste more space complaining about people wasting space than the people your bashing! Man, I thought I had no life.
transient
19
Years of Service
User Offline
Joined: 22nd Apr 2005
Location: Australia Zoo
Posted: 11th Jun 2006 16:50
512x512 would be fine for a tv or something like that.
I haven't tried it, so I don't know how well it would work.

Quote: "plus you can't control the speed so you would need an awful lot of decals to make even a 10 second scene."


True, but I said it was hack. Sometimes with FPSC you've just got to take a hammer to it. I guess if you really want in-game video there's no harm in trying.

With Particle Illusion you can generate amazing effects, so a more elegant decal system would be cool.
Disturbing 13
19
Years of Service
User Offline
Joined: 12th Apr 2005
Location: Murder Capital of the World
Posted: 11th Jun 2006 16:53
currently you could make a good staticy tv screen, but if you can get the hack working I applaude you.

JEEZ!You people just STFU! You waste more space complaining about people wasting space than the people your bashing! Man, I thought I had no life.
SpyDaniel
18
Years of Service
User Offline
Joined: 4th Feb 2006
Location: United Kingdom
Posted: 11th Jun 2006 17:03
Just add the same frame 3-4 times to slow it down.



bond1
19
Years of Service
User Offline
Joined: 27th Oct 2005
Location:
Posted: 11th Jun 2006 20:28 Edited at: 11th Jun 2006 20:30
I think Simon mentioned in his Sprite Pack thread that currently 16 frames are the max for FPSC right now as well as a fixed playback speed.

----------------------------------------
"Your mom went to college."
My FPSC stuff at http://hyrumark.zftp.com/FPSC/hyrumarkfpsc.htm
Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 20th Jun 2006 23:40
OK. If you want to add a longer animation>>>>

Divide the 1024 by 1024 into smaller squares, then in the decal spec where you specify

across 4
down 4

change it to the relevant number of squares. so if you have 36 frames, change the decal spec to

across 6
down 6

and so on. So.... I guess I'm challenging you there Uman.
Except for the fact that, the more frames you have, the lower the quality, as your overall size cannot exceed 1024x1024.

"Guns for show, knives for a pro."
Disturbing 13
19
Years of Service
User Offline
Joined: 12th Apr 2005
Location: Murder Capital of the World
Posted: 21st Jun 2006 00:14
It's been discussed before that it 'should' work in theory, but unfortunately it doesn't. FPSC is currently stuck at 16 frames and can't do more.

FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 12th Sep 2006 09:31
Does anybody know if there is a way to slow down the animation?
I made a fog decal but the animation goes too fast.

SpyDaniel
18
Years of Service
User Offline
Joined: 4th Feb 2006
Location: United Kingdom
Posted: 12th Sep 2006 10:01
There is only one way which I know of, which is to add more frames, but FPSC does not allow this. The other would be to have a command play the frames slower, which I dont think there is one?

FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 12th Sep 2006 10:17
Oh,heck.
My fog entities are iffy and it is looking like the decal is shot too.

SpyDaniel
18
Years of Service
User Offline
Joined: 4th Feb 2006
Location: United Kingdom
Posted: 12th Sep 2006 12:17
If its just fog you want, why not create a huge plain, add the fog texture to it (pick a frame) and animate the plain or the uvmap so it looks like the fog is moving? That is how I would do it.

FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 12th Sep 2006 20:57
That's a good idea.Thanks.

=ChrisB=
19
Years of Service
User Offline
Joined: 23rd Jun 2005
Location: starring into a viewfinder
Posted: 12th Sep 2006 22:02
Thanks M8! This'll come in handy!
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 12th Sep 2006 22:47
Quote: "Sometimes with FPSC you've just got to take a hammer to it."


Ain't it the truth?

Nice tut Higgins. Thank's for the contribution.

The forum provides a means to hide our true identity. Too bad we always screw up and let it be seen.

SpyDaniel
18
Years of Service
User Offline
Joined: 4th Feb 2006
Location: United Kingdom
Posted: 13th Sep 2006 01:56 Edited at: 13th Sep 2006 01:56
I made this tut on one of my rare "Helpful" days. There are too many noobs around for my self to help like this again.

But Iam glad you like the tut, every one.

Locrian
19
Years of Service
User Offline
Joined: 21st Nov 2005
Location: Burton Mi.
Posted: 13th Sep 2006 06:13
Nice tut Higgins.
mickeyb
18
Years of Service
User Offline
Joined: 1st Jan 2006
Location:
Posted: 2nd Dec 2006 16:06
Hi, Higgins
i tried to follow your tut to the letter
and made a smoke decal but it does not look right, in game it
looks like cartoon smoke.
Here is a pic FPSC smoke on left my one on right,

could you give me some advice

T.I.A

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-25 12:44:20
Your offset time is: 2024-11-25 12:44:20