Serp Supreme Posted November 9, 2013 Posted November 9, 2013 Hey gents. Quick question regarding a mission I'm creating. So basically this blue ship's crew mutinied (I have absolutely no idea how to use that word, i believe what I have is correct. Committed mutiny? I dunno. Anyways...) and is attempting to escape through the Bosphorus, and going god knows where. The Russian fleet in the Black Sea there is attempting to catch them and kill them. The US also wants to destroy the ship for god knows what reason. Now, lets assume this crew doesn't want to go back, at any cost. How can I get the blue ship to fire on its allies, which will be American F-15s and A-10s? I'm looking for a reversed Hunt For Red October style thing here, if that makes sense. This post is protected by a pilot who has a serious lack of negotiating skills, but is absolute hell in a dogfight. If you do not belong here, please leave. You have now been properly negotiated with. MiG-29S Instant Action Mission Fix Come check out and add to my list of all landmarks in DCS World! ^that works now
ENO Posted November 9, 2013 Posted November 9, 2013 (edited) Go into program files / dcs world / databases and go down to db_countries.lua. Use notepad++ to go in there, scroll down to usa and choose the desired ship. Copy then paste it in the right section of your desired red team country. Then start the editor. Scroll through ships on that red country and you will see your new vessel ready for mutiny! Edited November 9, 2013 by ENO "ENO" Type in anger and you will make the greatest post you will ever regret. "Sweetest's" Military Aviation Art
Grimes Posted November 9, 2013 Posted November 9, 2013 You can freely break the mission editor rules via mission scripting. coalition.addGroup() still works if you spawn in any object as long as the category is correct. So you can break the rules by spawning a US ship to any opposing country. I think you'd have to have USA and Russia on the same though to make it so they both attack it, but obviously they won't attack each other. A non-neutral third side simply isn't part of the sim at this time. You can also break the rules via the waypoint task assigned to a group. "Attack group" or "attack unit" commands work as long as the group/unit Ids are correct, whereas the mission editor filters out friendly groups/units. :) 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
Serp Supreme Posted November 9, 2013 Author Posted November 9, 2013 You can freely break the mission editor rules via mission scripting. coalition.addGroup() still works if you spawn in any object as long as the category is correct. So you can break the rules by spawning a US ship to any opposing country. I think you'd have to have USA and Russia on the same though to make it so they both attack it, but obviously they won't attack each other. A non-neutral third side simply isn't part of the sim at this time. You can also break the rules via the waypoint task assigned to a group. "Attack group" or "attack unit" commands work as long as the group/unit Ids are correct, whereas the mission editor filters out friendly groups/units. :) So, what is the most efficient way of doing this, assigning the runaway ship to the red side and making the Russian fleet (5 ships, one is a carrier, with 4 Su-33s) or keeping the runaway as a blue member but setting it to attack the player flights? Also I don't think I understand what you mean by that whole "as long as the group unit/IDs are correct..." thing. Go into program files / dcs world / databases and go down to db_countries.lua. Use notepad++ to go in there, scroll down to usa and choose the desired ship. Copy then paste it in the right section of your desired red team country. Then start the editor. Scroll through ships on that red country and you will see your new vessel ready for mutiny! That puts the ship onto the red side, but I want the Russians to be attacking the ship as well because its violating something, I dunno. I'll think of a better sounding story later, right now I'm after 3 sided warfare. This post is protected by a pilot who has a serious lack of negotiating skills, but is absolute hell in a dogfight. If you do not belong here, please leave. You have now been properly negotiated with. MiG-29S Instant Action Mission Fix Come check out and add to my list of all landmarks in DCS World! ^that works now
Serp Supreme Posted November 9, 2013 Author Posted November 9, 2013 (edited) Actually, ENO, I think I'm gonna go with your idea, it would make it seem more realistic. Thanks for the help guys. EDIT: Will whoever I fly this with online see the converted ship as enemy, or even see it at all, if they didn't change their files? Edited November 9, 2013 by Serp Supreme This post is protected by a pilot who has a serious lack of negotiating skills, but is absolute hell in a dogfight. If you do not belong here, please leave. You have now been properly negotiated with. MiG-29S Instant Action Mission Fix Come check out and add to my list of all landmarks in DCS World! ^that works now
ENO Posted November 9, 2013 Posted November 9, 2013 Yeah if you want a hfro scenario just set Russian and us as blue and then the opposing country of choice as red. It should show up just fine- but that ship will remain in your inventory of the chosen country... Unless deleted. "ENO" Type in anger and you will make the greatest post you will ever regret. "Sweetest's" Military Aviation Art
Cougar Posted November 10, 2013 Posted November 10, 2013 Or use mist respawn in zone with Israel f-15 on red flying somewhere then repawn the group when the mutiny happen. If trigger.misc.getUserFlag (1) == 1 then mist.respawnInZone ('groupname','zonename') end Not at home right now cant remember by heart what is needed for the mist respawn script but might be an option for you.
Recommended Posts