TuPP3,
Greetings. I'm happy to report that your scripting idea was a good one. I've modified the .fpi
Artificial Intelligence Script
;Original Script By TuPP3
;Modified Script By Seth Black
;Header
desc = Changes Texture To Alternate & Back To Normal
;This script will toggle between the television's main texture and
;alternate texture. It gives a weak illusion of an animated television
;screen.
;Assign this script as the television's main script, and set static
;mode to OFF. Physics should be turned ON. Immobile
must be set to YES.
;Triggers
:state=0:state=1,timerstart
:state=1,timergreater=245:alttexture=1,state=2,timerstart
:state=2,timergreater=260:alttexture=0,state=1
;End of Script
and created an .fpe
;Entity Spec
;Header
desc = Television On
;AI
aiinit = appear1.fpi
aimain = default.fpi
aidestroy = disappear1.fpi
;Spawn
spawnmax = 0
spawndelay = 0
spawnqty = 0
;Orientation
model = Light2Television.X
offx = 0
offy = 0
offz = 0
rotx = 0
roty = 0
rotz = 0
materialindex = 3
defaultstatic = 1
forwardfacing = 1
defaultheight = 75
;Visualinfo
textured = Television On Texture.tga
texturealtd = Tele Alternate.tga
effect = effectbankilluminationentilluminationent.fx
;Identity Details
strength = 0
;Animationinfo
animmax = 0
anim0 = 0,0
It makes a fairly weak illusion of an animated newscaster. I played a bit with the timer delays to get it in the ballpark of normal speak speed.
I've attached a .zip file below, that has
Television On.fpe,
Television.fpi, and
Tele Alternate.dds in it.
Thanks,
Seth Black
Quote: "EDIT UPDATE: Two things that you must be aware of:
1. Make sure that IMMOBILE is set to YES, in the entity's properties, when using Television.fpi.
2. The Television.fpi will not function with lightmapping. The texture will default to just solid black.
Toggling between the two images must make it impossible for FPSC to calculate the lightmapping."
"...I'm sorry, could you repeat your question a little louder? I'm a trifle deaf in this ear."
- Willie Wonka