Commit Graph

44 Commits (82e674ddb849789b7018d417e74ea50440d66525)

Author SHA1 Message Date
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
Clonkonaut b1902355f9 Cannon, Catapult, Lorry: use Library_Destructible (cannons and catapults are now destructible!). 2017-11-01 01:27:48 +01:00
Clonkonaut f6af52711a Catapult texture: removed some dark pixels around the draw wheel which showed because of stretching. 2017-11-01 00:56:14 +01:00
Sven Eberhardt d537617de4 Define general AI creature selection for vehicles in enemy spawn 2017-03-05 14:32:57 -05:00
Sven Eberhardt 1ff3b17dad Add catapult to enemy spawn
Also fix some catapult behavior (such as pushing it along waypoints)
2017-02-26 19:42:38 -05:00
Lukas Werling 68ddeb3bed Convert all text files in planet to UTF-8 2016-12-11 21:19:13 +01:00
Maikel de Vries 2a731b2545 implement Components as a property lookup table 2016-05-21 13:34:34 +02:00
Maikel de Vries 1df322b7ff adapt objects and scenarios to new component implementation 2016-05-21 13:34:34 +02:00
Maikel de Vries 159dbf071f make ContactCalls a property instead of DefCore entry
This allows for useful runtime changes, like disabling contact calls when an animal dies.
2016-02-08 21:25:43 +01:00
Maikel de Vries 145b902f65 correctly handle SetDir for the catapult
Ideally the script is fully changed to correctly use dir.
2016-02-07 10:19:11 +01:00
Sven Eberhardt 775533a8da Catapult and cannon: Add functions to rotate instantly.
Useful for scenario designers.
2016-02-06 22:45:14 -05:00
Sven Eberhardt 1bb78ecd4f Remove some unnecessery animation weights.
These overwrite the animations in their slots while there are no other references to existing animations in the slot.
2016-01-28 23:47:53 -05:00
Maikel de Vries 2cc59cb336 change catapult aiming: power is such that trajectory goed through the cursor (if possible) 2016-01-26 22:38:25 +01:00
Maikel de Vries 7e1fe57440 catapult: remove trajectory preview when use is cancelled 2016-01-25 23:22:14 +01:00
Sven Eberhardt fc659584e4 Fix catapult projectile priority when shooting clonk while items are placed in the catapult (typically by the scenario designer) #1547 2016-01-09 15:59:43 -04:00
Günther Brammer 00a4c6c428 Replace BorderBound DefCore value with BorderBound object property 2016-01-01 22:18:41 +01:00
Maikel de Vries 509bdac5bc remove unused Rebuy property from objects 2015-12-28 10:21:49 +01:00
David Dormagen b278886921 catapult: fix PictureTransformation
So that the mesh does not go outside the bounding box anymore.
2015-12-24 15:06:23 +01:00
Maikel de Vries 1772378fb6 fix self-launching catapult to shoot immediately (#1490) 2015-12-20 22:54:21 +01:00
David Dormagen dcfb986e34 moved sounds into subfolders
This completes http://forum.openclonk.org/topic_show.pl?tid=3215
2015-12-13 22:14:55 +01:00
David Dormagen e4009a683c catapult: cannot shoot yourself into solid material anymore (#1139) 2015-11-03 20:54:11 +01:00
Clonkonaut 1178d8f0ce Prevent dead clonks from sitting upright (#1358).
Also added convenient constants defining the animation slots to use for clonk animation.
2015-10-11 14:08:14 +02:00
Clonkonaut 3c97c25301 Make big vehicles (catapult) control a double elevator but not a single one. 2015-10-11 00:16:14 +02:00
Armin Burgmeier b8ed577c0f Rotate the OGRE coordinate frame by 90 degrees in X
Also rotate all meshes backwards so that everything keeps working. This should
make it more convenient for modellers to create new meshes.
See http://forum.openclonk.org/topic_show.pl?pid=29410#pid29410.
2015-10-03 11:39:08 -04:00
Sven Eberhardt 3b522e86ac Fix script error and broken animations in catapult if left and right direction control is given in the same frame. 2015-09-10 18:35:04 -04:00
Maikel de Vries f3f837f9a8 add trajectory preview to catapult 2015-09-06 13:47:12 +02:00
David Dormagen ac738735b2 Merge branch 'master' into Controls
Conflicts:
	planet/Objects.ocd/Vehicles.ocd/Airplane.ocd/Script.c
	src/game/C4Game.cpp
	src/game/C4GraphicsSystem.cpp
	src/gamescript/C4GameScript.cpp
2015-09-02 08:19:34 +02:00
Armin Burgmeier 0cdafc278b Transform all mesh data to Clonk reference frame on load
Instead of doing the transformation when drawing a mesh. This allows making
the OpenGL normal matrix more consistent, since it does not include the
Ogre-To-Clonk transformation, and so that the transformation does not need
to be inverted in the shader.

As a side effect, all Attach transformations were updated, since before
they were specified in the OGRE reference frame, not the Clonk reference
frame.
2015-08-18 20:30:20 -04:00
Maikel de Vries 91cd15c40c reimplement alt use on right mouse button
This replaces throwing then controlling or inside a vehicle, throwing items remains on RMB as is.
2015-06-28 09:44:50 +02:00
Maikel de Vries 0e4ad1797e improve double elevator vehicle movement by having a single solid mask 2015-06-08 21:20:38 +02:00
Maikel de Vries c6802b8776 increase game content version entries to 6.0 2014-12-12 22:58:16 +01:00
Sven Eberhardt 9bcf7ca725 fix typo in catapult script 2013-01-18 23:12:17 +01:00
Charles Spurrill e54673962a Added library allowing solidmasked vehicles to 'rotate' parented objects along the z-axis with their rotation. See airship 2012-08-03 14:22:06 -07:00
Felix Wagner 28c77c8074 Armory: Added armory
Changed the following items to IsArmoryProduct:
Cannon, Catapult
2012-07-16 14:23:10 +01:00
Bernhard Bonigl e8cd3c2871 Fixed Catapult using only the first/second inventory slot instead of the selected ones. 2012-03-12 17:04:57 +01:00
Maikel de Vries 4f6ee17884 Objects: Weapons are armory products
Also boolean functions should return booleans
2011-10-14 00:03:55 +02:00
Charles Spurrill d836d89b9d Better animation for the catapult 2011-10-13 12:03:23 -07:00
Julius Michaelis 0f12b3485e Find sounds with all extensions instead of only wav, so Sound() does no longer require .ogg extensions
Do not replace * with ? in sound name wildcards anymore, adjust scripts
2011-10-12 23:09:22 +02:00
Maikel de Vries 59c1aefad9 Objects: All Versions to 5,2,0,1 2011-10-01 10:54:15 +02:00
Charles Spurrill 95414c4bf9 Updated description for Catapult (both languages) 2011-09-19 03:10:08 -07:00
Charles Spurrill b5a25f8496 Catapult script cleanup; allow clonk to fire themself (not as effective as a second clonk) 2011-09-19 02:07:19 -07:00
Charles Spurrill 2110e16821 Correct path for catapult launch sound 2011-09-18 18:32:30 -07:00
Charles Spurrill 207d97ca05 various script fixes/additions/debug removals to catapult 2011-09-13 00:43:40 -07:00
Charles Spurrill 49e97bc0a0 Added working catapult vehicle (clonk can be flung from it :D ) 2011-09-13 00:21:59 -07:00