Commit Graph

10430 Commits (6937969175874261615df4dc0539976128ed1805)
 

Author SHA1 Message Date
Sven Eberhardt 6937969175 Force pre-select definitions specified in [Definitions] section of editor template c4s (#1898) 2017-03-11 00:13:49 -05:00
Lukas Werling 2c3a770415 Fix crash on invalid Editor.geometry (#1897) 2017-03-10 22:02:32 +01:00
Sven Eberhardt 10ab981b6f Add ambience editor props, user actions and scenario saving 2017-03-09 21:42:39 -05:00
Sven Eberhardt 3b90a0bf10 RoomDoor: Add editor props, user actions and scenario saving 2017-03-07 22:43:27 -05:00
Sven Eberhardt 7ffc1c5ffb Fix scenario saving of spawn action property in enemy spawns 2017-03-07 22:43:26 -05:00
Sven Eberhardt ae93236729 Fix typo in enemy spawn 2017-03-07 22:43:26 -05:00
Maikel de Vries 0d7c8aacca adjust moveto command to make the clonk move while jumping 2017-03-07 20:20:59 +01:00
Maikel de Vries ae31a1fa96 fix SetVelocity script function for zero angle or speed 2017-03-06 18:52:04 +01:00
Mark c37bc586e9 ObjectInteractionMenu: Add parameter for entry callback #1896 2017-03-06 05:33:57 +01:00
Sven Eberhardt 8db32bb53a Fix script error on player start object with multiple clonks and nil entries in start material list 2017-03-05 14:37:35 -05:00
Sven Eberhardt fd09df4de4 Fix non-airship vehicle AI 2017-03-05 14:35:00 -05:00
Sven Eberhardt d537617de4 Define general AI creature selection for vehicles in enemy spawn 2017-03-05 14:32:57 -05:00
Sven Eberhardt 41b2145494 Fix enemy spawns in rectangular region 2017-03-05 13:22:19 -05:00
Sven Eberhardt 48cb0df60f Airship enemy spawn: Add hit point parameter 2017-03-05 13:17:41 -05:00
Sven Eberhardt 6184231cdc Improve default template map 2017-03-05 13:00:00 -05:00
Sven Eberhardt 5330c53e38 Fix cloud scenario saving 2017-03-05 12:30:25 -05:00
Sven Eberhardt 3d3e51489c Add user action on enemy spawn 2017-03-05 11:45:04 -05:00
Sven Eberhardt b0b64de7de Infinite ammo respawn for grenade launcher AI attack mode 2017-03-05 11:27:45 -05:00
Sven Eberhardt 366c2c4b83 Add shield option to enemy spawn clonks 2017-03-05 11:27:45 -05:00
Sven Eberhardt d4b036b541 Add weapon speed setting to enemy spawn 2017-03-05 11:27:44 -05:00
Nicolas Hake eee5a5d663 Win32: Link libmisc against Winsock
Some parts of libmisc call into Winsock, so we should link that instead
of just linking it into the final binaries.
2017-03-05 12:41:52 +01:00
Nicolas Hake c8d37a5346 C4DrawT: Remove unused functions, add override specifiers 2017-03-05 12:41:51 +01:00
Nicolas Hake 9bb3dd8877 Win32: Don't try to locate Windows SDK
MSVC already knows where the Windows SDK is located, so we don't have to
replicate that logic in CMake (then get it wrong and link to an outdated
one).
2017-03-05 12:14:32 +01:00
Sven Eberhardt 1c7ee21903 Add weapon speed setting to ranged weapons 2017-03-04 22:47:17 -05:00
Sven Eberhardt d2e57dd318 Add airship spawn and attack path movement to EnemySpawn 2017-03-04 22:47:16 -05:00
Lukas Werling 3ebedd0c5f Rank private/UL addresses lower than global ones
Also adds some tests. Yay tests!
2017-02-28 22:15:29 +01:00
Lukas Werling d7e71d8362 Double the maximum address count to accomodate IPv6
With the addition of IPv6, some computers with lots of addresses are
reaching the old address limit of 20 addresses. We'll have to see how
this works out in practise. Maybe we'll have to do the connection in
stages to prevent sending out too many packets at once (like only
connecting to the first five addresses initially, then after a timeout
the next five, and so on).
2017-02-27 22:52:24 +01:00
Sven Eberhardt 1ff3b17dad Add catapult to enemy spawn
Also fix some catapult behavior (such as pushing it along waypoints)
2017-02-26 19:42:38 -05:00
Lukas Werling aa5f5cd654 Convert IPv4-mapped IPv6 peer addresses to IPv4
This avoids duplicating these addresses when broadcasting them.
2017-02-26 23:36:32 +01:00
Lukas Werling 7d55962208 Sort addresses used for initial host connection
Computers with multiple (possibly virtual) network adapters can have
tons of link-local fe80::/64 IPv6 addresses. Connections to those hosts
would run into a timeout before getting to public addresses behind the
link-local ones.

By sorting the address list, we can prioritize public IPv6 addresses if
supported by the client, then try IPv4 before working through the swamp
of link-local addresses.
2017-02-26 23:36:32 +01:00
Sven Eberhardt fccea515cd Add alternative weapon skins as attack modes 2017-02-26 14:59:34 -05:00
Sven Eberhardt a6c99e2cad Add alt material selection to editor 2017-02-26 14:59:33 -05:00
David Dormagen 0d01309958 construction goal: added German translation 2017-02-26 20:49:33 +01:00
Sven Eberhardt b477bf31f3 Move Amazon and Ogre alt skins from FightForGidl to Decoration.ocd 2017-02-26 12:18:15 -05:00
Sven Eberhardt 322b2b97de Fix rogue escape character in US string table of enemy spawn 2017-02-26 12:02:45 -05:00
Sven Eberhardt 54c4a5aa11 Add switch to room objects 2017-02-26 11:50:53 -05:00
Sven Eberhardt b795248da2 Add EditorActions for spin wheel 2017-02-26 11:23:55 -05:00
Sven Eberhardt c8aa5fff8f Fix missing return value in C4PropertyDelegateFactory::PasteFromClipboard 2017-02-26 11:00:20 -05:00
Sven Eberhardt fd5eb86e68 More detailed info icons for enemy spawns 2017-02-26 10:58:17 -05:00
Sven Eberhardt 5032e61dea Editor: Add OnUpdate to all delegates and EditorPropertyChanged callbacks to selected root object 2017-02-26 10:53:59 -05:00
Sven Eberhardt c7feea408d Fix enemy removal of enemy spawn if removal modifies the spawned list 2017-02-25 23:25:11 -05:00
Sven Eberhardt 50c52eea8c Fix DefenseBoomAttack getting hit by own shooter if NoFriendlyFire is off 2017-02-25 23:19:06 -05:00
Sven Eberhardt 6f8368da93 Enemy spawn: Add rocket spawns 2017-02-25 20:24:46 -05:00
Sven Eberhardt 6af82f193a Add user action evaluator: Wait for condition 2017-02-25 17:03:47 -05:00
Sven Eberhardt 2d3705a813 EnemySpawn: Add "all enemies killed" user action conditional
Also fix delayed activation due to script player join
2017-02-25 15:21:54 -05:00
Sven Eberhardt 6cfe109db3 Enemy spawn: Add max concurrent enemies setting 2017-02-25 12:39:23 -05:00
Sven Eberhardt 750d9dafb9 Remove positional parameters in aul compiler warning strings
Feel free to revert this commit when windows autobuilds are no longer done using mingw
2017-02-24 21:42:25 -05:00
Maikel de Vries 5c8ed12c3f correctly initialize script player in defense goal 2017-02-22 21:38:02 +01:00
Sven Eberhardt 649d7bed0a Move bomber and club attackers from FightForGidl to default AI as attack modes 2017-02-21 20:09:44 -05:00
Sven Eberhardt f754210a99 Add balloon enemy spawn 2017-02-21 20:09:44 -05:00