More questions ( how to extract a blk file from a johnson/Bin file, Medic AI Artificial bot, how do dynamic obective works?, it is possible to customize (faction)_crew and how can i rotate reindinst on vehicles ? )

Don’t them work? Then maybe we have to use another method, setting probabilities from the first group to the last, entirely

well, neither with the team, or without it, works.

with this one:
here is what happens:

( yellow is first Sector, Red is 2nd Sector, Blue is the 3rd Sector, and white should be the white one. )

everytime, it’s the same path and doesn’t change.

which, no matter what happens, the Sector 4 does not get activated.

( actually, it’s similar to the devendar, but i added few lines and removed the team from the title’s points )

scene.blk.txt (13,3 KB)

2 Likes

That’s disappointing :smiling_face_with_tear: I have another way, tomorrow I’ll try to make an experimental blk about this and find out if that can work

1 Like

Ill check it when will be in home.
I start think that here some bug that disallow use random sector when 2-3 capture points. Maybe.

2 Likes

any updates from your attemps good sir?

1 Like

scene.blk.erika20230117.txt (13.3 KB)

This one seems to be working fine, I think the problem might be in two places.

  1. Try to use the original style of sector naming. If the original style is underlined, do not mix upper and lower case. Different away from the original naming style is an unhealthy way for program variable naming. I renamed Sector_x to sector_x

  2. The probability threshold should not be greater than 1. I think this may be related to the logic of random extraction. Maybe a random 0-1 number is included in the code, and then one by one from the array to find a value greater than this number. If it is greater than 1, it will always be If it is drawn to the first one, it loses the random function. I changed the random value from 1,1 to 0.5,0.5

2 Likes

welp.

many thanks.

really.

couldn’t have done it without ya

1 Like