Sven Eberhardt
4df8679be2
Simplify saving of scenario properties in saved scenarios.
...
Just need to set "Save" to an identifier now.
2016-08-20 01:55:21 -04:00
Sven Eberhardt
947ca6af7c
Add user action: Activate/deactivate sequence
2016-08-20 01:55:20 -04:00
Clonkonaut
6a80ce8edb
Hot Ice Hotfix: Prevent grenade launcher from getting stuck uselessly in aim mode.
...
This fix might be dangerous, I do not know it. I have no real idea what this line was supposed to do. But it certainly prevented the release use command from getting to the used item in certain corner cases (right between loading and aiming).
I tested a bunch of vehicle and they work fine so far. So maybe this line was useless and harmful after all.
2016-08-20 00:56:50 +02:00
Sven Eberhardt
568088aedb
Editor: Add Copy+Paste functionality for properties
2016-08-19 16:13:28 -04:00
Lukas Werling
c965c24ee2
Docs: Remove obsolete remark about Random() range
2016-08-19 16:03:54 +02:00
Lukas Werling
26a552473c
Add support for two extra mouse buttons (#mantis-is-down-right-now)
...
This also fixes a missing definition for "MiddleDouble". Only
implemented for SDL and Qt, someone else will have to do Windows.
2016-08-18 22:43:42 +02:00
Sven Eberhardt
5d6ecc8dc8
Fix possible hang on effect execution with timer=1
...
If a timer=1-effect registered another timer=1-effect into the same object, it could cause an endless loop. This happened if the timer in the sequence object was set to 1.
2016-08-18 00:14:19 -04:00
Clonkonaut
5518d0ca15
Forgot to make the diving helmet a tool product!
2016-08-17 20:28:26 +02:00
Clonkonaut
d93b4d7b3a
Do not show helmet on back (can't make it work properly with other items).
...
The helmet is just too big and bulky. Same with the diving helmet.
2016-08-17 20:25:05 +02:00
Clonkonaut
01232b61a5
Fixed taking off of helmet when putting on another.
2016-08-17 20:23:33 +02:00
Clonkonaut
afe5cd3c24
Added diving helmet, must be connect to a pump!
...
Rudimentary handling of air pumping added to the pump and of course the helmet. The functions of the helmet concerning air pumping can maybe later used for a library.
2016-08-17 20:23:18 +02:00
Maikel de Vries
192ccc0203
prevent hitting self with reverse throw ( #1759 )
2016-08-15 19:20:08 +02:00
Sven Eberhardt
3a49a9c21d
Add user action: Set object position
2016-08-15 01:19:14 -04:00
Sven Eberhardt
20f9dbed43
Fix sync loss on InitializePlayers callback
...
It was called too early for remote clients.
2016-08-15 00:51:59 -04:00
Sven Eberhardt
a86576b763
Add TreasureHunt title image
2016-08-14 18:41:37 -04:00
Sven Eberhardt
1fe086a106
Add MtBrame title image
2016-08-14 18:39:48 -04:00
Sven Eberhardt
9be5379f73
Add MineRescue title image
2016-08-14 18:39:47 -04:00
Sven Eberhardt
343a4be8cc
Add GoldenMountain title image
2016-08-14 18:39:47 -04:00
Sven Eberhardt
225b0a9444
Add FrostySummit title image
2016-08-14 18:39:46 -04:00
Sven Eberhardt
2415e0d7d3
Add DeadlyGrotto title image
2016-08-14 18:39:45 -04:00
Sven Eberhardt
42e6c3de3c
Add DarkCastle title image
2016-08-14 18:39:45 -04:00
Sven Eberhardt
18437305ca
Add AcidDrilling title image
2016-08-14 18:39:44 -04:00
Clonkonaut
1b76c31452
5 title picture by ala and K-Pone.
...
https://clonkspot.org/forum/topic_show.pl?pid=14524#pid14524
2016-08-15 00:32:01 +02:00
Sven Eberhardt
6ee3849b18
Fix "number of objects in container" sequence trigger
2016-08-14 14:16:03 -04:00
Sven Eberhardt
bce903ee04
Merge branch 'master' into qteditor
...
Conflicts:
planet/Objects.ocd/Items.ocd/Tools.ocd/Dynamite.ocd/Script.c
planet/Objects.ocd/Libraries.ocd/Animal.ocd/CreatureControl.ocd/DefCore.txt
2016-08-13 23:42:59 -04:00
Sven Eberhardt
4a94c3598b
Sequence: Add "<" operator to contents count trigger
2016-08-13 23:25:01 -04:00
Clonkonaut
1036bad7fb
Added a helmet by pluto. Wear and get 20% off damage*!
...
*: not all damage is reduced, does not help against explosions, fire, asphyxiation or corrosion. We assume no liability for any deaths or injuries occurred while wearing.
2016-08-12 18:25:01 +02:00
Clonkonaut
43117a53bd
Added Library_Wearable for clothing or other worn items.
2016-08-12 18:22:50 +02:00
Lukas Werling
abef0da0aa
Fix RestartApplication on Linux
...
(and hopefully don't break it on Windows)
2016-08-11 22:11:15 +02:00
Sven Eberhardt
4869eff787
Allow joining to editor games through startup network dialogue
2016-08-10 19:35:39 -04:00
Clonkonaut
825c0653e5
Added a slight helper for corner scaling when just pressing up ( #1770 , #1630 ).
...
The problem occurred as soon as the clonk's leg vertices passed the edge. It seems the engine does not really align the bottom vertex to the material. However, the bottom vertex does have CNAT_Bottom & _Left & _Right, in theory it should be properly attached. Maybe this is a little bit broken engine-wise or maybe assigning both left and right to a vertex isn't supported?
Because the lower vertex (foot vertex) isn't attached, the clonk falls down onto its leg vertex and gets stuck in an endless loop of Scale, Jump, Walk, Scale, ...
When pressing left/right, this is no problem as the clonk will be pushed towards the edge when walking and soon touch it with its foot vertex (I assume at this point regular engine behaviour kicks in).
I added a little helper in the scale effect that sets COMD_UpLeft / UpRight whenever this situation is detected and only Up is pressed. 2 frames (1 is not enough) after the effect ended, the ComDir will reset to COMD_Up. It is then possible to climb an edge and stand still on top of it.
Maybe not a perfect solution (a perfect solution would probably be to fix attachment in the engine but I couldn't pinpoint the exact problem) but it works for now.
2016-08-10 01:19:11 +02:00
Clonkonaut
7a56086d13
Fix Brick density in VolcanoEscapeEx ( #1781 ).
2016-08-10 01:07:42 +02:00
Clonkonaut
52fdcec172
Renamed coconut tree ( #1752 ).
2016-08-10 00:08:01 +02:00
Clonkonaut
51a18f42b2
Expand ObjectInteractionMenu search radius one pixel lower ( #1788 ).
...
I don't think this pixel will hurt too much.
2016-08-10 00:01:27 +02:00
Clonkonaut
05a814461f
ObjectInteractionMenu: don't create infinite ExtraSlotTracker effects.
...
I think there's a bug in the effects system. It seems that effects are not removed properly if command_target is deleted. I will investigate.
2016-08-09 23:45:48 +02:00
Clonkonaut
07ea0fe438
Dynamite Box is now a container holding 5 sticks of dynamite. Can be taken out separately (and put back in).
2016-08-09 23:44:14 +02:00
Lukas Werling
4f5ba57170
Allow scenario saving as editor client
2016-08-09 18:55:43 +02:00
Sven Eberhardt
4fbeead744
Fix user action "Cast objects" speed property name
2016-08-09 00:12:45 -04:00
Sven Eberhardt
ba9165d016
Fix "triggering clonk" user action evaluator in "a clonk dies" to point to the clonk.
2016-08-09 00:09:07 -04:00
Sven Eberhardt
c5ecc3a2b1
Fix user action evaluator: Find contents with ID given
2016-08-09 00:03:51 -04:00
Sven Eberhardt
d005c20f00
UserAction: Fix typo in US strings
2016-08-09 00:01:10 -04:00
Sven Eberhardt
effec53f0a
PlayerStart: Default crew to one clonk
...
It's the most sensible setting for most scenarios (melee, parkour, etc.) and probably the best default for newbies.
2016-08-09 00:00:17 -04:00
Sven Eberhardt
9d715387f2
Qt editor: Store and restore window layout (docked dialogues, etc.)
2016-08-08 23:57:24 -04:00
Sven Eberhardt
60240ac05b
Qt editor: Fix material size slider when adjusting with a method other than dragging
2016-08-08 17:39:10 -04:00
Maikel de Vries
daf45a17f5
fix boiling lava name
2016-08-08 23:04:21 +02:00
Sven Eberhardt
d5cc9c2a36
UserAction: Add missing SetCondition setter function
2016-08-08 16:24:06 -04:00
Sven Eberhardt
be60b276d0
User action script: Fix script error if a context returns nil.
...
If a context is defined but returns nil, the script now returns nil instead.
2016-08-08 15:34:06 -04:00
Sven Eberhardt
4581022411
Fix an aul preparser crash on DirectExec functions parsing
...
GetLastRetType doesn't work because the preparser does not generate code.
The code looks a bit like this line just got lost somehow?
2016-08-08 15:26:25 -04:00
Sven Eberhardt
a713870f33
Reorder some user action parameters
2016-08-08 15:03:40 -04:00
Sven Eberhardt
0c31bc7985
Fix parkour checkpoint initialization when loaded form scenario
2016-08-08 14:56:57 -04:00