DieHard Wolfers Forum Index DieHard Wolfers
A Wolfenstein 3d Fan Community


  Hosted by: MCS & Areyep.com - Designed by: BrotherTank

Original Yahoo Forum - Die Hard Archives

AReyeP HomepageAreyep Homepage DieHard Wolfenstein BunkerDieHard Wolfenstein Bunker Log inLog in RegisterRegister Banlist FAQFAQ Search ForumsSearch

  Username:    Password:      Remember me       

Trapdoors...Are they possible?
Page 1 of 1
DieHard Wolfers Forum Index -> Code Crackers View Previous TopicRefresh this PageAdd Topic to your Browser FavoritesSearch ForumsPrint this TopicE-mail TopicGoto Page BottomView Next Topic
Post new topicReply to topic
Author Message
Guest




Last Visit:





PostPosted: Tue Feb 01, 2005 4:24 pm
   Subject: Trapdoors...Are they possible?
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Next PostGoto Bottom of Posts

I was curious whether it would be possible to create objects that, after stepping on them, can no longer be stepped on? You wouldn't have to make the player die when they step, it would just have to be a trigger that would make sure they aren't able to return on that square anymore? I'm doubting if it would work, but I know you guys are smart and can find the answer better than I could.
KyleRTCW
DieHard Officer
DieHard Officer


Joined: 30 Jul 2003
Last Visit: 10 Aug 2019

Topics: 45
Posts: 510
Location: Ohio
usa.gif

PostPosted: Tue Feb 01, 2005 5:10 pm
   Subject: Re: Trapdoors...Are they possible?
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Tell if I'm wrong but couldn't you just assign a varible to a pickup object that turns a on a varible to make the check functions make it block object? Sort of like the Block Guard Code Adam posted some time ago.
I have no clue on how to do it though Sad

_________________
Steam: http://steamcommunity.com/id/stormx312
Guest




Last Visit:





PostPosted: Wed Feb 02, 2005 11:14 am
   Subject: Re: Trapdoors...Are they possible?
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

I figured it would be possible...I just have no coding experience whatsoever. Any help on coding would be appreciated.
jamez
I am Death Incarnate
I am Death Incarnate


Joined: 16 Mar 2003
Last Visit: 17 Jan 2019

Topics: 13
Posts: 186
Location: Yorkshire, UK
uk.gif

PostPosted: Fri Feb 18, 2005 8:22 pm
   Subject: Re: Trapdoors...Are they possible?
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

You could have an image of a hole, when you hit it,.. fade out move forward with clipping fade in. Then you'd move through a wall to a secret room(making the person think that they'd fell down a hole).

Totally my idea! Ok Stole it from Kuki Razz

_________________
~ James
andy3012
DieHard Guard
DieHard Guard


Joined: 02 Jul 2004
Last Visit: 15 Feb 2008

Topics: 29
Posts: 292
Location: England
uk.gif

PostPosted: Sat Feb 19, 2005 10:15 am
   Subject: Re: Trapdoors...Are they possible?
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Thats not really a trap door, i though a trap door was something you stand on, and you die, or at least go onto another level.
BrotherTank
Forum Administrator
<B>Forum Administrator</B>


Joined: 01 Mar 2003
Last Visit: 13 Sep 2017

Topics: 153
Posts: 2248
Location: Ontario
canada.gif

PostPosted: Sun Feb 20, 2005 3:39 pm
   Subject: Re: Trapdoors...Are they possible?
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Bottom of Posts

Patrick Fisher wrote:
I was curious whether it would be possible to create objects that, after stepping on them, can no longer be stepped on? You wouldn't have to make the player die when they step, it would just have to be a trigger that would make sure they aren't able to return on that square anymore? I'm doubting if it would work, but I know you guys are smart and can find the answer better than I could.


For something like that Patrick, you might want to check the code snippet on "Level Ending Item"... When the player steps on it, it will activate whatever routine you want it to, and can also be removed.

To block anything from stepping on any square all you have to do is assign the actorat array with a 1.... ie: actorat[tilex,tiley]=1; where the tilex and tiley are the person/enemy stepping on it.

A while back someone wanted an "Alert" function... And it was at that time that I played with the code. You can define all kinds of objects (with or without a graphic) that can make the game do all kinds of crazy things. The only limit is either reality (making it real and fits within your game atmosphere) and your imagination.

Check into the Level Ending Item code... (Same as the Game Ending Code) and start from there.

Greg
BrotherTank
Display posts from previous:   
Post new topicReply to topic Time synchronized with the forum server time
DieHard Wolfers Forum Index -> Code Crackers View Previous TopicRefresh this PageAdd Topic to your Browser FavoritesSearch ForumsPrint this TopicE-mail TopicGoto Page TopView Next Topic
Page 1 of 1
Jump to:  

Related topics
 Topics   Replies   Views   Last Post 
No new posts Throwable objects - Grenades, Molatov Cocktails...
Author: Xarkon
17 5860 Thu Oct 27, 2011 2:03 pm
RichterBelmont12 View latest post
No new posts Make Bossess stop moving.
Author: andy3012
7 2027 Mon Mar 28, 2005 12:36 am
Sporb2000 View latest post
No new posts [Info] Breakable or Exploding Objects (colums or barrels)
Author: wolf3dbreaker
37 11460 Tue Feb 08, 2005 5:44 am
Guest View latest post
No new posts [Info] Make a Single shot kill an enemy
Author: Guest
12 442 Sun Jun 20, 2004 3:12 pm
Guest View latest post
No new posts [Info] Assigning Static Objects problem.
Author: Guest
1 104 Sun Jul 06, 2003 1:25 pm
Guest View latest post
 
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 vote in polls in this forum


Copyright ©2003-2008 DieHard Wolfers
A Modified subBunker Theme by BrotherTank
Powered by phpBB © 2001, 2005 phpBB Group