OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: Zombie on 08 Aug 2009, 14:57:52

Title: differences in description.ext arma -> arma2?
Post by: Zombie on 08 Aug 2009, 14:57:52
I have tried adding onloadmission = "what I want it to say" to the description.ext but no joy. Did this function somehow change in Arma2?   I have also tried onloadmission = mission_description but still nothing shows during the loading screen, and it lasts long enough to be displayed
Title: Re: differences in description.ext arma -> arma2?
Post by: hoz on 08 Aug 2009, 16:01:52
AFAIK it still works, make sure you include a ; at the end. thats the only thing I could see messing it up. Also check in your rpt for any errors.
Title: Re: differences in description.ext arma -> arma2?
Post by: Zombie on 08 Aug 2009, 20:45:38
No errors in the rpt.  I just don't get it.  I have even depbo'd other missions where it works and don't see a difference in what I have done
Code: [Select]
///////////////////////////////////////////////////////////
// Armed Assault Description File
// Created with ArmA Edit - Version 1.3.3000
///////////////////////////////////////////////////////////

onLoadMission="{USI} Studios presents: Random Specops";
respawn = "GROUP";
respawnDelay = 15;


class Header
{
gameType = Coop;
minPlayers = 1;
maxPlayers = 8;
};
Title: Re: differences in description.ext arma -> arma2?
Post by: hoz on 08 Aug 2009, 21:20:47
Do you have a titlecut or titlersc maybe overwriting the display?
Title: Re: differences in description.ext arma -> arma2?
Post by: Zombie on 08 Aug 2009, 21:48:16
no, not using those.   Trying this in an mp map if that matters, which it shouldn't.
Title: Re: differences in description.ext arma -> arma2?
Post by: nominesine on 10 Aug 2009, 10:29:43
Get rid of the curly stuff surrounding {USI} and see if that helps. {} are reserved for code, and I suspect that your signature may interfere with the description.ext, even though it turns up inside double quotes. Untested, but worth a try.
Title: Re: differences in description.ext arma -> arma2?
Post by: Zombie on 13 Aug 2009, 23:46:32
with the help of BlackAlpha on another forum, discovered the issue.  I thought that briefing.html was not required for arma2, but if you remove that, for some reason the onloadmission won't show.  You need briefing.sqf for briefings before the mission, and tasks during, and you need briefing.html for the debriefing.
  Not sure why this would cause the onloadmission to fail, but that is what worked for me.
Title: Re: differences in description.ext arma -> arma2?
Post by: nominesine on 14 Aug 2009, 08:28:04
There was a similar issue with Operation Flashpoint. In OFP the mission title (the one you write in the editors intel box) would not display properly for SP and Campaign missions, unless you had a briefing included in the folder. This sounds like a similar issue. Good to know.