GoldenEye: Source Forums

  • November 23, 2024, 05:36:06 pm
  • Welcome, Guest
Advanced search  

News:

Pages: [1]   Go Down

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

0 Members and 1 Guest are viewing this topic.

iveli

  • 00 Newbie
  • 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, 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!
  • Offline Offline
    • 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!
  • Offline Offline
    • 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.
  • Offline Offline
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
Pages: [1]   Go Up