Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Several Script Questions
Apjjm Offline
Is easy to say

Posts: 496
Threads: 18
Joined: Apr 2011
Reputation: 52
#5
RE: Several Script Questions

(07-23-2012, 10:32 PM)Kreekakon Wrote:
(07-23-2012, 10:27 PM)Apjjm Wrote: Not really. But there are some hacks you can use. You can sacrifice movement / jumping / crouching / lantern for trapping key presses, as well as interaction in certain situations. I've also heard that in dev-mode the "h" key hurts you, and you could abuse this too.
Well, I tried H like you said, and it does hurt you as well as lowering your sanity. But still, how could I abuse this? Aren't the functions of the keys locked inside the engine's source code?

Sadly, yes. You could have a timer trigging quickly (every 1/60th of a second) which checks for sanity and health damage of the amount the "H" key deals - you can then just restore the health and sanity and fire whatever event you wanted to fire (It is unlikely that some combination of events deals both health and sanity damage similar to the H key could occur). Hacks like this really depend on what you are trying to achieve though.
(This post was last modified: 07-23-2012, 10:43 PM by Apjjm.)
07-23-2012, 10:42 PM
Find


Messages In This Thread
Several Script Questions - by Kreekakon - 07-23-2012, 07:30 PM
RE: Several Script Questions - by JMFStorm - 07-23-2012, 07:54 PM
RE: Several Script Questions - by Apjjm - 07-23-2012, 10:27 PM
RE: Several Script Questions - by Kreekakon - 07-23-2012, 10:32 PM
RE: Several Script Questions - by Apjjm - 07-23-2012, 10:42 PM
RE: Several Script Questions - by Kreekakon - 07-23-2012, 10:48 PM
RE: Several Script Questions - by Your Computer - 07-24-2012, 01:41 AM



Users browsing this thread: 1 Guest(s)