Lukas Werling
0f78e63f02
Add warning for broken runtime join ( #1109 )
...
This also fixes the "no runtime join" error appearing for pre-lobby
games, where joining usually works anyways.
2018-01-28 17:34:45 +01:00
Lukas Werling
223ab6f77b
Add warning about unfinished gamepad controls
2018-01-28 17:18:20 +01:00
Maikel de Vries
aa892171fb
update version to 8.0 in DefCore.txt, Scenario.txt and Version.txt
2018-01-28 13:18:46 +01:00
Julius Michaelis
1a5a60c39e
Move warning about #1965 to a better place (see d175f776a
)
2018-01-28 01:14:25 +01:00
Julius Michaelis
d175f776ad
Warning about #1965 so if we release 8.0 without fixing that bug, hopefully nobody will stumble over it.
2018-01-27 22:21:18 +01:00
Maikel de Vries
ea72e2e542
clean up library vendor script
...
Also set up buy all available on shift + click for testing
2018-01-24 17:44:42 +01:00
Julius Michaelis
914d3798a4
Addedum to the control fixes in b11564168
( #1693 , #1982 ):
...
- Allow configuring keyboard keys with modifier keys
- Allow using Alt as a key in game on linux
(I'm still puzzled why only Ctrl and Shift where implemented in so many places)
- Adjust the deserializer and PlayerControls.txt to match the serializer for mouse keys
- Refactor C4PlayerControl::DoMouseInput a little bit
- Try to fix the Mac build (attempt 1)
- Fix a bug in C4KeyCodeEx::CompileFunc where it set an incorrect KeyComboItem::sKeyName
- Fix(?) StdCompilerConfigRead not doing anything on NoSeparator
2018-01-19 11:23:51 +01:00
Lukas Werling
2b3863a12c
Show warning when attempting to load an old savegame ( #1941 )
2017-12-28 21:45:20 +01:00
David Dormagen
f10b0854e8
fixed slow-mo rain ( #1958 )
...
Yes, someone just had the "slow-mo" switch on. I also replaced the usage of the "RaindropSmall" particle (which was a stretched dot) with an actual stretched dot.
2017-12-27 14:41:38 +01:00
Lukas Werling
6fc5c76a2c
Rewrite Cloud positioning
...
The old code did some obviously wrong things like calling functions
expecting relative coordinates with GetX()/GetY(). It also sometimes ran
into an infinite loop in Cloud->Place(). I fixed those issues and
cleaned up the rest to be nicer, hopefully without changing
functionality.
2017-12-26 14:14:17 +01:00
Lukas Werling
c964fa1c84
/screenshot: Add error message when in editor ( #1137 )
2017-12-23 12:11:28 +01:00
Maikel de Vries
723a7767f6
add damage indication in interaction menu for destructible library
2017-11-28 15:20:39 +01:00
Clonkonaut
8cb3c6f6b3
New property, set for all buildings: FireproofContainer.
...
A fireproof container shields all contents from incendiary material (lava mainly). Structures can now be submerged in lava and the contents will not burn up.
2017-11-21 18:16:45 +01:00
Lukas Werling
fb87db1579
Fix umlauts in engine strings
2017-11-05 13:56:21 +01:00
Mark
9cea6ed03c
Fix documentation comment.
2017-11-04 11:40:13 +01:00
Mark
ac0cf07e31
New assertion: Not empty
2017-11-04 11:31:12 +01:00
Mark
26e72eb489
AStar: Clarify the "todo" error
2017-11-02 17:36:31 +01:00
Lukas Werling
afa348ab21
Add comment next to all documented functions in System.ocg
...
Many functions in System.ocg have proper documentation, but not next to
the code. When changing these functions, it is easy to forget updating
the docs. Nobody likes outdated documentation!
2017-10-21 00:10:42 +02:00
Maikel de Vries
efe7dcf251
add Find_Cone to find objects in a cone
...
The reason for an engine function for this is speed, an implementation in script needs Find_Func and ensures slowness.
2017-07-19 22:04:43 +02:00
Maikel de Vries
f5f8b18204
remove unused AttractLightning defcore entry
...
Not used in either the engine or in script, script implementation of lightning can use a script defined property.
2017-07-15 14:00:19 +02:00
Maikel de Vries
4a093b747e
remove unused FireTop defcore entry
...
This has been obsolete since fire is implemented in C4Script.
2017-07-15 13:40:37 +02:00
Mark
e20d5e87ae
Library: Edible items
...
All the functionality for food is bundled in one library now
2017-07-13 21:48:36 +02:00
Mark
6208d99b98
Heal: Updated to new effect format, added variable interval
...
The healing interval defaults to the old fixed value.
2017-06-28 19:36:21 +02:00
Mark
8720409fbf
Colors: Breaking change - SplitRGBaValue
...
Changed the return value from array to proplist. The proplist contains the values R, G, B, Alpha.
2017-06-24 19:39:00 +02:00
Mark
56bf2eb06e
Colors: Use constants where possible
...
Did not use constants for the HSL values, because it did not seem worth to introduce them.
2017-06-24 19:24:21 +02:00
Mark
2553f5a388
Object: Variable placement for plants
...
RootSurface() does not yield good results for all objects, so I think the function should have a parameter for movement range. Re-declarated the variable "i" in the second if-block; I always thought we had scoped variables, it surprises me that the previous version worked.
2017-06-20 21:55:01 +02:00
Fulgen301
73b52a15ce
Remove StringToInteger function
2017-06-14 21:11:39 +02:00
Maikel de Vries
2b88e77254
adapt System.ocg headers to style guidelines and small clean ups
2017-06-02 17:15:08 +02:00
Maikel de Vries
f3cadedff1
add effects to block damage and fire
2017-06-02 17:15:08 +02:00
Mark
3f9687c1a0
Assert: New assertion for definition context
2017-05-29 21:56:06 +02:00
Maikel de Vries
9e9e664581
only show entering interaction if actually standing at the entrance of an object
2017-05-13 15:04:02 +02:00
Maikel de Vries
fd734330d6
first try to enter pushed vehicle when entering objects
...
There was no possibility to enter vehicles into yet, so this would be my first attempt to solve this, we can evaluate this and improve if needed.
2017-05-12 14:38:36 +02:00
Mark
70a89ce4f8
GUI: More robust calculation
2017-05-11 21:52:20 +02:00
Mark
1362494790
Fixed accidental redeclaration existing constant
2017-05-11 21:19:47 +02:00
Mark
739ddc2be3
Additional GUI layout
...
I found it a lot easier to create GUIs with these functions, so I decided to add them. If something can be simplified, please tell me so.
2017-05-10 22:33:38 +02:00
Mark
631c239717
Merge function for proplists
2017-05-10 22:03:57 +02:00
Mark
03dc2cb84f
Some common assertions
...
An attempt in reducing duplicate code :)
2017-05-10 21:52:54 +02:00
Sven Eberhardt
1b4fd9abe3
Editor: Add translation overview table (Tools menu)
2017-05-09 22:43:56 -04:00
Sven Eberhardt
4fac960cf4
Editor: Add localized string support
2017-05-07 14:26:30 -04:00
Maikel de Vries
c64e9b3814
scenario saving: fix position after movement by setting con and rotating
2017-03-27 09:44:28 +02:00
Maikel de Vries
ae31a1fa96
fix SetVelocity script function for zero angle or speed
2017-03-06 18:52:04 +01:00
Sven Eberhardt
6184231cdc
Improve default template map
2017-03-05 13:00:00 -05:00
Lukas Werling
47a419f412
Add SCENPAR to statistics if set
2017-02-21 21:19:00 +01:00
Lukas Werling
87ee44964c
Send script-defined statistics to the masterserver
...
After GameOver(), the global function CollectStatistics() is called
which in turn calls CollectStats() on all definitions and the Scenario.
The results are collected into a proplist and sent to the masterserver
as JSON.
The intended purpose is to collect statistics like weapon kill counts
and evaluate them across all online games to improve balancing.
2017-02-17 23:29:16 +01:00
Sven Eberhardt
da4f49d7ca
Add AI attack mode (weapon) to editor properties
2017-02-14 01:36:12 -05:00
Maikel de Vries
60f3e206cc
fix variable shadowing in some scripts
2017-02-13 19:04:27 +01:00
Sven Eberhardt
ef5626774d
Add another default scenario template
2017-02-05 16:08:30 -05:00
Sven Eberhardt
22306bd266
Editor: Add templates for new scenarios
2017-02-05 16:08:29 -05:00
Sven Eberhardt
2f44b48e7d
Fix German string table entry for map size in new scenario dialogue
2017-02-05 16:08:29 -05:00
Lukas Werling
6c7d8b7bbb
Clarify discovery error message
2017-01-09 20:35:04 +01:00