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
P_Tut - Valve & Slide Door - Example
HumiliatioN Offline
Posting Freak

Posts: 1,179
Threads: 64
Joined: Dec 2010
Reputation: 18
#2
RE: P_Tut - Valve & Slide Door - Example

(07-10-2011, 03:30 PM)plantum Wrote: Hello, i decided to make some help for ppl. Angel
Its really hard to create good map. I know its difficult to understand how things work, so i will give examples of good working stuff.

Plantum_Tutorial(P_Tut)
Lesson 1. Valve and Slide Door.
Doors that can be opened/closed with rotating wheel, and also
a lever for fast-close that doors.

http://plantum.w.interii.pl/download/P_T...deDoor.zip
This map can be opened on both: HPL Editor and Amnesia

Known Appearances(of Valve-Door Thing): Justine DLC - 03_dungeon map

I'm really sorry for my bad English.Confused

I'm planning do release other lessons soon, like: Working Rope Puzzle, Lever Opening Doors For !Time!, and more....

If you have any question OR tip about valve-door connection pls write here. This Topic is created to help.Exclamation

Okay if you are here to help can you solve this?

Why this "you only live once.ogg" track never stops playing when i reach next level.

Script:

void MusicControl2(string &in asParent, string &in asChild, int alState)
{
StopMusic(4, 1);
PlayMusic("You Only Live Once.ogg", false, 3, 3, 10, true);
}

void MusicControl(string &in asParent, string &in asChild, int alState)
{
if(alState == 1) PlayMusic("Requim For A Dream.ogg", true, 1.0f, 0, 0, true);
else StopMusic(4, 1);
}

What i am doing wrong?

“Life is a game, play it”
(This post was last modified: 07-10-2011, 03:44 PM by HumiliatioN.)
07-10-2011, 03:44 PM
Find


Messages In This Thread
P_Tut - Valve & Slide Door - Example - by plantum - 07-10-2011, 03:30 PM
RE: P_Tut - Valve & Slide Door - Example - by HumiliatioN - 07-10-2011, 03:44 PM



Users browsing this thread: 1 Guest(s)