Jump to content

[WIP] ZFM-FairMission System-Dynamic,Modular & Balanced (Alpha release 90% complete, Test builds frequently available) - Actively developed


Recommended Posts

mt05JIA.jpg

Mission arrays are working now. Just need to alter the spacing. Look at how beautifully symmetrical they are. These things will come to be bases very soon. Look forward to it.

ZFM_Layouts_Array = [
	[["Land_HBarrier1",0,[]],["Land_HBarrier1",0,[]],["Land_HBarrier1",0,[]],["Land_HBarrier1",0,[]],["Land_HBarrier1",0,[]]],
	[["Land_HBarrier1",0,[]],["Land_HBarrier1",0,[]],["Land_HBarrier1",0,[]],["Land_HBarrier1",0,[]],["Land_HBarrier1",0,[]]],
	[["Land_HBarrier1",0,[]],["Land_HBarrier1",0,[]],["Land_HBarrier1",0,[]],["Land_HBarrier1",0,[]],["Land_HBarrier1",0,[]]],
	[["Land_HBarrier1",0,[]],["Land_HBarrier1",0,[]],["Land_HBarrier1",0,[]],["Land_HBarrier1",0,[]],["Land_HBarrier1",0,[]]],
	[["Land_HBarrier1",0,[]],["Land_HBarrier1",0,[]],["Land_HBarrier1",0,[]],["Land_HBarrier1",0,[]],["Land_HBarrier1",0,[]]],
	[["Land_HBarrier1",0,[]],["Land_HBarrier1",0,[]],["Land_HBarrier1",0,[]],["Land_HBarrier1",0,[]],["Land_HBarrier1",0,[]]]
];
Link to comment
Share on other sites

Okay so i can load this up to my live server?

Are the missions very dynamic atm or are there just a few variations?

 

Hi Quicky, this is still not complete. I post development progress here, but I wouldn't recommend putting this on a live server until the release has been made.

 

In answer to your second question -- yes. They're much more dynamic than you're used to :)

Link to comment
Share on other sites

GNvZnjj.jpg

With spacing = 4 and the code below:

ZFM_Layouts_Array =[
	// DAYZ!
	[["Misc_cargo_cont_small",0,[]],	["Misc_cargo_cont_small",0,[]],	["Misc_cargo_cont_small",0,[]],	["Misc_cargo_cont_small",0,[]],		0,0,	["Misc_cargo_cont_small",0,[]],	["Misc_cargo_cont_small",0,[]],	["Misc_cargo_cont_small",0,[]],	["Misc_cargo_cont_small",0,[]],		0,0,		["Misc_cargo_cont_small",0,[]],	0,	0,	["Misc_cargo_cont_small",0,[]],		0,0,	["Misc_cargo_cont_small",0,[]],	["Misc_cargo_cont_small",0,[]],	["Misc_cargo_cont_small",0,[]],	["Misc_cargo_cont_small",0,[]]],
	[["Misc_cargo_cont_small",0,[]],	0,	0,	["Misc_cargo_cont_small",0,[]],		0,0,	["Misc_cargo_cont_small",0,[]],	0,	0,	["Misc_cargo_cont_small",0,[]],		0,0,		["Misc_cargo_cont_small",0,[]],	0,	0,	["Misc_cargo_cont_small",0,[]],		0,0,	0,	0,	0,	["Misc_cargo_cont_small",0,[]]],		
	[["Misc_cargo_cont_small",0,[]],	0,	0,	["Misc_cargo_cont_small",0,[]],		0,0,	["Misc_cargo_cont_small",0,[]],	0,	0,	["Misc_cargo_cont_small",0,[]],		0,0,		["Misc_cargo_cont_small",0,[]],	["Misc_cargo_cont_small",0,[]],	["Misc_cargo_cont_small",0,[]],	["Misc_cargo_cont_small",0,[]],		0,0,	0,	0,	["Misc_cargo_cont_small",0,[]],	0],
	[["Misc_cargo_cont_small",0,[]],	0,	0,	["Misc_cargo_cont_small",0,[]],		0,0,	["Misc_cargo_cont_small",0,[]],	["Misc_cargo_cont_small",0,[]],	["Misc_cargo_cont_small",0,[]],	["Misc_cargo_cont_small",0,[]],		0,0,		0,	["Misc_cargo_cont_small",0,[]],	["Misc_cargo_cont_small",0,[]],	0,		0,0,	0,	["Misc_cargo_cont_small",0,[]],	0,	0],
	[["Misc_cargo_cont_small",0,[]],	0,	0,	["Misc_cargo_cont_small",0,[]],		0,0,	["Misc_cargo_cont_small",0,[]],	0,	0,	["Misc_cargo_cont_small",0,[]],		0,0,		0,	["Misc_cargo_cont_small",0,[]],	["Misc_cargo_cont_small",0,[]],	0,		0,0,	0,	0,	0,	0],
	[["Misc_cargo_cont_small",0,[]],	["Misc_cargo_cont_small",0,[]],	["Misc_cargo_cont_small",0,[]],	["Misc_cargo_cont_small",0,[]],		0,0,	["Misc_cargo_cont_small",0,[]],	0,	0,	["Misc_cargo_cont_small",0,[]],		0,0,		0,	["Misc_cargo_cont_small",0,[]],	["Misc_cargo_cont_small",0,[]],	0,		0,0,	["Misc_cargo_cont_small",0,[]],	["Misc_cargo_cont_small",0,[]],	["Misc_cargo_cont_small",0,[]],	["Misc_cargo_cont_small",0,[]]]
]; 

