Scripts / Cold Script

Author
Message
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 8th Feb 2016 23:25
Anyone have one? also a deployable fire/heater(for sci-fi) I'm looking at the hunger scripts but if anyone has plz let me know thxs
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 10th Feb 2016 12:48 Edited at: 10th Feb 2016 17:32
see your PM
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, AMD R9 200 series , directx 11
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 10th Feb 2016 15:44 Edited at: 10th Feb 2016 16:57
Cheers smallg will try that out tonight
Edit : ok ive managed to edit the LUA to now display body temperature for the cold side will reverse this for hot planets. See Pic and I now have the heat loss timer at 4 mins and health loss 1min so 5 mins in total on the planet surface until cover or a deployable camp kit is needed so that's cool you could then judge how many kits you'd need to carry ( many boffins died to test this script)

Attachments

Login to view attachments
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 10th Feb 2016 17:32
fixed, sorry
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, AMD R9 200 series , directx 11
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 10th Feb 2016 18:27 Edited at: 10th Feb 2016 19:20
happens m8 ty ive also tried too put together a heat lua. (saw someone requesting this for a desert game and I have volcanic areas ) ive got the panel working but carnt seem to get the timer to go up instead of down so ive proper messed it up lol can you see where I'm going wrong? Edit : lol that's a wicked script smallg temp still goes down but very cool i'll try to have a look see why its not effecting the temp loss (pic ) *runs around looking for more firewood* would I need to change player_warmth to cold_level to match the cold script for it to update correctly?

Attachments

Login to view attachments
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 10th Feb 2016 19:42 Edited at: 10th Feb 2016 19:44


and yes you need to change
player_warmth = player_warmth + 1
to
current_heat = current_heat + 1
or whatever you have the variable set as in your cold script (you gave the heat one which doesnt technically need a fire )
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, AMD R9 200 series , directx 11
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 10th Feb 2016 20:23 Edited at: 10th Feb 2016 20:25
well if nothing else ive learned how to arrange the menus with LUA tonight as in the pic maybe I can use this to make a HUD lol no smallg I wouldn't maybe bottles of water just thought while I was at cold may as well look at heat thanks tho m8 reading though your scripts and adjusting them has helped me pick up quite abit tonight

Attachments

Login to view attachments
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 10th Feb 2016 20:57
Nope got brain freeze lol ive tried cold_level, cold, etc etc and still don't warm up near the fire what am I missing m8 apart from my brain? lol heres the cold script

Attachments

Login to view attachments
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 10th Feb 2016 22:27
you cant affect local variables with other scripts so i think you just need to remove the 'local' on current_cold.


cant test it though
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, AMD R9 200 series , directx 11
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 10th Feb 2016 22:51
np i'll have np testing them cheers smallg your a star
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 10th Feb 2016 23:25 Edited at: 10th Feb 2016 23:27
hmm didn't work I wonder instead of healing the player gradually (as he gets warmer) is there a way to just reset the player stats by just activating the camp kit? maybe easier or even reset the timer? that way I suppose he could use medipacks to heal up
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 11th Feb 2016 10:34


life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, AMD R9 200 series , directx 11
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 11th Feb 2016 11:00 Edited at: 11th Feb 2016 12:42
yes!!! workies righty off to put this into the maps cheers smallg had to use the older cold_level.lua with the new deploy_fire.lua but its working!!! now I need to space the large field base kit as I carnt get in lol
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 12th Feb 2016 08:37
having problems with picking this up on bigger levels as for some odd reason its bugging out and picking up random scenery in stead from the other side of the map is there any way to start with the camp kit? = then it would already be picked up and might solve the bug?
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 12th Feb 2016 12:41
i expect it's the light because you can't move lights so you probably didnt set 1?
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, AMD R9 200 series , directx 11
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 12th Feb 2016 13:05 Edited at: 12th Feb 2016 13:19
ahh wasn't using the lights now smallg was too much messing about just the kit without lights seemed simpler so maybe because I didn't add the light? Anyways thx for the updated file will test that in a bit EDIT: spot on m8 works perfectly TY will get it in game tonight see how it works and how many times I die lol

Login to post a reply

Server time is: 2024-05-03 14:30:06
Your offset time is: 2024-05-03 14:30:06