MULTIPLAYER gameType "mpgt_Deathmatch" gameName "mpg_Amok" sceneRadius 50000 music 3 winningCondition 0 *winningConditionParam 10 *duration 1200 *prepareTime 30 Team 1 individual maxships 16 *maxShipsPerPlayer 2 *availShipValue 10000 *minShipValue 100 *destroyedShipValueRet 0 *jumpedShipValueRet 0 *jumpOutEnabled *simulatorPanel *civilization 0 *shipTypes #styp_mp_multi_frigate #styp_mp_scout_frigate #styp_mp_tactical_destroyer #styp_mp_torpedo_destroyer #styp_mp_stealth_destroyer #styp_mp_escort_cruiser #styp_mp_battlecruiser #styp_mp_missile_cruiser #styp_mp_heavy_battleship #styp_mp_light_battleship ; *devTypeStock #weap_blinder/5 #weap_techScanner/5 #shld_b124/5 #shld_s124/5 #shld_b125/5 #shld_s125/5 #eng_sIonEng/5 #eng_bIonEng/5 #eng_sFusEng/5 #eng_bFusEng/5 #eng_sPlasEng/5 #eng_bPlasEng/5 #eng_sPhotEng/5 #eng_AmatEng/5 #eng_secIonEng/5 #eng_secFusEng/5 #eng_secPlasEng/5 #eng_stealthDrive/5 #eng_comDrive/5 #eng_tacDrive/5 #eng_atacDrive/5 #eng_mjumpDrive/5 #supp_sensor1/5 #supp_sensor2/5 #supp_ecm/5 #supp_eccm/5 #supp_cloaking/5 #supp_bWGen/5 #supp_cWGen/5 #supp_tWGen/5 #supp_secWGen/5 #supp_sSGen/5 #supp_mSGen/5 #supp_bSGen/5 #supp_res/5 #weap_eShell/5 #weap_eTorp/5 #weap_eBomb/5 #weap_liLaser/5 #weap_heLaser/5 #weap_sigLaser/0 #weap_gun/5 #weap_plasma/5 #weap_torp/5 #weap_miss/5 #weap_flak/5 #weap_fighter/5 #weap_gunboat/5 #weap_bomber/5 #shld_b123/5 #shld_s123/5 ; spawnPoint 0 0 0 7000 10000 0 0 0 End END CREATEASTEROIDFIELD "Europa" semiMajorAxisKM 5500 meanAnomaly 0 density 150 background "asteroids\astfield_02" END RULES Rule event SceneInit :action Win_Limit:=MpGetWinningConditionParam(); :end End RULE event JumpedIn :action E.ship:commandBehaviour:=2; E.ship:shieldIntegrity:=45000; :end END RULE event Deleted :action Player_Idx:=1; While(Player_Idx<=MpGetPlayerCount(), If(MpGetPlayerKills(MpGetPlayer(Player_Idx))>=Win_Limit, Delay(0, 10, MpGameOver(), 0); ); Player_Idx:=Player_Idx+1; ); :end END RULE event MPGameOver :action Player_Idx:=1; Win_Kill:=0; Egal:=0; While(Player_Idx<=MpGetPlayerCount(), ChooseFirst( MpGetPlayerKills(MpGetPlayer(Player_Idx))=Win_Kill, Egal:=1; Winner:=0; , MpGetPlayerKills(MpGetPlayer(Player_Idx))>Win_Kill, Egal:=0; Winner:=MpGetPlayer(Player_Idx); Win_Kill:=MpGetPlayerKills(Winner); ); Player_Idx:=Player_Idx+1; ); If(!Egal & Winner, MpSetWinnerPlayer(Winner); Debug("Win:", Winner); ); :end END END