Sven Eberhardt
91873ca0ac
Add graphics for sequence
2016-07-23 01:44:32 -04:00
Sven Eberhardt
58faf41068
Sequence: Add more triggers.
...
* Player enters circular region
* Game starts (after player joins)
* Player joins
* Player removed
* All goals fulfilled
* Clonk death
* Construction of structure
* Production of item
2016-07-22 01:51:29 -04:00
Sven Eberhardt
319392a779
UserAction: Rename OptionKey from Option to Function
2016-07-21 00:47:43 -04:00
Sven Eberhardt
626719194a
Add trigger+action to sequence object.
...
Sequences can be used to create triggered cutscenes, intros, outros, etc. in the future.
2016-07-21 00:24:55 -04:00
Sven Eberhardt
5855140cd4
UserAction: Conditions and more triggering player/object options
2016-07-21 00:24:54 -04:00
Sven Eberhardt
b915ecc32a
Clonk AI EditorProp using SetGlobal
2016-07-21 00:24:53 -04:00
Sven Eberhardt
1151016b56
Add dialogue target editor prop
2016-07-14 00:45:00 -04:00
Sven Eberhardt
d605bab0be
Qt Editor: Move EditorActions from EditorAction_* to a proplist EditorAction.*
2016-07-14 00:17:53 -04:00
Sven Eberhardt
656aa303f9
Ignore SetAI(..., true) if an AI already exists
...
Can happen e.g. in multiplayer editing
2016-07-13 22:15:55 -04:00
Sven Eberhardt
8d6a7058c6
Fix possible user action sequence id conflict when saving scenario after testing a sequence
2016-07-13 17:39:36 -04:00
Sven Eberhardt
28d2172b78
Qt Editor: Move editor props from EditorProp_* to an EditorProp proplist
2016-07-13 17:18:08 -04:00
Sven Eberhardt
f780a55e0f
Add dialogue UserActions to enable/disable dialogue and attention marker
2016-07-13 02:17:56 -04:00
Sven Eberhardt
7a6ced04c5
UserAction: Add const object and bool evaluators
2016-07-13 02:17:12 -04:00
Sven Eberhardt
22328365fa
Escape \ and " characters when scenario saving names and strings within proplists
2016-07-13 02:13:23 -04:00
Sven Eberhardt
279d89393c
SaveScenario: Correctly save object pointers within proplist
2016-07-13 01:45:29 -04:00
Sven Eberhardt
097ff2c9fb
Moved ConstructionSite from libraries to structures
...
This makes it more accessible in the editor. Otherwise, there would be "libraries/constructor" folders in the object creator with the construction site as the only contained definition.
2016-07-10 22:10:49 -04:00
Sven Eberhardt
36685a3119
Add HideInCreator=true to internal/helper/library definitions
2016-07-10 22:06:48 -04:00
Sven Eberhardt
d3ede324be
EditorBase: Publish some properties
2016-07-10 16:09:37 -04:00
Sven Eberhardt
d2fd1d740e
Add EditorProps to create NPC dialogues in the editor
2016-07-10 14:11:23 -04:00
Sven Eberhardt
d717e41902
Add user actions to SpinWheel up and down events
2016-07-06 01:04:45 -04:00
Sven Eberhardt
d3be591d8d
Add "Message" UserAction
2016-07-06 01:03:46 -04:00
Sven Eberhardt
5c6da07c51
Add UserAction scripted editor property delegates
...
UserActions will be used to click small dialogues and scripts directly in the editor.
2016-07-06 01:03:02 -04:00
Sven Eberhardt
63c9bd78e7
Qt Editor: Fix crash and prop list/array display problems when switching prop lists.
...
Storing the pointer in QModelIndex could sometimes keep invalid memory on the persistent model indices. Because re-organizing these memory locations would be a nightmare and we only go two levels deep anyway, just store the parent index in the internal pointer and look up the actual property on the fly.
2016-07-05 22:53:41 -04:00
Sven Eberhardt
62d3817d6a
Merge branch 'master' into qteditor
2016-06-24 18:23:34 -04:00
David Dormagen
6524136c9d
inventory: collect directly into pushed lorry when using Shift
...
As suggested by Dmyst: http://forum.openclonk.org/topic_show.pl?pid=32169#pid32169
2016-06-22 09:53:52 +02:00
Clonkonaut
c766078b50
Added a new variation of coniferous tree by Nachtfalter.
2016-06-21 19:16:40 +02:00
Clonkonaut
c77ab10b55
Added an additional guidepost, a decorative object by Nachtfalter.
2016-06-21 19:15:57 +02:00
Clonkonaut
fd98ed3246
Fixed dimensions of coniferous burned 3.
2016-06-21 19:14:54 +02:00
Clonkonaut
72c4a55d78
Added texture to Sproutberry Bush, by Pyrit.
2016-06-21 19:14:23 +02:00
Sven Eberhardt
a7aa89f168
Merge branch 'master' into qteditor
...
Conflicts:
planet/Objects.ocd/Structures.ocd/StoneDoor.ocd/SpinWheel.ocd/Script.c
src/platform/C4WindowSDL.cpp
src/script/C4AulParse.cpp
src/script/C4Effect.cpp
2016-06-20 22:27:03 -04:00
Sven Eberhardt
44d94d5043
Improve editor duplicate function to duplicate properties and object connections.
...
It serializes objects using a selective SaveScenarioObjects script callback and then just executes the generated script. This automatically saves important properties, connects switches and doors, etc.
This change also solves the problem that duplicating an elevator plus case would create two elevator cases.
If execution fails (e.g. because of script errors or because a non-saveable object was duplicated), the method falls back to the legacy duplication method of creating objects with the same prototypes at the same position.
2016-06-20 01:45:26 -04:00
Sven Eberhardt
e7be7d6acd
Qt Editor: Add viewport context menu
2016-06-19 22:45:12 -04:00
David Dormagen
890c430a17
controls: allow to put items into pushed containers via [throw]
...
as requested by Dmyst here http://forum.openclonk.org/topic_show.pl?pid=32082#pid32082
2016-06-19 20:23:29 +02:00
Nicolas Hake
e9c5facf91
GL: Disable hardware-based skinning on old Intel devices
...
Our hardware-based skinning doesn't work on certain Intel graphics
devices. Fall back to software skinning on GPUs that return an OpenGL
3.1 context even though we explicitly request a 3.2 one.
Might fix #1459 , #1689 .
2016-06-19 13:45:12 +02:00
Sven Eberhardt
7d43d364d0
Add StoneDoor EditorActions to open/close door
...
Replacing the old EditCursorCommands.
2016-06-19 00:09:37 -04:00
Clonkonaut
ecc386e6e7
Fix Dark Castle goal description ( #1667 ).
2016-06-19 00:18:58 +02:00
Clonkonaut
ff92f958ac
A different brick texture by Matthi.
2016-06-19 00:10:27 +02:00
Clonkonaut
3637e1f072
Fix the clonk sometimes stuck in infinite jump animation when actually scaling with one vertex.
2016-06-18 19:47:39 +02:00
Clonkonaut
5d2ae6a251
Fixed normal map for brick and brickback textures, by Tarte.
2016-06-18 19:47:04 +02:00
Clonkonaut
b6ca10d11a
Constructor library: Changed to search through all available knowledge and filter using an overloadable function.
...
The hammer will now only construct definitions that have the callback "IsHammerBuidable". This will exclude all C4D_Structure objects that are not buildings and can't be build in a meaningful way.
Also, with the carry heavy branch I want to test adhoc built lorries (lorries as construction sites). Sven suggested this.
2016-06-18 19:45:45 +02:00
Lukas Werling
19395b23ae
Fix SetMatAdjust() (for kenny)
2016-06-18 17:17:43 +02:00
Sven Eberhardt
6aa926bffa
Add Clonk EditorProp to set skin
2016-06-18 10:46:19 -04:00
Sven Eberhardt
af3e3bb6c8
Add EditorProps for EnemyAI effect
...
Also remove old object-based editor controls.
2016-06-18 10:45:06 -04:00
Sven Eberhardt
25fa57cabf
Qt Editor: Add "Static Flat" landscape mode
2016-06-17 18:44:59 -04:00
Sven Eberhardt
b70882d7fa
Editor: Object scaling+rotation
2016-06-17 00:07:49 -04:00
Sven Eberhardt
bd516dfc44
Add ItemSpawn EditorProps
2016-06-16 16:57:34 -04:00
Sven Eberhardt
f6acefa882
Add SpinWheel EditorProps
2016-06-16 16:57:13 -04:00
Sven Eberhardt
4e603e2ef8
Add "Name" EditorProp for all objects
2016-06-16 16:15:42 -04:00
Sven Eberhardt
2f22a3a8fe
Qt Editor: Add property delegate type "object"
2016-06-16 14:59:04 -04:00
Maikel de Vries
3620e22061
fix launching of javelins
...
Bug was introduced when TakeObject changed.
2016-06-12 11:39:11 +02:00