UGX-Mods

Call of Duty 5: World at War => Help Desk => Mapping => Topic started by: Eggies on September 10, 2015, 11:25:07 pm

Title: Jumping through a door
Post by: Eggies on September 10, 2015, 11:25:07 pm
So I wanted to add a nice little feature where, to get into a room in my map, you have to jump through a door. So I created a regular brush, textured it like a door, and created a spiky, broken door. However, the problem is that I want the zombies to put one leg over, then the other like they do with windows, except WITHOUT tearing down any barriers. I do NOT just want them to run through the door.

Here is a picture of the door

(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FowdgWlY.png&hash=a20ff6d6dd0a52ce37e6fb26dc9c2f0d5148dd29)

Any help is greatly appreciated :)
Title: Re: Jumping through a door
Post by: JBird632 on September 10, 2015, 11:26:40 pm
Add the zombie window traverse prefab for the door, I also suggest that you add a traverse material for the player as well, so they can climb over.
Title: Re: Jumping through a door
Post by: Eggies on September 10, 2015, 11:31:31 pm
A zombie window traverse PREFAB? Where do I get that? And how do I make a traverse for the player?
The only traverse I know is from sniperbolt's tutorial windows. Also, what would making a traverse for the player do?
Title: Re: Jumping through a door
Post by: JBird632 on September 10, 2015, 11:41:33 pm
Right click in the 2d grid, then go misc > prefab, then select traverse > wall_hop_zombie.map
Just line up the green traverse texture with the height of the door. You can duplicate the traverse and reverse it as well to allow zombies to jump back the other direction, but be warned that you should not have too many nodes touching since it will give you errors when compiling (though you can get away with a few).

As for the texture for the players, select Textures on the top bar and select Usage > Tools then find the texture "mantle_over" and create a brush that covers the door similar to the green traverse texture from the zombie traverse. This will allow the player to mantle over the door instead of having to jump over (similar to how multiplayer allows you to mantle over things).
Title: Re: Jumping through a door
Post by: Eggies on September 11, 2015, 01:48:57 am
I did what you said, but Is it ACTUALLY okay for 3 traverses ( two zombie hops, 1 player traverse) to overlap?  ??? I got the overlapping negotation node error in the console.
Title: Re: Jumping through a door
Post by: JBird632 on September 11, 2015, 01:51:54 am
but be warned that you should not have too many nodes touching since it will give you errors when compiling (though you can get away with a few).
Title: Re: Jumping through a door
Post by: Eggies on September 11, 2015, 01:56:48 am
I don't have pathnodes touching them. I just don't know where to put all 3 traverses. I just overlapped all 3 on the doorway because I can't think where else I would put them. Would I like stamp the zombie hops then separate the white boxes so they don't touch? (but still face the same way)
Title: Re: Jumping through a door
Post by: JBird632 on September 11, 2015, 02:00:45 am
No, its ok that they are touching, you should get a warning for it but you can ignore it as long as you don't have too many overlapping nodes.
Title: Re: Jumping through a door
Post by: Eggies on September 11, 2015, 02:01:32 am
OH ok, I just thought that since I got that error it wouldn't work. I'll test it in game.  Thanks
Title: Re: Jumping through a door
Post by: RadimaX on September 11, 2015, 02:15:38 am
post a picture of how it looks after you did what jbird told you
Title: Re: Jumping through a door
Post by: Eggies on September 11, 2015, 02:41:37 am
The map worked! And actually pretty well. HOWEVER , while the zombies DID go over the broken door, the models went under the floor almost  :troll: I couldn't get a snap of it, but that's what happened. The same thing happened with the wolves. They would run THROUGH the floor (IDK how to fix that) and they would be under the floor for a second or two, then eventually go back to normal. Also zombies that spawn when I'm NOT in the room seemed to :derp: and stand there when I got there, but I guess It's just a problem with my mapping. Anyway that's what happened.  :poker:

Title: Re: Jumping through a door
Post by: RadimaX on September 11, 2015, 02:46:28 am
(IDK how to fix that).... well again the last we saw was this:

(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FowdgWlY.png&hash=a20ff6d6dd0a52ce37e6fb26dc9c2f0d5148dd29)

and based on this picture we cannot tell what you did wrong with the traverses...
like i said post a picture of how it looks after you did what jbird told you in radiant
Title: Re: Jumping through a door
Post by: Eggies on September 11, 2015, 02:54:34 am
Here are the images of the door

(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FLidGje0.png&hash=fcb2d401fe2d5b388af57a1cc717b088379109ec)

(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FY0mIL6Z.png&hash=3930ed9aa5fa709e8a9e329b955df8ba7ab1374a)
Title: Re: Jumping through a door
Post by: RadimaX on September 11, 2015, 03:40:59 am
3 traverses for 1 door? i would keep it 1 travers per 1 door but thats just me i guess :P
Title: Re: Jumping through a door
Post by: Eggies on September 11, 2015, 03:48:14 am
I was told to do that to let the zombies mantle over the door both ways. One traverse was for into the room, another was for out, and one was for the player. Do you know how I can have all these WITHOUT overlapping. And also how would I fix them mantling underground?
Title: Re: Jumping through a door
Post by: RadimaX on September 11, 2015, 05:16:12 am
how would I fix them mantling underground?

if you look on the picture the traverse text is spelled upside down, which means you put it upside down, try rotate it 180 degrees so they manle on TOP of the door instead of the bottom :P
Title: Re: Jumping through a door
Post by: Centric on September 11, 2015, 11:06:53 am
nvm didn't look at the picture right