1dot13 / source

Source code for the game executable of the Jagged Alliance 2 v1.13 project
101 stars 18 forks source link

Shift + O Game Hint #285

Closed NoamChomsky2024 closed 9 months ago

NoamChomsky2024 commented 9 months ago

Thanks for all the great work done on JA2 1.13.

Is this game hint still valid? If not, someone may clean it out and we fixed yet one more thing! :)

image

kitty624 commented 9 months ago

unmodded 1.13 doesn't have any scope-transformations in item_transformation.xml

but some mods (SDO, AIMNAS, ???) do

example from SDO:

<TRANSFORM>
    <usItem>208</usItem>
    <usResult1>2159</usResult1>    
    <usAPCost>10</usAPCost>
    <iBPCost>0</iBPCost>
    <szMenuRowText>Magn. 6x</szMenuRowText>
    <szTooltipText>Switch Scope Magnification to 6x (30+ Tiles).</szTooltipText>
</TRANSFORM>    
<TRANSFORM>
    <usItem>208</usItem>
    <usResult1>2160</usResult1>    
    <usAPCost>10</usAPCost>
    <iBPCost>0</iBPCost>
    <szMenuRowText>Magn. 3x</szMenuRowText>
    <szTooltipText>Switch Scope Magnification to 3x (15+ Tiles).</szTooltipText>
</TRANSFORM>    
<TRANSFORM>
    <usItem>2159</usItem>
    <usResult1>208</usResult1>    
    <usAPCost>10</usAPCost>
    <iBPCost>0</iBPCost>
    <szMenuRowText>Magn. 9x</szMenuRowText>
    <szTooltipText>Switch Scope Magnification to 9x (44+ Tiles).</szTooltipText>
</TRANSFORM>
<TRANSFORM>
    <usItem>2159</usItem>
    <usResult1>2160</usResult1>    
    <usAPCost>10</usAPCost>
    <iBPCost>0</iBPCost>
    <szMenuRowText>Magn. 3x</szMenuRowText>
    <szTooltipText>Switch Scope Magnification to 3x (15+ Tiles).</szTooltipText>
</TRANSFORM>
<TRANSFORM>
    <usItem>2160</usItem>
    <usResult1>208</usResult1>    
    <usAPCost>10</usAPCost>
    <iBPCost>0</iBPCost>
    <szMenuRowText>Magn. 9x</szMenuRowText>
    <szTooltipText>Switch Scope Magnification to 9x (44+ Tiles).</szTooltipText>
</TRANSFORM>
<TRANSFORM>
    <usItem>2160</usItem>
    <usResult1>2159</usResult1>    
    <usAPCost>10</usAPCost>
    <iBPCost>0</iBPCost>
    <szMenuRowText>Magn. 6x</szMenuRowText>
    <szTooltipText>Switch Scope Magnification to 6x (30+ Tiles).</szTooltipText>
</TRANSFORM>
kitty624 commented 9 months ago

maybe we should add a clarification into loadscreenhint that this only works when there are any transformable scopes in the first place

kitty624 commented 9 months ago

solved with

https://github.com/1dot13/gamedir/pull/75