mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
New feature: SAM site cover can now overlap, and SAM sited can be hacked to lower their radius. For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=23211&goto=347188&#msg_347188
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2343 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
@@ -203,6 +203,15 @@ StatTypes =
|
|||||||
LDRAMT = 11,
|
LDRAMT = 11,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-- different teams
|
||||||
|
Teams =
|
||||||
|
{
|
||||||
|
ENEMY_TEAM = 1,
|
||||||
|
CREATURE_TEAM = 2,
|
||||||
|
MILITIA_TEAM = 3,
|
||||||
|
CIV_TEAM = 4,
|
||||||
|
}
|
||||||
|
|
||||||
local iLoop
|
local iLoop
|
||||||
local aimLoop
|
local aimLoop
|
||||||
|
|
||||||
@@ -667,7 +676,7 @@ function HandleInteractiveActionResult(sSectorX, sSectorY, bSectorZ, sGridNo, bL
|
|||||||
SetScreenMsg(FontColour.FONT_MCOLOR_LTGREEN, "It seems an even more advance version of the rocket rifle has been developed.")
|
SetScreenMsg(FontColour.FONT_MCOLOR_LTGREEN, "It seems an even more advance version of the rocket rifle has been developed.")
|
||||||
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "Several files seem to be missing... you can't find the weapon specifics.")
|
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "Several files seem to be missing... you can't find the weapon specifics.")
|
||||||
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "The advanced version never developed further than the prototypes stage.")
|
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "The advanced version never developed further than the prototypes stage.")
|
||||||
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "It is not known where those 2 prototypes are.")
|
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "It is not specified where the prototypes are.")
|
||||||
end
|
end
|
||||||
-- money
|
-- money
|
||||||
elseif ( sLuaactionid == ModSpecificActions.COMPUTER_ORTA_BASEMENT_LAB2_PC ) then
|
elseif ( sLuaactionid == ModSpecificActions.COMPUTER_ORTA_BASEMENT_LAB2_PC ) then
|
||||||
@@ -705,7 +714,7 @@ function HandleInteractiveActionResult(sSectorX, sSectorY, bSectorZ, sGridNo, bL
|
|||||||
elseif ( sLuaactionid == ModSpecificActions.COMPUTER_ORTA_BASEMENT_CONTROL_CONSOLE_2 ) then
|
elseif ( sLuaactionid == ModSpecificActions.COMPUTER_ORTA_BASEMENT_CONTROL_CONSOLE_2 ) then
|
||||||
if ( GetModderLUAFact(sLuaactionid) == ActionState.STATE_OK ) then
|
if ( GetModderLUAFact(sLuaactionid) == ActionState.STATE_OK ) then
|
||||||
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "This base seems to have different levels of clearance.")
|
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "This base seems to have different levels of clearance.")
|
||||||
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "Some of the storage rooms are hevily fortified.")
|
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "Some of the storage rooms are heavily fortified.")
|
||||||
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "Explosives likely won't be enough, these doors require a key code.")
|
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "Explosives likely won't be enough, these doors require a key code.")
|
||||||
SetScreenMsg(FontColour.FONT_MCOLOR_LTGREEN, "It is likely the lead scientists or guards might have the key codes.")
|
SetScreenMsg(FontColour.FONT_MCOLOR_LTGREEN, "It is likely the lead scientists or guards might have the key codes.")
|
||||||
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "The files don't say what exactly is stored here though.")
|
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "The files don't say what exactly is stored here though.")
|
||||||
@@ -718,10 +727,10 @@ function HandleInteractiveActionResult(sSectorX, sSectorY, bSectorZ, sGridNo, bL
|
|||||||
elseif ( sLuaactionid == ModSpecificActions.COMPUTER_ORTA_BASEMENT_ENTRANCE_CONSOLE_1 ) then
|
elseif ( sLuaactionid == ModSpecificActions.COMPUTER_ORTA_BASEMENT_ENTRANCE_CONSOLE_1 ) then
|
||||||
if ( GetModderLUAFact(sLuaactionid) == ActionState.STATE_OK ) then
|
if ( GetModderLUAFact(sLuaactionid) == ActionState.STATE_OK ) then
|
||||||
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "A log lists recent arrivals and departures to this base.")
|
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "A log lists recent arrivals and departures to this base.")
|
||||||
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "For a long time, this base onyl received supplies.")
|
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "For a long time, this base only received supplies.")
|
||||||
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "But recently, quite a few shipments were sent from here to Meduna.")
|
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "But recently, quite a few shipments were sent from here to Meduna.")
|
||||||
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "The logs don't say what was shipped, but the destination was the royal guard HQ.")
|
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "The logs don't say what was shipped, but the destination was the royal guard HQ.")
|
||||||
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "This does not sound encouraging.")
|
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "You have a bad feeling about this.")
|
||||||
|
|
||||||
SetModderLUAFact(sLuaactionid, ActionState.STATE_GAVEREWARD_OK)
|
SetModderLUAFact(sLuaactionid, ActionState.STATE_GAVEREWARD_OK)
|
||||||
elseif ( GetModderLUAFact(sLuaactionid) == ActionState.STATE_GAVEREWARD_OK ) then
|
elseif ( GetModderLUAFact(sLuaactionid) == ActionState.STATE_GAVEREWARD_OK ) then
|
||||||
@@ -786,7 +795,7 @@ function HandleInteractiveActionResult(sSectorX, sSectorY, bSectorZ, sGridNo, bL
|
|||||||
elseif ( GetModderLUAFact(sLuaactionid) == ActionState.STATE_GAVEREWARD_OK ) then
|
elseif ( GetModderLUAFact(sLuaactionid) == ActionState.STATE_GAVEREWARD_OK ) then
|
||||||
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "Apart from the chalice, the museum doesn't seem to have anything of interest.")
|
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "Apart from the chalice, the museum doesn't seem to have anything of interest.")
|
||||||
end
|
end
|
||||||
-- Drassen SAM: get info from the pc and use the comman console
|
-- Drassen SAM: get info from the pc and use the command console
|
||||||
elseif ( sLuaactionid == ModSpecificActions.COMPUTER_DRASSENSAM_PC_1 ) then
|
elseif ( sLuaactionid == ModSpecificActions.COMPUTER_DRASSENSAM_PC_1 ) then
|
||||||
if ( GetModderLUAFact(sLuaactionid) == ActionState.STATE_OK ) then
|
if ( GetModderLUAFact(sLuaactionid) == ActionState.STATE_OK ) then
|
||||||
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "We've compromised an army personnel database!")
|
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "We've compromised an army personnel database!")
|
||||||
@@ -815,9 +824,43 @@ function HandleInteractiveActionResult(sSectorX, sSectorY, bSectorZ, sGridNo, bL
|
|||||||
end
|
end
|
||||||
elseif ( sLuaactionid == ModSpecificActions.COMPUTER_DRASSENSAM_COMMANDCONSOLE ) then
|
elseif ( sLuaactionid == ModSpecificActions.COMPUTER_DRASSENSAM_COMMANDCONSOLE ) then
|
||||||
if ( GetModderLUAFact(sLuaactionid) == ActionState.STATE_OK ) then
|
if ( GetModderLUAFact(sLuaactionid) == ActionState.STATE_OK ) then
|
||||||
|
|
||||||
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "This seems to be the console that controls the SAM.")
|
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "This seems to be the console that controls the SAM.")
|
||||||
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "You have no idea how this works.")
|
|
||||||
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "You decide to not touch anything, you might break something.")
|
samhackstatus = GetSamSiteHackStatus(sSectorX, sSectorY)
|
||||||
|
|
||||||
|
ourhack = 100 - 2 * successpts
|
||||||
|
|
||||||
|
if ( ourhack < 0 ) then
|
||||||
|
ourhack = 0
|
||||||
|
end
|
||||||
|
|
||||||
|
-- we can hack the SAM, decreasing its radius, or undo a previous hack
|
||||||
|
-- for simplicity, we will always hack a SAM if enemies are nearby - we are either infiltrating or figting the enemy in those cases
|
||||||
|
-- otherwise, we obviously control the SAM, so try to unhack it
|
||||||
|
if ( NumNonPlayerTeamInSector(sSectorX, sSectorY, Teams.ENEMY_TEAM) > 0 ) then
|
||||||
|
if ( ourhack >= samhackstatus ) then
|
||||||
|
SetScreenMsg(FontColour.FONT_MCOLOR_RED, "Someone already hacked this thing - and they broke it better than you could.")
|
||||||
|
else
|
||||||
|
SetSamSiteHackStatus(sSectorX, sSectorY, ourhack)
|
||||||
|
|
||||||
|
SetScreenMsg(FontColour.FONT_MCOLOR_LTGREEN, "We've messed up the file system - they will need an expert to get this running again.")
|
||||||
|
end
|
||||||
|
else
|
||||||
|
if ( samhackstatus < 100 ) then
|
||||||
|
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "You attempt to unhack it.")
|
||||||
|
|
||||||
|
if ( ourhack <= samhackstatus ) then
|
||||||
|
SetSamSiteHackStatus(sSectorX, sSectorY, 100)
|
||||||
|
|
||||||
|
SetScreenMsg(FontColour.FONT_MCOLOR_LTGREEN, "We are successful, the targetting software is working again.")
|
||||||
|
else
|
||||||
|
SetScreenMsg(FontColour.FONT_MCOLOR_RED, "Whoever hacked the controls was more capable then we are - we cannot release the controls.")
|
||||||
|
end
|
||||||
|
else
|
||||||
|
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "The software seems to work just fine, better not mess with it.")
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
-- Chitzena SAM: get info from the pc and use the comman console
|
-- Chitzena SAM: get info from the pc and use the comman console
|
||||||
elseif ( sLuaactionid == ModSpecificActions.COMPUTER_CHITZENASAM_PC_1 ) then
|
elseif ( sLuaactionid == ModSpecificActions.COMPUTER_CHITZENASAM_PC_1 ) then
|
||||||
@@ -866,9 +909,43 @@ function HandleInteractiveActionResult(sSectorX, sSectorY, bSectorZ, sGridNo, bL
|
|||||||
end
|
end
|
||||||
elseif ( sLuaactionid == ModSpecificActions.COMPUTER_CHITZENASAM_COMMANDCONSOLE ) then
|
elseif ( sLuaactionid == ModSpecificActions.COMPUTER_CHITZENASAM_COMMANDCONSOLE ) then
|
||||||
if ( GetModderLUAFact(sLuaactionid) == ActionState.STATE_OK ) then
|
if ( GetModderLUAFact(sLuaactionid) == ActionState.STATE_OK ) then
|
||||||
|
|
||||||
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "This seems to be the console that controls the SAM.")
|
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "This seems to be the console that controls the SAM.")
|
||||||
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "You have no idea how this works.")
|
|
||||||
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "You decide to not touch anything, you might break something.")
|
samhackstatus = GetSamSiteHackStatus(sSectorX, sSectorY)
|
||||||
|
|
||||||
|
ourhack = 100 - 2 * successpts
|
||||||
|
|
||||||
|
if ( ourhack < 0 ) then
|
||||||
|
ourhack = 0
|
||||||
|
end
|
||||||
|
|
||||||
|
-- we can hack the SAM, decreasing its radius, or undo a previous hack
|
||||||
|
-- for simplicity, we will always hack a SAM if enemies are nearby - we are either infiltrating or figting the enemy in those cases
|
||||||
|
-- otherwise, we obviously control the SAM, so try to unhack it
|
||||||
|
if ( NumNonPlayerTeamInSector(sSectorX, sSectorY, Teams.ENEMY_TEAM) > 0 ) then
|
||||||
|
if ( ourhack >= samhackstatus ) then
|
||||||
|
SetScreenMsg(FontColour.FONT_MCOLOR_RED, "Someone already hacked this thing - and they broke it better than you could.")
|
||||||
|
else
|
||||||
|
SetSamSiteHackStatus(sSectorX, sSectorY, ourhack)
|
||||||
|
|
||||||
|
SetScreenMsg(FontColour.FONT_MCOLOR_LTGREEN, "We've messed up the file system - they will need an expert to get this running again.")
|
||||||
|
end
|
||||||
|
else
|
||||||
|
if ( samhackstatus < 100 ) then
|
||||||
|
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "You attempt to unhack it.")
|
||||||
|
|
||||||
|
if ( ourhack <= samhackstatus ) then
|
||||||
|
SetSamSiteHackStatus(sSectorX, sSectorY, 100)
|
||||||
|
|
||||||
|
SetScreenMsg(FontColour.FONT_MCOLOR_LTGREEN, "We are successful, the targetting software is working again.")
|
||||||
|
else
|
||||||
|
SetScreenMsg(FontColour.FONT_MCOLOR_RED, "Whoever hacked the controls was more capable then we are - we cannot release the controls.")
|
||||||
|
end
|
||||||
|
else
|
||||||
|
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "The software seems to work just fine, better not mess with it.")
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
-- central SAM: get info from the pc and use the command console
|
-- central SAM: get info from the pc and use the command console
|
||||||
elseif ( sLuaactionid == ModSpecificActions.COMPUTER_CENTRALSAM_PC_1 ) then
|
elseif ( sLuaactionid == ModSpecificActions.COMPUTER_CENTRALSAM_PC_1 ) then
|
||||||
@@ -939,9 +1016,43 @@ function HandleInteractiveActionResult(sSectorX, sSectorY, bSectorZ, sGridNo, bL
|
|||||||
end
|
end
|
||||||
elseif ( sLuaactionid == ModSpecificActions.COMPUTER_CENTRALSAM_COMMANDCONSOLE ) then
|
elseif ( sLuaactionid == ModSpecificActions.COMPUTER_CENTRALSAM_COMMANDCONSOLE ) then
|
||||||
if ( GetModderLUAFact(sLuaactionid) == ActionState.STATE_OK ) then
|
if ( GetModderLUAFact(sLuaactionid) == ActionState.STATE_OK ) then
|
||||||
|
|
||||||
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "This seems to be the console that controls the SAM.")
|
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "This seems to be the console that controls the SAM.")
|
||||||
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "You have no idea how this works.")
|
|
||||||
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "You decide to not touch anything, you might break something.")
|
samhackstatus = GetSamSiteHackStatus(sSectorX, sSectorY)
|
||||||
|
|
||||||
|
ourhack = 100 - 2 * successpts
|
||||||
|
|
||||||
|
if ( ourhack < 0 ) then
|
||||||
|
ourhack = 0
|
||||||
|
end
|
||||||
|
|
||||||
|
-- we can hack the SAM, decreasing its radius, or undo a previous hack
|
||||||
|
-- for simplicity, we will always hack a SAM if enemies are nearby - we are either infiltrating or figting the enemy in those cases
|
||||||
|
-- otherwise, we obviously control the SAM, so try to unhack it
|
||||||
|
if ( NumNonPlayerTeamInSector(sSectorX, sSectorY, Teams.ENEMY_TEAM) > 0 ) then
|
||||||
|
if ( ourhack >= samhackstatus ) then
|
||||||
|
SetScreenMsg(FontColour.FONT_MCOLOR_RED, "Someone already hacked this thing - and they broke it better than you could.")
|
||||||
|
else
|
||||||
|
SetSamSiteHackStatus(sSectorX, sSectorY, ourhack)
|
||||||
|
|
||||||
|
SetScreenMsg(FontColour.FONT_MCOLOR_LTGREEN, "We've messed up the file system - they will need an expert to get this running again.")
|
||||||
|
end
|
||||||
|
else
|
||||||
|
if ( samhackstatus < 100 ) then
|
||||||
|
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "You attempt to unhack it.")
|
||||||
|
|
||||||
|
if ( ourhack <= samhackstatus ) then
|
||||||
|
SetSamSiteHackStatus(sSectorX, sSectorY, 100)
|
||||||
|
|
||||||
|
SetScreenMsg(FontColour.FONT_MCOLOR_LTGREEN, "We are successful, the targetting software is working again.")
|
||||||
|
else
|
||||||
|
SetScreenMsg(FontColour.FONT_MCOLOR_RED, "Whoever hacked the controls was more capable then we are - we cannot release the controls.")
|
||||||
|
end
|
||||||
|
else
|
||||||
|
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "The software seems to work just fine, better not mess with it.")
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
-- Meduna SAM: get info from the pc and use the command console
|
-- Meduna SAM: get info from the pc and use the command console
|
||||||
elseif ( sLuaactionid == ModSpecificActions.COMPUTER_MEDUNASAM_PC_1 ) then
|
elseif ( sLuaactionid == ModSpecificActions.COMPUTER_MEDUNASAM_PC_1 ) then
|
||||||
@@ -978,9 +1089,43 @@ function HandleInteractiveActionResult(sSectorX, sSectorY, bSectorZ, sGridNo, bL
|
|||||||
end
|
end
|
||||||
elseif ( sLuaactionid == ModSpecificActions.COMPUTER_MEDUNASAM_COMMANDCONSOLE ) then
|
elseif ( sLuaactionid == ModSpecificActions.COMPUTER_MEDUNASAM_COMMANDCONSOLE ) then
|
||||||
if ( GetModderLUAFact(sLuaactionid) == ActionState.STATE_OK ) then
|
if ( GetModderLUAFact(sLuaactionid) == ActionState.STATE_OK ) then
|
||||||
|
|
||||||
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "This seems to be the console that controls the SAM.")
|
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "This seems to be the console that controls the SAM.")
|
||||||
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "You have no idea how this works.")
|
|
||||||
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "You decide to not touch anything, you might break something.")
|
samhackstatus = GetSamSiteHackStatus(sSectorX, sSectorY)
|
||||||
|
|
||||||
|
ourhack = 100 - 2 * successpts
|
||||||
|
|
||||||
|
if ( ourhack < 0 ) then
|
||||||
|
ourhack = 0
|
||||||
|
end
|
||||||
|
|
||||||
|
-- we can hack the SAM, decreasing its radius, or undo a previous hack
|
||||||
|
-- for simplicity, we will always hack a SAM if enemies are nearby - we are either infiltrating or figting the enemy in those cases
|
||||||
|
-- otherwise, we obviously control the SAM, so try to unhack it
|
||||||
|
if ( NumNonPlayerTeamInSector(sSectorX, sSectorY, Teams.ENEMY_TEAM) > 0 ) then
|
||||||
|
if ( ourhack >= samhackstatus ) then
|
||||||
|
SetScreenMsg(FontColour.FONT_MCOLOR_RED, "Someone already hacked this thing - and they broke it better than you could.")
|
||||||
|
else
|
||||||
|
SetSamSiteHackStatus(sSectorX, sSectorY, ourhack)
|
||||||
|
|
||||||
|
SetScreenMsg(FontColour.FONT_MCOLOR_LTGREEN, "We've messed up the file system - they will need an expert to get this running again.")
|
||||||
|
end
|
||||||
|
else
|
||||||
|
if ( samhackstatus < 100 ) then
|
||||||
|
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "You attempt to unhack it.")
|
||||||
|
|
||||||
|
if ( ourhack <= samhackstatus ) then
|
||||||
|
SetSamSiteHackStatus(sSectorX, sSectorY, 100)
|
||||||
|
|
||||||
|
SetScreenMsg(FontColour.FONT_MCOLOR_LTGREEN, "We are successful, the targetting software is working again.")
|
||||||
|
else
|
||||||
|
SetScreenMsg(FontColour.FONT_MCOLOR_RED, "Whoever hacked the controls was more capable then we are - we cannot release the controls.")
|
||||||
|
end
|
||||||
|
else
|
||||||
|
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "The software seems to work just fine, better not mess with it.")
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
-- MEDUNA PALACE BUNKER
|
-- MEDUNA PALACE BUNKER
|
||||||
-- entrance desktop contains a list of important people allied to the queen
|
-- entrance desktop contains a list of important people allied to the queen
|
||||||
|
|||||||
@@ -339,7 +339,7 @@
|
|||||||
<sStructureGridno>11135</sStructureGridno>
|
<sStructureGridno>11135</sStructureGridno>
|
||||||
<sLevel>0</sLevel>
|
<sLevel>0</sLevel>
|
||||||
<sActionType>1</sActionType>
|
<sActionType>1</sActionType>
|
||||||
<difficulty>10</difficulty>
|
<difficulty>15</difficulty>
|
||||||
<luaactionid>14</luaactionid>
|
<luaactionid>14</luaactionid>
|
||||||
</ACTION>
|
</ACTION>
|
||||||
<!-- |||||||||||||||||||| DRASSEN-SAM |||||||||||||||||||| -->
|
<!-- |||||||||||||||||||| DRASSEN-SAM |||||||||||||||||||| -->
|
||||||
@@ -386,7 +386,7 @@
|
|||||||
<sStructureGridno>10196</sStructureGridno>
|
<sStructureGridno>10196</sStructureGridno>
|
||||||
<sLevel>0</sLevel>
|
<sLevel>0</sLevel>
|
||||||
<sActionType>1</sActionType>
|
<sActionType>1</sActionType>
|
||||||
<difficulty>10</difficulty>
|
<difficulty>15</difficulty>
|
||||||
<luaactionid>17</luaactionid>
|
<luaactionid>17</luaactionid>
|
||||||
</ACTION>
|
</ACTION>
|
||||||
<!-- |||||||||||||||||||| CHITZENA-SAM |||||||||||||||||||| -->
|
<!-- |||||||||||||||||||| CHITZENA-SAM |||||||||||||||||||| -->
|
||||||
@@ -448,7 +448,7 @@
|
|||||||
<sStructureGridno>15920</sStructureGridno>
|
<sStructureGridno>15920</sStructureGridno>
|
||||||
<sLevel>0</sLevel>
|
<sLevel>0</sLevel>
|
||||||
<sActionType>1</sActionType>
|
<sActionType>1</sActionType>
|
||||||
<difficulty>10</difficulty>
|
<difficulty>15</difficulty>
|
||||||
<luaactionid>21</luaactionid>
|
<luaactionid>21</luaactionid>
|
||||||
</ACTION>
|
</ACTION>
|
||||||
<!-- |||||||||||||||||||| CENTRAL SAM |||||||||||||||||||| -->
|
<!-- |||||||||||||||||||| CENTRAL SAM |||||||||||||||||||| -->
|
||||||
@@ -499,7 +499,7 @@
|
|||||||
<sStructureGridno>11912</sStructureGridno>
|
<sStructureGridno>11912</sStructureGridno>
|
||||||
<sLevel>0</sLevel>
|
<sLevel>0</sLevel>
|
||||||
<sActionType>1</sActionType>
|
<sActionType>1</sActionType>
|
||||||
<difficulty>10</difficulty>
|
<difficulty>15</difficulty>
|
||||||
<luaactionid>24</luaactionid>
|
<luaactionid>24</luaactionid>
|
||||||
</ACTION>
|
</ACTION>
|
||||||
<!-- |||||||||||||||||||| MEDUNA SAM |||||||||||||||||||| -->
|
<!-- |||||||||||||||||||| MEDUNA SAM |||||||||||||||||||| -->
|
||||||
|
|||||||
@@ -36,6 +36,8 @@ Fields index:
|
|||||||
There is air control table at the end on this file.
|
There is air control table at the end on this file.
|
||||||
The numbers indicate what sam site controls air space of sector.
|
The numbers indicate what sam site controls air space of sector.
|
||||||
Zero (0) means neither of sams control this sector.
|
Zero (0) means neither of sams control this sector.
|
||||||
|
Each sector now takes a flagmask indicating the SAMs. So 1 is for SAM 1, 2 for SAM 2, 4 for SAM 3, 8 for SAM 4 and so on.
|
||||||
|
Add numbers to have mutliple SAMs covering a sector, so 3 means that both SAM 1 and 2 cover a sector.
|
||||||
|
|
||||||
NOTE: Rows 0 and 17, and also columns 0 and 17 CANNOT BE USED.
|
NOTE: Rows 0 and 17, and also columns 0 and 17 CANNOT BE USED.
|
||||||
It is world borders.
|
It is world borders.
|
||||||
@@ -91,26 +93,50 @@ Others not.
|
|||||||
<samGridNoB>11912</samGridNoB>
|
<samGridNoB>11912</samGridNoB>
|
||||||
</SAM>
|
</SAM>
|
||||||
</SAMLIST>
|
</SAMLIST>
|
||||||
|
|
||||||
|
<!-- The old SAM site setup. Comment this in and the lit below it out to return to vanilla state. -->
|
||||||
|
<!--
|
||||||
<SAM_CONTROLLED_SECTORS>
|
<SAM_CONTROLLED_SECTORS>
|
||||||
<!-- Column index: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 -->
|
|
||||||
<!-- -->
|
|
||||||
<MAP_ROW row="00"> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 </MAP_ROW>
|
<MAP_ROW row="00"> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 </MAP_ROW>
|
||||||
<MAP_ROW row="01"> 0 1 1 1 1 1 1 1 1 0 0 2 2 2 2 2 2 0 </MAP_ROW>
|
<MAP_ROW row="01"> 0 1 1 1 1 1 1 1 1 0 0 2 2 2 2 2 2 0 </MAP_ROW>
|
||||||
<MAP_ROW row="02"> 0 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 0 </MAP_ROW>
|
<MAP_ROW row="02"> 0 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 0 </MAP_ROW>
|
||||||
<MAP_ROW row="03"> 0 1 1 1 1 1 1 1 3 2 2 2 2 2 2 2 2 0 </MAP_ROW>
|
<MAP_ROW row="03"> 0 1 1 1 1 1 1 1 4 2 2 2 2 2 2 2 2 0 </MAP_ROW>
|
||||||
<MAP_ROW row="04"> 0 1 1 1 1 1 1 1 3 3 2 2 2 2 2 2 2 0 </MAP_ROW>
|
<MAP_ROW row="04"> 0 1 1 1 1 1 1 1 4 4 2 2 2 2 2 2 2 0 </MAP_ROW>
|
||||||
<MAP_ROW row="05"> 0 1 1 1 1 1 1 3 3 3 3 2 2 2 2 2 2 0 </MAP_ROW>
|
<MAP_ROW row="05"> 0 1 1 1 1 1 1 4 4 4 4 2 2 2 2 2 2 0 </MAP_ROW>
|
||||||
<MAP_ROW row="06"> 0 1 1 1 1 1 3 3 3 3 3 3 2 2 2 2 2 0 </MAP_ROW>
|
<MAP_ROW row="06"> 0 1 1 1 1 1 4 4 4 4 4 4 2 2 2 2 2 0 </MAP_ROW>
|
||||||
<MAP_ROW row="07"> 0 1 1 1 1 3 3 3 3 3 3 3 3 2 2 2 2 0 </MAP_ROW>
|
<MAP_ROW row="07"> 0 1 1 1 1 4 4 4 4 4 4 4 4 2 2 2 2 0 </MAP_ROW>
|
||||||
<MAP_ROW row="08"> 0 1 1 1 3 3 3 3 3 3 3 3 3 3 2 2 2 0 </MAP_ROW>
|
<MAP_ROW row="08"> 0 1 1 1 4 4 4 4 4 4 4 4 4 4 2 2 2 0 </MAP_ROW>
|
||||||
<MAP_ROW row="09"> 0 1 1 3 3 3 3 3 3 3 3 3 3 3 2 2 2 0 </MAP_ROW>
|
<MAP_ROW row="09"> 0 1 1 4 4 4 4 4 4 4 4 4 4 4 2 2 2 0 </MAP_ROW>
|
||||||
<MAP_ROW row="10"> 0 1 4 4 4 3 3 3 3 3 3 3 3 3 2 2 2 0 </MAP_ROW>
|
<MAP_ROW row="10"> 0 1 8 8 8 4 4 4 4 4 4 4 4 4 2 2 2 0 </MAP_ROW>
|
||||||
<MAP_ROW row="11"> 0 4 4 4 4 4 3 3 3 3 3 3 3 3 2 2 2 0 </MAP_ROW>
|
<MAP_ROW row="11"> 0 8 8 8 8 8 4 4 4 4 4 4 4 4 2 2 2 0 </MAP_ROW>
|
||||||
<MAP_ROW row="12"> 0 4 4 4 4 4 4 3 3 3 3 3 3 3 2 2 2 0 </MAP_ROW>
|
<MAP_ROW row="12"> 0 8 8 8 8 8 8 4 4 4 4 4 4 4 2 2 2 0 </MAP_ROW>
|
||||||
<MAP_ROW row="13"> 0 4 4 4 4 4 4 4 3 3 3 3 3 3 2 2 2 0 </MAP_ROW>
|
<MAP_ROW row="13"> 0 8 8 8 8 8 8 8 4 4 4 4 4 4 2 2 2 0 </MAP_ROW>
|
||||||
<MAP_ROW row="14"> 0 4 4 4 4 4 4 4 4 4 4 4 4 4 2 2 2 0 </MAP_ROW>
|
<MAP_ROW row="14"> 0 8 8 8 8 8 8 8 8 8 8 8 8 8 2 2 2 0 </MAP_ROW>
|
||||||
<MAP_ROW row="15"> 0 4 4 4 4 4 4 4 4 4 4 4 4 4 4 2 2 0 </MAP_ROW>
|
<MAP_ROW row="15"> 0 8 8 8 8 8 8 8 8 8 8 8 8 8 8 2 2 0 </MAP_ROW>
|
||||||
<MAP_ROW row="16"> 0 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 2 0 </MAP_ROW>
|
<MAP_ROW row="16"> 0 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 2 0 </MAP_ROW>
|
||||||
|
<MAP_ROW row="17"> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 </MAP_ROW>
|
||||||
|
</SAM_CONTROLLED_SECTORS>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<SAM_CONTROLLED_SECTORS>
|
||||||
|
<!-- Column index: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 -->
|
||||||
|
<MAP_ROW row="00"> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 </MAP_ROW>
|
||||||
|
<MAP_ROW row="01"> 0 1 1 1 1 1 1 1 1 0 2 2 2 2 2 2 2 0 </MAP_ROW>
|
||||||
|
<MAP_ROW row="02"> 0 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 0 </MAP_ROW>
|
||||||
|
<MAP_ROW row="03"> 0 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 0 </MAP_ROW>
|
||||||
|
<MAP_ROW row="04"> 0 1 1 1 1 5 5 5 5 6 6 6 2 2 2 2 2 0 </MAP_ROW>
|
||||||
|
<MAP_ROW row="05"> 0 1 1 1 5 5 5 5 5 6 6 6 6 2 2 2 2 0 </MAP_ROW>
|
||||||
|
<MAP_ROW row="06"> 0 1 1 5 5 5 5 5 5 6 6 6 6 6 2 2 2 0 </MAP_ROW>
|
||||||
|
<MAP_ROW row="07"> 0 1 1 5 5 5 5 5 5 4 6 6 6 6 2 2 2 0 </MAP_ROW>
|
||||||
|
<MAP_ROW row="08"> 0 1 1 5 5 5 5 5 4 4 6 6 6 6 2 2 2 0 </MAP_ROW>
|
||||||
|
<MAP_ROW row="09"> 0 1 1 5 5 5 5 4 4 4 4 6 6 6 2 2 2 0 </MAP_ROW>
|
||||||
|
<MAP_ROW row="10"> 0 9 9 13 13 13 12 12 4 4 4 4 4 6 2 2 2 0 </MAP_ROW>
|
||||||
|
<MAP_ROW row="11"> 0 8 8 12 12 12 12 12 12 4 4 4 4 4 0 0 0 0 </MAP_ROW>
|
||||||
|
<MAP_ROW row="12"> 0 8 8 12 12 12 12 12 12 4 4 4 4 4 0 0 0 0 </MAP_ROW>
|
||||||
|
<MAP_ROW row="13"> 0 8 8 8 12 12 12 12 12 4 4 4 4 0 0 0 0 0 </MAP_ROW>
|
||||||
|
<MAP_ROW row="14"> 0 8 8 8 8 12 12 12 12 12 4 4 0 0 0 0 0 0 </MAP_ROW>
|
||||||
|
<MAP_ROW row="15"> 0 8 8 8 8 8 8 8 8 0 0 0 0 0 0 0 0 0 </MAP_ROW>
|
||||||
|
<MAP_ROW row="16"> 0 8 8 8 8 8 8 8 8 0 0 0 0 0 0 0 0 0 </MAP_ROW>
|
||||||
<MAP_ROW row="17"> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 </MAP_ROW>
|
<MAP_ROW row="17"> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 </MAP_ROW>
|
||||||
</SAM_CONTROLLED_SECTORS>
|
</SAM_CONTROLLED_SECTORS>
|
||||||
</SAM_INFO>
|
</SAM_INFO>
|
||||||
|
|||||||
Reference in New Issue
Block a user