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
Hammer break window script?
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#10
RE: Hammer break window script?

Well, firstly, you can't learn how to do things if I just give you a/the script. You only learn when you try it.

And you cant just simply script these, you need to design your map to be suited for the scripting to work. Making a pitfall trap (a hole in the ground outside) would be more difficult to make than in indoor one, but would probably be kind of silly unless really incorporated well. After seeing Ash (Pokemon) fall into that many, it becomes clichè.

Think about how something happens if something occurs.

Example
> Player needs to pick up the key
> Player walks over towards the key
   > Player hears noise of enemy
     > Player becomes scared
      - Trigger a insanity event
      - Use visual effects
      - Slow movement for a brief moment
      - Return to normal with slight sanity loss
   > Noise of enemy has ended
     > Player continues on
      - Enemy gets louder
      - Player can realise danger
        - Lower Sanity slightly
        - Cue effects and slow movement as before
     > Enemy begins to bang on a door in the other room
        - Player feels potential to hurry
        - Start breathing sound effects
   > Player picks up key
   [continue code]

That psuedocode is an example of what you should do. Think about what you mainly want, then add to the immersion.

Discord: Romulator#0001
[Image: 3f6f01a904.png]
11-15-2013, 10:57 PM
Find


Messages In This Thread
Hammer break window script? - by ZurkQyulox - 11-14-2013, 05:36 PM
RE: Hammer break window script? - by The chaser - 11-14-2013, 06:55 PM
RE: Hammer break window script? - by ZurkQyulox - 11-14-2013, 07:49 PM
RE: Hammer break window script? - by ZurkQyulox - 11-15-2013, 01:13 PM
RE: Hammer break window script? - by daortir - 11-15-2013, 01:46 PM
RE: Hammer break window script? - by Romulator - 11-15-2013, 02:05 PM
RE: Hammer break window script? - by ZurkQyulox - 11-15-2013, 03:39 PM
RE: Hammer break window script? - by The chaser - 11-14-2013, 09:04 PM
RE: Hammer break window script? - by Romulator - 11-15-2013, 10:57 PM
RE: Hammer break window script? - by ZurkQyulox - 11-16-2013, 08:56 AM
RE: Hammer break window script? - by Romulator - 11-16-2013, 11:13 AM
RE: Hammer break window script? - by ZurkQyulox - 11-16-2013, 01:50 PM



Users browsing this thread: 2 Guest(s)