Commit Graph

5886 Commits

Author SHA1 Message Date
titiger 69b379201c revert "only selectable"
Because the same effect can be done with an object or plane with fully
transparent texture.
2021-04-10 22:43:28 +02:00
titiger d873d91660 double sided only by our switch 2021-04-06 01:17:11 +02:00
titiger 3fcaa22d10 fixed double-sided switch and only-selectable
doublesided switch in blender 2.9x did not work before, it was always
rendered single sided in MG.
I added a new switch only-selectable which allows to create unvisible
but selectable meshes. This helps with selection of small units which
can now have an unvisible  hand craftet select object around them for
example..
2021-04-05 23:32:17 +02:00
Jammyjamjamman d890e865dc Meshes now have "double sided" property and fix quad-to-tris bug.
Meshes were missing a "double sided" property. So they importing/
exporting "double sided" meshes failed.
Converting meshes from quads to triangles was failing, when a mesh was
selected, because not all of the vertices were selected in "edit" mode.
Script now selects all verts are selected when switched to edit mode.
2021-04-03 00:35:42 +01:00
titiger 8cdca11c4f Reset should reset all upgrades :) 2021-03-27 20:51:28 +01:00
titiger ef313616c8 fixing upgrades again ... 2021-03-27 01:11:02 +01:00
titiger 86de5f12f5 Don't change map save dir when selecting heightmap 2021-03-20 15:16:59 +01:00
titison b4510aa412 Editor: It's 2021 ;) 2021-03-19 16:11:32 +01:00
titison 0201af7ccf Editor: Brush preview and Shift-Key for filling brush
Editor needs to render more often for the preview function.
2021-03-19 16:06:38 +01:00
titison 880730e5e1 Editor: Import Heightmap from image
Function similar to MuwuMs tool https://forum.megaglest.org/index.php?topic=8353.0
Image is resized to the dimensions of the map. Changes in the ratio only work with some image formats (png,jpg) wxWidget bug?
2021-03-16 15:19:40 +01:00
titiger b20002e7dc spawn attacks are skill based, not command based
Units have to spawn without a command too ( like buildings )
2021-02-26 01:49:31 +01:00
titiger 3b52832bb0 More fixes for boosts and upgrades 2021-02-25 23:55:55 +01:00
titiger 48733be2fc no crc refresh for non network games 2021-02-03 20:32:13 +01:00
titiger bf5fe0f561 Fix the CRC refresh on server side 2021-01-28 01:00:24 +01:00
titiger bbd7df55c9 Air unit flying height above water
For flying above water  we use the maps water height + airHeight  if it
is higher than the normal height..
2021-01-17 20:20:31 +01:00
titiger c7c18bd506 bugfix for last checkin 2021-01-14 00:46:32 +01:00
titiger 047ae0daaa Trying to make the CRC less often. 2021-01-14 00:27:41 +01:00
titiger a1d8ea91a2 CRC was never recalculated on servers side 2021-01-06 02:15:58 +01:00
titiger c0aa5cc867 I forgot to upgrade maxEpRegeneration 2021-01-02 21:36:40 +01:00
titiger 75651f3b2e Fix for maxHP upgrades
Fixed the calculation of HP if value is given in percent.
2021-01-02 20:27:51 +01:00
titiger 0f4bc361c6 Fix for maxHP boosts/upgrades
maxHP cannot been boosted anymore( just upgrades!). this has too many
side effects.
maxHP upgrades were calculated based on units current HP which doesn't
make sense.

maxEP cannot been boosted anymore( just upgrades!). this has too many
side effects.

