Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
Sign in to follow this  
Enigma

[XP]Realistic temperature script

Recommended Posts

Basically this script will do 3 things

in terms of the eventing

take a certain variable say variable(Body Heat)

and based on the terrain tag preferable 8 and 9 it will edit that varaible

if its 8 meaning its very cold, the varaible will decrease by 1 either every 2-3 seconds or every step until it reaches 50, when 50 is reached the State:Hypothermia is activated, when you are off the terrain tag, your temperature variable will increase till 0, but you need some kind of potion to heal the hypothermia

as for 9 which would be heat the varaible would increase by 1 every 2-3 seconds or step till it reach 50, when reached the state hyperthermia will be inflicted, and temperature will decrease if your off the terrain tag

also the varaible will control a gauge which is grey or silver at zero but becomes reddish and grows as temperature goes up but then gets bluish and shrinks as temperature goes down, and this gauge should be able to be turned of with a switch.

 

I will try to learn scripting or attempt to event this, but honestly I am requesting not only a script but advice on how to make a script like this so I won't have to ask as much for things

I hate asking for things like scripts

Share this post


Link to post
Share on other sites

Pretty sweet. That also gives me an idea. Heat sensor goggles! To what ever the variable, it will change the color of the chracter. The character would be turned orange, red, blue, a bit of purple, yellow, and such. It's briliant. I'll get started on the evnt :P

Share this post


Link to post
Share on other sites
Pretty sweet. That also gives me an idea. Heat sensor goggles! To what ever the variable, it will change the color of the chracter. The character would be turned orange, red, blue, a bit of purple, yellow, and such. It's briliant. I'll get started on the evnt :P

I can event this as well and wel compare,

I realized that you can set the varaible to terrain tag cause I was explorin a bit, this means I can make a parallel process, the hard thing is eventing Gauges is very ineffective, trust me I know so asimple gauge script plus eventing would work well

anyone know a gauge script that shows things based on a varaible?

Share this post


Link to post
Share on other sites

Hmmmm. I'll do some digging on the script. Good news. I did the Goggles thing. It worked like a charm. Unfortunately in my game there's a time system so I'll just configure the goggles to the switches of the time so that way if I want to tint the screen to how it was, it'll be just fine.

I also made my character in a heat sensor mode too. It's not perfect but here.

 

2ihvxq9.jpg

 

.:EDIT:.

The script.

 

You can fill the gauge with an item or variable.

Share this post


Link to post
Share on other sites
Hmmmm. I'll do some digging on the script. Good news. I did the Goggles thing. It worked like a charm. Unfortunately in my game there's a time system so I'll just configure the goggles to the switches of the time so that way if I want to tint the screen to how it was, it'll be just fine.

I also made my character in a heat sensor mode too. It's not perfect but here.

 

2ihvxq9.jpg

 

.:EDIT:.

The script.

 

You can fill the gauge with an item or variable.

crap, I forgot to add the tag i need it for xp >_<

maybe I can convert it or something

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...