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.

Author
Message
Key Glow
17
Years of Service
User Offline
Joined: 5th Mar 2007
Location:
Posted: 5th Mar 2007 19:43
I have been working on a game project and i need a key to glow like the ammo glow. I have tried to create a script to make a key glow but whatever i do i cannot get the decal to be under the key. The key floats and rotates but there is no decal under the key. Here is my code, if somebody can change it to make it work please do. Cheers, Jordan.

;Artificial Intelligence Script

;Header

desc = Key Glowing Pickup

;Triggers

:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\clubkey.tga,hudname=keyprompt,hudhide=1,hudmake=display,state=10
:state=10:rundecal=5,spinrate=4,floatrate=10
:state=10,plrdistwithin=40:state=1,playertake,coloff,rundecal=-1,plrsound=audiobank\items\ping.wav,hudshow=keyprompt,hudfadeout=keyprompt
;state=2:state=3,playerdrop,colon,plrsound=audiobank\items\pickup.wav
:state=3,plrdistfurther=65:state=10

;End of Script
tyrano man
18
Years of Service
User Offline
Joined: 26th Oct 2006
Location: Battle City - Kalspher :)
Posted: 5th Mar 2007 21:35 Edited at: 5th Mar 2007 22:31
I made one before

Here ya go


Run decal 5 is to have it on the floor; i don't know where you got -1 from.

Happy Scripting
Tyrano

Yay I got FF XII, and it totally rocks! Love the new battle system
Key Glow
17
Years of Service
User Offline
Joined: 5th Mar 2007
Location:
Posted: 8th Mar 2007 21:35
Cheers mate thanks it worked gr8. Cheers Buddy.
Key Glow
17
Years of Service
User Offline
Joined: 5th Mar 2007
Location:
Posted: 8th Mar 2007 22:07
Actually it doesnt work, it worked for the first key but now it doesnt work, I will try re-installin FPS Creator. The problem is that the key is spinning and floating but when it is floating it going up then going down through the floor and this loops with no decal underneath. I will try and make a vid. Cheers anyway

Login to post a reply

Server time is: 2024-11-23 12:44:47
Your offset time is: 2024-11-23 12:44:47