Jump to content

Recommended Posts

Posted

is it possible that when a mission ends, to load randomly the next mission out of a pool of missions?

 

i tried it both with flag set randomly and also with random% in the conditions, but somehow this doesnt seem to work...it will always load the same mission...

 

basically i would like to achieve the same what the campaign builder does...selecting randomly a mission within a "stage", but for online missions.

 

...as we are at it:

is there anyway to use the campaign builder also for online missions???when i tried, it never loaded a new mission after mission success!:dunno:

Posted

ok, i created a very simple mission, and then safed the very same mission just with different season textures under different names...so they are a copy of each other, each containing the necessary flags and triggers to "randomly" load a mission...but

 

well, i came so far, that it loads randomly the missions, until it has every single one loaded once, after that, its stuck with that last mission forever...even when then manually loading in another one of them onto the server, it somehow refuses it and just loads the stuck mission...

Posted

Hang tight for dedi server ... Let's see what that brings

ASUS Tuf Gaming Pro x570 / AMD Ryzen 7 5800X @ 3.8 / XFX Radeon 6900 XT / 64 GB DDR4 3200 

"This was not in the Manual I did not read", cried the Noob" - BMBM, WWIIOL

Posted (edited)

 

ok i sent my registration...i wonder whether this is what im looking for?

 

EDIT:ok looking again, i tried to, but cant pass the question how many engines a two engine aircraft has...do i have to put in 2 or zwei or Zwei, or what?i got with every try a wrong answer message, until it took me to many tries...

Edited by 9./JG27 DavidRed
Posted
ok i sent my registration...i wonder whether this is what im looking for?

 

EDIT:ok looking again, i tried to, but cant pass the question how many engines a two engine aircraft has...do i have to put in 2 or zwei or Zwei, or what?i got with every try a wrong answer message, until it took me to many tries...

 

You got a PM.

  • Like 1
Posted

simple really just don't use the campaign builder, create single missions that link together with load mission trigger based on flags, I dunno what I'm missing here but when i say to load mission using load mission trigger it loads the mission I have set in the box.

 

unless there is some new bug that is effecting the SSE.

Posted

I would post an example mission but I need to go to bed, like I said it should work I cant see why it wouldn't but perhaps there is some kinda SSE problem.

 

at mission start trigger have it randomly set flag 1 to values between 0 - 10

then make 2 more triggers that are once triggers that have conditions flag 1 is less then 4 >> load mission "this mission" then have 2nd trigger as flag 1 is more then 5 >> load mission "2nd mission" you could cut it up into more slices for more missions or plumb in info from the current mission such as if group dead then set flag to x and then load this mission.

 

there is lots of possibilities.

Posted (edited)

According to the manual:

 

LOAD MISSION. This is a very useful action that allows you to load a new mission in multiplayer, as a result of the rule conditions. As such, you could have different missions loaded depending on what is happening in the mission. In this way, you can use this action to create multiplayer campaigns. Working in the multiplayer only.

 

Check your mission triggers to ensure only 1 will resolve to true so only one load mission statement will ever execute.

 

See attached example:

test.miz adds 3 radio commands after 10 seconds under the F10 menu.

Selecting the associated mission will load the correct mission.

 

So to make it randomly select have your random algorithm end up with only one of the flags set.

 

