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?
ZurkQyulox Offline
Junior Member

Posts: 7
Threads: 1
Joined: Nov 2013
Reputation: 0
#11
RE: Hammer break window script?

(11-15-2013, 10:57 PM)Romulator Wrote: 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.
Well, it isn't hard to design the room, all i need too do is design a nice room and then place out the script area which the player will be going through to get the key or when the player has gotten the key and is on their way out. Now the hard thing is, how do i script so that the monster will start breaking the door (door_10 for example) when player walks through scriptarea_5? And also it would be pretty awesome if you guys learn me how to put in some effects! Big Grin
11-16-2013, 08:56 AM
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: 1 Guest(s)