equal
deleted
inserted
replaced
1474 downOn = false |
1474 downOn = false |
1475 leftOn = false |
1475 leftOn = false |
1476 rightOn = false |
1476 rightOn = false |
1477 SetMyCircles(false) |
1477 SetMyCircles(false) |
1478 rAlpha = 255 |
1478 rAlpha = 255 |
|
1479 FailGraphics() |
1479 --nw WriteLnToConsole("Player is out of luck") |
1480 --nw WriteLnToConsole("Player is out of luck") |
1480 |
1481 |
1481 if shieldMiser == true then |
1482 if shieldMiser == true then |
1482 |
1483 |
1483 p = (roundKills*3.5) - ((roundKills*3.5)%1) + 2 |
1484 p = (roundKills*3.5) - ((roundKills*3.5)%1) + 2 |
2041 PlaySound(_G["sndOoff"..r], CurrentHedgehog) |
2042 PlaySound(_G["sndOoff"..r], CurrentHedgehog) |
2042 end |
2043 end |
2043 |
2044 |
2044 playerIsFine = false |
2045 playerIsFine = false |
2045 AddCaption(loc("GOTCHA!")) |
2046 AddCaption(loc("GOTCHA!")) |
|
2047 FailGraphics() |
2046 PlaySound(sndHellish) |
2048 PlaySound(sndHellish) |
2047 |
2049 |
2048 targetHit = true |
2050 targetHit = true |
2049 |
2051 |
|
2052 end |
|
2053 |
|
2054 -- Turn all circles white to indicate they can't be hit anymore |
|
2055 function FailGraphics() |
|
2056 for i = 0,(vCCount-1) do |
|
2057 vCircCol[i] = 0xffffffff |
|
2058 end |
2050 end |
2059 end |
2051 |
2060 |
2052 --- collision detection for weapons fire |
2061 --- collision detection for weapons fire |
2053 function CheckVarious(gear) |
2062 function CheckVarious(gear) |
2054 |
2063 |