JDog 11 Posted July 23, 2009 So I started testing my mission in single player instead of editor, and right off the bat I noticed the units didnt have the weapons I gave them. It only reverted to default weapons in SP btw, not in the editor. I made a copy of the mission and for the last 30min have been deleting files in the mission folder 1 by 1, exporting to SP, and playing... trying to figure out what's messing it up. I finally delete briefing.html and it fixes it. Did so in my original mission folder also. My init file does multiple things, including calling other files, one of which is "scripts\loadouts.sqs". That's the first init statement. There's another script in that same folder that is called, but that one kept working. So unless briefing.html somehow causes the init file to skip the first line.... does anyone know why it would be stopping me from calling that script? ---------- Post added at 09:42 PM ---------- Previous post was at 09:30 PM ---------- Ugh and apparently without a briefing.html file, the mission briefing and intel and stuff wont load or show either, even if the file is empty with no text. I cannot figure this one out. I doubt it's a limitation of the game to be able to have a briefing and custom loadouts at the same time in a SP mission, right? Share this post Link to post Share on other sites
joshpc 0 Posted July 23, 2009 Im going to go have a look it is funny we both posted a topic at the same time... wonder if I can close mine?lol Anyways Im gonna mess with the Briefing. Maybe just remove the HTML version? Use just the briefing.sqf? Is the Briefing.html needed? Share this post Link to post Share on other sites
TurokGMT 0 Posted July 23, 2009 don't use a briefing.html, use a briefing.sqf and call it from init.sqf - works fine for me Share this post Link to post Share on other sites
JDog 11 Posted July 23, 2009 I do use briefing.sqf. And I do call it in the init with execVM "briefing.sqf"; but for some reason it wouldn't even show before placing you in the game unless I had the briefing.html file there also. Besides dont you need briefing.html for the debriefing descriptions? Anyway... I got it to work now. I just call my loadouts script at the end of the init, with a 1 second delay between everything else and the loadout call. Share this post Link to post Share on other sites
joshpc 0 Posted July 23, 2009 Im gonna try what he said. "init.sqf" Maybe that will fix it for me. Im new to arma stuff... OFP wasnt like this... "why cant it all be the same why!" ---------- Post added at 10:19 PM ---------- Previous post was at 09:57 PM ---------- Naw its not working how did you fix it? I dont understand what you did... Share this post Link to post Share on other sites
JDog 11 Posted July 23, 2009 Well for me I guess all that was happening is that my loadout script call didnt have enough time or space to execute or somethin. I move it from the first statement in the init file so now it's the last statement, with a 1 second wait right before it. Mine is an init.sqs so it looks like other init calls... ~1 []exec "scripts\loadouts.sqs" if it's a .sqf file I think you just have to use "sleep 1;" instead of "~1". Worked for me anyway, but yours is MP so idk if its the same problem. Share this post Link to post Share on other sites
joshpc 0 Posted July 23, 2009 So this should work? execVM "briefing.sqf"other init calls... ~1 []exec "scripts\M4A1SD.sqs" ~1 []exec "scripts\M4A1SDGL.sqs" obj1flag = false; obj2flag = false; obj3flag = false; Share this post Link to post Share on other sites
JDog 11 Posted July 23, 2009 No idea, haven't tried making an MP map, I just know my SP one doesnt initialize players correctly. Doesnt put my friend in a vehicle at mission start with me. Gotta work it a little differently but haven't looked into it yet. But yes, that's what I did. No harm trying though, huh? Share this post Link to post Share on other sites
joshpc 0 Posted July 23, 2009 (edited) I wouldnt think so, Although now its telling me It cant find the M4A1SD.sqs? The weapons are there though... Checking Multiplayer now. Grrr After trying it doesnt work.. so I guess its diffrent! :-( Edited July 23, 2009 by joshpc Share this post Link to post Share on other sites