🎮 Changelog SFD 1.4.1
✨ New Features
Extended Slots and Teams
Double the chaos! The maximum number of game slots has been increased to **16**.
* Enable this feature when hosting a game under **Advanced Options** in the **Server Status** section. Change "Game Slots" from 8 to 16. This also makes 8 different teams available.
* All official versus maps now have at least 16 spawn points to prevent overlapping spawns.
New Camera Mode
A new camera mode that follows your every move! Zoom in and out using the **+/-** keys on your keyboard. You can set this as your default camera in settings.
Textbox and chat improvements
- Can navigate in text using left and right keys, ctrl to skip whole words.
- Can scroll through history of up to 10 messages using up/down.
- Can whisper to server staff using the /staff command.
- Can type /r to reply to the person who last whispered to you.
Discord Rich Presence
Show off your Superfighters Deluxe activity directly on Discord!
Refactored GamePad controller usage.
- Handling of GamePads within the game improved. Local players join on any GamePad by pressing the "Attack" button in the main menu. All other GamePads control player 1.
- If two GamePads registers first input on the same frame one of the controllers are assumed to be emulated and is ignored. Note: An XBox controller (even emulated) will be favored over a DirectInput (non-XBox) controller in this scenario. If you have used a DirectInput controller before and still want to use it you need to do one of the following:
A: (Recommended action) Go into the game's keybinding settings and rebind the keys on your GamePad to the players again.
B: Disable Steam's controller emulation for SFD.
- Removed KB_REDIRECT_UNUSED_CONTROLLERS_TO_P1 from config.ini as it's no longer applicable.
- Added KB_IGNORE_GAMEPAD_0 to KB_IGNORE_GAMEPAD_7 to config.ini to be able to ignore GamePad controller with a specific index, useful if you want to rebind GamePad buttons to keyboard keys using third-party programs.
Miscellaneous
- Odex added to the credits in main menu.
- Number of profile slots increased (you can now have 18).
- Updated loading screen with new artwork.
- The /give command now takes multiple arguments.
- Ability to customize the UI color in config.ini (example: PRIMARY_COLOR=#FFFFFF).
🛠️ Fixes
- Line texture "None" is now invisible as intended instead of rendering a magenta line.
- Debug lines for pull and pulley joints are no longer visible.
- The `-start` argument now suppresses the message box about unavailable sound hardware.
- InvisibleLadders no longer block explosion damage.
- Other fixes and tweaks.
💻 ScriptAPI
- Added Events.PlayerCreatedCallback that's run when player objects are created.
- Fixed ObjectTerminatedCallback for players not returning correct ObjectID in this event.
- Added `Event.UserJoinCallback` and `Event.UserLeaveCallback` called when players joins and leaves.
- ObjectMusicTrigger extended with options to play, stop and change music.
- Effect "CFTXT" updated with parameters for color(Color), duration(float), scale(float), shadow(bool).
- Burnt Skin is now available for use in map editor and scripts.
- IGame has been updated with new properties to handle the new camera mode, game slots and team:
* Added `GetGameType()`,
* Added `AllowDropIn`
* Added `GetGameSlotDropInMode()`
* Added `GetAvailableUserGameSlotsCount()`
* Added `OccupiedGameSlotsCount`
* Added `OccupiedBotsGameSlotsCount`
* Added `OccupiedUserGameSlotsCount`
* Added `ClosedGameSlotsCount`
* Added `NonClosedGameSlotsCount`
* Added `OpenGameSlotsCount`
* Added `ExtendedGameSlots`
* Added `SetCameraFixedIndividualZoom`
* Added `GetCameraFixedIndividualZoom`
- CameraAreaTrigger and its API has been updated to allow a fixed zoom state for the new camera mode:
* Added `SetCameraFixedIndividualZoom`
* Added `GetCameraFixedIndividualZoom`
- Added `IPlayer.Fall()`
- Player modifiers extended with the following attributes:
* `JumpHeight`
* `ThrowForce`
* `ExplosionKnockbackImmunity`
* `CanInfernoBurn`
* `ClimbingSpeed`
* `DodgeChance`
- Steam Workshop: Added new tags "Optimized For 16 Players" and "Customized Gameplay/Rules".
- Steam Workshop: Scripts targeting "Custom" maps will now upload with a sub-tag "Custom Map Scripts".
- Fixed IPlayer.CurrentCommandIndex not initialized to 0 and updated documentation for this property.
- Added `IPlayer.RemainingCommandActionCount`
- Added `IPlayer.CurrentPlayerCommandType`