Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

strikeRadarUasge=2

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Lua Legion >> strikeRadarUasge=2 Page: [1]
Login
Message << Older Topic   Newer Topic >>
strikeRadarUasge=2 - 6/19/2020 4:32:53 PM   
wqc12345


Posts: 250
Joined: 12/7/2015
From: San Francisco, CA
Status: offline
Hi All, this selector doesn't seem to work? Anyone have the correct number values for this setting?

If I want to set Active Radar from IP to Winchester? is this "1" ? If so, NO number works to change the value.. so, not sure if this is a bug? or something is missing

ScenEdit_SetMission(m.side, m.name,{strikeRadarUasge=2})
Post #: 1
RE: strikeRadarUasge=2 - 6/19/2020 6:30:35 PM   
KnightHawk75

 

Posts: 1450
Joined: 11/15/2018
Status: offline
'StrikeRadarUsage' is the setting, case may matter, though I'm pretty sure it all gets converted to uppercase everywhere anyway.

The valid settings are (and case doesn't matter here):

"None" or 0
"UseMissionEMCON" or 1
"ActiveOnIP" or 2
"ActiveOnAttackIngressAndIP" or 3

You do need to feed it a type or subtype so it knows what type it's trying to do\check settings on, different types have different settings lists.
So for example and ScenEdit_SetMission('US', 'testmestrike',{SUBTYPE="Land",StrikeRadarUsage="ActiveOnIP"})
That will enable it to start checking and use the land and strike subtypes, otherwise it'll exit early unable to match a subtype.

After that though there is still an bug with this particular setting text that will require a tiny correction on devs part.

The problem is "StrikeRadarUsage" in one place, and "StrikeRadarUasge" in the list of strike entries to screen for in the first place. So you have a situation where if you feed it the "Usage" version it will not pass an initial test to even check the values, but if you feed it "Uagse" version it will pass the screening test, but then fail the deeper compare to actually check\change the setting as there is no match.

I don't think there is any work around at the moment for this particular setting till the spelling is corrected in the screening list.

edit: originally said just sub-type when I meant type and\or subtype.


< Message edited by KnightHawk75 -- 6/19/2020 7:33:48 PM >

(in reply to wqc12345)
Post #: 2
RE: strikeRadarUasge=2 - 6/19/2020 7:01:52 PM   
wqc12345


Posts: 250
Joined: 12/7/2015
From: San Francisco, CA
Status: offline
Hi Knight, I fixed the spelling of the setting and tried again..(thanks, fail)

local mission = ScenEdit_AddMission ( 'RAF', 'RAF Nairobi Strike', 'strike',{ type = 'land', TankerUsage=1})
for i = 1, Count
do
ScenEdit_AssignUnitToMission(unitsToAdd[i], mission.name)
end

local m = ScenEdit_GetMission('RAF','RAF Nairobi Strike')
ScenEdit_SetMission(m.side, m.name,{SUBTYPE="Land", StrikeRadarUsage='ActiveOnIP'})
ScenEdit_SetMission(m.side, m.name,{strikeFlightSize=3}) 
ScenEdit_SetMission(m.side, m.name,{strikeAutoPlanner=true}) 
ScenEdit_SetMission(m.side, m.name,{strikePreplan=true}) 
ScenEdit_SetMission(m.side, m.name,{strikeOneTimeOnly=true})
ScenEdit_SetMission(m.side, m.name,{strikeRadarUasge=2})


This still doesn't work.. it won't change the setting.. so I'm assuming this is the "little" bug you're referring to? Even if I change it to "2" it won't work..

(in reply to KnightHawk75)
Post #: 3
RE: strikeRadarUasge=2 - 6/19/2020 7:24:05 PM   
KnightHawk75

 

Posts: 1450
Joined: 11/15/2018
Status: offline
quote:

Hi Knight, I fixed the spelling of the setting and tried again..(thanks, fail)


You didn't understand, that's ok. It was more for when Michael likely sees the comment. This is not something you can fix with spelling in your code, it's a spelling error in the games code the developers have to fix which is why there is no workaround around for it at the moment.



< Message edited by KnightHawk75 -- 6/19/2020 7:27:02 PM >

(in reply to wqc12345)
Post #: 4
RE: strikeRadarUasge=2 - 6/19/2020 7:26:28 PM   
wqc12345


Posts: 250
Joined: 12/7/2015
From: San Francisco, CA
Status: offline
ah, thanks..

(in reply to KnightHawk75)
Post #: 5
RE: strikeRadarUasge=2 - 6/19/2020 9:45:51 PM   
michaelm75au


Posts: 13500
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
Sorry about that...bad typing.

Will fix.

_____________________________

Michael

(in reply to wqc12345)
Post #: 6
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Lua Legion >> strikeRadarUasge=2 Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.859