Commit Graph

471 Commits (418964f6e8bf0c49cdc15b33796aeb893715b468)

Author SHA1 Message Date
Maikel de Vries 7ca450b6b2 fix script errors for wrong parameter types in iron bomb effects 2016-01-17 12:51:04 +01:00
David Dormagen 368eb698ec pickaxe: removed debug message
introduced in https://git.openclonk.org/openclonk.git/commitdiff/796aa7d7c62c5348417d584c9637da61297736d4
2016-01-17 08:11:17 +01:00
Sven Eberhardt 0b6e2015cf Fix shovel shoveling in the wrong direction sometimes #1626 2016-01-16 22:02:32 -05:00
Sven Eberhardt 796aa7d7c6 Fix pickaxe picking in the wrong direction sometimes #1626 2016-01-16 22:02:08 -05:00
Maikel de Vries 4357004dbf prevent picking up heavy objects when on grapple rope and draw in rope when picking up heavy object (#1521)
Maybe there are other places where the controls libraries should make callbacks to control effects. But that is for the future.
2016-01-13 23:13:44 +01:00
Sven Eberhardt a34912d9c2 Individual stacking and name/desc of source and drain pipes. 2016-01-10 21:34:41 -05:00
Sven Eberhardt 3dad1c6d81 Turn MaxContentsCount and HandObjects into properties instead of callbacks (Possibly fixes #1553) 2016-01-10 10:41:34 -05:00
Sven Eberhardt d56670c7ce Fix pickaxe killing scaling ability permanently if it is used before any local ActMap modifications #1563 2016-01-10 08:46:20 -05:00
Sven Eberhardt dcefa516f6 GrappleBow: Pull back in if hook did not stick successfully #1546 2016-01-09 16:33:13 -04:00
David Dormagen 0ad1cdbf89 loam: made bridges smoother
..by continuing the material drawing exactly where it was stopped the last frame. Previously, just some unconnected rectangles were drawn which were often times filled with gaps. Especially on angled bridges.
2016-01-09 13:53:34 +01:00
Maikel de Vries 96344dfc00 disable climbing when swinging pickaxe 2016-01-08 22:43:46 +01:00
David Dormagen 0c73ae29e7 loam: fixed turning while digging and added some particles
This were supposed to be two commits. Meh.
Also, I can't really test how the particles looks because everything is black for me - ck? :(
2016-01-08 21:05:09 +01:00
David Dormagen b6436783bb loam: disable free turning of Clonk
From bug report out of http://forum.openclonk.org/topic_show.pl?tid=3233
2016-01-07 10:09:39 +01:00
Maikel de Vries ee9c44ac75 boompacks are not projectile targets of boompacks
This would be very annoying if you fuse multiple of them at the same time
2016-01-04 21:17:25 +01:00
Maikel de Vries f1c9b042ff killtracing: boompack gets correct controller when hit or incinerated
also add a hitcheck when launched by a projectile hit
2016-01-04 20:43:56 +01:00
Maikel de Vries 7aaa5a6e32 killtracing: pass controller of igniter when fusing dynamite 2016-01-03 20:18:06 +01:00
Maikel de Vries 22d5036e9e killtracing: set killer of balloon rider if balloon is shot 2016-01-03 20:18:06 +01:00
Maikel de Vries 3392921bfe killtracing: windbag set controller for moved objects 2016-01-03 14:31:20 +01:00
Maikel de Vries 64af909a49 killtracing: set controller of keg when incinerated 2016-01-03 12:30:47 +01:00
Maikel de Vries 6530cba8eb killtracing: club set controller when hitting an object 2016-01-03 12:25:38 +01:00
Maikel de Vries 06b6d6e85e fix musket bullet trail appearance at top map border 2016-01-02 19:42:23 +01:00
David Dormagen af576e7468 shovel: improved dust particles slightly
A bit more but smaller particles. Now you can't make out a single sprite easily anymore.
The particles also do not spawn in solid material now.
2016-01-02 17:27:49 +01:00
Günther Brammer 00a4c6c428 Replace BorderBound DefCore value with BorderBound object property 2016-01-01 22:18:41 +01:00
Clonkonaut 1416887a22 Fix possible null pointer when shooting the balloon.
I suspect that when the clonk gets send tumbling, OnUnmount might get called and nil rider.
2015-12-30 03:21:35 +01:00
David Dormagen 9d947c7fb2 make IsProjectileTarget default to true for living beings
..which eliminates the || GetOCF() & OCF_Alive everywhere. It also allows living things to explicitely disable being projectile targets.
This is a lot cleaner imo.
2015-12-28 11:20:11 +01:00
Maikel de Vries 69cf94127a removed unused Sulphur object
Material is gone, object has no use, therefore removed. Can be added again if there is a need for it.
2015-12-28 10:21:49 +01:00
Maikel de Vries 509bdac5bc remove unused Rebuy property from objects 2015-12-28 10:21:49 +01:00
Maikel de Vries 8e8a66df76 category for non-structures to C4D_None
These objects are not intended to be constructed as structures (the hammer menu) and should therefore not be structures.
2015-12-28 00:31:15 +01:00
Maikel de Vries 2a4b92fbab igniter not producible in chemical lab 2015-12-27 23:24:27 +01:00
Maikel de Vries d4a6c50d4d rope bridge can now be placed by a clonk
There are still some things to fix/implement: breaking of bridge ropes when the posts move to far apart, animations for placement and retraction.
2015-12-27 00:18:17 +01:00
David Dormagen 124337a5b5 boompack: fix PictureTransformation
..too not leak out of bounding box.
2015-12-26 18:21:51 +01:00
Maikel de Vries 42cf57afb6 improve drawing speed of ropebridge (and further clean up) 2015-12-26 15:57:30 +01:00
David Dormagen 802c85c8f8 grenade launcher, crate: fix PictureTransformation
For the first, loading and shooting would reset it..
2015-12-25 20:19:48 +01:00
Maikel de Vries 5ffc97f2f0 rope bridge clean up and cleaner way to create a bridge
Now use Ropebridge->Create(x1, y1, x2, y2) to make a bridge, this allows for some more clean up in a commit to follow.
2015-12-25 19:27:00 +01:00
David Dormagen 9f2c60c94e adjusted some more PictureTransformation properties
To either increase the size of the item, center it, or prevent it from going out of the bounding box.
2015-12-25 19:14:52 +01:00
Maikel de Vries e4b1fe94ca clean up grapple bow scripts 2015-12-25 16:11:17 +01:00
David Dormagen fd53d017d9 smoke bomb: reduced amount of particles (but hopefully kept total cover by increasing size & alpha) 2015-12-24 15:14:34 +01:00
Clonkonaut 9f645e3a83 Removed the 2 diamond components for now (see discussion at #1505). 2015-12-22 13:48:35 +01:00
Clonkonaut 7f2f0f2749 Teleglove needs 2 diamonds for production (#1505). 2015-12-22 11:54:38 +01:00
Maikel de Vries 32bc68fdab fix letting go of wall when pulling in grappler rope (1219) 2015-12-21 22:21:32 +01:00
Clonkonaut 5d6773b656 Adjusted firing power for weapons.
Bow, Grenade Launcher and Javelin use a local variable shooting_strength to determine range. No change here but I need this.
2015-12-21 21:08:15 +01:00
David Dormagen 9da914dd22 musket: added dry fire ("click") sounds (by ala, originally "NoAmmunition*") 2015-12-21 12:33:34 +01:00
David Dormagen 26250d1a30 club: introduced some sensible limits to the speed calculation
This means that ice, melted down to 10%, does not become a 9mm bullet anymore. It also means that all objects are at least visibly moved - e.g. when deflecting arrows.
2015-12-20 19:17:35 +01:00
David Dormagen df5a9ebb26 axe: increase damage (against livings)
The axe could always be used as a weapon. It dealt such a low amount of damage that it was basically useless, though. Hits required to kill a Clonk are now 9 (down from 17). The axe is still a lot weaker and slower than the sword.
It's just not ridiculously stupid anymore to try to use the axe as a weapon now.

We are now not trying to deceive the players anymore (who might have actually THOUGHT that the axe was usable as a weapon, because it is used just like the sword).
The alternative would be to disable the weapon-use completely.
2015-12-20 19:17:35 +01:00
David Dormagen abf578ec71 axe: fixed striking time and added "swing" sound
The usage of the wrong constant for the striking time was fixed in https://git.openclonk.org/openclonk.git/commit/65b5c4bef683f6cb1ff4b5732946a803a7c69d94 .
This broke striking with the axe completely, though, because it was just soo annoyingly slow - slow-mo. axe, anyone? And it doesn't even deal damage, wow.
2015-12-20 19:17:35 +01:00
David Dormagen 11927659a0 added new sound when pickaxe hits hard material (by K-Pone, originally "SwordHit1") 2015-12-19 10:17:55 +01:00
David Dormagen d5221656c3 added spark sounds for slow flints hitting (by ala) 2015-12-18 08:18:14 +01:00
Clonkonaut 65b5c4bef6 Fixed axe striking length using the correct const (now Axe_Standard_StrikingLength, was Sword_Standard_StrikingLength). 2015-12-17 19:43:14 +01:00
Maikel de Vries dea3b7f1c3 fix invertion of clonk on top ladder elements (#775) 2015-12-17 19:40:15 +01:00
Maikel de Vries 7e193e1345 make teleglove reach overloadable 2015-12-17 15:55:21 +01:00