mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-07-13 15:34:42 +00:00
Allow vulture/liberator/ggs seats to be bailed from in motion
This commit is contained in:
parent
8927d0b5cd
commit
34444f5b66
3 changed files with 11 additions and 0 deletions
|
|
@ -6650,8 +6650,10 @@ object GlobalDefinitions {
|
||||||
liberator.Seats(0).ControlledWeapon = 3
|
liberator.Seats(0).ControlledWeapon = 3
|
||||||
liberator.Seats += 1 -> new SeatDefinition()
|
liberator.Seats += 1 -> new SeatDefinition()
|
||||||
liberator.Seats(1).ControlledWeapon = 4
|
liberator.Seats(1).ControlledWeapon = 4
|
||||||
|
liberator.Seats(1).Bailable = true
|
||||||
liberator.Seats += 2 -> new SeatDefinition()
|
liberator.Seats += 2 -> new SeatDefinition()
|
||||||
liberator.Seats(2).ControlledWeapon = 5
|
liberator.Seats(2).ControlledWeapon = 5
|
||||||
|
liberator.Seats(2).Bailable = true
|
||||||
liberator.Weapons += 3 -> liberator_weapon_system
|
liberator.Weapons += 3 -> liberator_weapon_system
|
||||||
liberator.Weapons += 4 -> liberator_bomb_bay
|
liberator.Weapons += 4 -> liberator_bomb_bay
|
||||||
liberator.Weapons += 5 -> liberator_25mm_cannon
|
liberator.Weapons += 5 -> liberator_25mm_cannon
|
||||||
|
|
@ -6691,8 +6693,10 @@ object GlobalDefinitions {
|
||||||
vulture.Seats(0).ControlledWeapon = 3
|
vulture.Seats(0).ControlledWeapon = 3
|
||||||
vulture.Seats += 1 -> new SeatDefinition()
|
vulture.Seats += 1 -> new SeatDefinition()
|
||||||
vulture.Seats(1).ControlledWeapon = 4
|
vulture.Seats(1).ControlledWeapon = 4
|
||||||
|
vulture.Seats(1).Bailable = true
|
||||||
vulture.Seats += 2 -> new SeatDefinition()
|
vulture.Seats += 2 -> new SeatDefinition()
|
||||||
vulture.Seats(2).ControlledWeapon = 5
|
vulture.Seats(2).ControlledWeapon = 5
|
||||||
|
vulture.Seats(2).Bailable = true
|
||||||
vulture.Weapons += 3 -> vulture_nose_weapon_system
|
vulture.Weapons += 3 -> vulture_nose_weapon_system
|
||||||
vulture.Weapons += 4 -> vulture_bomb_bay
|
vulture.Weapons += 4 -> vulture_bomb_bay
|
||||||
vulture.Weapons += 5 -> vulture_tail_cannon
|
vulture.Weapons += 5 -> vulture_tail_cannon
|
||||||
|
|
@ -6807,14 +6811,19 @@ object GlobalDefinitions {
|
||||||
galaxy_gunship.Seats += 0 -> new SeatDefinition()
|
galaxy_gunship.Seats += 0 -> new SeatDefinition()
|
||||||
galaxy_gunship.Seats += 1 -> new SeatDefinition()
|
galaxy_gunship.Seats += 1 -> new SeatDefinition()
|
||||||
galaxy_gunship.Seats(1).ControlledWeapon = 6
|
galaxy_gunship.Seats(1).ControlledWeapon = 6
|
||||||
|
galaxy_gunship.Seats(1).Bailable = true
|
||||||
galaxy_gunship.Seats += 2 -> new SeatDefinition()
|
galaxy_gunship.Seats += 2 -> new SeatDefinition()
|
||||||
galaxy_gunship.Seats(2).ControlledWeapon = 7
|
galaxy_gunship.Seats(2).ControlledWeapon = 7
|
||||||
|
galaxy_gunship.Seats(2).Bailable = true
|
||||||
galaxy_gunship.Seats += 3 -> new SeatDefinition()
|
galaxy_gunship.Seats += 3 -> new SeatDefinition()
|
||||||
galaxy_gunship.Seats(3).ControlledWeapon = 8
|
galaxy_gunship.Seats(3).ControlledWeapon = 8
|
||||||
|
galaxy_gunship.Seats(3).Bailable = true
|
||||||
galaxy_gunship.Seats += 4 -> new SeatDefinition()
|
galaxy_gunship.Seats += 4 -> new SeatDefinition()
|
||||||
galaxy_gunship.Seats(4).ControlledWeapon = 9
|
galaxy_gunship.Seats(4).ControlledWeapon = 9
|
||||||
|
galaxy_gunship.Seats(4).Bailable = true
|
||||||
galaxy_gunship.Seats += 5 -> new SeatDefinition()
|
galaxy_gunship.Seats += 5 -> new SeatDefinition()
|
||||||
galaxy_gunship.Seats(5).ControlledWeapon = 10
|
galaxy_gunship.Seats(5).ControlledWeapon = 10
|
||||||
|
galaxy_gunship.Seats(5).Bailable = true
|
||||||
galaxy_gunship.Weapons += 6 -> galaxy_gunship_cannon
|
galaxy_gunship.Weapons += 6 -> galaxy_gunship_cannon
|
||||||
galaxy_gunship.Weapons += 7 -> galaxy_gunship_cannon
|
galaxy_gunship.Weapons += 7 -> galaxy_gunship_cannon
|
||||||
galaxy_gunship.Weapons += 8 -> galaxy_gunship_tailgun
|
galaxy_gunship.Weapons += 8 -> galaxy_gunship_tailgun
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,7 @@ class SeatDefinition extends BasicDefinition {
|
||||||
restriction
|
restriction
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Determines if the seat can be bailed from while the vehicle is in motion */
|
||||||
def Bailable: Boolean = {
|
def Bailable: Boolean = {
|
||||||
this.bailable
|
this.bailable
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -61,6 +61,7 @@ class Seat(private val seatDef: SeatDefinition) {
|
||||||
seatDef.ArmorRestriction
|
seatDef.ArmorRestriction
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Determines if the seat can be bailed from while the vehicle is in motion */
|
||||||
def Bailable: Boolean = {
|
def Bailable: Boolean = {
|
||||||
seatDef.Bailable
|
seatDef.Bailable
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue