Mapping Help

I couldn’t find the group support section so I guess it is gone.

Anyway, I have a chest in hammer editor. When you walk up to it and open it, the lid (func_door_rotating) opens and you find some ammo and health inside. The problem is that if you walk up to it without opening it, you still pick up the items right through the chest, so I am wondering if there is any way to make the items spawn when you open the door, so you can’t pick them up before the door opens.

You mean here right?

Set them as start disabled and then have an ouput on the chest lid:
on open, ammo, enable
on closed, ammo, disable

Or something like that?

lol, its on the main page of forums…

Can’t believe I didn’t see that. :expressionless:

Nah, no option on the items to disable them.
I thinking maybe there is an item spawn entity, but haven’t been able to find one. Using an Item_item_crate and will compile to see if that works.

Edit: Never even made it to the compile step.

The Valve wiki might be able to help
I think there’s an entity called npc_maker that can spawn items as well as NPCs, but I’m just guessing from my experience with goldsource.
EDIT: These may help

Valve Wiki
I’m sure they have information.

EDIT
DAMMIT. beaten.

EVen better >>>> SDK_Docs

A simple solution would be to have the ammo inside a breakable crate inside the chest.

Perhaps you could use an output from the door which breaks the crate.

Excuse me, but what the hell do you know about mapping?

Wow… you didn’t know that Raminator is the dopest mapper on BMS team? :zip:

Wow that’s a BIG burn!

facepalm.jpg

oh
my
god. :pirate:

One gets the impression, given that Kaze has a Ram quote in his sig, that he might just have been joking. Or at least, I hope for his sake that he was…

I got it going after looking at a few tutorials and I only had to use the point template, thanks all.

No who is this ramiantor fagget.

This smiley has more use lately than ever…

:retard:

Founded in 2004, Leakfree.org became one of the first online communities dedicated to Valve’s Source engine development. It is more famously known for the formation of Black Mesa: Source under the 'Leakfree Modification Team' handle in September 2004.