Sven Eberhardt
a0580580aa
Add rdir parameter to user action object creation
2016-10-16 21:47:20 -04:00
Maikel de Vries
0d6a8497fc
allow setting the rotation of an created object in editor user actions
2016-10-16 19:59:54 +02:00
Maikel de Vries
9aaec9a009
add option to door to lock it with a given key
2016-10-16 18:47:45 +02:00
Maikel de Vries
5e7ce466e1
add key object
...
Can be used to open doors, etc. Editor interactions and stuff are still on the todo.
2016-10-16 18:47:45 +02:00
Maikel de Vries
ff2c32b77e
play keypad sounds only for operating player
2016-10-16 18:47:45 +02:00
Maikel de Vries
e124433cd5
fix playing sound when trying to enter enemy door
2016-10-16 18:47:45 +02:00
Maikel de Vries
b4cdeb3da4
base material & production: add fail safes and remove entries with zero material
2016-10-16 18:47:45 +02:00
Mark
44b2fda439
Cloud: Insert snow only if allowed to
2016-10-14 18:43:35 +02:00
Sven Eberhardt
15d850e4ec
Editor: Add effects to property viewer
2016-10-14 10:50:17 -04:00
Maikel de Vries
ce92a3cc16
add floor switch object to Decoration.ocd
2016-10-13 23:11:58 +02:00
Mark
0996c6e31e
Cloud: Play sound at rain impact location
...
The cloud does this with a helper object.
2016-10-11 21:51:32 +02:00
Mark
7df951fb65
Cloud: Mode without material insertion
...
Added a mode where the cloud does not extract or insert any materials, so that the rain is just a decorative element of the game.
2016-10-11 21:19:21 +02:00
Sven Eberhardt
4eae2b28d7
Editor: Fix drop cursor drawing
2016-10-10 21:26:10 -04:00
Sven Eberhardt
eee79366d0
Add tool tip to "test sequence" button
2016-10-10 16:45:24 -04:00
Sven Eberhardt
6e6f642be6
Add tool tip to dialogue editor action
2016-10-10 16:45:24 -04:00
Sven Eberhardt
244650bb17
Add base material to player spawn object.
...
Set the default to a lot of clonks. This is useful so the "respawn at flagpole" rule works as expected even if users don't know about the base material setting.
2016-10-09 13:27:20 -04:00
Sven Eberhardt
b0e42e35d1
Sequence: Default action to empty sequence
2016-10-09 13:27:20 -04:00
Mark
2957a777b3
Goal: Extracted function NotifyPlayerHUD
...
Removed duplicate code in the process.
2016-10-09 11:53:25 +02:00
Mark
35e8a43f82
Goal: Optimize HUD updates
...
No more lacking behind the fulfillment status.
2016-10-09 11:50:06 +02:00
Mark
84dd95df34
Goal controller: Player parameters for goal display functions
...
Allows goals with different symbols per player.
2016-10-09 11:34:13 +02:00
Mark
9fcd3ee13e
Goal controller: Extracted functions
...
Made the variable names consistent between GoalSubMenu() and OnGoalUpdate();
Extracted the functions GetGoalSymbol() and GetGoalGraphics();
2016-10-09 11:26:47 +02:00
Mark
b18a7b7a3f
Goal controller: Readability
...
The change in call structure should not make that much of a difference in performance.
2016-10-09 11:18:10 +02:00
Mark
0d22f58b52
Goal controller: Get short description only once.
2016-10-09 11:13:12 +02:00
Mark
0732b7dc87
Goal controller: Code cleanup
2016-10-09 11:11:51 +02:00
Mark
b235c5e9e4
Goal controller: Simplified code
2016-10-09 11:11:28 +02:00
Mark
f52159b835
Goal controller: Variable definitions
2016-10-09 10:58:37 +02:00
Mark
be207737bc
Goal controller: Slight optimization
...
No need to call the function twice. This is trivial though, the call is not expensive usually.
2016-10-09 10:51:48 +02:00
Sven Eberhardt
c05ee7e644
Add gravestone inscription editor props
2016-10-08 23:29:50 -04:00
Mark
7c169c7905
Moved object interaction menu sidebar icons to separate overloadable functions
2016-10-08 17:46:39 +02:00
Maikel de Vries
2505dc77f1
add room door to Decoration.ocd
...
This is a door which leads to nowhere, but they can be connected via script or serve other purposes. Graphics by Apfelclonk.
2016-10-06 18:43:04 +02:00
Clonkonaut
f37eda9508
Moved HUD proplist definitions to separate, overloadable functions.
...
See http://forum.openclonk.org/topic_show.pl?pid=32552#pid32552 for more information.
2016-10-06 01:47:45 +02:00
Lukas Werling
ddb34ab5cb
Disallow interaction with actively controlled Clonks
...
This prevents inventory stealing which is undesirable in cooperative
scenarios with competitive elements (e.g. some races) and confusing to
players.
2016-10-05 22:14:40 +02:00
Maikel de Vries
89be9bd158
implement scenario saving for liquid tank, pump & pipe
2016-10-03 18:07:49 +02:00
Sven Eberhardt
4756fb0ba1
Unify moving brick graphics size.
...
Otherwise, there were still graphics artifacts sometimes.
2016-10-03 00:02:46 -04:00
Sven Eberhardt
76ce8089af
Fix display of moving bricks with size<4.
2016-10-02 23:47:02 -04:00
Sven Eberhardt
d48dbfba82
Add optional size parameter to Particles_Flash
2016-10-02 23:47:01 -04:00
Maikel de Vries
1483620b2b
fix c4script runtime error in power system when pump is initialized
2016-10-02 23:23:20 +02:00
Maikel de Vries
48d98d708e
fix script error in keypad
2016-10-02 08:03:14 +02:00
Maikel de Vries
b0ff00439f
fix possible script error in pump
2016-10-01 19:18:23 +02:00
Maikel de Vries
2073fb0f0a
improve picture graphics of animals
2016-10-01 16:32:29 +02:00
Maikel de Vries
1eb17613bc
keypad: allow alternative graphics for its buttons
2016-10-01 16:32:29 +02:00
Maikel de Vries
df43ab86f2
add IsAnimal to animals for finding them
2016-10-01 16:32:29 +02:00
Sven Eberhardt
9299ec4223
Fix max energy in AI test scenario
2016-10-01 10:26:43 -04:00
Sven Eberhardt
b317afbadc
Fix division by zero on progress bars with max=0
2016-10-01 10:26:25 -04:00
Sven Eberhardt
d04476ad0b
Allow oversize and rotation of fence
2016-09-30 22:23:11 -04:00
Sven Eberhardt
0604a815d0
Fix undefined constant in keypad
2016-09-30 21:40:57 -04:00
Maikel de Vries
fa977149e9
make firefly use insect swarm library
2016-09-30 18:58:42 +02:00
Maikel de Vries
b42a4b824b
insect swarm: fix movement issues
2016-09-30 18:58:42 +02:00
Maikel de Vries
32f5b1cb25
add keypad to decoration objects
...
This can control lots of things and triggers on entering the correct code.
2016-09-26 17:15:37 +02:00
Lukas Werling
10622a9b61
Add generic A* implementation for path finding in graphs
2016-09-26 16:30:47 +02:00