Please or Register to create posts and topics.

Creating Custom Grills (Emancipation Grill Style)

PreviousPage 2 of 2
TeamSpen210 wrote:
Point_templates delete the template objects from the map, and create them when you trigger the forceSpawn input. Where are you wanting to spawn the cubes?

trying to spawn them as close to the grill as possible, on the opposite side from where the cube enters

Oh, right, I think I forgot the property of point_templates that makes them spawn the object at the point of the template. I thought they spawned at the location of the point_template. In that case, an env_entity_maker could work.

I didn't actually test this in-game, so my apologies for it not working as well as I'd hoped.

ImageImage
srs bsnss wrote:
Oh, right, I think I forgot the property of point_templates that makes them spawn the object at the point of the template. I thought they spawned at the location of the point_template. In that case, an env_entity_maker could work.

I didn't actually test this in-game, so my apologies for it not working as well as I'd hoped.

That's fine :) I expected a lot of errors, as this is my first real project in Hammer. I'll try that

Katloverr wrote:
srs bsnss wrote:
Oh, right, I think I forgot the property of point_templates that makes them spawn the object at the point of the template. I thought they spawned at the location of the point_template. In that case, an env_entity_maker could work.

I didn't actually test this in-game, so my apologies for it not working as well as I'd hoped.

That's fine :) I expected a lot of errors, as this is my first real project in Hammer. I'll try that

An env_entity_maker will spawn objects at itself, if you use ForceSpawn (the alternative being ForceSpawnAtEntityOrigin, which is what point_templates do). So it should work.

ImageImage
PreviousPage 2 of 2