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


Thread Rating:
  • 4 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Work in progress The Grey Knights. Custom Story *Demo*
Khan Offline
Member

Posts: 61
Threads: 12
Joined: Aug 2011
Reputation: 0
#21
RE: The Grey Knights. Custom Story *Demo*

Well, I just need to find out how to make several keys in one map, and then the full Demo is ready for release.
08-17-2011, 01:33 PM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#22
RE: The Grey Knights. Custom Story *Demo*

Please pardon my ignorance, but what is a full demo?

08-17-2011, 02:19 PM
Website Find
Khan Offline
Member

Posts: 61
Threads: 12
Joined: Aug 2011
Reputation: 0
#23
RE: The Grey Knights. Custom Story *Demo*

(08-17-2011, 02:19 PM)Tanshaydar Wrote: Please pardon my ignorance, but what is a full demo?

So far I realeased a TINY little "demo" a few days ago, I decided to release a real, full demo, by full I mean nice, semi long, and showing off the good scares that everyone loves Smile. Stick around, the Full demo release is scheduald for today, I just need to learn how to make another key in the same map, pardon my scripting, Im new to it, lol :p
08-17-2011, 02:38 PM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#24
RE: The Grey Knights. Custom Story *Demo*

What exactly do yo need? A second key to open one door?

08-17-2011, 02:39 PM
Website Find
Khan Offline
Member

Posts: 61
Threads: 12
Joined: Aug 2011
Reputation: 0
#25
RE: The Grey Knights. Custom Story *Demo*

(08-17-2011, 02:39 PM)Tanshaydar Wrote: What exactly do yo need? A second key to open one door?

Ive got a key in the map already, but Im new to this scripting thing, so Im not sure how to set up another key to unlock a different door in the same map, I gave it a shot a few times, trying a few different things, but totaly failed :|
08-17-2011, 02:41 PM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#26
RE: The Grey Knights. Custom Story *Demo*

Simply place another key and script it to another Use Item Callback.
Nice tutorials are here: http://wiki.frictionalgames.com/hpl2/tutorials/start

08-17-2011, 02:43 PM
Website Find
Khan Offline
Member

Posts: 61
Threads: 12
Joined: Aug 2011
Reputation: 0
#27
RE: The Grey Knights. Custom Story *Demo*

Ive hit small snag, Ive got the other key to the point where it almost works, when I use it on the door, it makes the unlock sound and everything, but the door is still locked ;(
08-17-2011, 03:03 PM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#28
RE: The Grey Knights. Custom Story *Demo*

Setswingdoorlocked("door's name", false, true);

That should do in the call back function you wrote.

To be able to make it re-usable for every key-door use item callback, you can make it:

setswingdoorlocked(asEntity, false, true);

You should write the signature functions though, as I wrote here just examples and won't work in actual code as they are.

08-17-2011, 03:21 PM
Website Find
Khan Offline
Member

Posts: 61
Threads: 12
Joined: Aug 2011
Reputation: 0
#29
RE: The Grey Knights. Custom Story *Demo*

KK, Demo is done and out. Enjoy!
08-17-2011, 05:57 PM
Find
Khan Offline
Member

Posts: 61
Threads: 12
Joined: Aug 2011
Reputation: 0
#30
RE: The Grey Knights. Custom Story *Demo*

Working on the next area, this is coming together nicely. Will post screens sometime tommorow.
08-18-2011, 01:31 AM
Find




Users browsing this thread: 4 Guest(s)