// Parse it, baby 
[ZFM_Layouts_Array,[2,2],[4600,10160,0],4] call ZFM_Layout_Parse;


Link to comment
Share on other sites

v4Bh26k.png

Hmm, I wonder what that is? Hmm, hmm, hmm.

 

AWbKYdv.jpg

Ahh, that's what it says! :wub:

14:36:25 "[0,0] > [4592,10152,0]"
14:36:35 "[0,1] > [4592,10156,0]"
14:36:45 "[0,2] > [4592,10160,0]"
14:36:50 "[0,3] > [4592,10164,0]"
14:36:54 "[0,6] > [4592,10176,0]"
14:36:59 "[0,7] > [4592,10180,0]"
14:37:04 "[0,8] > [4592,10184,0]"
14:37:09 "[0,9] > [4592,10188,0]"
14:37:13 "[0,12] > [4592,10200,0]"
14:37:18 "[0,16] > [4592,10216,0]"
14:37:22 "[1,3] > [4596,10164,0]"
14:37:27 "[1,6] > [4596,10176,0]"
14:37:32 "[1,12] > [4596,10200,0]"
14:37:42 "[1,13] > [4596,10204,0]"
14:37:42 "[1,15] > [4596,10212,0]"
14:37:52 "[1,16] > [4596,10216,0]"
14:37:57 "[2,2] > [4600,10160,0]"
14:38:01 "[2,6] > [4600,10176,0]"
14:38:05 "[2,7] > [4600,10180,0]"
14:38:09 "[2,8] > [4600,10184,0]"
14:38:13 "[2,9] > [4600,10188,0]"
14:38:21 "[2,12] > [4600,10200,0]"
14:38:25 "[2,14] > [4600,10208,0]"
14:38:28 "[2,16] > [4600,10216,0]"
14:38:30 "[3,1] > [4604,10156,0]"
14:38:32 "[3,6] > [4604,10176,0]"
14:38:34 "[3,12] > [4604,10200,0]"
14:38:35 "[3,16] > [4604,10216,0]"
14:38:35 "[4,0] > [4608,10152,0]"
14:38:35 "[4,6] > [4608,10176,0]"
14:38:35 "[4,12] > [4608,10200,0]"
14:38:35 "[4,13] > [4608,10204,0]"
14:38:35 "[4,16] > [4608,10216,0]"
14:38:35 "[5,0] > [4612,10152,0]"
14:38:35 "[5,1] > [4612,10156,0]"
14:38:35 "[5,2] > [4612,10160,0]"
14:38:35 "[5,3] > [4612,10164,0]"
14:38:35 "[5,6] > [4612,10176,0]"
14:38:35 "[5,12] > [4612,10200,0]"
14:38:35 "[5,16] > [4612,10216,0]"
14:38:35 "[8,0] > [4624,10152,0]"
14:38:35 "[8,1] > [4624,10156,0]"
14:38:35 "[8,2] > [4624,10160,0]"
14:38:35 "[8,3] > [4624,10164,0]"
14:38:35 "[8,6] > [4624,10176,0]"
14:38:35 "[8,9] > [4624,10188,0]"
14:38:35 "[8,12] > [4624,10200,0]"
14:38:35 "[8,19] > [4624,10228,0]"
14:38:36 "[8,20] > [4624,10232,0]"
14:38:36 "[8,21] > [4624,10236,0]"
14:38:36 "[8,22] > [4624,10240,0]"
14:38:36 "[9,0] > [4628,10152,0]"
14:38:36 "[9,3] > [4628,10164,0]"
14:38:36 "[9,6] > [4628,10176,0]"
14:38:36 "[9,9] > [4628,10188,0]"
14:38:36 "[9,12] > [4628,10200,0]"
14:38:36 "[9,22] > [4628,10240,0]"
14:38:36 "[10,0] > [4632,10152,0]"
14:38:36 "[10,1] > [4632,10156,0]"
14:38:36 "[10,2] > [4632,10160,0]"
14:38:36 "[10,3] > [4632,10164,0]"
14:38:36 "[10,6] > [4632,10176,0]"
14:38:36 "[10,9] > [4632,10188,0]"
14:38:36 "[10,12] > [4632,10200,0]"
14:38:36 "[10,21] > [4632,10236,0]"
14:38:36 "[11,0] > [4636,10152,0]"
14:38:36 "[11,1] > [4636,10156,0]"
14:38:36 "[11,6] > [4636,10176,0]"
14:38:36 "[11,9] > [4636,10188,0]"
14:38:36 "[11,12] > [4636,10200,0]"
14:38:36 "[11,20] > [4636,10232,0]"
14:38:36 "[12,0] > [4640,10152,0]"
14:38:36 "[12,2] > [4640,10160,0]"
14:38:36 "[12,6] > [4640,10176,0]"
14:38:36 "[12,9] > [4640,10188,0]"
14:38:36 "[12,12] > [4640,10200,0]"
14:38:36 "[12,19] > [4640,10228,0]"
14:38:36 "[13,0] > [4644,10152,0]"
14:38:36 "[13,3] > [4644,10164,0]"
14:38:36 "[13,6] > [4644,10176,0]"
14:38:36 "[13,7] > [4644,10180,0]"
14:38:36 "[13,8] > [4644,10184,0]"
14:38:36 "[13,9] > [4644,10188,0]"
14:38:36 "[13,12] > [4644,10200,0]"
14:38:36 "[13,13] > [4644,10204,0]"
14:38:36 "[13,14] > [4644,10208,0]"
14:38:37 "[13,15] > [4644,10212,0]"
14:38:37 "[13,19] > [4644,10228,0]"
14:38:37 "[13,20] > [4644,10232,0]"
14:38:37 "[13,21] > [4644,10236,0]"
14:38:37 "[13,22] > [4644,10240,0]"

