Skip to content

Latest commit

 

History

History
73 lines (61 loc) · 2.51 KB

Contributing.md

File metadata and controls

73 lines (61 loc) · 2.51 KB

Contirbuting

File Naming

Maps with loading screen animations and palletes should be placed at the mix folder Source/expandmo42. Map names should be followed name pattern FXNAME, where

  • F - means fanmade misson,
  • X - short faction name (A - Allied, S - Soviet, E - Epsilon, F - Foehn),
  • NAME - short name of the mission.

Map's animation and pallete should be named exactly as map file.

CSF Strings

All maps should use only this strings:

  • FXNAME:* - any string displaying to user,
  • BRIEF:FXNAME - in-game briefing,
  • LOADBRIEF:FXNAME - briefing on loading screen,
  • LOADMSG:FXNAME - top text on loading screen about operation name and location,
  • MAP:FXNAME - default map name for creating save,
  • POST:FXNAME - briefing in the end of mission.

Loading Screen

Mission loading screen defines at missionmo.ini. Before adding mission to the this project you should add this ini-section to the file and change FXNAME to yours.

[FXNAME.MAP] ; Campaign Name - Mission Name
Briefing=BRIEF:FXNAME
UIName=MAP:FXNAME
LSLoadMessage=LOADMSG:FXNAME
LSLoadBriefing=LOADBRIEF:FXNAME
LS640BriefLocX=20
LS640BriefLocY=20
LS800BriefLocX=20
LS800BriefLocY=20
LS640BkgdName=FXNAME.SHP
LS800BkgdName=FXNAME.SHP
LS800BkgdPal=FXNAME.PAL
LoadScreenText.Color=LightGrey

Mission In-game Selection

Mission sequencing defines at mapselmo.ini. At faction section [GDI] (Allies), or [Nod] (Soviet), or [ThirdSide] (Epsilon), or [FourthSide] (Foehn) you need add N=FXNAME, where N - next count number.

[FXNAME] ; Campaign Name - Mission Name
Scenario=FXNAME.MAP
VoiceOver=NOD-01.AUD
MapVQ=NODMAP01.VQA
Overlays=TN02A.SHP,TG02A.SHP
Targets=1,190,100
ClickMap=NODCLK01.PCX
; N=NEXT_FXNAME ; Next mission defines with the same text and faction section

Mission Client Selection

After you have done all previous steps, you need to add your mission into client at file BattleClient.ini. Style of this file is very common with mapselmo.ini. In section [Battles] you need add entry for your mission ANYTEXT=FXNAME, and then edit section [FXNAME].

[FXNAME] ; A 02 - EAGLE SKY HIGH
CD=2
BuildOffAlly=yes
Scenario=FXNAME.MAP
Description=Campaign Name: Mission Name
Summary=
SideName=FACTION ; Allied, Soviet, Epsilon, Foehn
FinalMovie=
Side=0
Act=1 ; 1 - act 1 technologies, 2 - act 2 technologies
LongDescription=Long text description. ; Use @ for \n

Single Missions

All single missions without campaign continuation should have in section [Basic] key EndOfGame with value yes.