Commit Graph

102 Commits (d28913a1cbd07bf7fdac6ea9a4ca6be756cf7820)

Author SHA1 Message Date
Clonkonaut 48bcdc84f7 Rotate object before firing (for firing boompacks). 2015-10-05 23:46:31 +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
Maikel de Vries 17d59de20d fix pilot check in airplane for NPCs 2015-09-11 21:25:45 +02: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
Maikel de Vries f5b7fe7498 fixed gravity calculation for trajectories 2015-09-06 13:46:45 +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
Sven Eberhardt 53d1ac8eac Fix angle adjustment for instant-flight command of airplane.
It was wrong for planes flying to the left, which caused planes to fly too low in the Raid.ocs intro.
2015-08-09 23:13:32 -04:00
Sven Eberhardt f873e81bf0 Fade airplane sound pitch when motor is turned on and off. 2015-08-09 19:28:07 -04:00
Sven Eberhardt 042d00c1d2 Fade airship sound pitch when motor is turned on and off. 2015-08-09 19:04:29 -04:00
Maikel de Vries 31e0bdcdac airplane: shoot boompacks on right mouse button 2015-06-28 16:29:29 +02: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 dff9a0d618 fix cannon script: do not allow anything but powder keg to enter 2015-06-20 15:58:18 +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 18d292e180 lorry: pass controller to objects which are casted on destruction 2015-05-17 13:56:52 +02:00
Maikel de Vries bd9da84fcb allow developers to also let airplane face left 2015-02-23 11:13:02 +01:00
Maikel de Vries e993b0725e lorry ejects contents on destuction from explosion 2015-01-15 18:34:35 +01:00
Mark 850bf1b9d4 CreateObject/CreateObjectAbove (#1214)
Renamed CreateObject() to CreateObjectAbove() and replaced all occurrences in script files.
Added CreateObject(), the function may need a rewrite though, see comment in code.
Updated documentation
2015-01-11 19:02:03 +01:00
Maikel de Vries c6802b8776 increase game content version entries to 6.0 2014-12-12 22:58:16 +01:00
Maikel de Vries add7f23251 moved plane crash sound to plane object
This makes it usable in other scenarios besides DarkCastle
2014-10-24 17:50:55 +02:00
Sven Eberhardt d3ac2789cb DarkCastle intro sequence added. 2014-10-04 22:40:17 +02:00
Sven Eberhardt 57ddbf9fa6 Fix initial speed of airplane on StartInstantFlight call. 2014-10-04 19:39:06 +02:00
Maikel de Vries f5ca7a443b make cannon fit in the elevator 2014-10-03 16:23:19 +02:00
Maikel de Vries d24ae4eb46 allow for infinite gunpowder in the powder keg 2014-09-29 20:10:58 +02:00
Maikel de Vries 6ba0164c5b removed unnecessary defcore Value entries
Completely unneeded for structures and many other objects.
2014-05-26 21:38:32 +02:00
Sven Eberhardt 6040dde80a Cleaned up airship: Extra graphics object and unnecessary timers removed. 2014-05-04 14:16:46 +02:00
Sven Eberhardt 57463b61c4 Rework SolidMasks to be defined in a separate SolidMask.png graphics file instead of the main definition graphics. 2014-01-08 01:55:33 +01:00
Sven Eberhardt f12fe2a24a Call MaxContentsCount using this->MaxContentsCount() to allow runtime overload 2013-12-30 13:46:34 +01:00
Sven Eberhardt 5094cc5c1b Reworked "Save as scenario" option in editor to write a script file instead of Game.txt. 2013-12-27 17:10:09 +01:00
Martin Plicht d699ba80a5 script: Fix some minor nil/0/parameter passing issues, fix some <variable> = <variable> noop issue and convert some while loop into a for loop 2013-12-21 13:23:51 +01:00
David Dormagen a10c9316ef renamed DynamicParticles* to Particles* and CreateParticleEx to CreateParticle 2013-12-17 22:32:01 +01:00
Clonkonaut e07b4cab19 Hard hit sound added to lorry. 2013-11-27 22:23:19 +01:00
Clonkonaut e36fd68d6a Turning wheels sound added to lorry. 2013-11-27 22:23:14 +01:00
David Dormagen 0aeb38f137 adapted MuzzleFlash particle and usages to new particle system 2013-11-26 21:25:04 +01:00
David Dormagen 875823644d adapted remaining usages of ExploSmoke* to new particle system 2013-11-26 21:25:04 +01:00
David Dormagen c17ec80039 removed particle "EngineSmoke" (use "Smoke" now) 2013-11-26 21:24:58 +01:00
David Dormagen 2139e950f1 adapted Flash particle and usages to new particle system 2013-11-26 21:24:57 +01:00
David Dormagen a5c8489059 adapted EngineSmoke particle and usages to the new particle system 2013-11-26 21:24:57 +01:00
Maikel de Vries f209d1352c Clean up airship script and use float procedure to move the ship
This removes some functionality which I will implement later, but provides a better basis to build upon.
2013-10-07 19:32:41 +02:00
Maikel de Vries 0c497d2b95 Airplane can be produced at the shipyard 2013-10-04 10:46:31 +02:00
Tobias Zwick 064166d09e make most sound effects mono 2013-05-26 17:42:37 +02:00
Tobias Zwick 8f752d1d9e clean up files, make non-transparent textures high-quality JPEGs 2013-05-26 16:48:12 +02:00
Sven Eberhardt 9bcf7ca725 fix typo in catapult script 2013-01-18 23:12:17 +01:00
Charles Spurrill 1121425eca Airship: modules delete themselves when airship is removed 2012-11-12 18:09:58 -08:00
Maikel de Vries 0bba79a742 Removed cannon debug message 2012-11-04 16:01:46 +01:00
Russell 5782557a34 Clonk. Now with 65% better grammar. 2012-10-22 18:35:06 +01:00
Charles Spurrill 869e2acac0 Cannon: Remove accidentally committed SelfPropellent script for projectiles 2012-08-07 12:32:36 -07:00
Charles Spurrill 5be266549e Airplane: Damage doesn't need to equal < 0 before destructing. Rather, <= 0. 2012-08-07 11:53:39 -07:00
Charles Spurrill 6d9a238e75 Airship fixed so explosives hitting the gondola also do damage 2012-08-07 11:51:48 -07:00