I would like a modified version of the royal game mode, where the player who activates the outzone gets a bonus of having a lasergun for 10 seconds !
Please .... someone

Moderator: English Moderator
You can't change weapons of spawned players, it's an arbitrary restriction of maniascript.Mikey wrote:If there are any capable and willing script editors out there, I have a small request.
I would like a modified version of the royal game mode, where the player who activates the outzone gets a bonus of having a lasergun for 10 seconds !
Please .... someone :D
That however is possible.Mikey wrote:Ok. that makes sense. Maybe there is some other bonus that could be applied, like full health restore or add an exra ammo slot to the ammo recharge ?
Code: Select all
foreach (Player in Players) {
Player.Armor = Player.ArmorMax;
}
Code: Select all
foreach(Player in Players) {
Player.Armor = 100;
}
You can restore health, surely. You can't increase max health or max ammo whil the player is alive though.Mikey wrote:Ok. that makes sense. Maybe there is some other bonus that could be applied, like full health restore or add an exra ammo slot to the ammo recharge ?
Code: Select all
#Const C_RocketAmmoMax 3 ///< Rocket ammo max
Code: Select all
foreach (Player in Players) {
if (Player.SpawnStatus != CSmPlayer::ESpawnStatus::NotSpawned) continue;
SetPlayerAmmoMax(Player, CSmMode::EWeapon::Rocket, C_RocketAmmoMax);
Should be easily possible.Mikey wrote:The next issue;
Is it possible to redefine the setting for point limit to win at the start of each map ? Something like 100 + (5 per player) ? I am having troubles with this.
Users browsing this forum: No registered users and 1 guest