Scenario Operation Trikora 1962 Indonesia v Netherlands

Post new mods and scenarios here.

Moderator: MOD_Command

Ancalagon451
Posts: 330
Joined: Thu Jan 04, 2018 9:04 am

RE: Scenario Operation Trikora 1962 Indonesia v Netherlands

Post 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
Whicker
Posts: 664
Joined: Tue Jun 19, 2018 9:54 pm

RE: Scenario Operation Trikora 1962 Indonesia v Netherlands

Post 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
User avatar
Andrea G
Posts: 327
Joined: Mon Oct 09, 2017 8:48 am
Location: Genoa, Italy

RE: Scenario Operation Trikora 1962 Indonesia v Netherlands

Post by Andrea G »

+1 Whicker

Where is Jorm?
User avatar
Jorm
Posts: 546
Joined: Tue Jun 25, 2002 5:40 am
Location: Melbourne

RE: Scenario Operation Trikora 1962 Indonesia v Netherlands

Post 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
Whicker
Posts: 664
Joined: Tue Jun 19, 2018 9:54 pm

RE: Scenario Operation Trikora 1962 Indonesia v Netherlands

Post 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)
User avatar
Andrea G
Posts: 327
Joined: Mon Oct 09, 2017 8:48 am
Location: Genoa, Italy

RE: Scenario Operation Trikora 1962 Indonesia v Netherlands

Post 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
Post Reply

Return to “Mods and Scenarios”