Scripts / Idea: Decal (64f) cold breath (breathing Player)

Author
Message
Devcore35
GameGuru TGC Backer
9
Years of Service
User Offline
Joined: 5th Aug 2014
Location: Rouen (76) - France
Posted: 19th Oct 2015 14:03
Hello everyone !

I had the idea to design a decal Player 64 realistic frames that causes breathing smoke at the bottom of the screen to give the impression of a cold temperature when the player breathes (see image room attached).

The only problem is I have no idea of LUA script to associate with this Decal that the remains in the axis of the player's camera and above the bottom of the screen (including when the player skips or down!)

If anyone is interested in this idea thank you to let me know where I can design the Decal and prepare it all

Thank you !
AlgoStep Company - Software development and 3D video games since 2006
-----------
If it's in the game, it's in the game !

Attachments

Login to view attachments
PM
3com
9
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 19th Oct 2015 16:58
If you remember your rain decal script following to the player, perhaps you can use it here.

3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

PM
Devcore35
GameGuru TGC Backer
9
Years of Service
User Offline
Joined: 5th Aug 2014
Location: Rouen (76) - France
Posted: 22nd Oct 2015 13:33
Hello 3com

Indeed I tried to use this script. The worry is that the decal remains at a precise height; if the player drop the camera inevitably we see the Decal.
AlgoStep Company - Software development and 3D video games since 2006
-----------
If it's in the game, it's in the game !
PM
Corno_1
GameGuru Tool Maker
13
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 22nd Oct 2015 22:11 Edited at: 22nd Oct 2015 22:14
Quote: "player drop the camera"

I am not sure what you mean with that? A hill or crouch or what else?

But I am sure this is possible. Give me a decal and I will do it

send me a pm and we could discuss it
My dream is to develope games, which makes fun when I create it and fun when other people play it.
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 22nd Oct 2015 22:44
im pretty sure your rain script already adjusts for player height so i guess the issue is if you looked up or down (the x angle)?
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, AMD R9 200 series , directx 11
rolfy
17
Years of Service
User Offline
Joined: 23rd Jun 2006
Location:
Posted: 26th Oct 2015 15:08
Instead of a decal use hud images, you won't have to worry about axis.

Login to post a reply

Server time is: 2024-05-05 02:44:39
Your offset time is: 2024-05-05 02:44:39