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 / Is it possible to spawn a decal when I want to?

Author
Message
Mr Love
13
Years of Service
User Offline
Joined: 9th Jun 2005
Playing: MAFIA 2
Posted: 3rd Jun 2017 07:15 Edited at: 3rd Jun 2017 07:22
In My game I have a control-room and I want it to start blink red on a small spot. The question, is it possible to make the decal visible when I want? I also want an alarm sound at the same time. Is the only way to make the decal transparant?
If I press the action button I want following things to happen: a video will be played, decal shows up on the bigscreen(blinking), alarm sounds, a door unlocks... In that order......

Attachments

Login to view attachments
ncmako
7
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 3rd Jun 2017 13:52 Edited at: 3rd Jun 2017 13:53
Mr Love
Quote: "control-room and I want it to start blink red on a small spot"

You can use the "alttexture" command for that in a script. Two textures, one with red spot
and the other without. Take a look at the "switch2.fpi" script. It uses those commands.
Quote: "is it possible to make the decal visible when I want"

Yes, I use it all the time. For the "Start AI" script ( not the Main AI )
use something like..

This will "activate" the decal to run when triggered. You can then destroy it also when needed?
Quote: " I also want an alarm sound at the same time"

Use "loopsound=" in your Main decal script.
As for the "video" do you mean a full screen ( like a cut scene ) or a video overlay (like on a computer screen or tv ?)
My games never have bugs. They just develop random features..
Lots and lots of random features...
Mr Love
13
Years of Service
User Offline
Joined: 9th Jun 2005
Playing: MAFIA 2
Posted: 5th Jun 2017 00:01
Quote: " do you mean a full screen ( like a cut scene )"

Yep. Is it possible to do? (I mean playing a video fullscreen after pressing a button)


Mr Love
13
Years of Service
User Offline
Joined: 9th Jun 2005
Playing: MAFIA 2
Posted: 5th Jun 2017 11:10
Sorry for sutch a dumb question. Ofcourse You can... (Just Me being to lazy to check out)

Login to post a reply

Server time is: 2019-04-19 01:06:22
Your offset time is: 2019-04-19 01:06:22