New entities and features in the halloween Hammer update

Discussion in 'Mapping Questions & Discussion' started by A Boojum Snark, Oct 29, 2013.

  1. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,521
    tf_spell_pickup
    This is actually not code-restricted to event maps. Spells for everyone!

    func_nobuild
    Can now selectively allow sentries, dispenser, or teleporters.

    team_control_point_master
    Custom cap position X and Y : Set the cap layout custom position [0,1]
    (also inputs to change them on the fly)

    team_train_watcher
    input SetTrainCanRecede : Determines whether or not the train can recede.

    tf_logic_gasworks
    Gasworks Entity. This is used to detect a gasworks map.
    !??!?!?!? what. I know in TFC some people would play an HLDM map named that, but...

    tf_logic_raid
    tf_logic_boss_battle

    Did these already exist in the code? They seem like they would have with all the robot stuff but I haven't been keeping up.

    tf_spawner
    Seems like another method of spawning entities via template, but with some built in control over when, how many, and how often.

    filter_tf_player_wearing_item
    Can we actually check for certain players now?
    "Index of econ item required to be equipped to pass this filter"
    I would test it out but I'm not sure what those item numbers are.

    and a boatload of bot related new entities and options.
     
    • Thanks Thanks x 12
  2. Crash

    aa Crash func_nerd

    Messages:
    3,074
    Positive Ratings:
    4,563
    Holy shit I can put spells in Trainsawlaser?

    Do we know of any limitations to it? Is it safe to assume it would be holiday restricted?
     
  3. Crash

    aa Crash func_nerd

    Messages:
    3,074
    Positive Ratings:
    4,563
    I tried it out in a little test map and found out the following:

    They respawn exactly like health/ ammo pickups do. You can have them start disabled and enable them. They have an "auto-materialize" setting that stops them from respawning if set to "No."

    They can send outputs OnPlayerTouch.

    The hud icon doesn't seem to show up showing what spell you get, but the spells do work.

    You can set it to common/ rare spells. This automatically sets the particle effects above it showing what type it is.

    You can change the model they use.

    You can set what team they work on.

    When they are set to disabled on map start with auto-materialize set to no, you can fire an output to enable them and they will only pop up once and stay hidden until enabled again. This is useful for a one-time event or to control exactly when they pop up.

    [​IMG]
     
    • Thanks Thanks x 3
    Last edited: Oct 30, 2013
  4. Penguin

    aa Penguin Clinically Diagnosed with Small Mapper's Syndrome

    Messages:
    1,992
    Positive Ratings:
    1,233
    Welp, adding spells to nat20 as we speak
     
    • Thanks Thanks x 3
  5. Moose

    Moose L6: Sharp Member

    Messages:
    312
    Positive Ratings:
    299
    i want to spawn skeletons
     
    • Thanks Thanks x 1
  6. s0da72

    s0da72 L2: Junior Member

    Messages:
    74
    Positive Ratings:
    17
    I noticed that the entity_spawn_manager works differently when using it with the eyeball_boss. It produces the 'magic' version of eyeball_boss instead of the normal one.
     
  7. s0da72

    s0da72 L2: Junior Member

    Messages:
    74
    Positive Ratings:
    17
    trigger_add_player_condition is also a nice add.
     
  8. Egan

    aa Egan

    Messages:
    1,302
    Positive Ratings:
    1,478
  9. Crash

    aa Crash func_nerd

    Messages:
    3,074
    Positive Ratings:
    4,563
    Whoooaaa. Does this do what I think it does?
     
  10. Toomai

    Toomai L3: Member

    Messages:
    129
    Positive Ratings:
    77
    I'm imagining how the old Gorge moonbase would have fared if dispensers were disabled there. An interesting idea to weaken a strong sentry spot, though probably hard to get across without a big "no dispensers" pictograph on the wall or something.

    Also, official lava textures.
     
  11. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,521
    I went to go test it only to discover the entity doesn't actually exist :( Valve stuck it in the FGD and it isn't in the game. That does look likely though. If it ever arrives... time to make secret rooms with spell book pickups that can only be accessed by someone wearing an obscure combination of items.

    Oh yeah I forgot to mention that.

    Yup! lets you put on anything addcond does. I'm a little disappointed it is duration based though, rather than while-in-trigger.
     
  12. Crash

    aa Crash func_nerd

    Messages:
    3,074
    Positive Ratings:
    4,563
    Really regretting pushing Trainsawlaser so close to the entity limit already now that there are all these fun toys.

    IN TOTALLY RELATED NEWS:

    [​IMG]
     
  13. henke37

    aa henke37

    Messages:
    1,837
    Positive Ratings:
    420
  14. Enricociccio

    Enricociccio L1: Registered

    Messages:
    2
    Positive Ratings:
    0
    is just me or when i try to add tf_spell_pickup to any map, it automaticaly close hammer?
     
  15. Beetle

    Beetle L9: Fashionable Member

    Messages:
    627
    Positive Ratings:
    141
    is it possible to do the thing that turns people into ghosts? That'd be a really fun alternative to arena.
     
    • Thanks Thanks x 4
  16. Bloodroke

    Bloodroke L1: Registered

    Messages:
    29
    Positive Ratings:
    8
    Hm... I added the spells to a map I was testing, but I couldn't actually see the portion of the hud that showed what spell I had. Is there any possible way to add that to the map? Having spells of various effects is useless without seeing what they actually are.
     
  17. Egan

    aa Egan

    Messages:
    1,302
    Positive Ratings:
    1,478
    addcond 77 makes the player turn into a ghost (removecond 77 will disable btw). I'm not sure how you'd allow someone to do that in arena mode though, considering you'd want people to get kills but if someone is killed I'm not sure you can apply an addcond effect to them. Maybe that is something to test: see if you can detect when someone dies (removed from the game space) and trigger addcond 77 on them with the trigger_add_player_condition.

    Unless someone has a better idea (or we contact valve / make a plugin) we could make a hacky arena mode instead of using the existing logic ents where you just detect how many players are on each team at round start, set a counter to that total, when that many people on one team dies declare the opposite team the winners. That way you can activate a filter to people who spawned in after the game start, put the trigger in the spawns and if they collide with it they turn into ghosts. But hopefully we don't have to do that. :p
     
    • Thanks Thanks x 2
  18. Mystic Monkey

    Mystic Monkey L4: Comfortable Member

    Messages:
    173
    Positive Ratings:
    17
    Do you think it be possible to make custom spells?
     
  19. takabuschik

    aa takabuschik

    Messages:
    660
    Positive Ratings:
    308
    What is a gasworks map? did I miss some new map/gamemode/hat??

    EDIT: never mind.
     
    Last edited: Oct 31, 2013
  20. Beetle

    Beetle L9: Fashionable Member

    Messages:
    627
    Positive Ratings:
    141
    I'm sure I could come up with a hacky arena mode that isn't actually "arena_" :) Thanks for the commands. I've never used addcond before.