Anonymous | Login | 2024-10-06 22:05 CEST |
Main | My View | View Issues | Change Log | Roadmap | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0000649 | Soldat | Gameplay | public | 2016-03-22 00:17 | 2020-08-27 11:20 | ||||||||
Reporter | Savage | ||||||||||||
Assigned To | |||||||||||||
Priority | high | Severity | major | Reproducibility | always | ||||||||
Status | new | Resolution | open | ||||||||||
Platform | OS | OS Version | |||||||||||
Product Version | 1.7.0 | ||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0000649: Survival - Dead Players After Restart/Map Change | ||||||||||||
Description | In survival mode when at least 1 alpha and bravo player are alive(there's no countdown for next fight) and rest of the players are dead then after map change (restart command, votemap etc. But when map is changed due to score limit reached everything is ok - not tested other events) these players aren't respawned until alive players from previous map are dead. | ||||||||||||
Tags | No tags attached. | ||||||||||||
Attached Files | RestartFIX.zip [^] (1,838 bytes) 2016-03-22 11:22 | ||||||||||||
Notes | |
(0002541) Savage (reporter) 2016-03-22 11:29 |
I couldn't find out how to modify description but it should be: In survival mode when at least 1 alpha and bravo player are alive(there's no countdown for next fight) and rest of the players are dead then after map change these players aren't respawned until alive players from previous map are dead. Also I've made small script to fix it:(RestartFIX.zip under description) var Resurrect: array[1..32] of Boolean; function OnDamage(Shooter, Victim: TActivePlayer; Damage: Integer; BulletId: Byte): Integer; begin if Resurrect[Victim.ID] then Result := 0 else Result := Damage; end; procedure OnAfterMapChange(Next: string); var i: Byte; begin for i := 1 to 32 do if (Players[i].Active) and (Players[i].Alive=false) and (Players[i].Team<>5) then begin Resurrect[i] := true; Players[i].Team := Players[i].Team; Resurrect[i] := false; end; end; procedure Init; var i: Byte; begin for i := 1 to 32 do Players[i].OnDamage := @OnDamage; Map.OnAfterMapChange := @OnAfterMapChange; end; begin Init; end. |
Issue History | |||
Date Modified | Username | Field | Change |
2016-03-22 00:17 | Savage | New Issue | |
2016-03-22 11:22 | Savage | File Added: RestartFIX.zip | |
2016-03-22 11:29 | Savage | Note Added: 0002541 |
Copyright © 2000 - 2024 MantisBT Team |