Debug output for the items created. ;-)

Link to comment
Share on other sites

tumblr_lnygpgNdda1qkd9eao1_500.gif

 

*Victory fanfare*

 

The first of many!

 

Layout compositor is complete. That was the biggest feature. Oh, and it'll be released as a part of ZFM, then put into ZCR (Common Runtime) after alpha, so you making your own software can love it, expand it, and hack on it. Perhaps even use it to make ASCII art inside ARMA. Who knows. <3

Link to comment
Share on other sites

TGcLLfk.jpg

Bandit base for MEDIUM difficulty.

 

aguMkqj.jpg

From above...

 

Yi3dmxk.jpg

YOLO! I'm coming for you, bandits! (Hmm, probably should open the parachute at some point..)

 

The array for this one is a complete breeze. I tested those hard layouts to prove one thing: ZFM's layout engine is a beast. For easy stuff, it works, and works.

ZFM_Layouts_Array =[
	[["CampEast",0,[]],["CampEast",0,[]],["CampEast",0,[]]],
	[0,["Land_tent_east",0,[]],0]
];

/* One line to rule them all :-P
* Parameters: 1 = Layout array (above), 2 = Center of layout array, 3 = Location (3-array position) and 4 = spacing
* The Center of the layout array is pretty simple. It uses an array-wise count of the layout array. So in this instance, it says, on the second row (0 = first, 1 = second)
* and the second item on that second row.
*
* So, for example:
*
*            0     1     2
*   0        X     X     X
*   1        X     C     X
*
* The center is used so that the position of elements relative to the center can be established. When there is a center, what is above, to the left & right and below it
* can be calculated in code. Also, the actual location of the center must be passed to this function so that the relative positions can be calculated based on that. 
*
* Precision of this would work for things as small as a can, or as large as a C130J, hangar, etc. 
*/
[ZFM_Layouts_Array,[1,1],[4600,10160,0],20] call ZFM_Layout_Parse;
Link to comment
Share on other sites

Very nice mission system indeed.

I've tried to actual version on my testserver.

 

Sadly they could not be completed, and the area cycle was way too big (like stary and novy area together).

 

Will be a nice choice for missions/AI spawning. ATM i need DZMS and WAI that for ...

Link to comment
Share on other sites

Yeah, I can see a lot of people are using the master build :) The most recent testing builds do have mission completion and removal of markers, etc. The rest is done, but I'm working on getting the other features completed first, then they will be tied together and made into the Alpha release.

 

Good things take time :)

Link to comment
Share on other sites

I am adding various posts to the main forum now so that they can be split out and viewed easily by anyone wanting to see progress.  I have also created 2 threads: one German, one Dutch. I have asked @freakystyle to look after this and hopefully @Darihon will manage the Dutch translations.

 

@Phobix will be managing the feature requests and release co-ordination, and I will be continuing development along with @Darihon who I will give more work to do as things get moving :)

Link to comment
Share on other sites

Is the original post the most updated version?  because i tried using it and stuff is on top of each other and the missions are not clearing out

 

Nope, the "master" zip in the original post hasn't been updated for a while as all current progress is being made in the "testing" and "devel" branches in the gitHub page. If you're wanting the feature-complete version, I would wait for the alpha release which should be done soon.

 

If you really want to test out some of the newer features, download the zip of the most recent testing build, however, I hope to get a test build with all the new features in it on Sat/Sun this week. That's why whenever I post, a load of people check the post to see if it's been released yet. Eager beavers :wub:

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
×
×
  • Create New...