Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

[Logged] Error in CMO Live "Pole Positions"

 
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 >> Tech Support >> [Logged] Error in CMO Live "Pole Positions" Page: [1]
Login
Message << Older Topic   Newer Topic >>
[Logged] Error in CMO Live "Pole Positions" - 7/12/2021 5:42:24 AM   
Randomizer


Posts: 1473
Joined: 6/28/2008
Status: offline
Thought to fire up an oldie but a goody, the Live scenario Pole Positions but received the error message below. Presumably the fix is a simple edit of the offending script but I could not find the error. No save is included as the message appears at scenario loading, thank you in advance for a fix. To reproduce in Build 1147.28:
Select scenario Pole Positions;
Select Side Russia
Start scenario.

-C





Attachment (1)

< Message edited by WSBot -- 7/12/2021 8:38:37 PM >
Post #: 1
RE: Error in CMO Live "Pole Positions" - 7/12/2021 7:16:31 PM   
KnightHawk75

 

Posts: 1450
Joined: 11/15/2018
Status: offline
Yup
In the Lua action with the name "Start - Ohio" the mission names are all missing " - " 's in the mission name.

Temp fix:
1. Load original distributed scene.
2.Replace that action's code in whole with below.
3.Mark event "Scenario Start", isActive property as true (checkbox selected).
4.Clear message log
5.Save as a NEW file name (so you don't overwrite the bugged one). and reload from that one.
a = math.random(1,4)
if a == 1 then
  ScenEdit_SetUnit({type='Submarine', side='US', name='SSGN 726 USS Ohio', heading=000, latitude='64.9895121619844', longitude='-168.937832188155'})
	if not ScenEdit_GetSideIsHuman('US') then
		ScenEdit_AssignUnitToMission('SSGN 726 USS Ohio', 'Cluster Lance - CH1')
	end
elseif a == 2 then
	ScenEdit_SetUnit({type='Submarine', side='US', name='SSGN 726 USS Ohio', heading=280, latitude='84.4880900702697', longitude='-114.928506179473'})
	if not ScenEdit_GetSideIsHuman('US') then
		ScenEdit_AssignUnitToMission('SSGN 726 USS Ohio', 'Cluster Lance - SV1')
	end
elseif a == 3 then
	ScenEdit_SetUnit({type='Submarine', side='US', name='SSGN 726 USS Ohio', heading=300, latitude='86.9702037593431', longitude='-162.632642174002'})
	if not ScenEdit_GetSideIsHuman('US') then
		ScenEdit_AssignUnitToMission('SSGN 726 USS Ohio', 'Cluster Lance - LP1')
	end
elseif a == 4 then
	ScenEdit_SetUnit({type='Submarine', side='US', name='SSGN 726 USS Ohio', heading=030, latitude='56.9920221149834', longitude='-174.868595650648'})
	if not ScenEdit_GetSideIsHuman('US') then
		ScenEdit_AssignUnitToMission('SSGN 726 USS Ohio', 'Cluster Lance - ES1')	
	end
end



Attachment (1)

< Message edited by KnightHawk75 -- 7/12/2021 7:23:05 PM >

(in reply to Randomizer)
Post #: 2
RE: Error in CMO Live "Pole Positions" - 7/12/2021 8:38:19 PM   
WSBot

 

Posts: 182
Joined: 1/17/2021
Status: offline
0014665

(in reply to KnightHawk75)
Post #: 3
RE: Error in CMO Live "Pole Positions" - 7/12/2021 8:50:39 PM   
Randomizer


Posts: 1473
Joined: 6/28/2008
Status: offline
@KnightHawk75, Thanks for the fix!

-C

(in reply to WSBot)
Post #: 4
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Tech Support >> [Logged] Error in CMO Live "Pole Positions" 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.672