z2

I agree. Take me to the spicy page.
It is currently Wed Dec 13, 2017 5:36 am

All times are UTC




Post new topic Reply to topic  [ 60 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject:
PostPosted: Tue Dec 07, 2010 3:00 am 
Offline
1 full minit uv 1 secend mesiges
User avatar

Joined: Thu Apr 24, 2008 4:19 am
Posts: 69
:keen: Weapon Mode
100%
:whole:

_________________
http://zzt.org/?p=database&search=q2k2k
Image


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 09, 2010 6:08 am 
Offline
Level 17 Accordion Thief
User avatar

Joined: Fri Sep 12, 2003 1:41 am
Posts: 1423
Location: Edmonds, WA
q2k2k wrote:
:keen: Weapon Mode
100%
:whole:


Excellent! :keen:


Top
 Profile  
 
PostPosted: Mon Dec 26, 2011 11:13 pm 
Offline
1 full minit uv 1 secend mesiges
User avatar

Joined: Thu Apr 24, 2008 4:19 am
Posts: 69
I'm stumped, I wanted to get cameras into the game with the cardboard box.

I am thinking of making it so, if you were to activate the "cardboard box" using the Shift+? function to set a variable (Currently using '-c'), you would be "cloaked" from the cameras, but how do you make it so when you move a block, you "de-cloak" or clear?

_________________
http://zzt.org/?p=database&search=q2k2k
Image


Top
 Profile  
 
PostPosted: Tue Dec 27, 2011 6:29 am 
Offline
We must invent teleportation!
User avatar

Joined: Mon Jun 19, 2006 11:35 pm
Posts: 718
Location: Idaho, Wisconsin
there's no easy way that i can think of.
you could use an object immediately adjacent to the box and whether it blocked or #if contact to disable box mode, but it would only work once.
you could fill the floors with black fakes and check for empties (using #if any empty; moving boulders erases the fakes) but this only worked once per board. i suppose you could immediately #change the empty into a fake? i don't know.
#if alligned (or however sweeney misspelled it) could disable stealth flag in specific areas (you'd need to use two, though, in case the player changes his mind halfway and decides to turn back.

i hope i'm making some sense.


Top
 Profile  
 
PostPosted: Thu Dec 29, 2011 2:20 am 
Offline
fgsdfs
User avatar

Joined: Wed Mar 12, 2003 5:44 pm
Posts: 2423
Location: :noitacoL
You could use a player clone surrounded by objects to detect movement and toggle the flag.

_________________
*POW* *CLANK* *PING*


Top
 Profile  
 
PostPosted: Thu Dec 29, 2011 6:33 am 
Offline
1 full minit uv 1 secend mesiges
User avatar

Joined: Thu Apr 24, 2008 4:19 am
Posts: 69
That could actually work I completely forgot about it, although I also completely forgot how to code it. I think it involves checking if the clone is blocked then #clear the flag when blocked.

_________________
http://zzt.org/?p=database&search=q2k2k
Image


Top
 Profile  
 
PostPosted: Thu Dec 29, 2011 1:17 pm 
Offline
Level 17 Accordion Thief
User avatar

Joined: Fri Sep 12, 2003 1:41 am
Posts: 1423
Location: Edmonds, WA
What you do is you have the player clone immediately adjacent to four objects:

Code:
.o.
oCo
.o.


Each object has :touch labels. When the player moves, the player clone touches one of the surrounding objects, and the activated object sends a message to the guards or whoever, saying that the player's blown their cover.


Top
 Profile  
 
PostPosted: Fri Jan 13, 2012 3:09 pm 
Offline
1 full minit uv 1 secend mesiges
User avatar

Joined: Thu Apr 24, 2008 4:19 am
Posts: 69
#end
:touch
#if hidinbox clearme
#end
:clearme
#clear hidinbox
#end

_________________
http://zzt.org/?p=database&search=q2k2k
Image


Top
 Profile  
 
PostPosted: Fri Jan 13, 2012 5:36 pm 
Offline
Level 17 Accordion Thief
User avatar

Joined: Fri Sep 12, 2003 1:41 am
Posts: 1423
Location: Edmonds, WA
Or just:

Code:
#end
:touch
#clear hidinbox


If hidinbox is set, this does the right thing. If hidinbox is not set, #clear hidinbox does nothing.


Top
 Profile  
 
PostPosted: Sat Jan 14, 2012 5:53 am 
Offline
1 full minit uv 1 secend mesiges
User avatar

Joined: Thu Apr 24, 2008 4:19 am
Posts: 69
Ah ok, I have never thought about doing it like that, I have always done it that way lol, thanks

_________________
http://zzt.org/?p=database&search=q2k2k
Image


Top
 Profile  
 
PostPosted: Tue Jun 19, 2012 6:16 pm 
Offline
1 full minit uv 1 secend mesiges
User avatar

Joined: Thu Apr 24, 2008 4:19 am
Posts: 69
To everyone, I am not dead, just very busy with work.

Got some free time so I spent it working on cameras.

I have come up with two different cameras which use the wall to check:
The first one will be used when there is no split paths.

The wall will check if it is blocked by camera.
If the wall is blocked it will check if the player is in the box.
Then if all conditions are met, it will check if the player is alligned with the wall.
If alligned, game will end as you have been detected, else go back to beginning.

The second one will be used for split paths and uses bullets.
there will be blocks to set flags if near the camera and clear if away from the camera.

If player is in range, check if wall is blocked by camera.
If blocked, check if player is in a box.
If player is in a box the wall will not shoot, else the wall will continuously shoot until the camera moves.

Since this is in sneaking mode, getting hit by a bullet means game over anyways.

Both cameras will be using player clones to detect if in a box.


Does this look good? Or is there anything I need to improve on this.

_________________
http://zzt.org/?p=database&search=q2k2k
Image


Top
 Profile  
 
PostPosted: Thu Jun 21, 2012 7:38 pm 
Offline
fgsdfs
User avatar

Joined: Wed Mar 12, 2003 5:44 pm
Posts: 2423
Location: :noitacoL
It's hard to tell just based on your descriptions, maybe a screenshot would help. I'm not sure about instant the #endgames. Maybe set the board to reenter when hurt, not sure how to make your cameras work then... maybe you could shoot a player-clone? I've never experimented with player-clones this way, so I don't know if that will work.

_________________
*POW* *CLANK* *PING*


Top
 Profile  
 
PostPosted: Fri Jun 22, 2012 3:58 am 
Offline
1 full minit uv 1 secend mesiges
User avatar

Joined: Thu Apr 24, 2008 4:19 am
Posts: 69
Image

_________________
http://zzt.org/?p=database&search=q2k2k
Image


Top
 Profile  
 
PostPosted: Fri Jun 22, 2012 6:37 pm 
Offline
fgsdfs
User avatar

Joined: Wed Mar 12, 2003 5:44 pm
Posts: 2423
Location: :noitacoL
Looks pretty good! That's the first camera type right? Shooting a player clone, of course, does not work. The only way I can think of to hurt the player autonomously would be to have a time limit on the board, then have an object run the clock out in a loop (iirc you have to #give time to decrement the clock).

_________________
*POW* *CLANK* *PING*


Top
 Profile  
 
PostPosted: Fri Jun 22, 2012 8:35 pm 
Offline
1 full minit uv 1 secend mesiges
User avatar

Joined: Thu Apr 24, 2008 4:19 am
Posts: 69
Yep, its the first camera type :)

When the game starts, health is set to 1 in sneaking mode because in the game mode, getting caught means you lose.

The timers are used when the timed mode is set in the main menu when you have to beat the level at a certain time limit.

Of course the actual board won't look like this those nasty yellow borders are nasty.

_________________
http://zzt.org/?p=database&search=q2k2k
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 60 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group