Jump to content

Recommended Posts

Posted (edited)

Let me start by saying I have only watched,read about and played community made missions. It is something in looking to invest time in but have not made the dive!!!

 

Can mission files be edited in real time and it run?

 

 

 

My thought is background programing.

 

Imagine a simple mission with some bombers taking off climbing to height x and then flying a box route that ends up back at the same base and landing.

 

I was thinking is it possible to randomized the flight box (maybe make it a parallelogram) and random height?

 

I know The math, but it needs to edit the main programs files in real time!! Is that possible???

Edited by [TBC]AeroACE
Posted

If you are speaking of waypoints, you can pre-program a few flight routes, and then randomize which one will be triggered (the randomization already exists as a group in the groups sharing thread).

Posted

I think it must be possible to write in real time as Coconut has made a clever app that controls ground forces in real time. Maybe its possible to add aircraft

Posted (edited)

That kind of randomization AeroACE is speaking about can be easely done by means of Mission Editor. And as far as I know pips who make missions use that feature.

Personally about to post Frei jagd mission almost totally based on check zones with different odds.. So the player never know.

Edited by samson
Posted

If you are speaking of waypoints, you can pre-program a few flight routes, and then randomize which one will be triggered (the randomization already exists as a group in the groups sharing thread).

Ok this is a solution to my example but it is not truly random, it just creates a feeling of randomness.

 

What I really want to be able to do is write my own program that can change certain variables(in a more complex way than the software allows) within the mission files without using the editor.

 

Now i believe that i can do this to a mission file before it is run and once it is running them variable are constant for the duration of the mission.

 

But my real question is could i change variables once the program is running?

 

Example two: I for some reason want the air temperature to suddenly drop during the course of a mission.

 

Ok so i write a program that will edit the text value of the temperature in mission file so that it drops 5 degrees every 30 mins.

 

So will bos update and change that value or will it just use the initial condition?

 

Food for thought

Posted

Mission files are loaded when you hit start button and will not be watched for and updated from changes on file system. So the answer is no, you cannot change mission state by changing the file while the mission is running. Theoretically you could patch some offsets in the memory while the executable is running (to set a new temperature level for example) - but I doubt the effort required to achieve this would be worth the trouble :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...