Commit Graph

73 Commits (92ed1537a0e79facded3c81f50f7767962d70d6f)

Author SHA1 Message Date
Maikel de Vries 6d95c83196 fix dialogue stopping and waiting time (#1597)
First stop the dialogue properly and then wait for 30 frames to start a new one.
2016-01-18 10:48:25 +01:00
Maikel de Vries 34fa60feeb dialogue: fix finding by name and public interface to get the target 2015-12-31 12:07:36 +01:00
Clonkonaut a8dd4cac89 Make AI clonks select their shield when defending. 2015-12-17 19:44:00 +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
Sven Eberhardt 1dca9cf1b5 FightForGidl: No friendly fire and some AI fixes. 2015-12-12 00:02:31 -05:00
Sven Eberhardt 6b5bd38cc8 Fix aim cancellation by spear AI (#1474) 2015-12-05 21:13:37 -05:00
David Dormagen aec1988722 removed category "vehicle" of several helper objects
Otherwise you can spawn them in the "Playground" scenario.
2015-11-29 18:28:40 +01:00
Maikel de Vries 47ce50d364 status symbol category none instead of vehicle 2015-11-29 11:45:02 +01:00
Sven Eberhardt e7a3878406 Fix AI stuck in aiming animation when shooting was cancelled by another AI command. 2015-11-22 14:47:13 -05:00
Maikel de Vries c2271f743a AI do not use shield on explosives 2015-10-14 20:58:52 +02:00
Maikel de Vries 70875e3465 let the AI attack hostile clonks only 2015-10-14 20:44:38 +02:00
Maikel de Vries e2c5158275 rename S2AI to AI
This in preparation for a more general AI (in the far future).
2015-10-14 20:44:38 +02:00
Maikel de Vries b9699aff0f add function to dialogue to find by dialogue name 2015-10-11 09:18:45 +02:00
Maikel de Vries 96cf1b23f4 dialogue object: call on dialogue closed 2015-10-04 13:23:59 +02:00
Sven Eberhardt 41d394663b Auto-advance through dialogue options when they're reached multiple times.
This is so you can just fast-forward through long dialogues (e.g. because you've reached them before) by hammering space without getting caught in loops.
2015-10-03 23:16:33 -04:00
Maikel de Vries 2bda4c56e8 make clock gui use script menus 2015-10-03 19:51:08 +02:00
Sven Eberhardt 7edf197246 Fix script error when EnemyAI on chippie tries to jump 2015-09-26 17:20:07 -04:00
Sven Eberhardt 1ba28cd3f6 Sequence stores and restores breath of all clonks of watching players. 2015-09-14 22:43:03 -04:00
Maikel de Vries 24e18bf7e2 fix clock countdown sound playing for all players 2015-09-09 23:09:26 +02:00
Maikel de Vries 1f87faded7 add clock as gui element which can be used as a countdown
Thanks to Sven2 for graphics and parts of the script.
2015-09-09 18:27:57 +02:00
Maikel de Vries 49effe4622 let AI handle the musket and fix tracking riding clonks 2015-08-19 08:11:43 +02:00
Sven Eberhardt 341712eba5 Remove dialogue when target NPC dies (#1295). 2015-05-07 19:54:14 +02:00
Maikel de Vries 6af6348a32 clean up dummy object 2015-03-01 14:02:16 +01:00
Maikel de Vries 96af2bb84c GetActiveSequence function for sequence object
Can be used to test whether a sequence is already running, and did some clean ups as well.
2015-03-01 14:02:16 +01:00
Maikel de Vries 346d5cd709 another batch of Graphics.png removals 2015-02-15 22:37:08 +01:00
Maikel de Vries 6cd3b9775c fixed power need symbol display for elevator 2015-02-15 09:34:45 +01:00
Maikel de Vries 369a290d99 power status symbol not visible in FoW 2015-02-04 10:35:16 +01:00
Sven Eberhardt 3286095755 AI can use grenade launcher. 2015-01-18 19:13:10 +01:00
Sven Eberhardt f815d7ea6c Fix EditCursor selection and deselection callbacks when duplicating objects. 2015-01-17 22:53:21 +01:00
Sven Eberhardt 6fac0f0567 Clip AI guard range to landscape size. 2015-01-17 22:39:09 +01:00
Sven Eberhardt 4d1d869760 Add editor commands to clonks to enable enemy AI. 2015-01-17 22:36:19 +01:00
Sven Eberhardt f69872c401 AI guard range can be adjusted via drag+drop in editor.
Just select the clonk and move the corner markers.
2015-01-17 21:22:29 +01:00
Sven Eberhardt 49c5b22591 Remove some empty graphics files. 2015-01-17 18:22:06 +01:00
Sven Eberhardt ebd55cabe8 Improve enemy AI behavior when dropping out of guard range.
When taking damage, clonks will now search and attack enemies even if outside their dedicated guard range. This should help for clonks that fell down from their guarding post.
2015-01-11 23:10:04 +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
Sven Eberhardt 885f240e54 AI ignores contained enemies. 2014-10-04 19:39:06 +02:00
Sven Eberhardt 4d36f3a2d2 Some missions fixes/adjustments
* Plane with same color in all missions
* Sequence multiplayer fix
* Heavy smoke is a particle parameter
* Goal graphics fix
* Fix rocky pick direction after dialogue initiation from left
* Dialogue supports sections
* Hat moved to decoration for other missions
2014-09-21 16:36:05 +02:00
Sven Eberhardt ca582692d4 Missions storyline expanded to Deep Sea Mining. Added short intro in extra section.
Also adjusted icons, NextMission and MissionAccess in some scenarios and added a split marker between missions within and missions outside the connected storyline.
2014-09-12 01:02:13 +02:00
Sven Eberhardt addac19062 Crash landing intro/dialogues/outro improved for storyline integration. 2014-08-26 16:07:30 +02:00
Maikel de Vries 47fec3c2e2 created intro sequence for Iron Peak 2014-08-23 18:44:28 +02:00
Sven Eberhardt 887f85862a Sequence object: Ensure all players have a cursor at sequence end. 2014-08-22 14:11:01 +02:00
Sven Eberhardt e6fc0b1a1d Minor dialogue improvements
* Dialogue is blocked for a short time after it was stopped, so players don't restart it accidentally
* Broadcasting option to all players for important dialogues
* Speakers face each other
* add_attention parameter for SetDialogueProgress
2014-08-20 18:06:19 +02:00
Sven Eberhardt 94e1316205 Extend Dialogue and Sequence object with some message and viewport functions for upcoming missions. 2014-08-14 17:18:28 +02:00
Sven Eberhardt 20558ef7e1 Display dialogue attention marker in front of associated clonk 2014-08-05 17:02:19 +02:00
Sven Eberhardt 474b6e1c31 Add Dlg_*_Init callback to dialogues. To be used e.g. for starting timers of NPC activities.
Also fix scenario saving of attention state in dialogue object.
2014-07-31 23:49:15 +02:00
Sven Eberhardt 620091f80c Fix switch of cinematics target in Dialogue. 2014-07-21 17:26:56 +02:00
Sven Eberhardt 7db507921a Added attention symbol to dialogues 2014-07-12 16:03:23 +02:00
Sven Eberhardt 5cd9b915b0 Added some dialogue functions and speaker portraits. UpdatedAddMenuItem and CustomMessage to allow more customization for picture graphics.
I would prefer to render the models for speaker portraits directly. However, it seems like it's not currently possible to clip or render models to offscreen surfaces.
2014-07-05 15:25:30 +02:00
Sven Eberhardt 66b06be115 Fix catapult aiming of enemy AI 2014-05-31 21:24:22 +02:00