Forum

> > Stranded II > General > How to breath underwater
ForenübersichtStranded II-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch How to breath underwater

11 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt How to breath underwater

superckool
User Off Offline

Zitieren
I'm in the middle of making a scuba gear item, but how do I set it so that the player can breath underwater, can someone help me? This is very frustrating.

alt Re: How to breath underwater

DC
Admin Off Offline

Zitieren
use the script command s2 cmd air

and/or open game.inf and change the line
dive_time=20000
(but this one is probably only an option when making a mod)

alt Re: How to breath underwater

DC
Admin Off Offline

Zitieren
uhm.. I guess you did it wrong. too bad that you didn't show your script because it would make things much easier...

there's actually not much you can do wrong. you only need to execute that single command properly with a correct parameter.
1
air 10000;
for example will give you air for 10,000 milliseconds. that are 10 seconds (1,000 ms = 1 second)

alt Re: How to breath underwater

superckool
User Off Offline

Zitieren
I know what I did wrong... I set it to -20000 on accident, its fixed now, also I don't think this needs a new topic, but is there a way to make the player fall slowly throgh the air, like using a parachute?

alt Re: How to breath underwater

DC
Admin Off Offline

Zitieren
you could move the player upwards a bit while he is falling. so it looks like he is falling slower. this might lead to a quite jerky and unclean result though...

alt Re: How to breath underwater

Vectarrio
User Off Offline

Zitieren
Pupp3t hat geschrieben
You cant change the player's speed with a script ingame rite?

You can add state "speed" - it makes speed faster.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtStranded II-ÜbersichtForenübersicht