EARTH DEFENSE FORCE 6

EARTH DEFENSE FORCE 6

Not enough ratings
EDF 6 Mission Commands
By Maybe Birb
List of mission commands for EDF 6.
   
Award
Favorite
Favorited
Unfavorite
Welcome
Hello. This is the same chump who made a modding guide for EDF 5. Sometimes, I just can't help myself.

If you have NOT read the modding guide for EDF 5 (specifically the Mission Edits section), just click away. This won't make any sense.
However, if you are indeed one of the people who read the Mission Editing section, let me catch you up to speed on EDF 6 mission editing.

The biggest change is that we don't need Mission Tools anymore. Well, we kind of do, but only for .RMPA files (work on deciphering those is still underway). The former .BVM/.ASM files are now .AC files, meaning we can just open them with Notepad++. The format, however, is a little jarring.

Everything is now in Plaintext. The good news is, this means the devs left a ton of notes (in Japanese) labeling what everything is. The bad news is that now we have to start from square one in terms of our documentation.
So I'm creating this list of .AC commands. This guide will have frequent down times where I'm probably documenting commands en mass. All of the basic principles still apply, of course- copy a command into the mission and that'll be that. Look up AiArmySoldier or GiantAnt01 and usually you'll be brought to where the commands start (LoadResource).

TLDR; this is just a big honkin list of commands for the new mission format.
If you happen to be documenting as well, please feel free to leave a comment and we can compare notes!
(I may or may not make a modding guide for EDF 6. Things are different in my life now, so... we'll see.)
Making use of this guide
https://github.com/wmltogether/CriPakTools - CriPakTools still applies wholly. Use it and find the MISSION folder, and ofc you can also find the OBJECT folder to determine what to add.

If you used to mod EDF 5 (or still do), I'm sure you'll miss being able to create custom coordinates in the RMPA. We're working on it. In the meantime, this should still give you the coordinates: https://github.com/Kemui52/EDF-Doc-Storage/blob/main/Cheat%20Tables/EDF6_Kemui.CT
Yep, made by the same person who made the CE table for 5. Thank you Kemui, you're awesome.
Entity Summoning
Create the player
CreatePlayer("プレイヤー"); // Location

Create Colonel's Squad
CreateColonelSquad( "大佐", // Location 7, // Spawn Radius "app:/object/n601_common_ranger_AF.sgo", // Ally Type 5, // Count 1, // Scaling FALSE // Can be recruited? );
-The colonel leads this squad by default. Not sure why this is its own command.

Create the Professor
CreateProfessor( "プロフェッサー", // Location 1, // Scaling false // Can be recruited? );
-Makes the professor, I guess

Set the Colonel's AI route and speed
g_colonel.SetAiRoute("大佐移動1").SetAiMoveSpeed(0.8);

Create allied squad
squad1_01 = CreateFriendSquad( "小隊1_01NEW", // Spawn point 15, // Spawn radius "app:/Object/AiArmySoldier_AF_Leader.sgo", // Leader "app:/Object/AiArmySoldier_AF.sgo", // Follower 3, // Follower count 1, // Scaling false // Can be recruited? );

Create enemy group
CreateEnemyGroup( "敵3-4", // Spawn location 15, // Spawn radius "app:/object/GiantAnt01.sgo", // Enemy to spawn 10, // Count 1, // Scaling false // Is aggro'd on spawn? ).Spawn(0.2f);

Create enemy group (Area)
CreateEnemyGroup_Area( "敵3_1", // Spawn location (Area) "app:/object/GiantAnt01.sgo", // Enemy to spawn 5, // Count 1, // Scaling false // Is aggro'd on spawn? );