Ripcord Posted December 25, 2012 Posted December 25, 2012 My question pertains to setting mission goals. Lest somebody decide I would benefit greatly by being told to RTFM, I will post that section of the manual here: The bottom drop down field allows you to assign who the points will be awarded to. There are three options: OFFLINE. This setting is used for single player missions; points are only in regards to the Player. RED. A Goal assigned to RED will result in the assigned points awarded to the RED side. BLUE. A Goal assigned to BLUE will result in the assigned points awarded to the BLUE side. So now the question as given in the subject line -- Can we combine red/blue mission goals with offline goals? The ME allows us to do that, I realize, but do the goals work? Need to ask since I have never flown MP and I really am not at all sure how to even test this. I may need to ask for a little help from one of you later this week... For some context, I would like to develop some offline SP missions that CAN BE flown OPTIONALLY as MP coop missions (eg, some clients can join), but in doing this I need to retain the ability for the mission to be played and scored properly, both in SP and MP. For instance if I have an OFFLINE goal of 50 for all enemies getting killed within a zone, can I also add RED/BLUE goals for certain things -- and have them count? Or will it ONLY count the RED/BLUE goal if we fly the mission in MP, ignoring the OFFLINE goal? I am able to build the missions (I think) in such a way that will check for the presence of CLIENTS on each side, both red and blue. So if those clients never spawn, then this might change the number of OFFLINE goals that are taken into consideration. Thanks in advance, and Merry Christmas :xmas: -- s nastupayushim for those in Russia looking forward to the big New Year celebration.:holiday: Cheers Ripcord [sIGPIC][/sIGPIC]
Grimes Posted December 25, 2012 Posted December 25, 2012 All 3 work in multiplayer as 3 independent scores. In singleplayer all 3 will count toward the same score. I'd recommend learning some LUA as you can pretty easily create new scores to check and it will work just the same. local score = 0 If some condition == true then score = score + 1 end The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Ripcord Posted December 26, 2012 Author Posted December 26, 2012 (edited) All 3 work in multiplayer as 3 independent scores. In singleplayer all 3 will count toward the same score. I see. So if I use just RED/BLUE scoring then I'll be in good shape even if played in SP. Is that a fair statement? BTW, I mean in terms of mission scoring used by the campaign engine. Easy enough to test this in SP. Thanks Grimes. Edited December 26, 2012 by Ripcord [sIGPIC][/sIGPIC]
Grimes Posted December 26, 2012 Posted December 26, 2012 No. Think of it like this. SP: Red Score + Blue Score + Offline Score = score (it seems all 3 go into the same points pool that can be checked with red, blue, or offline trigger conditions to see if the score is high enough) MP: Red Score = Red Score, Blue Score = Blue Score, Offline Score = Offline Score Another alternative is to determine the score via flag states. Flag 1> Objective accomplished. Mission Goal: Offline> Flag 1 is True> 10 points The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Ripcord Posted January 9, 2013 Author Posted January 9, 2013 No. Think of it like this. SP: Red Score + Blue Score + Offline Score = score (it seems all 3 go into the same points pool that can be checked with red, blue, or offline trigger conditions to see if the score is high enough) MP: Red Score = Red Score, Blue Score = Blue Score, Offline Score = Offline Score Grimes, thank you for this. Is it possible then to have a campaign which allows for other clients to participate in MP? I'm thinking that I'll have a player (blue A-10C) plus a couple other blue flights, along with 3 red flights... all of which must of course be clients. So then my blue side attains a score of 90, while my red side attains a score of 60. How does the campaign engine treat that? Or does it do anything at all with it? Perhaps the campaign engine reads OFFLINE scores only? Another alternative is to determine the score via flag states. Flag 1> Objective accomplished. Mission Goal: Offline> Flag 1 is True> 10 points This I undertand and in fact I have used this approach in some of my missions. In the event that the campaign engine reads only the OFFLINE score and not RED/BLUE scores, then this might well be the cleanest, simplest and most elegant way to designing the structure of campaign missions that may or may not involve clients in MP. [sIGPIC][/sIGPIC]
Recommended Posts