Code is much cleaner and smaller now
2021-01-02 18:54:03 +01:00
titiger d28db00a1a Code cleanup void methods should not return anything ... 2020-12-13 13:22:04 +01:00
titiger 805de06291 bugfix for MaxUnitCount 2020-12-13 03:47:50 +01:00
Jammyjamjamman d7847f5f1c G3D B290: more advanced file searching
If g3d has wrong texture filename it will try other texture
extensions.
Default 3d view has been improved.
2020-12-10 00:42:03 +00:00
titiger 88fb921f5c Merge branch 'develop' of github.com:MegaGlest/megaglest-source into develop 2020-12-09 18:32:57 +01:00
titiger 922f359f76 trying to load textures with case correct filename.
If file not found, trying to load with lower case as fallback.
2020-12-09 18:32:42 +01:00
Jammyjamjamman 85aca2c12e G£D B290 Script: Bugfixes
* All blender views now show texture.
* Alpha channel on tex image linked to material.
* Fixed bug where texture-less models wouldn't export.
2020-12-09 01:00:27 +00:00
titiger 5b9f28f21c MaxUnitCount did not work correctly for buildings
Buildings in state 'beeing build' were not taken into account. this is
fixed now.
2020-12-09 01:46:56 +01:00
titiger 6bb687e5cc load model textures with correct case 2020-12-09 01:43:41 +01:00
James Sherratt 9e621fbb01
Feat/blender 2.90 support (#204)
* Blender 2.90 import mostly working

* g3d b290 script: Finish support for importing g3d

* G3D B290: exporter now works

Blender exporter now working. There's still a lot to fix in the script but the basic setup works.

* G3D B290: script now exports animations
2020-11-25 19:46:37 +00:00
titiger 9fe6bb5154 updated data 2020-10-15 00:46:53 +02:00
SoftCoder 4654f69598 - attempt to see if this makes editors compile in debian sid 2020-08-20 15:16:37 -07:00
SoftCoder b8a4a69ac7 - a 2020-08-19 19:16:13 -07:00
SoftCoder 4bdb45e96e - Add support for PopOs and disable VLC support by default in CMake build 2020-08-19 19:14:23 -07:00
Jammyjamjamman 5a35205402 Add ftp fixes 2020-06-20 19:30:01 +01:00
titiger 0917cbbb82 fix for ubuntu 20.04 2020-05-12 00:24:39 +02:00
titiger 5d811c0d76 dependencies for ubuntu 20.04 2020-05-11 21:29:58 +02:00
Tom Reynolds 72bb4af8a3
Merge pull request #193 from alexeygridnev/patch-1
Update setupBuildDeps.sh
2020-01-26 16:18:24 +01:00
Aleksei Gridnev efbca14747
Update setupBuildDeps.sh
Adding support for Raspbian (I installed all the dependencies for compiling Megaglest on Raspberry Pi 4 by simply substituting Debian with Raspbian in this script, as they are, essentially, the same system; it worked without any additional tweaks).
2020-01-25 21:45:11 +01:00
titiger b9ee7e90c6 some data changes 2019-11-18 23:45:39 +01:00
titiger 80cf370209 saved game setups
and lang file
2019-11-18 23:32:01 +01:00
titiger 68de0209fb custom menu layouts disbaled by default
saving and using custum menus layouts ( used for mods ) is disabled now
by default becasue it made trouble with new layout.  There are two new
switches for user.ini to control it:
CustomPropertiesUsageAllowed ( default = false )
CustomPropertiesSaveAllowed ( default=false )
2019-11-12 01:29:25 +01:00
titiger 32859457f6 world dump hotkey disabled by default
in big games accidently pressing this games made users drop out of the
game and its a developer option anyway. From now it only works If debug
is enabled.
2019-11-12 01:25:57 +01:00
titiger 3ad5a53560 more comfortable game setup delete 2019-11-12 00:25:57 +01:00
titiger 5cb0eab085 bugfix for preselection in map combobox
Maps were not only loaded as preview.
2019-11-07 00:12:15 +01:00
titiger 010b1f4f72
Merge pull request #191 from andy5995/stone_unharvestable
map editor/main.cpp: mark this stone as unharvestable
2019-11-01 16:59:06 +01:00
titiger f6c3a7174f cleanup of duplicated code 2019-10-24 22:58:51 +02:00
titiger a0f2bb0100 layout fixed in connect menu 2019-10-24 22:11:56 +02:00
titiger 95b185bd10 ManjaroLinux needs static libs too 2019-10-21 23:25:11 +02:00
titiger e978dd3561 build command had no colored icons 2019-10-21 20:09:15 +02:00