GoldenEye: Source Forums

Debriefing => Questions, Help, & How To's => Topic started by: iveli on August 21, 2016, 12:38:00 pm

Title: Is there a way to reduce the health to 1%?
Post by: iveli on August 21, 2016, 12:38:00 pm
I would like to create a YOLT on my own server with one hit kills. On the N64 we used to play this way by setting the health all the way down and picking YOLT as a game mode.
Title: Re: Is there a way to reduce the health to 1%?
Post by: kraid on August 21, 2016, 01:22:35 pm
Would be possible by writing your own gamemode based on LtK and YOLT, i'd say.

You only LtK Twice.

Ofc. this requires some knowledge in phyton scripting.
Title: Re: Is there a way to reduce the health to 1%?
Post by: killermonkey on August 21, 2016, 04:19:43 pm
https://github.com/goldeneye-source/ges-python/blob/master/ges/GamePlay/LTK.py#L56

You want to add line 56 and 57 to the OnLoadGameplay function of YOLT.py

The amount should be 1000 to ensure instant kill.
Title: Re: Is there a way to reduce the health to 1%?
Post by: iveli on August 21, 2016, 07:00:51 pm
https://github.com/goldeneye-source/ges-python/blob/master/ges/GamePlay/LTK.py#L56

You want to add line 56 and 57 to the OnLoadGameplay function of YOLT.py

The amount should be 1000 to ensure instant kill.

Thanks. i'll look into it.