Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Loading Screen text
Post: RE: Loading Screen text
(12-15-2011, 09:02 AM)palistov Wrote: Yes. I've done it before in a test map. Use a local variable to track which door the player used. Then use that information to select which loading text to use.... |
|
teddan50 |
Development Support
|
2 |
2,894 |
12-15-2011, 10:55 AM |
|
|
Thread: Loading Screen text
Post: Loading Screen text
Hello,
I wondered if it is possible to have different loading screen texts for different doors in a map?
What I mean by that is if you have a map with 2 different level doors, can you make it so whe... |
|
teddan50 |
Development Support
|
2 |
2,894 |
12-15-2011, 01:48 AM |
|
|
Thread: Creating A Lever Puzzle
Post: RE: Creating A Lever Puzzle
(12-14-2011, 12:23 AM)nemesis567 Wrote: This is the script. Note that you need to change the if conditions so only the levers you want are up and the others down or neutral.(1 up, -1 down, 0 neutral... |
|
teddan50 |
Development Support
|
25 |
26,122 |
12-14-2011, 12:48 AM |
|
|
Thread: Creating A Lever Puzzle
Post: RE: Creating A Lever Puzzle
(12-13-2011, 10:45 PM)nemesis567 Wrote: The levers should lock into the top or bottom position as you use them. They must all be in their top position for the script to work.
That was what I thoug... |
|
teddan50 |
Development Support
|
25 |
26,122 |
12-13-2011, 11:32 PM |
|
|
Thread: Creating A Lever Puzzle
Post: RE: Creating A Lever Puzzle
(12-13-2011, 09:28 PM)nemesis567 Wrote: The code I last posted should call PerformLeverTaskCompleted when both lever 1, 3, 5 and 8 are turned up(or down depending on the orientation). I don't exactl... |
|
teddan50 |
Development Support
|
25 |
26,122 |
12-13-2011, 10:31 PM |
|
|
Thread: Creating A Lever Puzzle
Post: RE: Creating A Lever Puzzle
(12-13-2011, 09:12 PM)nemesis567 Wrote: Replace that with this:
PHP Code:void CheckLeverStates() { if (GetLocalVarInt("lever_1") == 1 && GetLocalVar... |
|
teddan50 |
Development Support
|
25 |
26,122 |
12-13-2011, 09:25 PM |
|
|
Thread: Creating A Lever Puzzle
Post: RE: Creating A Lever Puzzle
Ok, now the door opens. But I want it to open when all 4 levers all pulled...
It must be this part of the script that is wrong:
void CheckLeverStates()
{
if (GetLocalVarInt("lever_1") == 0
&&... |
|
teddan50 |
Development Support
|
25 |
26,122 |
12-13-2011, 09:03 PM |
|
|
Thread: Creating A Lever Puzzle
Post: RE: Creating A Lever Puzzle
(12-13-2011, 04:17 PM)nemesis567 Wrote: Set up a development environment like described in here:
http://wiki.frictionalgames.com/hpl2/amn...evenvguide
Note: Make sure that you are using the foll... |
|
teddan50 |
Development Support
|
25 |
26,122 |
12-13-2011, 08:07 PM |
|
|
Thread: Creating A Lever Puzzle
Post: RE: Creating A Lever Puzzle
(12-12-2011, 10:17 PM)nemesis567 Wrote: I suppose you're talking about this part of your script:
PHP Code:void PerformLeverTaskCompleted() { SetSwingDoorLocked("door1", false,&... |
|
teddan50 |
Development Support
|
25 |
26,122 |
12-13-2011, 09:14 AM |
|
|
Thread: Scripts Recollection
Post: RE: Scripts Recollection
(04-18-2011, 05:42 PM)nkmol Wrote: i'm trying to use the moveable_book, but it seems it doesn't work as a normal lever :S
i used this script :
Code:void OnStart()
{
SetEntityConnectionStateChang... |
|
teddan50 |
Development Articles
|
115 |
136,679 |
12-12-2011, 10:40 PM |
|
|
Thread: Creating A Lever Puzzle
Post: RE: Creating A Lever Puzzle
(12-12-2011, 09:12 PM)nemesis567 Wrote: You're not supposed to do this:
PHP Code:void StoreCheckLeverState(string &in entity, int state) { SetLocalVarInt("lev... |
|
teddan50 |
Development Support
|
25 |
26,122 |
12-12-2011, 10:01 PM |
|
|
Thread: Creating A Lever Puzzle
Post: RE: Creating A Lever Puzzle
My script does for some reason don't work. I have setted all of the levers on stuck in max and InteractionDisablesStuck, so when I have pulled the right levers they are in the wanted positions, but st... |
|
teddan50 |
Development Support
|
25 |
26,122 |
12-12-2011, 08:58 PM |
|
|
Thread: Exploading barrel
Post: RE: Exploading barrel
(12-10-2011, 11:09 AM)Your Computer Wrote: (12-10-2011, 09:59 AM)teddan50 Wrote: I think that I have done so the callback is being removed, it works when I don't leave the map, but when I reenter ... |
|
teddan50 |
Development Support
|
7 |
6,528 |
12-10-2011, 05:15 PM |
|
|
Thread: Exploading barrel
Post: RE: Exploading barrel
(12-10-2011, 03:06 AM)Your Computer Wrote: (12-09-2011, 11:00 PM)teddan50 Wrote: void Barrelscare(string &in asParent , string &in asChild , int alState)
{
SetEntityActive("barrel01_piec... |
|
teddan50 |
Development Support
|
7 |
6,528 |
12-10-2011, 09:59 AM |
|
|
Thread: Exploading barrel
Post: Exploading barrel
Hello,
I am currently trying to make a script where a barrel suddenly will explode and turn into pieces.
This is my script:
void OnEnter()
{
AddEntityCollideCallback("Player", "ScriptArea_1", "Barr... |
|
teddan50 |
Development Support
|
7 |
6,528 |
12-09-2011, 11:00 PM |