GoldenEye: Source Forums

  • September 17, 2021, 02:20:23 am
  • Welcome, Guest
Advanced search  

News:

Pages: [1]   Go Down

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

0 Members and 1 Guest are viewing this topic.

iveli

  • Agent
  • *
  • Posts: 2
  • Reputation Power: 0
  • iveli has no influence.
  • Offline Offline
Is there a way to reduce the health to 1%?
« on: August 21, 2016, 01:38:00 am »

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,981
  • Reputation Power: 170
  • 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!
  • Offline Offline
    • my Homepage
Re: Is there a way to reduce the health to 1%?
« Reply #1 on: August 21, 2016, 02:22:35 am »

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,472
  • Reputation Power: 345
  • 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!
  • Offline Offline
    • DroidMonkey Apps
Re: Is there a way to reduce the health to 1%?
« Reply #2 on: August 21, 2016, 05:19:43 am »

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

  • Agent
  • *
  • Posts: 2
  • Reputation Power: 0
  • iveli has no influence.
  • Offline Offline
Re: Is there a way to reduce the health to 1%?
« Reply #3 on: August 21, 2016, 08:00:51 am »

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
Pages: [1]   Go Up