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 / Change textures on enemies when hit?

Author
Message
Slaur3n
16
Years of Service
User Offline
Joined: 16th Sep 2008
Location: Norway
Posted: 25th Dec 2009 06:17
Hey

If an enemy are damaged by the player, can the enemy change to a different texture? A damaged texture.
Examples: Quake2, soldier of fortune


Merry Christmas!
Nexar
15
Years of Service
User Offline
Joined: 6th Nov 2009
Location: Sweden, Mjölby
Posted: 25th Dec 2009 09:06
You mean like in Serious Sam HD?

Marc Steene
FPSC Master
19
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 25th Dec 2009 09:18
:shotdamage=1:alttexture=1
:shotdamage=0:alttexture=0

Right click your enemy and find the Alt Texture field, put your new texture in that.


THE ONLY WAY TO STAY OUT OF IGNORANCE IS TO KEEP ASKING
Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 25th Dec 2009 12:49
@marc steene: Alt textures dont work on characters...


Marc Steene
FPSC Master
19
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 25th Dec 2009 13:22
@marc steene: Alt textures dont work on characters...

Actually they do. Look at my Modern Warfare Script Pack - they change texture when thermal vision is activated.


THE ONLY WAY TO STAY OUT OF IGNORANCE IS TO KEEP ASKING
Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 25th Dec 2009 13:24
Then that is fixed in projectblue or in 1.16, 1.15 is what i am using for a personal mod, they dont work.


Slaur3n
16
Years of Service
User Offline
Joined: 16th Sep 2008
Location: Norway
Posted: 25th Dec 2009 16:18
okey.. but if I should try the script.. Where do I place it??
Marc Steene
FPSC Master
19
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 25th Dec 2009 17:04
Copy the code I posted and find the Main script which the enemy uses. Open the .fpi script file in notepad, and copy those two lines somewhere into the code (it doesn't matter where).


THE ONLY WAY TO STAY OUT OF IGNORANCE IS TO KEEP ASKING
Slaur3n
16
Years of Service
User Offline
Joined: 16th Sep 2008
Location: Norway
Posted: 25th Dec 2009 17:06
okey, I did that.. dosent work
xplosys
19
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 25th Dec 2009 19:45
It works for me. Did you create an alternate texture and add it to the characters alt texture field?

Brian.

Slaur3n
16
Years of Service
User Offline
Joined: 16th Sep 2008
Location: Norway
Posted: 25th Dec 2009 19:52
yes i did
xplosys
19
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 25th Dec 2009 20:15
What version/upgrade are you using?

Slaur3n
16
Years of Service
User Offline
Joined: 16th Sep 2008
Location: Norway
Posted: 25th Dec 2009 21:24
using 1.16 of fpsc and fenix mod
Errant AI
18
Years of Service
User Offline
Joined: 24th Aug 2006
Location:
Posted: 27th Dec 2009 07:00
Make sure the textures are located in the texturebank and not in the entitybank.
charger bandit
15
Years of Service
User Offline
Joined: 10th Nov 2009
Location: Slovenia
Posted: 27th Dec 2009 09:16
You must specify the alttexture in .fpe.

A.K.A djmaster
Slaur3n
16
Years of Service
User Offline
Joined: 16th Sep 2008
Location: Norway
Posted: 27th Dec 2009 18:47
Errant AI: That didnt work

charger bandit: well, that didnt do so much either :/
xplosys
19
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 27th Dec 2009 19:50
Perhaps it's something with fenix mod?

Login to post a reply

Server time is: 2025-06-08 05:43:36
Your offset time is: 2025-06-08 05:43:36