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 Product Chat / animated Vertical Decals

Author
Message
Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 5th Feb 2008 17:12 Edited at: 5th Feb 2008 17:16
How do I achieve an animated decal that's vertical (say on the wall) instead of flat on a surface? Say I wanted the lava decal to look like it's running down the walls, how?

I've tried rotating the decal in FPSC, I've also tried changing the orientation of the decal in a script:

;Artificial Intelligence Script
; 0-once face player
; 1-once keep angle
; 2-loop face player
; 3-loop keep angle
; 4-once face up
; 5-loop face up
; 6-character-spot-decal (at end of entity characters gun if available)

;Header
desc = Runs Decal Loop

;Triggers
:state=0:rundecal=3

;End of Script

I can get it to face the player vertically, but only if it rotates to face the player, which I don't want, I want it to stay put in a vertical position.

If anyone knows a step-by-step way it would be great to include it in my guide!

rolfy
18
Years of Service
User Offline
Joined: 23rd Jun 2006
Location:
Posted: 5th Feb 2008 17:43 Edited at: 5th Feb 2008 17:49
Use the decalfixed.fpi or rundecal=3 and rotate the decal in the editor to suit.
I would use a different .x reference model for this so you can see the orientation of the decal say a plane or box.

You seem to be doing it correctly but may not be rotating it in editor,if you just apply the fixed script the decal will lay horizontal.


Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 5th Feb 2008 17:58
Quote: "Use the decalfixed.fpi or rundecal=3 and rotate the decal in the editor to suit."


I did both of these but no matter what is still comes out horizontal (like on the floor). You couldn't send an .fpm file that works could you?

Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 5th Feb 2008 18:09
GOT IT!! I was rotating the green arrows vertically, it should be the red arrows. Something to put in my guide I think.

Login to post a reply

Server time is: 2024-11-27 13:52:59
Your offset time is: 2024-11-27 13:52:59