So yesterday I posted a thread where I had an issue, which only was the result of my own stupidity. Now I face another one which I can't really get around with, every time I play this mission at the very same moment the game crashes with no error message (when playing it via the mission editor or the normal game) there's no error logged whatsoever. The game crashes when the SendActium event is called from the AgrippaArrives event and the Actium arrives. If you use ctrl 3 the actium warps in and everything is fine
Another issue is that from time to time I get an error saying (I don't remember exactly) but something about wrong docking points. I kinda figured it was the artemis bombers pulling that thing but the game still gives me those errors with other ships (I can't really figure out which ships cause that error)
Another issue is that the AI seems to not send out any fighters, neither from the ships or the dispensers, I tried using the WeaponMode function but they only send out one squad and not all of the fighters/bombers
Here's the mission script, you have to comment out the playmusic functions as well as dialogues, and change the DefLocation
MISSION 1
Name "Sirius Blockade"
DefLocation "Deneb-Sirius Node"
OBJECTIVES
1
2
END
RULES
RULE event sceneInit
:action
SelectEx(s.ship,
MakeFullyKnown(S.this);
FreezeReconState(S.this,1);
);
PreCacheNPC(#NPC_commando);
PreCacheNPC(#NPC_Dispatcher);
PreCacheNPC(#NPC_Francis);
PreCacheNPC(#NPC_Amanda);
SetRelation(#race_player, #race_ntf, 2);
SetRelation(#race_ntf, #race_player, 2);
M.Comm:=Disappear(GetSceneObj("Command"));
M.Lys := GetSceneObj("GTCv Lysander");
M.Act := Disappear(GetSceneObj("GTCv Actium"));
M.Orf := GetSceneObj("GTC Orff");
M.Nau := Disappear(GetSceneObj("GVC Naunet"));
M.Cor := Disappear(GetSceneObj("NTCv Coriolanus"));
M.For := Disappear(GetSceneObj("NTC Fortune"));
M.Obe := Disappear(GetSceneObj("NTC Oberon"));
M.Agr := Disappear(GetSceneObj("NTCv Agrippa"));
M.Virgo :=Disappear(GetSceneObj("Virgo Wing"));
M.Leo :=Disappear(GetSceneObj("Leo Wing"));
PlayMusic(#music_ambient02);
M.Sirius:=GetSceneObj("Sirius Jump Node");
GetMachine("MissionScript"):ChangeState(default, 0);
:end
END
MACHINE "MissionScript"
STATE default
RULE event In
:action
StartTimer(PlayDialog, 1, E.dialog := "_02begin");
Timer(CoriolanusArrives,10,0);
:end
END
RULE event CoriolanusArrives
:action
PlayEfx(#EFX_ALARM1, 1, M.Cor:position, 0, 0);
StartTimer(PlayDialog,3,E.dialog:="_02CorInbound");
M.Cor:damage:=25;
M.Cor :=Appear(M.Cor);
MEvent(MakeShipWarpIn, E.Ship :=M.Cor);
M.Cor:tMoveTo(M.Lys,2,0);
M.Cor:tFireTo(M.Lys,2);
PlayMusic(#music_battle06);
M.Virgo:=Appear(M.Virgo);
M.Leo:=Appear(M.Leo); :end
END
RULE event FortuneArrives
:action
M.For:damage:=30;
PlayEfx(#EFX_ALARM1, 1,M.For:position,0,0);
StartTimer(PlayDialog,3,E.dialog:="_02FortuneInbound");
PlayMusic(#music_battle04);
M.For :=Appear(M.For);
MEvent(MakeShipWarpIn, E.Ship :=M.For);
M.For:tMoveto(M.Sirius,2,0);
M.For:tFireto(M.Orf,2);
:end
END
RULE event AgrippaArrives
:action
PlayEfx(#EFX_ALARM1,1,M.Agr:position,0,0);
PlayMusic(#music_battle01);
M.Agr:damage:=15;
M.Agr:=Appear(M.Agr);
MEvent(MakeShipWarpIn,E.Ship:=M.Agr);
M.Agr:tMoveto(M.Sirius,2,0);
M.Agr:tFireto(M.Lys,2);
StartTimer(PlayDialog,1,E.dialog:="_02Agrippa");
StartTimer(PlayDialog,3,E.dialog:="_02NoWorry");
Timer(SendActium,10,0);
:end
END
RULE event Oberon
:action
M.Obe:damage:=25;
M.Obe:=Appear(M.Obe);
MEvent(MakeShipWarpIn,E.Ship:=M.Obe);
M.Obe:tMoveto(M.Sirius,2,0);
M.Obe:tFireto(M.Lys,2);
:end
END
RULE event SendActium
:action
M.Act:damage:=13;
M.Act:=Appear(M.Act);
//PutShipRel(M.Act,M.Lys,150,0,0,0);
MEvent(MakeShipWarpIn,E.Ship:=M.Act);
StartTimer(PlayDialog,2,E.dialog:="_02ActiumArrives");
:end
END
//When the Corelsdl is down
RULE event FatalDamaged
condition E.Ship=M.Cor
:action
StartTimer(PlayDialog,2,E.dialog:="_02CorDead");
Timer(FortuneArrives,10,0);
:end
END
//When the Fortune is down
RULE event FatalDamaged
condition E.Ship=M.For
:action
PlayMusic(#music_ambient02);
StartTimer(PlayDialog,1,E.dialog:="_02ForDead");
StartTimer(PlayDialog,2,E.dialog:="_02NotSo");
//Timer(VirgoWingDispatched,15,0);
Timer(AgrippaArrives,45,0);
:end
END
//Orff is down
RULE event FatalDamaged
condition E.Ship=M.Orf
:action
StartTimer(PlayDialog,1,E.dialog:="_02OrfDead");
:end
END
RULE event Cheat2
:action
Terminate(M.For);
:end
END
RULE event Cheat1
:action
Terminate(M.Cor);
:end
END
RULE event Cheat3
:action
LocalEvent(SendActium);
:end
END
END
END
#include "includes\_include_me.inc"
END
ENTITIES
SHIP
Name "GTC Orff"
Race #race_Player
ShipType #styp_gtc_fenris
Position -3241.98 1878.35 -9084.02
Orientation -19.5716 4.98181 -23.6752
Devices #weap_gtf_myrmidon ;
NPC
Name "Cmdr. Donemberg"
ID 31
Rank 4
Medals ;
CrewLevel 3
Skill 1 2
Skill 2 2
Skill 3 3
XP 0
END
END
SHIP
Name "GTCv Actium"
Race #race_Player
ShipType #styp_gtcv_deimos
Position -1827.82 1701.6 -6500.52
Orientation 147.555 3.69988 25.6712
Devices #weap_gtf_myrmidon #weap_gtf_hercules_mk2 #weap_gtb_medusa ;
NPC
Name "Cmdr. Donaghy"
ID 3
Medals ;
CrewLevel 3
Skill 1 2
Skill 2 2
Skill 3 3
XP 0
END
END
SHIP
Name "GTCv Lysander"
Race #race_Player
ShipType #styp_gtcv_deimos
Position -2398.7 1596.61 -9527.93
Orientation 12.7495 -9.86259 9.71468
Devices #weap_gtf_myrmidon #weap_gtf_hercules_mk2 #weap_gtb_medusa ;
NPC
Name "Cmdr. Thombaugh"
ID 13
Medals ;
CrewLevel 3
Skill 1 2
Skill 2 2
Skill 3 3
XP 0
END
END
SHIP
Name "GVC Naunet"
Race #race_Player
ShipType #styp_gvc_aten
Position -900.465 2615.06 -3507.13
Orientation 113.72 24.3554 82.9499
Devices #weap_gvf_horus ;
END
SHIP
Name "Command"
Race #race_GTA
ShipType #styp_gtc_leviathan
Position -991.465 1451.01 2262.36
Orientation 0 0 0
NPC
ID 26
Medals ;
CrewLevel 3
Skill 1 2
Skill 2 2
Skill 3 3
XP 0
END
END
SHIP
Name "NTC Oberon"
Race #race_NTF
ShipType #styp_gtc_fenris
Position -7670.13 3169.83 -5797.34
Orientation -143.76 -12.6765 17.3805
END
SHIP
Name "NTC Fortune"
Race #race_NTF
ShipType #styp_gtc_aeolus
Position -4139.44 1339.59 -3681.43
Orientation 171.906 -34.4308 19.2274
END
SHIP
Name "NTCv Agrippa"
Race #race_NTF
ShipType #styp_gtcv_deimos
Position -8324.72 3219.81 -3515.17
Orientation -143.76 -12.6765 17.3805
Devices #weap_gtf_hercules #weap_gtf_myrmidon #weap_gtf_hercules_mk2 #weap_gtb_zeus #weap_gtb_zeus ;
END
SHIP
Name "NTCv Coriolanus"
Race #race_NTF
ShipType #styp_gtcv_deimos
Position -3035.56 -277.26 -2650.77
Orientation 176.361 22.5792 3.99487
END
SHIP
Name "Leo Wing"
Race #race_NTF
Class #cls_fighter_dispenser
Position -3301.92 1939.09 -4577.66
Orientation 0 0 0
Devices #weap_gtf_hercules #weap_gtf_hercules #weap_gtf_hercules_mk2 ;
END
SHIP
Name "Virgo Wing"
Race #race_NTF
Class #cls_fighter_dispenser
Position -3301.92 1939.09 -4577.66
Orientation 0 0 0
Devices #weap_gtb_zeus #weap_gtb_medusa ;
END
SHIP
Name "Sirius Jump Node"
Class #cls_subspacenode
Behaviour 5
Position -2932.5 1745.32 -10553.8
Orientation 0 0 0
END
END