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
c7c2b9a248
special flight for AI to SEAD; AI bomb task
2019-03-27 11:53:00 +02:00
Vasyl Horbachenko
b697a8b40a
cleanups & minor fixesh
2019-03-27 10:41:40 +02: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
Vasyl Horbachenko
97be483624
Merge pull request #43 from Khopa/sdl_map
...
Scrollable & Zoomable Map view
2018-11-04 00:58:14 +02:00
Khopa
1ff5721912
Possible to toggle map size
2018-11-03 23:56:10 +01:00
Calvin Morrow
3ed864021d
Move log button and minimize padding to fit existing window size
2018-10-31 15:24:34 -07:00
Calvin Morrow
8bc269fa99
Add labels game setting and map visibility setting to mission generation forced options
2018-10-31 15:11:12 -07: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
8f4094ee98
number of fixes
2018-10-22 02:13:38 +03:00
Vasyl Horbachenko
274e08dd8b
quick mission debriefing fixed; adjusted constants
2018-10-14 04:09:05 +03:00
Vasyl Horbachenko
e049a97bec
minor text update
2018-10-13 22:30:43 +03:00
Vasyl Horbachenko
e2306ba0f3
new weather, strike objectives placement fixes & tarawa for av8b
2018-10-13 22:28:30 +03: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
3f8b5c6c00
minor UI fix
2018-10-12 23:33:10 +03:00
Vasyl Horbachenko
ce43be0d67
display strike objectives on map; minor fixes
2018-10-12 23:31:00 +03:00
Vasyl Horbachenko
6b96410ea4
updated config menu
2018-10-12 22:29:37 +03:00
Vasyl Horbachenko
f21bd10f09
number of minor bugfixes and UI improvements
2018-10-12 21:32:43 +03:00
Vasyl Horbachenko
b81bf90319
few minor fixes
2018-10-12 03:46:53 +03:00
Vasyl Horbachenko
d6b1b8665d
minor fixes
2018-10-12 03:37:32 +03:00
Vasyl Horbachenko
520a0f91fd
UI update; enemy vehicle difficulty settings; minor adjustments
2018-10-12 03:13:33 +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
5bbf3fc49f
fixed land map for gulf; ability to get logs from settings; minor trigger updates
2018-10-11 04:12:02 +03:00
Khopa
2cbe63f162
Fixed potential exception in start if user enter invalid value inside the combined arms slots entry.
2018-09-29 11:55:42 +02:00
Khopa
8cb7c7378f
Type for ca_slot_entry
2018-09-29 11:34:22 +02:00
Khopa
3500c85e8d
UI for CA slot selection (align with unit count rows)
2018-09-22 13:42:51 +02:00
Khopa
056c397e68
[Cherry Picked] Added possibility to add 'DCS: Combined Arms' slots to the generated mission.
2018-09-22 11:46:40 +02:00