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 / Changing texture during the game

Author
Message
sgrunt
17
Years of Service
User Offline
Joined: 13th Feb 2007
Location:
Posted: 1st Apr 2007 12:37
Hi, there is a way to change a character texture during the game?
I have a friendly character.
After some seconds, it turns evil, and so it will run an attack script, and i want to change texture in an evil one.
After other time, it returns friendly.
sgrunt
17
Years of Service
User Offline
Joined: 13th Feb 2007
Location:
Posted: 1st Apr 2007 13:01 Edited at: 1st Apr 2007 13:05
Partially solved:
with this script i've made, the character change texture when player is really near.
The problem is that the alt texture become..all white.

note: the texture is usually working, i've used it other times

;Artificial Intelligence Script

;Header

desc = alt texture

;Triggers

:state=0:alttexture=0
:state=0,plrdistwithin=60:settarget,state=2
:state=2:alttexture=1
:state2,plrdistfurther=60:settarget,state=0


;End of Script
Franco
17
Years of Service
User Offline
Joined: 16th Mar 2007
Location: Spain
Posted: 5th Apr 2007 18:04
What a script idea more strange!!

Login to post a reply

Server time is: 2024-11-23 16:05:44
Your offset time is: 2024-11-23 16:05:44