Sven Eberhardt
99a65008cd
Add enemy spawn object
...
This object can be placed in the editor to spawn enemy AI clonks.
2017-02-19 20:36:41 -05:00
Sven Eberhardt
da4f49d7ca
Add AI attack mode (weapon) to editor properties
2017-02-14 01:36:12 -05:00
Maikel de Vries
60f3e206cc
fix variable shadowing in some scripts
2017-02-13 19:04:27 +01:00
Maikel de Vries
caca643c83
ai: add bomber and improve defense ai
2017-02-02 21:47:57 +01:00
Maikel de Vries
0dbfa2dd91
ai: airship gets new pilot if old one is lost
2017-02-02 21:47:57 +01:00
Maikel de Vries
7b26e1fa13
ai: put a message when an intruder is spotted
2017-02-02 21:47:57 +01:00
Maikel de Vries
ac38e1d23a
ai: unify settings
2017-02-02 21:47:56 +01:00
Maikel de Vries
b3ace26ae3
put ai movement into a separate script
2017-02-02 21:47:56 +01:00
Maikel de Vries
b43ce3080a
ai: prohibit movement if ai has command and climb down ladders correctly
2017-02-02 21:47:56 +01:00
Maikel de Vries
c02a76119a
ai: fix script runtime errors in target finding
2017-02-02 21:47:56 +01:00
Maikel de Vries
7d3062277a
ai: attack messages, logging and better target finding
2017-02-02 21:47:56 +01:00
Maikel de Vries
8159d73be6
ai: implement airship
2017-02-02 21:47:56 +01:00
Maikel de Vries
da6ce3d5d6
ranged ai: use upper ballistic angle if lower is blocked
2017-02-02 21:47:56 +01:00
Maikel de Vries
706f4455d4
ai: add protection using the club
2017-02-02 21:47:55 +01:00
Maikel de Vries
4f420766b7
ai: implement healing
2017-02-02 21:47:55 +01:00
Maikel de Vries
ef69ee9d5f
move ai protection and target finding into separate definitions
2017-02-02 21:47:55 +01:00
Maikel de Vries
a6fd976a77
ai: fix saving & editor props, make public calls safe
2017-02-02 21:47:55 +01:00
Maikel de Vries
a89af833c7
ai: fix ai getting and implement axe + club
2017-02-02 21:47:55 +01:00
Maikel de Vries
8ad872930b
rework AI: new effects, use effect target
...
This is a big change but does make it possible to separate the different scripts into different definitions.
2017-02-02 21:47:55 +01:00
Maikel de Vries
2aa1b961ea
AI: don't increase normal throw speed for javelin
...
Javelin uses ranged mechanism for using/throwing.
2017-02-02 21:47:55 +01:00
Maikel de Vries
3282806d7d
move AI ranged and melee control to separate files
2017-02-02 21:47:55 +01:00
Maikel de Vries
7fb300896a
fix AI SetGuardRange
2017-02-02 21:47:55 +01:00
Maikel de Vries
3fb539522d
clean up AI script
2017-02-02 21:47:55 +01:00
Maikel de Vries
948ef66723
fix AI scaling on ladders
2017-01-05 21:05:28 +01:00
Sven Eberhardt
8cd2432c58
Allow non-editor collection of objects by dialogue helper object
...
Also revert Clonkonaut's crash landing into hotfix
2017-01-01 17:00:57 -05:00
Sven Eberhardt
dc9b948590
Editor: Add blit mode editor prop
2017-01-01 12:26:02 -05:00
Sven Eberhardt
52d0525886
Editor: Show proper name for default (nil) visibility property
2017-01-01 11:32:23 -05:00
Sven Eberhardt
8ae8dd9c44
Add user action: Set player view
2016-12-28 08:54:01 -04:00
Sven Eberhardt
b0429bdbcd
Add earthquake user action
2016-12-28 08:53:57 -04:00
Sven Eberhardt
eee156b5ac
Add sequence user action to trigger other sequences
2016-12-28 08:50:18 -04:00
Lukas Werling
68ddeb3bed
Convert all text files in planet to UTF-8
2016-12-11 21:19:13 +01:00
Mark
202e1ed682
HUD modularity: Callback for controller ID
...
I think that the call GUI_Controller->GetControllerID() has more appeal, but it makes the code confusing maybe.
2016-11-26 11:10:35 +01:00
Sven Eberhardt
551d9968f5
UserAction: Fix default value assignment on "Any" evaluators
2016-11-23 23:34:04 -05:00
Sven Eberhardt
27291ec977
Automatically move dropped items from dialogue to dialogue target
...
Because it happens easily when editing.
2016-11-20 13:15:02 -05:00
Sven Eberhardt
615e08a137
UserAction evaluator: Object alive
2016-11-20 13:15:02 -05:00
Sven Eberhardt
aed3f92982
Fix dialogue sequence assignment
...
It used to be set by reference instead of copying, which means all dialogues created in a single session would reference the same sequence.
2016-10-30 21:56:08 -04:00
Sven Eberhardt
a07d26c839
Fix conditional UserAction in loops
2016-10-30 20:33:55 -04:00
Sven Eberhardt
342916a1ed
Fix some implicit for loop declaration errors
2016-10-24 21:02:02 -04:00
Sven Eberhardt
7f543e8390
Add AI control UserActions
2016-10-24 21:02:02 -04:00
Sven Eberhardt
2e73343814
EnemyAI: Add "active" setting
...
This allows disabled AI clonks (to be used by UserActions)
2016-10-24 21:02:01 -04:00
Sven Eberhardt
8fb8be9cec
Sequence: Store trigger offset to allow non-synchronized triggers at the same interval
2016-10-23 00:20:26 -04:00
Sven Eberhardt
a0580580aa
Add rdir parameter to user action object creation
2016-10-16 21:47:20 -04:00
Maikel de Vries
0d6a8497fc
allow setting the rotation of an created object in editor user actions
2016-10-16 19:59:54 +02:00
Sven Eberhardt
eee79366d0
Add tool tip to "test sequence" button
2016-10-10 16:45:24 -04:00
Sven Eberhardt
6e6f642be6
Add tool tip to dialogue editor action
2016-10-10 16:45:24 -04:00
Sven Eberhardt
b0e42e35d1
Sequence: Default action to empty sequence
2016-10-09 13:27:20 -04:00
Sven Eberhardt
3330c592e3
Improve PlayerStart initial material setting to allow specification of weapon ammo, stackable stack count and liquid contents
2016-09-05 20:01:47 -04:00
Sven Eberhardt
34058e13f9
Fix default assignment of selected object in user action filtered object evaluators
2016-09-05 02:00:00 -04:00
Sven Eberhardt
ebfebca87b
Sequence: "Start Game" trigger uses first player as triggering player
2016-09-04 02:15:09 -04:00
Sven Eberhardt
dc77020586
Add user actions: Invincibility and invisibility
2016-09-03 22:07:10 -04:00
Sven Eberhardt
692ff39c0e
Add invisibility EditorProp to all object
...
Also localize some property names.
2016-09-03 22:07:10 -04:00
Sven Eberhardt
bae26bb0d7
Add user action: Set clonk direction
2016-09-03 22:07:08 -04:00
Sven Eberhardt
31121d682c
Rename option default value function property to DefaultValueFunction
...
It was "Get" and later "Set", which was always a bit confusing.
2016-09-01 18:32:24 -04:00
Sven Eberhardt
4c56b41de0
Fix color group in "any" value evaluator of user actions
2016-08-30 19:42:31 -04:00
Sven Eberhardt
e7c11cf590
Add user action evaluators: Enter+Exit object
2016-08-30 01:40:18 -04:00
Sven Eberhardt
76227e4e6c
Add user action color evaluators: Player color, random color, RGB
2016-08-30 00:30:22 -04:00
Sven Eberhardt
48d8ad8de9
Add UserAction evaluators: for integer/player/object in list
2016-08-29 15:18:21 -04:00
Sven Eberhardt
c72135db1f
Add user action comment
2016-08-29 00:41:48 -04:00
Sven Eberhardt
cc2f626063
Add UserAction conditional value evaluator
...
i.e. operator ? :
2016-08-29 00:32:52 -04:00
Sven Eberhardt
bda3cb5640
Add UserActions to deactivate/reactivate player control
2016-08-28 22:18:58 -04:00
Sven Eberhardt
5da1a0d5c1
Fix some sequence progress bugs
2016-08-28 00:16:58 -04:00
Sven Eberhardt
96842e2961
Sequence test uses first local player as triggering player
2016-08-27 22:20:03 -04:00
Sven Eberhardt
b339db9ea7
UserAction particles: Add fire and ring particles
...
Also sort particle type list by name.
2016-08-27 17:45:01 -04:00
Sven Eberhardt
0e3b1865ea
UserAction: Add more options for particle creation
...
Also fix collision behaviour setting to work.
2016-08-27 17:38:25 -04:00
Sven Eberhardt
147e70ace9
Fix sequence and dialogue progress mode saving
2016-08-27 17:17:48 -04:00
Sven Eberhardt
065d8536da
UserAction evaluators: Sort constant value above other evaluators
2016-08-27 17:15:20 -04:00
Sven Eberhardt
dfefa7df6f
UserAction goto and log: Put parameters directly into enum
2016-08-27 17:14:51 -04:00
Sven Eberhardt
6b9df3118c
Sort UserAction evaluators and groups by name
...
Also merge effect group into ambience group.
2016-08-27 16:46:59 -04:00
Sven Eberhardt
e2e9248d89
UserAction: Clarify HideFullName property comment
2016-08-27 16:46:58 -04:00
Sven Eberhardt
dba7e773ab
UserAction variable evaluators: Default name to empty string constant
2016-08-27 10:01:33 -04:00
Sven Eberhardt
4a14ce735e
Fix UserAction type "Any" evaluators
...
Their callback function was not registered if they weren't duplicates from a non-any type
2016-08-27 09:59:25 -04:00
Sven Eberhardt
820b2a39a0
Fix display of some user actions
2016-08-27 02:04:02 -04:00
Maikel de Vries
07008af820
fix missing string table entry in UserAction.ocd
2016-08-25 19:07:24 +02:00
Sven Eberhardt
44022f840f
Add CustomInitializationScript to all objects
2016-08-25 00:18:11 -04:00
Sven Eberhardt
e4fad91d36
Fix user action sound in local context
2016-08-23 02:07:53 -04:00
Maikel de Vries
e18cee3a46
turn musket into blunderbuss
...
The musket was not a very popular and useful weapon, being inferior to the bow. It now shoots 5 weaker bullets in one shot with less damage per bullet, this might require some further testing and fine-tuning. Also the weaker bullets mean that they can be used in a gatling-gun (WIP) and in the airplane as well.
2016-08-22 16:32:48 +02:00
Maikel de Vries
45bb9ab550
rename lead shot to lead bullet and clean up script
2016-08-22 16:32:47 +02:00
Sven Eberhardt
d2557960ae
Add user action: Give player knowledge
2016-08-21 15:40:38 -04:00
Sven Eberhardt
f6b3a6efb8
Add magic wand as an editor-assignable usage item
2016-08-21 15:17:51 -04:00
Sven Eberhardt
f9349721e4
Add user action: Cast particles
2016-08-21 14:49:23 -04:00
Sven Eberhardt
c7b114139a
Add user action: Change wealth
2016-08-21 14:49:22 -04:00
Sven Eberhardt
967a5730ed
UserAction evaluator display: Invert full name display default
...
Showing the full name is far more common than hiding it.
2016-08-21 14:49:21 -04:00
Sven Eberhardt
237956e7ba
Add user action: Fling object
2016-08-21 14:49:20 -04:00
Sven Eberhardt
b553d69d25
Add user action: Game over
2016-08-20 11:30:45 -04:00
Sven Eberhardt
56adee6bb9
Add script goal editor properties and user actions
2016-08-20 01:55:22 -04:00
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
Sven Eberhardt
3a49a9c21d
Add user action: Set object position
2016-08-15 01:19:14 -04:00
Sven Eberhardt
18437305ca
Add AcidDrilling title image
2016-08-14 18:39:44 -04:00
Sven Eberhardt
6ee3849b18
Fix "number of objects in container" sequence trigger
2016-08-14 14:16:03 -04:00
Sven Eberhardt
4a94c3598b
Sequence: Add "<" operator to contents count trigger
2016-08-13 23:25:01 -04: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
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
a713870f33
Reorder some user action parameters
2016-08-08 15:03:40 -04:00
Sven Eberhardt
b2bed04a7e
Fix sequence suspension
2016-08-08 00:49:17 -04:00
Sven Eberhardt
7e87b62e3e
Add sequence triggers: Interval and object count in container
2016-08-07 23:42:40 -04:00