SeanPatrick Posted October 17, 2009 Share Posted October 17, 2009 I'm having trouble scoring a mission I'm working on. Here's the situation...Mission: To raid an Afghan city and extract a high ranking terrorist.How I want it to be scored: All units: 100pts. (minus 1pt./% damage, max 100) + Target: 100pts. (minus 1pt./% damage, max 100) = 200 max points. However, I want there to be a penalty of 100pts. if the target is not in the extraction zone.Max Scaled Score: 200The labels are as follows: Major Victory >= 90%, Victory >= 50%, Major Defeat < 25%. So, a Maj. Victory should be: extract the target + 80% or more units survive. A victory should be: extract the target (at any cost) -OR- 100% units survive. Defeat: target not extracted + <100% units survive. Major Defeat: target not extracted + <50% units survive.That last bit is the problem. If I condition the points for the target with an "Apply if...", the points are removed from the max possible score and a false Maj. Victory is awarded even if the target was not extracted. An event points condition which awards negative 100pts. "if unit [target] is not in area [extraction]" doesn't seem to work either. (Note: The unit to be extracted does not spawn until midway through the mission.) If I start the mission and immediately end it, or even if the target gets killed, I always achieve a Maj. Victory. Am I making this too complicated or is there a better way to go about it?Thanks 0 Quote Link to comment Share on other sites More sharing options...
SeanPatrick Posted October 17, 2009 Author Share Posted October 17, 2009 (edited) Okay, I think I solved the problem like this: All units: 100pts. (minus 1pt./% damage, max 100) + Event "extract" true at mission end: 100 pts. = 200 max pts.Labels: M.V. >= 90%, V. >= 55%, M.D. < 25%. But now victory requires extraction + >=10% unit survival.I really wanted a victory if everyone made it home, but not if the target was still alive but not extracted.If anyone knows how to do this, please let me know....And BTW, is there any way to get a bridge layer to do its thing automatically? Edited October 17, 2009 by SeanPatrick 0 Quote Link to comment Share on other sites More sharing options...
Members Ssnake Posted October 17, 2009 Members Share Posted October 17, 2009 ...And BTW, is there any way to get a bridge layer to do its thing automatically?Yes, but only where it doesn't matter. :redface:The problem is the range of the bridges - around 18...22m - while rivers are either 12.5m wide or 25m. Since 25m width (=two pixels width in the map editor) exceeds the bridge capacity, the vehicle won't deploy the bridge. That leaves single pixel water streams which however are typically shallow and small enough to be forded by the vehicles without additional help.To test it, give the bridgelayer a breach route that starts a few meters before the embankment and which goes in a straight line across the river.Clearly we need to improve things here (like so many other things).The scoring thing ... I need to think a bit longer about it. I'm sure, it can be done. The basic idea is that you grant 100 points, and you have a 100 points penalty if the target that is supposed to be captured isn't there (the event "target in capture zone" is NOT true at mission end). That way you always get a 300 points max score. 0 Quote Link to comment Share on other sites More sharing options...
SeanPatrick Posted October 18, 2009 Author Share Posted October 18, 2009 Okay, thanks. I'll test it at various spots and see what works.One more question: is there any way to view the various troop uniforms without creating a mission each time? I'm trying to find the uniform which most closely resembles that of the Belgians. 0 Quote Link to comment Share on other sites More sharing options...
Members Ssnake Posted October 18, 2009 Members Share Posted October 18, 2009 You could check the texture files directly, but you must be able to display DDS files to do so. They are located in C:\Program Files\eSim Games\SB Pro PE\textures\camo\woodland\... 0 Quote Link to comment Share on other sites More sharing options...
SeanPatrick Posted October 19, 2009 Author Share Posted October 19, 2009 I'm such an idiot. I was sitting there looking at the dds extension thinking "where have I seen that before?" Then I read your reply and remembered that I already downloaded a dds plugin for Photoshop to use with MS Flight Sim. Duh.Anyway, I've gotten the scoring close to how I want it, but not perfect. I assigned 100pts. for the assault force, 100pts. if [target] is in [extraction], and 20 bonus pts. if [target]<1 members (apply if [extraction] is not true).Max Scaled=200 Maj Vic=90% Vic=55% Maj Def=25%This way the max attainable is 200 (or 220) and the logic is as follows:Maj Vic= Target extracted+>80% surviveVic= Target exctracted+10%-79% survive -or- Target killed+100% surviveDef= Target extracted+<10% survive -or- Escapes+ 50%-100% survive -or- Killed and 33%-99% surviveMaj Def= Target escapes+<50% survive -or- Killed+<1/3 surviveOn a personal note (and seriously not wanting to offend any Romas), does anyone have a recipie for zigeuner schnitzel that includes pickles? It's for my mother. Seriously, she misses getting it at the Gasthaus outside of Bad Kreuznach.Thanks! 0 Quote Link to comment Share on other sites More sharing options...
Members Ssnake Posted October 19, 2009 Members Share Posted October 19, 2009 ... does anyone have a recipie for zigeuner schnitzel that includes pickles?Try this... :sonic: 0 Quote Link to comment Share on other sites More sharing options...
SeanPatrick Posted October 19, 2009 Author Share Posted October 19, 2009 Good one! I left myself wide open for that one. 0 Quote Link to comment Share on other sites More sharing options...
SeanPatrick Posted October 21, 2009 Author Share Posted October 21, 2009 Good news: the bridge layer works perfectly right where I need it. My mission is complete. I just want to run through it a couple more times to make sure everything works before I post it.Maybe it's because I've played it so many times, but now it almost seems too easy. I tried to work in some randomness to give it some re-playability but... I don't know. Guess I'll just post it and wait for feedback.Thanks for all the help. You guys are great, even though I know you're tired of my stupid questions. Hopefully it'll be worth it.Hey, I want a cool name like "Ssnake." Maybe I'll change mine to "Revolver Ocelot." Ha ha... No really though, I think I'm gonna change mine to GrayFox if it isn't already taken. I love Metal Gear. Speaking of which, has anyone here played an old Xbox game called "Steel Battalion?" It's a mech game that came with this huge 40 button controller and foot pedals. Cost about as much as the Xbox itself. In game they refer to the mechs as "vertical tanks" or "VTs." Supposedly, the designer was going for a futuristic tank sim. It's kind of a neat game. Only thing I don't like about it is the lack of a 3rd person view. I want to SEE my mech wreaking havoc! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.