Page 2 of 2

RE: Scenario Operation Trikora 1962 Indonesia v Netherlands

Posted: Tue Jun 25, 2019 7:34 pm
by Ancalagon451
If you have no preferences in the content between those two, buy Chains of War.

It has the licenses for all the pay features, while Shifting Sands only has some of them.

Ancalagon

RE: Scenario Operation Trikora 1962 Indonesia v Netherlands

Posted: Sat Jun 29, 2019 11:10 pm
by Whicker
Interesting scenario, nice work.

The indo surface groups need Engage Opportunities: Yes - or else they won't fire - unless they are on a ASuW naval mission. I was right in the middle of them and they were not shooting back, changed that setting and they wiped my little 2 ship formation out pretty quick. Some of the patrol boats were on a ASuW mission but not many.

Would be nice to have scoring, not sure what a victory would be without it.

I think this would work well with cargo missions doing the actual drops, but it can be a bit of work to set up.

the PC 580 Hui is not the right image, looks like it should be one from here:
http://www.navsource.org/archives/12/010580.htm

RE: Scenario Operation Trikora 1962 Indonesia v Netherlands

Posted: Sun Jun 30, 2019 6:09 am
by Andrea G
+1 Whicker

Where is Jorm?

RE: Scenario Operation Trikora 1962 Indonesia v Netherlands

Posted: Fri Jul 12, 2019 5:17 am
by Jorm
hi Whicker /Andrea G

ive been away for awhile

thanks for the feedback :-)

I'll try to fix the indonesian SAG engagment issue, i'll need to have a few more play throughs to polish this scenario.
I doubt i'll add scoring as i find using the editor to do this far too tedious.
There were still a few issues for me to work on and had not got back to it.


cheers
J

RE: Scenario Operation Trikora 1962 Indonesia v Netherlands

Posted: Fri Jul 12, 2019 12:24 pm
by Whicker
you can do scoring in one lua action for each side, it can be as simple or complex as you want - you could just put something in the top part for ships and AC just to keep track and maybe have some threshold of what victory would be:

https://commandops.github.io/posts/lua-scoring-example/
-- blue unit destroyed example, would need same thing more or less for other side with points not negative
local side = "Blue"
local currentScore = ScenEdit_GetScore(side)
local points = 0 --default
local unit = ScenEdit_UnitX()

if unit.type == "Weapon" then
return --exit if destroyed unit is really a weapon
end

if -- initial score setup, defaults
unit.type == "Aircraft" then points = -10
elseif
unit.type == "Ship" then points = -50
elseif
unit.type == "Submarine" then points = -50
elseif
unit.type == "Facility" then points = -5
end

if unit.name == "Air Force 1" then points = -1000 --example for specific unit
end

if string.match(unit.classname, "F%-15") then points = -17 --example for specific class of unit
end

currentScore = currentScore + points
print(unit.name.. " ("..UnitX().classname.." Sub Type: "..unit.subtype.." ) Destroyed - Points: "..points)
ScenEdit_SetScore(side, currentScore, unit.name.. " ("..unit.classname.." Sub Type: "..unit.subtype.." ) Destroyed - Points: "..points)

RE: Scenario Operation Trikora 1962 Indonesia v Netherlands

Posted: Sat Jul 13, 2019 8:59 am
by Andrea G
ORIGINAL: Jorm

hi Whicker /Andrea G

ive been away for awhile

thanks for the feedback :-)

I'll try to fix the indonesian SAG engagment issue, i'll need to have a few more play throughs to polish this scenario.
I doubt i'll add scoring as i find using the editor to do this far too tedious.
There were still a few issues for me to work on and had not got back to it.


cheers
J

Welcome back