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 / Alternate texture script

Author
Message
Skulldigs
17
Years of Service
User Offline
Joined: 30th Jun 2007
Location: The Zombie Test Site
Posted: 26th Jan 2008 05:44 Edited at: 26th Jan 2008 05:44
Ive been thinking of a script that after a entity takes enough damage its texture changes to either bloody(foes) or trashed(objects) can some one help if it is possible?

plz dont be a punk and scourge me plz!!! heh heh heh tacos rule!
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 26th Jan 2008 12:22
You'll want to add something like:

:state=X,healthless=X:altexture,state=X

You'll have to incorporate it into a script though.....

To do this edit the state=X values, and also you need to edit the Healthless=X to whatever amount of health you want....

Peter gee
16
Years of Service
User Offline
Joined: 11th Jan 2008
Location: behind you!!!!
Posted: 26th Jan 2008 13:07
appreciated coffe grunt but i still havn't got the hang of changing scripts could you post it please as in the whole script

don't touch that cookie, it's mine!

CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 26th Jan 2008 13:37 Edited at: 26th Jan 2008 13:41
Hmmm......

I'll edit shoot.fpi to incorporate this, ok....



When his health is less than 50, he'll change his texture and run coward.fpi......

A word of warning though, I've heard that alttexture may not work well with characters......

Here's the version for objects:


Aertic
17
Years of Service
User Offline
Joined: 2nd Jul 2007
Location: United Kingdom
Posted: 26th Jan 2008 13:46
I did somthing like this before, Just that it was when they were dead.
Peter gee
16
Years of Service
User Offline
Joined: 11th Jan 2008
Location: behind you!!!!
Posted: 26th Jan 2008 14:49 Edited at: 26th Jan 2008 14:52
thanks coffe grunt i'll test it later

oh and where do i put the alternate textures file name?

don't touch that cookie, it's mine!

Aertic
17
Years of Service
User Offline
Joined: 2nd Jul 2007
Location: United Kingdom
Posted: 26th Jan 2008 15:07
Left click on you're object, Go down to Texture, And there should be a ALT TEXTURE you put the alternate texture there.
Peter gee
16
Years of Service
User Offline
Joined: 11th Jan 2008
Location: behind you!!!!
Posted: 26th Jan 2008 16:34
ok thanks

don't touch that cookie, it's mine!

Skulldigs
17
Years of Service
User Offline
Joined: 30th Jun 2007
Location: The Zombie Test Site
Posted: 26th Jan 2008 16:36
Hey coffee grunt thanks you really helped me here

plz dont be a punk and scourge me plz!!! heh heh heh tacos rule!
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 26th Jan 2008 16:43
kk....

Always good to help those in need...

Login to post a reply

Server time is: 2024-11-24 04:05:29
Your offset time is: 2024-11-24 04:05:29