GoldenEye: Source Forums

  • Welcome, Guest

News:

Author Topic: Is there a way to reduce the health to 1%?  (Read 12735 times)

iveli

  • 00 Newbie
  • Posts: 2
  • Reputation Power: 0
  • iveli has no influence.
Is there a way to reduce the health to 1%?
« 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.
Logged

kraid

  • Game Artist
  • 007
  • *****
  • Posts: 1,984
  • Reputation Power: 191
  • kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!kraid is awe-inspiring!
    • my Homepage
Re: Is there a way to reduce the health to 1%?
« Reply #1 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.
Logged

killermonkey

  • GES Programmer
  • Retired Lead Developer
  • GE:S Fanatic
  • *
  • Posts: 5,473
  • Reputation Power: 346
  • killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!
    • DroidMonkey Apps
Re: Is there a way to reduce the health to 1%?
« Reply #2 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.
Logged

iveli

  • 00 Newbie
  • Posts: 2
  • Reputation Power: 0
  • iveli has no influence.
Re: Is there a way to reduce the health to 1%?
« Reply #3 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.
Logged