map_sandvich: Having Major Problems

Verumae

L1: Registered
Jun 16, 2011
33
55
Let me start off by saying that this is both my first post and my first mapping attempt. I've tried to learn as much as I can, but I'm still totally lost. I've read the rules, but I'm sure I'm breaking some anyway.

The idea for this map started out when I was on a trade server, frequently tossing sandviches to the people in the idling damaging area. I thought it was really fun, so I decided to try to make a map around it. I figured that it'd probably fail miserably, but it'd at least give me some way to occupy my Summer. Development started off pretty well. I got the complete structure set up, spawns for both teams, most of the game mechanics set up, and everything textured. After that, Cave Johnson found my map and burnt it down with the lemons.

I obviously made it again, but I changed some things this time. For example, I added conveyor belts instead of obstacles, and it's now running on a somewhat modified version of arena mode.

Here is the concept art for the map.
k2wix.png


Here is the current build in Hammer.
6Htph.png

The four purple blocks on the far side of the wall are spawns. The four purple blocks nearest the wall are teleporter destinations. The eight others are more spawns. The selected thing is a small wall to separate the sandvich-tossing heavies from their teammates. On the side of the sandvich-tossing heavies, there is a resupply thing so that they constantly receive sandviches. The floor on the side closest to the camera is a conveyor belt. They're pulled towards the camera, then teleported to the wall, only to be pulled towards the camera again. This provides a challenge for the sandvich-tossing heavies.

But after I build it...
8ZRgs.jpg

The conveyor doesn't convey, the floor is completely gone, the resupply only works during setup and after the match...what?

I've already used the compiler error finder thing, didn't come up with anything.
I have no idea where to start. Also, how do I make one brush have two entities? (ex: a conveyor belt (func_conveyor) that also hurts (trigger_hurt))
 
Last edited:
Jan 8, 2011
397
393
Wow, that's quite a few problems. I don't know about the missing floor and non-conveying conveyor, but I can tell you what to do for your last question. A brush can't be two entities because it can't have two different sets of rules to follow. What you could do is make a second brush (textured with trigger, of course) directly on top of the func_conveyor brush. Then make the new brush the trigger_hurt.
And I thought of something for the conveyor: It might be model based, and it might also just not be a TF2 entity.
 
Jan 8, 2011
397
393
Ah! And as for the resupply cabinet, you're using a modified arena gamemode, right? In arena, the resupply cabinets don't give health during the game. Otherwise, players could win arena by running in and out of their spawn and getting fully healed by the cabinet. You're going to change gamemodes or find some way to override the default logic of arena.
 

Verumae

L1: Registered
Jun 16, 2011
33
55
Wow, that's quite a few problems. I don't know about the missing floor and non-conveying conveyor, but I can tell you what to do for your last question.
I think the conveyor just broke in hammer, because I viewed its properties and there were no entities attached. I got that fixed. I also got the roof to come back, I just had to take off the trigger_hurt.

A brush can't be two entities because it can't have two different sets of rules to follow. What you could do is make a second brush (textured with trigger, of course) directly on top of the func_conveyor brush. Then make the new brush the trigger_hurt.
So would the second brush be directly on top of the first, or would they be using the same space?

Ah! And as for the resupply cabinet, you're using a modified arena gamemode, right? In arena, the resupply cabinets don't give health during the game. Otherwise, players could win arena by running in and out of their spawn and getting fully healed by the cabinet. You're going to change gamemodes or find some way to override the default logic of arena.
I just took off the tf_logic_arena for now. I just thought it didn't work because no resupply cabinets exist in arena maps. The floor still doesn't show up, though, and the teleporters still don't exist.
 

Empyre

L6: Sharp Member
Feb 8, 2011
309
187
You need a regular world brush for the floor, another textured with the trigger texture for the trigger_push, and yet another for the trigger_hurt. the two triggers can occupy the same space, but you might want to make them slightly differently shaped so you can easily select the one you want to edit in Hammer. In the trigger_push entity properties, go to the Flags tab and put check marks on what you want it to push (like Players, for example). The flags thing tripped me up before.