This post has a good explanation of how to make a random function work (it's for units but the same logic could apply to deciding which mission to load).

test.miz

test1.miz

test2.miz

test3.miz

Edited by Sabre-TLA

F-15C-User-Bar-ACM.v2.jpg

MapleFlagMissions - Read Our Blog for Updates

Posted (edited)

mh ok, thx very much for the effort of actually creating little sample missions, but this is again not random...thats loading different missions based on different conditions...what i am trying to achieve though, is loading randomly different missions out of a certain pool of missions, once a certain condition is met....

 

so guys, please do me a favor and look at my little test missions.and see whether you see any logical errors within them...if you dont see any, then please try them. note working only in mp as this was my inital goal for a multiplayer mission(s).

once you start one of the 4missions, kill the one apc beneath you...

now at first it seems to work fine, and it will seemingly load one of the 4missions randomly...so far so good.it will do so, until all 4different missions have been loaded up once at least.once this is the case, it will keep loading always the one season which was the last one.in my case, interestingly always the winter map....

now once you are convinced that something is wrong with the "random loading", because you have seen now the 20th time in a row the same season, then also please do me the favor, and try to manually load one of the other 3missions onto your server....my bet is, that its still stuck and will still show you the wrong season(probably winter).

 

now if that is random, then i know exactly what im doing tomorrow...im off to las vegas.

random-fall.miz

random-spring.miz

random-summer.miz

random-winter.miz

Edited by 9./JG27 DavidRed
Posted

cant you use a flag funtion to set a random value for the flagX between 0-Y where Y=number of missions you want to randomize. On mission end, activate flagX. If flag value=Y1 load mission 1 depending on flag vlaue.

ASUS Tuf Gaming Pro x570 / AMD Ryzen 7 5800X @ 3.8 / XFX Radeon 6900 XT / 64 GB DDR4 3200 

"This was not in the Manual I did not read", cried the Noob" - BMBM, WWIIOL

Posted

Looked at your missions in the ME and the logic looks sound.

I ran 20 tests of your missions and here were my results:

1. Fall

2. Fall

3. Spring

4. Fall

5. Fall

6. Summer

7. Winter

8. Winter

9. Summer

10. Winter

11. Summer

12. Fall

13. Fall

14. Winter

15. Spring

16. Spring

17. Winter

18. Winter

19. Summer

20. Spring

 

Seems random to me.

F-15C-User-Bar-ACM.v2.jpg

MapleFlagMissions - Read Our Blog for Updates

Posted (edited)

^^really?????????really appreciated that you took the time to kill that little bugger that many times...but its strange that its working for you.

 

as i said, when i tested this for the last 3 or 4 days, it was never working.once all three seasons where randomly loaded x times, and then the 4th(always winter) came up, it was stuck.and the more weird thing was, if i then was for example manually loading the spring map up, it was actually still showing the winter one...

 

i really wonder whats wrong with my install then.running a repair, didnt do anything, and i still do get the same results.

Edited by 9./JG27 DavidRed
Posted

Maybe try it on a different computer. If you have a stuck bit it could be playing havoc with the randomness.

 

Also would be good to get a few others to test it on their systems to get more results.

 

I also have the BETA install on a different computer so I'll give that a test tonight as well.

F-15C-User-Bar-ACM.v2.jpg

MapleFlagMissions - Read Our Blog for Updates

Posted

ok Sabre-TLA, are you sure you really tested my missions and dont just claim so to make me shut up? :)

 

as i first thought, that something is wrong with my installation, we tested this now on four different systems, and every time with the same outcome...

with the above posted missions, its loading randomly until the last season is loaded,...and íts stuck with it.(on all 4 machines, once the last season showed up the first time, we did 20 more tests)

 

testing this i am convinced that this is a bug.

 

but, now when i changed the missions so that they all have the same season, but just different weather conditions, it all of a sudden worked!

THOUGH, one minor bug showed up as well...in one missions its supposed to be clear sky, and first thats working fine(at least when you load it as the start mission), but once the other missions have been loaded, and after that the "clear sky" one loads up again, its still clear sky, but the ground textures look like there is overcast.they are very dark.sometimes you also can see a that it seems to be affected only within a big square around you, as on the horizon you then can see much brighter "sunny" textures in the vicinity.

 

here they are:

note: that i didnt rename the missions from the one above, but i set all 4missions to Fall textures, and changed the cloud settings to:

-clear sky

-cloudy

-overcast

-overcast+snow

random-fall.miz

random-spring.miz

random-summer.miz

random-winter.miz

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...