Jump to content

EMS requests - Under a custom altitude, and mission names alongside red markers


Gregarious

Recommended Posts

I have this working, but I have two requests:

 

1. Taviana has huge volcanic mountains. The EMS missions tend to spawn in unreachable or hazardous areas on these mountains. Is it possible to force the missions to spawn under a certain altitude with regard to water level?

 

2. I've seen other mission systems place mission names on top of the red circled marker areas (e.g. "Ammo Crate", "Stolen APC", etc). Is there a way to get the mission name/type with these red circled markers?

 

Thanks in advance.

Link to comment
Share on other sites

For #1 you can use custom spawn locations, either make your own up or here are mine.

 

In all your missions except for any that require water, find :

_coords = [getMarkerPos "center",0,7000,10,0,2000,0] call BIS_fnc_findSafePos;

 

Replace with :

_positionarray = [[2399.0769,749.52197,0],[4516.7148,830.54303,0],[7980.8564,1693.8378,0],[13036.822,664.17865,0],[16330.425,1629.3978,0],[23708.053,3976.8662,0],[21153.215,10051.731,0],[23297.881,12547.205,0],[19388.055,11063.384,0],[14359.069,9694.165,0],[10820.335,9245.5078,0],[12162.192,6024.4185,0],[6434.7725,6108.5767,0],[3180.4126,3651.9229,0],[3020.9878,8113.0317,0],[10930.454,13336.939,0],[8793.7764,13443.119,0],[3819.083,13717.583,0],[1008.6122,15121.52,0],[5991.2417,16741.16,0],[12037.332,17659.262,0],[17251.885,17719.947,0],[17984.049,16505.803,0],[21741.754,17386.369,0],[18407.191,22025.898,0],[16448.191,22464.986,0],[8151.6631,22330.766,0],[7900.8286,22471.938,0],[6544.8447,21567.723,0],[1989.9063,23688.07,0],[1731.6921,23944.154,0],[350.45486,24773.078,0]];
_coords = _positionarray call BIS_fnc_selectRandom;
Link to comment
Share on other sites

 

For #1 you can use custom spawn locations, either make your own up or here are mine.

 

In all your missions except for any that require water, find :

_coords = [getMarkerPos "center",0,7000,10,0,2000,0] call BIS_fnc_findSafePos;

Replace with :

_positionarray = [[2399.0769,749.52197,0],[4516.7148,830.54303,0],[7980.8564,1693.8378,0],[13036.822,664.17865,0],[16330.425,1629.3978,0],[23708.053,3976.8662,0],[21153.215,10051.731,0],[23297.881,12547.205,0],[19388.055,11063.384,0],[14359.069,9694.165,0],[10820.335,9245.5078,0],[12162.192,6024.4185,0],[6434.7725,6108.5767,0],[3180.4126,3651.9229,0],[3020.9878,8113.0317,0],[10930.454,13336.939,0],[8793.7764,13443.119,0],[3819.083,13717.583,0],[1008.6122,15121.52,0],[5991.2417,16741.16,0],[12037.332,17659.262,0],[17251.885,17719.947,0],[17984.049,16505.803,0],[21741.754,17386.369,0],[18407.191,22025.898,0],[16448.191,22464.986,0],[8151.6631,22330.766,0],[7900.8286,22471.938,0],[6544.8447,21567.723,0],[1989.9063,23688.07,0],[1731.6921,23944.154,0],[350.45486,24773.078,0]];
_coords = _positionarray call BIS_fnc_selectRandom;

Thanks for the quick response. Are your custom locations for Taviana?

Link to comment
Share on other sites

Oops i gave you the wrong map, sorry buddy :)

You want these :

 

_positionarray = [[16665.008,6183.1831,0],[17711.684,6312.3447,0],[17442.844,5034.8325,0],[17250.822,8099.0171,0],[16311.108,8404.6221,0],[15163.863,8138.272,0],[15052.753,9689.3564,0],[14536.239,11673.776,0],[13801.271,12299.523,0],[13811.67,13231.576,0],[12806.122,13682.48,0],[12895.81,14307.783,0],[11764.462,14874.194,0],[11811.919,15867.194,0],[11442.7,15899.821,0],[10651.606,17509.633,0],[11023.075,18388.391,0],[9830.6006,19424.344,0],[8483.9893,20021.035,0],[8265.1348,20881.066,0],[12675.704,19121.58,0],[14967.869,18462.926,0],[15138.043,17366.016,0],[15149.924,16094.297,0],[15198.698,14343.011,0],[16053.953,16223.898,0],[16002.803,14037.48,0],[17149.523,12562.753,0],[16590.836,11538.518,0],[16696.766,9795.2422,0],[15750.51,9821.0791,0],[9274.0557,7722.4824,0],[8854.3154,8261.5176,0],[7778.9141,9093.8115,0],[6072.1567,9944.6973,0],[5684.1387,8341.6025,0],[3915.4873,7882.4014,0],[2274.2927,7549.2588,0],[1711.1221,6832.3374,0],[4163.1504,6456.9678,0],[5677.3354,5908.9209,0],[7483.2227,4677.8555,0],[7748.0342,4308.8159,0],[8182.8174,6512.3086,0],[9375.5684,1960.1821,0],[11495.309,466.6373,0],[9930,3216.6116,0],[9541.5059,4502.3677,0],[8941.1084,5177.0493,0],[10099.235,5729.9028,0],[10298.205,6403.6235,0],[8494.6377,7845.4551,0],[7368.8223,7480.6504,0]];
_coords = _positionarray call BIS_fnc_selectRandom;
Link to comment
Share on other sites

One quick unrelated issue if you don't mind me picking your brain again - all mission vehicles that spawn and are retrieved by players are not saved after a server restart. I glanced in the database - they aren't there. 

 

Is this intentional? If not, is there a fix?

 

If vehicles save to the DB you'll have a ton of vehicles saving to the db every day. Think about waht this would do to your server preformance.

Link to comment
Share on other sites

Thanks for the info, gentlemen. 

 

I feel like EMS should tell the players that mission vehicles aren't saved. Most of the missions require a vehicle to be "rescued" by players, like LAV-25s and armed helicopters. Seems like a sure-fire way to build hate for the server when a player completes a mission to have their own awesome vehicle only to have it disappear after a server restart. I'd get pissed and leave if that happened to me.

 

Anyway, just flapping my gums. Thanks again.

Link to comment
Share on other sites

This question has been answered about hundred times ! EMS will not support saving vehicles to the DB .

No worries, that's fine. All I'm suggesting is some feedback that lets players know this. That, or make a note of it in the install instructions. It doesn't seem to be mentioned on the Readme.md.

 

Thank you for the cool mission script, Fuchs.

Link to comment
Share on other sites

Personally I would put a little readme on your loading graphics for the mission systems, helps players not used to it understand the basics. Most of the time I use vehicles that can be directly sold to the traders. 

 

Great idea. This would help players understand how the system works.

Link to comment
Share on other sites

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
  • Advertisement
  • Discord

×
×
  • Create New...