SeaQuark Posted March 9, 2017 Posted March 9, 2017 (edited) I'm building a multiplayer mission where I want a particular plane slot to have no gun ammunition loaded (this is for F-86s, incidentally). I can set the unit's ammunition to 0%, however the player is able to re-arm the craft at will. I have set the airfield warehouse equipment to 0 across the board, but no dice, it doesn't prevent the gun from being loaded. Is there anything I can do to limit gun ammo, or disable the rearming function of the ground crew? Edited March 9, 2017 by SeaQuark [sIGPIC][/sIGPIC] WNG. CMNDR. 39th Virtual Fighter Squadron SeaQuark Sims DCS YouTube channel
Wrecking Crew Posted March 9, 2017 Posted March 9, 2017 No, there is nothing you can do. I went through this issue a few years back. It was an important part to a mission, so I asked, too. Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.
SeaQuark Posted March 10, 2017 Author Posted March 10, 2017 Boo. Alright, Plan B-- how about simply detecting when the player fires a weapon, and setting a flag? That way at least I can "punish" the player if they load ammo. Does the "units_firing" script in SLmod still work? I installed the 1.5-compatible SLmod and am trying to get this script to work, no success yet: https://forums.eagle.ru/showpost.php?p=1523067&postcount=4 Or is this too old / broken? Is there a similar function in MIST I should be using? [sIGPIC][/sIGPIC] WNG. CMNDR. 39th Virtual Fighter Squadron SeaQuark Sims DCS YouTube channel
Wrecking Crew Posted March 11, 2017 Posted March 11, 2017 I've discussed 'punishing' a player, too; what are you going to do? I let it go that guns can be reloaded. Is this slot a ground start? You can make it a chore for the pilot to load gun ammo with an Air Start slot that starts at 100 or so feet above the runway. --- We use Slmod on the Hollo Pointe server for admin functions. Suggest you look at Mist and Lua scripts. We have a script that detects player 'take off' events -- don't know all of the things that can be detected. Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.
SeaQuark Posted March 11, 2017 Author Posted March 11, 2017 (edited) Any number of ways, easiest would be to disable the slot and reactivate it so they have to start over. The whole premise of the mission is to emulate a field-modified recon F-86, where the ammunition was removed to make room for the cameras. So one player has to fly the unarmed recon craft, and other (armed) players have to cover him. If the player did load ammo into the craft, if I could get this to trigger a flag, it would work very well with the mission: it would just disable the victory condition. But it's conditional on getting this SLmod script to work, which I haven't been able to yet. EDIT: I missed the part of your post recommending MIST. I already have MIST loaded in my mission, but I couldn't find any examples of scripts that would detect somebody firing. Airstart would work, of course, but it's a very inelegant solution, and would interfere with the mission in other ways. Edited March 11, 2017 by SeaQuark [sIGPIC][/sIGPIC] WNG. CMNDR. 39th Virtual Fighter Squadron SeaQuark Sims DCS YouTube channel
feefifofum Posted March 11, 2017 Posted March 11, 2017 If your airfield is technically a REDFOR base then the ground crew will not respond to requests. You can accomplish this by stacking up a bunch of Ural-375 or similar unarmored transport vehicles around the base, with advanced waypoint action -> perform command -> invisible ON so that other allied units don't freak out. Once the player has taken off (UNIT'S ALTITUDE HIGHER THAN) you could potentially despawn these vehicles so the player is able to refuel etc. if they land again. My .02 though, is that cheaters gon' cheat. Worry about designing a fun mission for the people who want to play, not about forcing those who don't to do things your way...there's always a way to get around it. Your target audience should be the people who read the briefing and follow the orders, not the guys who just want to turn everything into a shooting gallery. :) Good luck! THE GEORGIAN WAR - OFFICIAL F-15C DLC
SeaQuark Posted March 11, 2017 Author Posted March 11, 2017 (edited) Thanks for the suggestion, fee. I looked into this option, problem is-- if I disable the ground crew entirely, they won't be able to start up the plane! (F-86 requires ground power hook up). I completely agree with you, and I'm not overly concerned with people abusing the mission-- it's more to do with immersion, which I am doing my very best to maximize. Setting a flag for guns firing would be ideal, the more I think about it. My research shows me that during the Korean war, there were field-modified recon F-86s where the guns were left functional, but they removed the ammo because firing them disturbed the cameras and ruined the film. I even have a sound clip ready to go for this-- so if a player decided to load up ammo and take-off, he'd fly the mission, only to get yelled out at after landing for botching the pictures. i.e. I'm concerned less with people "playing by the rules," it's more about taking every opportunity I can to add realistic details. If it's impossible, so it goes. I will find a work-around. Edited March 11, 2017 by SeaQuark [sIGPIC][/sIGPIC] WNG. CMNDR. 39th Virtual Fighter Squadron SeaQuark Sims DCS YouTube channel
Pikey Posted March 13, 2017 Posted March 13, 2017 Also looked at this issue. Whereas we have a missile trainer that can remove lethal missiles, guns totally different. I asked in MOOSE also and it's not really feasible to capture bullets and remove them. Invulnerability likely isnt an option. I'd love a gun trainer for bullet only planes. ___________________________________________________________________________ SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING *
Recommended Posts