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 / Decals on entities.

Author
Message
fallen one
18
Years of Service
User Offline
Joined: 7th Aug 2006
Location: My imagination!
Posted: 6th Nov 2008 19:49
I want Blood decals on the enemy when you shoot them, I want the decals always on, not to vanish as well.

I also want different decals, so a kind of multi texture decal, so my decals are not the same every time, plus my decals must be always on.

So lets say my decal is a red square, a red circle and a red triangle, I want the decals to be the same ones if I shot a wall or a character or an entity. It will show either of the 3 variants.

I donn't want a bullet hole if I shoot wall and a blood splat if I shoot a character, whatever I shoot at its the same decal, well I say the same, I want a multi texture, so it will randomly pick from say 3 similar textures.

Also will it effect performance if the decals are always on and all over the level, if it does Id have to have them vanish for the non characters to save computer power, but say vanish over say 2 minutes.

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 7th Nov 2008 00:20
Ply's Mod is the closest you're going to get.

It will let you:
1) Over-Ride the decal used for non-character hits (walls, entities)
2) Over-Ride the decal used for character hits
3) Prevent bulletholes from appearing


With a bit of scripting and setting up, you could even get it to use random decals when shooting. Just try the following:

- Make 3 weapons that are all the same in every way, EXCEPT for the decals they use whens hooting charcter and no-character objects.
- Make a script that will randomly "replaceweap" your weapon with one of the 3 you made. This change is INSTANT, meaning it won't interrupt anything if you have the weapon out already.


The only thing you're asking for that can't be done is having the decals stay there permanently. Decals don't naturally kill frame-rate but when you start building them up over time, it's going to catch up to you.

If I remember correctly, the maximum amount of decals FPSC normally allows at any one time is around 100... in Ply's Mod I upped that to 499. So, dynamically making decals and KEEPING them there... you're going to hit that cap very quickly.


The one and only,


Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.
fallen one
18
Years of Service
User Offline
Joined: 7th Aug 2006
Location: My imagination!
Posted: 7th Nov 2008 06:13
Thanks Plystire, thats super, Ill get into this one in full after I get out the FPSC game Im doing at the moment, I always think ahead, this is great news that FPSC will be able to pull of the effect for what I have in mind.

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 7th Nov 2008 06:43
If you'd like a demonstration video, check out the "Decal Over-Ride" video which has been linked to in the Ply's Mod thread (first post has everything you'll need)


The one and only,


Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.

Login to post a reply

Server time is: 2024-11-24 13:32:44
Your offset time is: 2024-11-24 13:32:44