door (sucks)

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

User avatar
k47a
товарищ
Posts: 810
Joined: Fri Mar 25, 2005 1:19 pm

door (sucks)

Post by k47a »

Alright, I got a problem here:
Image
Image

What I want is a door that doesn't open like the oder doors :roll: .
Not like it does right now... Well, I think you know what kinda door I mean... Is it possible to make one like that?
Do the screens work now?[/img]
Last edited by k47a on Thu Jun 09, 2005 5:07 pm, edited 1 time in total.
Image
LiquorKraZy
Captain
Posts: 267
Joined: Tue Aug 10, 2004 5:38 am
Location: CA
Contact:

Post by LiquorKraZy »

screenies not workin'
Elgan
Site Admin
Posts: 890
Joined: Tue Apr 13, 2004 10:43 pm
Location: uk
Contact:

Post by Elgan »

find tltrude and look at his sig and then look at his doors tutorial.

then go :O and ohh and then go thanx tltrude and send him flowers and money and maybe some chocolates and then carry on mapping.
Last edited by Elgan on Thu Jun 09, 2005 7:04 pm, edited 1 time in total.
User avatar
Axion
Major General
Posts: 683
Joined: Mon Sep 29, 2003 5:14 am
Location: Northern California
Contact:

Post by Axion »

I think everybody on these boards owe him a box of chocolate.

:lol:
"The work of a thousand years is nothing but rubble."
- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9
Image
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

I owe him a cookie. and jv a stack of digi-pancakes.
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

sugar

Post by tltrude »

Sorry, I can only accept sugar-free cookies and chocolates now a days. But thanks for the kind words!

door2 tutorial map
Image


The door2 tutorial map has around 35 doors you can study or just copy. Some of them are very different from your normal mohaa doors. The zip file contains the .map file, a playable pk3, and a text version of the script.
Tom Trude,

Image
User avatar
k47a
товарищ
Posts: 810
Joined: Fri Mar 25, 2005 1:19 pm

Post by k47a »

Oookay... I studied the map (carefully...)
That's what I managed to do:
Image
That's alright.
Image
I'd like to make a bigger angle..
Image
Now that's definitly not okay. I dunno what that *** door thinks it's doing...
Anyway, here's the script for it:
main:

///////////////////
level waittill prespawn
///////////////////

blabla

thread flatdoor_mover

//////////////////
level waittill spawn
//////////////////

thread prep
thread objs

end

blabla

flatdoor_mover:

$flatdoor_trigger waittill trigger
$flatdoor time 2
$flatdoor playsound ("door_wood_open_move" + (randomint(3) + 1))
$flatdoor rotateXup 90
$flapdoor waitmove
$flatdoor playsound door_wood_open_stop
wait 20
$flatdoor playsound ("door_wood_close_move" + (randomint(1) + 1))
$flatdoor rotateXdown 90
$flatdoor waitmove
$flatdoor playsound ("door_wood_close_stop" + (randomint(2) + 1))

goto flatdoor_mover

end
What's wrong here?
Btw, Tom, thanks for the cool stuff in that door.map!!
So, here's the flowers
Image
:lol:
Image
Elgan
Site Admin
Posts: 890
Joined: Tue Apr 13, 2004 10:43 pm
Location: uk
Contact:

Post by Elgan »

did u draw them flowers:D?
User avatar
k47a
товарищ
Posts: 810
Joined: Fri Mar 25, 2005 1:19 pm

Post by k47a »

Sure, what did you think?! Don't you know that I'm a genius? Esp. at drawing!!! (And, fast, too) :wink:
Image
User avatar
Axion
Major General
Posts: 683
Joined: Mon Sep 29, 2003 5:14 am
Location: Northern California
Contact:

Post by Axion »

Code: Select all

main:

flatdoor_mover:

$flatdoor_trigger waittill trigger
$flatdoor time 2
$flatdoor playsound ("door_wood_open_move" + (randomint(3) + 1))
$flatdoor rotateXup 90
$flapdoor waitmove
$flatdoor playsound door_wood_open_stop
wait 20
$flatdoor playsound ("door_wood_close_move" + (randomint(1) + 1))
$flatdoor rotateXdown 90
$flatdoor waitmove
$flatdoor playsound ("door_wood_close_stop" + (randomint(2) + 1))

goto flatdoor_mover

end
If you want the door to open at a wider angle:

$flatdoor rotateXup 90

That means the door will rotate at a 90 degree angle. Just change the number to the angle you want. Make sure you also change it for when the door rotates back down.
"The work of a thousand years is nothing but rubble."
- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9
Image
Elgan
Site Admin
Posts: 890
Joined: Tue Apr 13, 2004 10:43 pm
Location: uk
Contact:

Post by Elgan »

beautifull flowers.


do u want the door to open the other way round ?

the angle to set?
User avatar
k47a
товарищ
Posts: 810
Joined: Fri Mar 25, 2005 1:19 pm

Post by k47a »

I changed it to 135 and -135 (?)...
But it starts open :? . And then it makes a full 360... (and 's got about a 50 degree angle)
Sorry, Elgan, didn't see your post.
I want the door closed when I come in, I trigger it, open angle about 135 degree and after some time it closes again.

PS: Haha, yeah, I know, those flowers are full of beauty... :D Nice, ay?!
Image
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

beautifull flowers
Elg! No hitting on IvaN! Mj's already got a crush :P

I'd like to see how this works too, since i've never gotten it to work.
Wouldn't -135 make the door turn downward? wheres your origin brush?
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
User avatar
k47a
товарищ
Posts: 810
Joined: Fri Mar 25, 2005 1:19 pm

Post by k47a »

lizardkid wrote:
beautifull flowers

Elg! No hitting on IvaN! Mj's already got a crush :P
Someone please tell me what this is all about?! :o
Anyway, yes, it does turn downward... You'll see where I put the origin brush when you check the pics above - the origin is okay, I think...
Image
User avatar
Axion
Major General
Posts: 683
Joined: Mon Sep 29, 2003 5:14 am
Location: Northern California
Contact:

Post by Axion »

IvaN (master of disaster) wrote:I changed it to 135 and -135 (?)...
But it starts open :? . And then it makes a full 360... (and 's got about a 50 degree angle)
You used a negative number for your closing rotation angle. Try this:

$flatdoor rotateXup 135

$flatdoor rotateXdown 135
"The work of a thousand years is nothing but rubble."
- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9
Image
Post Reply