Custom "Global Offensive" gamemode for Titanfall2.
It requires you to plant a bomb in a base, and defend it until it explodes to get the win.
- Bomb icon is not displayed to bomb holder anymore
- "Plant the bomb" message is not displayed to players close to friendly bases
- Update Thunderstore upload CI configuration
- Update Thunderstore upload CI configuration
- Players can carry a bomb
- When killed, bomb holder will drop it
- Bomb can be planted in enemy base
- When planted, bomb can be defused
By setting br_rules
configuration variable, you can use given rules sets:
- 0 (default rules): one bomb spawns at the center of the map, both teams must fight for the bomb control, respawn is enabled.
- 1 (TODO): one team must plant the bomb, the other must prevent it from doing so; roles are switched at half-time; respawn is disabled.
- 2 (TODO): both teams must plant the bomb in the enemy base; respawn is disabled.
You can setup bomb ticking duration (= time from bomb planted to bomb explosion) by setting number of ticks for each of the following duration:
- 2 seconds
- 1 second
- 0.5 second
By default, the bomb will tick 5 times with 2 seconds delay between ticks, 5 times with 1 second delay, and 10 times with 0.5 second delay before exploding.
When creating a new Bomb()
, a bomb appears on the floor, which is defusable by the enemy team. Bomb ticking duration can be modified through convars.
By instanciating a BombingZone
, you can declare a zone where bombs can be planted.
It will send a message to nearby bomb holder (indicating that he can go and plant the bomb there), and will prevent him from moving when planting the bomb.
- Statistics (bombs planted/defused, deaths)
- Put some light effects on the bomb
- Bomb holder indicator (YOU HAVE THE BOMB)
- Bomb carrying system (being able to give the bomb to somebody else)
- Translate prompt messages
- Find out why bomb icon fades out when player goes more than 84m away from the bomb
- Hide RUI bomb icon to bomb holder
- Chat team messages
- Bomb sites UI indicators
Publication CI stolen from https://github.com/GreenTF/NSModTemplate