Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Add Side A's Aircraft to Neutral Airport

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Add Side A's Aircraft to Neutral Airport Page: [1]
Login
Message << Older Topic   Newer Topic >>
Add Side A's Aircraft to Neutral Airport - 6/29/2020 8:11:44 PM   
Bashkire

 

Posts: 38
Joined: 2/23/2015
Status: offline
Hello chaps,

I'm working on a scenario involving an advanced insurgent group versus my task group, but I'm having a bit of trouble deceiving the player.

In this scenario, the insurgent group has captured some military jets from the country's military, and are using civilian airports to launch attacks from. I don't want the player to simply see a red airport and attack everything in the sky, so I've also got some civilian aircraft doing the rounds and transiting from A to B as commercial air traffic. What I would like is for the player to be lulled into a false sense of security by this, and eventually, the insurgents may just launch an attack from one of these airports.

The problem I have is that I can't seem to add a hostile aircraft to a neutral airport. Does anyone have any ideas?
Going into Gods Eye view allows me to add an aircraft to an airport from the perpective of the insurgents, but because the airport is civilian it adds it to the civilian's side.

I'm at a bit of a loss.

Thanks chaps. Let me know if you want me to clarify anything.
Post #: 1
RE: Add Side A's Aircraft to Neutral Airport - 6/30/2020 1:08:38 AM   
michaelm75au


Posts: 13500
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
I can't recall if anyone has tried this before - adding hostiles to a non-allied base.

_____________________________

Michael

(in reply to Bashkire)
Post #: 2
RE: Add Side A's Aircraft to Neutral Airport - 6/30/2020 3:14:37 AM   
KnightHawk75

 

Posts: 1450
Joined: 11/15/2018
Status: offline
This can be done with some minor caveats

Here is how you accomplish it.
I have 3 sides, wc,ec,neutral; wc\ec are hostile to one another neutral is neutral to both (green)
(now you can add the units via lua too but I'll give the editor way).
1. Flip to the neutral side in the editor and add the specific units to the airport you want for you insurgents as non-allied aircraft for now.
In my case I chose the side wc as the insurgents. Now for this example rename the aircraft (or one if you added multiple) to 'bagman #1'.
Don't give it a loadout yet.
2.Now open the lua console and paste this in.

local u = ScenEdit_GetUnit({side="neutral",name='bagman #1'});
ScenEdit_SetUnitSide({side="neutral",guid=u.guid,newside="WC"})

3.Hit run.
4.Now switch sides to your insurgents (again in my case side WC)
5.Flip on god mod (ctrl-v) and select the airport (you might have to re-selected it if was already selected to 'refresh' it for the new side view)
Open the airops screen for it, it will now let you assign a loadout for the aircraft you own, but not ones you don't. Go ahead and assign a loadout for bagman #1 as a test and close the airops screen.
6.Turn off god mode.
You should be able to now assign him to a mission or whatever that you activate when\if the time is right on insurgent side.
The unit will by default keep airbase as it's home base and successfully return\land.

The caveat really is if you try this in reverse, ie have the player have stuff at a neutral base, the human will not have access to god mode when outside the editor to the airops screen - but you could give them some special actions to kick off a launch via lua or tell them about it and to use a mission to launch them if they're ready to go. Once airborne they would have full-control and could re-base said aircraft.

There is also something I also noticed with mags. When they land they seem to add munitions to the neutral sides mags from whatever was on their own plane, and re-taking off they don't seem to take from the mag even though they do restock their loadout. IE if give the neutral base 8 sbd's and land a wc f-22 with that loadout who launched an fired 1, and he lands with 7 at the neutral airfield the neutral mags will go from 8 to 15, when it's ready again it will launch with 8 and the mag stays at 15.



< Message edited by KnightHawk75 -- 6/30/2020 3:19:14 AM >

(in reply to michaelm75au)
Post #: 3
RE: Add Side A's Aircraft to Neutral Airport - 6/30/2020 10:19:01 PM   
TheOttoman

 

Posts: 139
Joined: 12/14/2017
Status: offline
Couldn't you have three sides here:

Blue (You)
Red (Insurgents)
Green (Civ Airfields)

In the posture, make the following:

Blue is Hostile to Red
Blue is Neutral to Green
Red is Hostile to Blue
Red is Friendly to Green
Green is Neutral to Blue
Green is Friendly (or Neutral) to Red


IIRC, air units can land at neutral or friendly airbases but not hostile. That should keep the Civilian Airfields looking neutral to Blue, and more importantly Blue cannot see which planes are based there (unless they do a visual inspection)

< Message edited by TheOttoman -- 6/30/2020 10:21:29 PM >

(in reply to Bashkire)
Post #: 4
RE: Add Side A's Aircraft to Neutral Airport - 7/2/2020 1:24:12 AM   
Gunner98

 

Posts: 5508
Joined: 4/29/2005
From: The Great White North!
Status: offline
I think TheOttoman has it. Allied sides can use each others bases and as long as the Blue player is neutral to the Green side it should work fine.

B

_____________________________

Check out our novel, Northern Fury: H-Hour!: http://northernfury.us/
And our blog: http://northernfury.us/blog/post2/
Twitter: @NorthernFury94 or Facebook https://www.facebook.com/northernfury/

(in reply to TheOttoman)
Post #: 5
RE: Add Side A's Aircraft to Neutral Airport - 7/2/2020 3:23:09 AM   
KnightHawk75

 

Posts: 1450
Joined: 11/15/2018
Status: offline
Once you get into 'friendly' unless you blind the neutral side, they will share information\contacts, I don't think the op wanted that, but could be wrong.

(in reply to Gunner98)
Post #: 6
RE: Add Side A's Aircraft to Neutral Airport - 7/2/2020 8:39:15 PM   
Bashkire

 

Posts: 38
Joined: 2/23/2015
Status: offline
Thanks for all the replies, guys.

@MICHAELM75AU; thank you very much. Your idea has worked wonderfully (although for some reason the code didn't work originally, but after a restart it did).

@THEOTTOMAN; I'll keep your idea in mind. It certainly has less steps than Michael's, and it's something that I didn't even think about. @KNIGHTHAWK75; my civilian sides are set to blind, but as I said: I didn't even consider Ottoman's idea.

Thanks forall the help, guys.

(in reply to KnightHawk75)
Post #: 7
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Add Side A's Aircraft to Neutral Airport Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

3.486