-
-
Notifications
You must be signed in to change notification settings - Fork 23
List of map entities
These are the map entities that are used in Slender Fortress. Each entity is listed with their targetname (the 'Name' field with SmartEdit turned on), and their classname.
Sets the number of pages per round on a map. You can have more page spawns than this number, but only this number will spawn. Replace the # sign with the number you want.
Specifies the number of players per round. This is the same as modifying the sf2_maxplayers console variable.
Specifies the round time limit. If not set, the time limit will use the console variable's value. Replace the # sign with the number of seconds you want.
Specifies how much time is gained from a page grab. Replace the # sign with the number of seconds you want.
A page spawn point. The game will use this entity's position and angles to place a page at this entity's position.
Page spawnpoints can also be put into "groups". Basically, this means that you can put page spawns into one group, and when page spawns are selected, only one page spawn from that group will be chosen. This is extremely useful if you don't want pages clustered at one point in the map and want them more spread out. More information about it below.
Adding a page into a group:
If you want to put your page into a "group", simply append the underscore (_) character at the end of the name, then a unique name that identifies that group.
For example: sf2_page_spawnpoint_room1
Each page spawnpoint that matches that name will be considered to be put in the "room1" group. When the round starts, only ONE of the page spawnpoints in the "room1" group will be chosen to spawn a page. The other spawnpoints in the group will be ignored.
The group name can be anything, but just make it as short as possible. And the names are case-sensitive, so I also recommend to make the group name all lowercase to make it easier.
If you don't want your page spawnpoint to have a group, just simply put the target name as it is. No underscore character required. It'll be treated as an individual spawn point.
Place this entity anywhere in the map and the page models will be based off of this entity's model.
Message shown when a page is grabbed. The "Message" field MUST have two "%d" strings in it. They will be replaced with the current page count and the maximum page count, respectively.
For example: %d out of %d pages collected. The first %d will be replaced with the current page count, and the second %d will be replaced with the maximum page count.
Custom music that will replace the default page music/ambience. This entity will only play if the total page amount collected in the round is within the range defined by the two # signs, which are numbers. These numbers are INCLUSIVE. It should be self-explanatory at where to put your sound path in the entity.
The page sound that plays whenever a player picks up a page or a collectible.
When # amount of pages have been collected, this entity will fire its Trigger input. Replace the # sign with the number you want.
A fade that determines the overall duration of the intro sequence of the map (via the Hold Time keyvalue). The game will fade the players' screens in after the intro sequence using data gathered from this entity. Color is supported.
This entity will display text only to RED during the intro sequence, preferably should be used as an introduction to the map name and its author in general.
All sf2_intro_text_# entities will be called in sequence, that is from 1, 2, 3, etc. until the game cannot find any more text entities. Duration of each sequence is determined by the overall display duration of the entity, including duration and fade in/out time. The first sf2_intro_text_# should start with 1.
TIP: If you want to have a delay between displaying two text entities (or the beginning), then the text entity after the first text entity should display nothing, while having a specific duration defined.
Message that appears to players AFTER the intro sequence, if any. This should be preferably used to instruct the players on what to do.
The music that will be used to play during the intro sequence. Self-explanatory as to where you should put your sound path. No other parameters are needed.
This entity's "Trigger" input will be called when the intro sequence starts. This can be used to trigger anything else that you may desire during the intro sequence.
If placed anywhere in the map, players will also be required to reach an exit from the map in order to win via the slender_escape_trigger entity. Also when all pages have been collected, this entity will call its FireUser1 input.
Players have to touch this trigger in order to escape.
Where players spawn after escaping or winning in general.
How much time is given to escape. This will not add to the current time, rather replace it. Replace the # sign with the number of seconds you want.
Message shown when you need to escape.
Tells the SF2 gamemode that this map supports custom escape music. If placed on the map, the game will stop the page music and start playing the escape music.
Bosses and their mechanics
Forces what the first boss will be per round. Replace (name) with the profile name of the boss you want (not the name defined by the "name" keyvalue in your boss profile).
NOTE: IF YOU SPAWN THIS ONLY THE BOSS YOU SET WILL SPAWN!
Place this entity into your map, and send the "RecomputeBlockers" input whenever you open a non automatic door (not linked to a trigger brush, such as the floodgate on slender_underground), or you disable a brush that was previously blocking an area ect... That interface recomputes the block tag on all nav areas, this is important to use so the boss path creation doesn't screw up your map. In order to use it properly, open your closed door, whatever blocks the way to a new area, and then send the input "RecomputeBlockers" 5 times with 1 second between each input.
A trigger which will act as a Player vs. Player zone. People will be able to kill each other with their full loadouts.
A point that supports the automatic spawning feature of the Player vs. Player feature. Making multiple spawnpoints will make the game choose a random spawn point.
This tells SF2 that the map is considered a Boxing map. When this is the case, all bosses chase endlessly and everything related to Boxing triggers.
This tells SF2 that the map is considered a RAID map. When this is the case, all bosses chase endlessly and everything related to RAID triggers.
This tells SF2 that the map is considered a Survival map. When this is the case, the escape timer will turn to "Survive" instead of "Escape", use sf2_survival_time_limit_# (info_target) to determine how long the survive timer lasts.
When this is placed, proxies will no longer spawn around the closest player the gamemode chooses, instead proxies are now set to spawn at these spawnpoints, its best to allow more than one spawn point as spawn camping can be an issue despite the proxy bosses.
Once a Boxing boss rages on the first phase, this entity gets triggered and all events that are set to be called on "Trigger" will be called. The same form of entities can be applied to sf2_logic_boss_rage_two and sf2_logic_boss_rage_three.
sf2_infiniteflashlight (info_target)
If placed anywhere in the map, the flashlight's battery will never drain.
sf2_infiniteblink (info_target)
If placed anywhere in the map, players will no longer be required to blink.
sf2_infinitesprint (info_target)
If placed anywhere in the map, the sprint bar will never run out.
sf2_bosseschaseendlessly (info_target)
If placed anywhere, every boss knows where you are and chases endlessly.