Johan Aberg
b99cdfb5c3
ValueError: negative radius
...
When cp.base.strength is zero 0, radius_m becomes negative and an ValueError is raised.
INFO:root:Commision Al Maktoum: {<class 'dcs.vehicles.Armor.APC_BTR_80'>: 3}
ERROR:root:<class 'ValueError'>
Traceback (most recent call last):
File "tkinter\__init__.py", line 1702, in __call__
File "ui\window.py", line 156, in dismiss
File "ui\mainmenu.py", line 29, in display
File "ui\overviewcanvas.py", line 590, in update
File "ui\overviewcanvas.py", line 252, in draw
File "ui\overviewcanvas.py", line 312, in draw_map
File "ui\overviewcanvas.py", line 331, in draw_bases
ValueError: negative radius
Proposed fix:
radius_m = max(radius * cp.base.strength - 2, 0)
2019-04-04 19:10:59 +13:00
Vasyl Horbachenko
c152b49b88
minor fixes; F-14B
2019-03-27 08:47:29 +02:00
Vasyl Horbachenko
f7e2c8921c
integration tests for operation generation; adjusted waypoint altitude for AI to not fly too low; removed C101 from list of generated AI aircrafts
2019-01-16 01:07:24 +02:00
Vasyl Horbachenko
fbbe56f954
fixes to convoy strikes; UI updates; don't generate helis for enemy
2018-11-06 04:06:59 +02:00
Vasyl Horbachenko
7842c69ebb
fixed incompatible missions being available from carriers
2018-11-06 02:59:24 +02:00
Vasyl Horbachenko
e1d50f1f27
added missing assets; convoy strike event
2018-11-06 02:33:38 +02:00
Vasyl Horbachenko
9d0997624b
fixes for selectable departure; generate statics for used units; raised RTB alt
2018-11-05 03:17:06 +02:00
Vasyl Horbachenko
355cd3e0e4
display events on map
2018-11-04 04:50:51 +02:00
Vasyl Horbachenko
af5cd57094
WIP: display events on the map
2018-11-04 04:06:44 +02:00
Vasyl Horbachenko
8f85101cec
WIP: display events on the map; start events from adjacent CPs
2018-11-04 02:38:14 +02:00
Khopa
1ff5721912
Possible to toggle map size
2018-11-03 23:56:10 +01:00
Khopa
c656c0f7e4
Confirm dialog to start a new game
2018-10-31 17:18:08 +01:00
Khopa
858e5d2d04
Do redraw the map when declutter options are toggled
2018-10-31 14:35:17 +01:00
Khopa
903a8db46f
Commented debug mouse cursos position rect
2018-10-31 14:26:23 +01:00
Khopa
5aa731853d
The zoom is a bit less annoying to use
2018-10-31 14:24:37 +01:00
Khopa
540096178c
Display zoom level on pygame overlay in bottom right corner
2018-10-31 14:22:49 +01:00
Khopa
ed2a611197
Removed unnecessary print
2018-10-31 14:14:17 +01:00
Khopa
1c61b0b5a2
Refactored the way icons are loaded + reformat
2018-10-31 13:10:07 +01:00
Khopa
ecb2c86dc4
Change order of map view options
2018-10-31 01:29:47 +01:00
Khopa
5cbbc3b1ab
Improved base intel view
2018-10-31 01:22:08 +01:00
Khopa
e0b2e178f9
Display detailled info about base when mouse hover
2018-10-31 00:59:02 +01:00
Khopa
390974ba0f
Icons for all kind of targets
2018-10-31 00:20:29 +01:00
Khopa
91379ff7d9
Instructions for map + tweaks (enable AA for text)
2018-10-30 23:32:27 +01:00
Khopa
1fe9e56997
Added missing resources. Bigger maps for nevada & caucasus
2018-10-30 20:30:10 +01:00
Khopa
e10b853712
Much better performance for the pygame viewport.
2018-10-30 20:00:14 +01:00
Khopa
7d70862e72
Work in progress : features restored.
2018-10-30 17:12:35 +01:00
Khopa
90bdcec7ff
Render map on a pygame SDL layer. WIP
2018-10-30 14:47:31 +01:00
Vasyl Horbachenko
397f9a58cb
fixed naval intercept crash; fixed wrong targets order; fixed initial waypoint being WP #1 ; m2k a2g ccip; fixed time being time zone offset ahead; lowered rain weather chance
2018-10-13 04:41:18 +03:00
Vasyl Horbachenko
ce43be0d67
display strike objectives on map; minor fixes
2018-10-12 23:31:00 +03:00
Vasyl Horbachenko
0015667829
new frontline position finding method; AA for strikes; other minor fixes and adjustments
2018-10-12 00:12:25 +03:00
Vasyl Horbachenko
7a5361c057
minor updates and strike mission objects expand
2018-09-10 01:38:50 +03:00
Vasyl Horbachenko
4ba1dd87e8
updates to strike missions; frontline operations invalid units placement fixed; minor UI updates
2018-09-09 04:15:44 +03:00
Khopa
a132cba7ef
Changed the color of text on map (easier to read this way for now imo)
2018-08-08 22:30:33 +02:00
Vasyl Horbachenko
6a02d2ffb6
few minor fixes; added F5
2018-07-31 03:47:50 +03:00
Vasyl Horbachenko
d48985ca6d
new airports for PG; TACANs and ICLS; list frequencies in mission briefing; carrier ops improvements; cold start option
2018-07-20 04:06:13 +03:00
Vasyl Horbachenko
e4c3f8bce2
frontline attack ops
2018-07-16 23:58:01 +03:00
Vasyl Horbachenko
c329c806df
take off silencing WIP; fixes for blufor; fixed SAMs commision on samless campaigns
2018-06-26 03:31:29 +03:00
Vasyl Horbachenko
78ab7cadd4
naval interceptions fixed; unit placement fixes
2018-06-19 03:11:01 +03:00
Vasyl Horbachenko
e2dbaa100f
naval intercept operation; package refactoring
2018-06-18 23:57:02 +03:00
Vasyl Horbachenko
92e5514e8d
gulf & nevada maps integration; updates to commisioning/start generation units logic; mission gen updates; carriers always on map
2018-06-16 03:30:32 +03:00
Vasyl Horbachenko
a4145154af
updated weather generation - now including rain
2018-06-14 19:24:13 +03:00
Vasyl Horbachenko
064b9ba877
number of fixes
2018-06-14 03:44:24 +03:00
Vasyl Horbachenko
dc303997a6
carrier ops; persistency; ui improvements; refactoring
2018-06-13 00:15:37 +03:00
Vasyl Horbachenko
3f80579d04
carrier operations WIP
2018-06-07 23:18:10 +03:00
Vasyl Horbachenko
2915287afb
canvas map overview WIP
2018-06-07 17:05:02 +03:00