Kill Tracing: Difference between revisions

Maikel (talk | contribs)
No edit summary
Maikel (talk | contribs)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This page keeps track of which types of kills in OpenClonk are currently correctly traced by the engine and the object scripts.
This page keeps track of which types of kills in OpenClonk are currently correctly traced by the engine and the object scripts. There is a test scenario which checks all kinds of kills and returns whether the correct killer has been found.




{| border="1" class="wikitable"
=== Table of Kills ===
 
This table contains all the tests in ''Tests.ocf/KillTracing.ocs'', you can launch each test with LaunchTest(nr) where nr is the number indicated in the first column. The second column contains the description of the test. For each test there is a ''killer'' (K) which should be the killer from the game play point of view. Then there is a ''victim'' (V) which dies in every test, and there is a ''fake killer'' (F) which sometimes plays a role. In the third column it is then registered if the correct ''killer'' (K) has been identified as the killer of the ''victim'' (V) by the engine.
 
{| border="1" class="wikitable" style="margin: 1em auto 1em auto;"
|-
|-
! #
! Kill Description
! Kill Description
! Traced?
! Traced?
|-
|-
| Object throw
| 1
| <span style="color:#00CC00">true</span>
| K throws object on V
| <span style="color:#00CC00">yes</span>
|-
| 2
| K throws lantern to V (V dies of lantern fire)
| <span style="color:#00CC00">yes</span>
|-
| 3
| K shoots object with cannon at V
| <span style="color:#00CC00">yes</span>
|-
| 4
| K placed wallkit on V (V dies of asphyxiation)
| <span style="color:#FF0000">no</span>
|-
| 5
| K strikes V with a sword
| <span style="color:#00CC00">yes</span>
|-
| 6
| K strikes V with a club
| <span style="color:#00CC00">yes</span>
|-
| 7
| K strikes V with an axe
| <span style="color:#00CC00">yes</span>
|-
| 8
| K throws firestone at V (V dies of explosion)
| <span style="color:#00CC00">yes</span>
|-
| 9
| K shoots object with club at V
| <span style="color:#00CC00">yes</span>
|-
| 10
| K throw firestone at object, object moves to V
| <span style="color:#00CC00">yes</span>
|-
| 11
| K explodes firestone material, one of the cascading firestones kills V
| <span style="color:#00CC00">yes</span>
|-
| 12
| K shoots a normal arrow at V
| <span style="color:#00CC00">yes</span>
|-
| 13
| K shoots a fire arrow at V
| <span style="color:#00CC00">yes</span>
|-
| 14
| K shoots a bomb arrow at V
| <span style="color:#00CC00">yes</span>
|-
| 15
| K shoots with the musket at V
| <span style="color:#00CC00">yes</span>
|-
| 16
| K throws a javelin at V
| <span style="color:#00CC00">yes</span>
|-
| 17
| K shoots a grenade (with launcher) at V
| <span style="color:#00CC00">yes</span>
|-
| 18
| K throws an activated iron bomb at V (no collection by V)
| <span style="color:#00CC00">yes</span>
|-
| 19
| K ignites powder keg (musket shot) near V
| <span style="color:#00CC00">yes</span>
|-
| 20
| K throws a fusing dynamite at V (no collection by V)
| <span style="color:#00CC00">yes</span>
|-
| 21
| F puts himself on fire, K is incinerated by F and then incinerates V
| <span style="color:#FF0000">no</span>
|-
| 22
| K dumps object from a lorry onto V
| <span style="color:#00CC00">yes</span>
|-
| 23
| K destroys a lorry with objects next to V
| <span style="color:#FF0000">no</span>
|-
| 24
| K shoots an object with the catapult at V
| <span style="color:#00CC00">yes</span>
|-
| 25
| K lets lava move onto V (trigger: explosion)
| <span style="color:#FF0000">no</span>
|-
| 26
| K lets acid move onto V (trigger: explosion)
| <span style="color:#FF0000">no</span>
|-
| 27
| K uses windbag to shoot object at V
| <span style="color:#00CC00">yes</span>
|-
| 28
| K shoots at V hanging on a balloon (V tumbles out of map)
| <span style="color:#00CC00">yes</span>
|-
| 29
| K shoots at balloon on which V hangs (V tumbles out of map)
| <span style="color:#00CC00">yes</span>
|-
| 30
| K uses windbag to shoot V out of map
| <span style="color:#FF0000">no</span>
|-
| 31
| K launches a boompack at V
| <span style="color:#00CC00">yes</span>
|-
| 32
| F places a dynamite box, K takes igniter and blasts V
| <span style="color:#00CC00">yes</span>
|-
| 33
| K uses teleglove to drop object onto V
| <span style="color:#00CC00">yes</span>
|-
| 34
| K blasts object from material which drops on V
| <span style="color:#00CC00">yes</span>
|-
| 35
| K throws an activated iron bomb at V (then collected by V)
| <span style="color:#FF0000">no</span>
|-
| 36
| K throws a fusing dynamite at V (V tries to collect but can't)
| <span style="color:#00CC00">yes</span>
|-
|-
| Lantern fire
| 37
| <span style="color:#00CC00">true</span>
| K ignites boompack (musket shot) which shoots at V
| <span style="color:#00CC00">yes</span>
|-
|-
| Cannon shot
| 38
| <span style="color:#00CC00">true</span>
| K ignites a battery of boompacks which shoot down V flying an airplane
| <span style="color:#00CC00">yes</span>
|-
|-
| Wallkit asphyxiation
| 39
| <span style="color:#FF0000">false</span>
| K shoots at airship which carries V (V tumbles out of map)
| <span style="color:#00CC00">yes</span>
|-
|-
| Sword strike
| 40
| <span style="color:#00CC00">true</span>
| K creates a fire which fuses a dynamite box, the explosion kills V
| <span style="color:#00CC00">yes</span>
|-
|-
| Club strike
| 41
| <span style="color:#00CC00">true</span>
| K digs out a piece of coal which kills V
| <span style="color:#00CC00">yes</span>
|-
|-
| Axe strike
| 42
| <span style="color:#00CC00">true</span>
| K hacks out (with the pickaxe) a piece of ore which kills V
| <span style="color:#00CC00">yes</span>
|-
|-
| Firestone explosion (thrown)
| 43
| <span style="color:#00CC00">true</span>
| K digs and moves a piece of rock (controlled by F) which kills V
| <span style="color:#FF0000">no</span>
|-
|-
| Club shot
| 44
| <span style="color:#00CC00">true</span>
| K pushes a tree into the sawmill, the sawn wood kills V
| <span style="color:#FF0000">no</span>
|-
|-
| Object moved by explosion
| 45
| <span style="color:#00CC00">true</span>
| K produces metal in the foundry which falls down and kills V
| <span style="color:#FF0000">no</span>
|-
|-
| Firestone material cascade
| 46
| <span style="color:#00CC00">true</span>
| K throws snow on V (V dies of asphyxiation)
| <span style="color:#FF0000">no</span>
|-
|-
| Bow shot (arrow)
| 47
| <span style="color:#00CC00">true</span>
| K pushed the container (lorry) holding V out of landscape
| <span style="color:#FF0000">no</span>
|-
|-
| Bow shot (fire arrow)
| 48
| <span style="color:#00CC00">true</span>
| K blasts the container (wooden cabin) holding V
| <span style="color:#FF0000">no</span>
|-
|-
| Bow shot (bomb arrow)
| 49
| <span style="color:#00CC00">true</span>
| K blasts V into lava where V dies
| <span style="color:#FF0000">no</span>
|-
|-
| Musket shot
| 50
| <span style="color:#00CC00">true</span>
| K blasts V into acid where V dies
| <span style="color:#FF0000">no</span>
|-
|-
| Javelin throw
| 51
| <span style="color:#00CC00">true</span>
| K uses windbag to shoot V into lava where V dies
| <span style="color:#FF0000">no</span>
|-
|-
| Grenade launcher shot
| 52
| <span style="color:#00CC00">true</span>
| K uses windbag to shoot V into acid where V dies
| <span style="color:#FF0000">no</span>
|-
|-
| Iron bomb explosion (thrown)
| 53
| <span style="color:#00CC00">true</span>
| K uses club to fling V into lava where V dies
| <span style="color:#FF0000">no</span>
|-
|-
| Dynamite explosion (thrown)
| 54
| <span style="color:#00CC00">true</span>
| K uses club to fling V into acid where V dies
| <span style="color:#FF0000">no</span>
|-
|-
| Powder keg (shot by musket)
| 55
| <span style="color:#00CC00">true</span>
| K blasts a compensator and its explosion kills V
| <span style="color:#00CC00">yes</span>
|-
|-
| Incineration by burning clonk
| 56
| <span style="color:#FF0000">false</span>
| K blasts a bridge and a rock drops which kills V
| <span style="color:#FF0000">no</span>
|-
|-
|}
|}

Latest revision as of 16:57, 29 January 2016

This page keeps track of which types of kills in OpenClonk are currently correctly traced by the engine and the object scripts. There is a test scenario which checks all kinds of kills and returns whether the correct killer has been found.


Table of Kills

This table contains all the tests in Tests.ocf/KillTracing.ocs, you can launch each test with LaunchTest(nr) where nr is the number indicated in the first column. The second column contains the description of the test. For each test there is a killer (K) which should be the killer from the game play point of view. Then there is a victim (V) which dies in every test, and there is a fake killer (F) which sometimes plays a role. In the third column it is then registered if the correct killer (K) has been identified as the killer of the victim (V) by the engine.

# Kill Description Traced?
1 K throws object on V yes
2 K throws lantern to V (V dies of lantern fire) yes
3 K shoots object with cannon at V yes
4 K placed wallkit on V (V dies of asphyxiation) no
5 K strikes V with a sword yes
6 K strikes V with a club yes
7 K strikes V with an axe yes
8 K throws firestone at V (V dies of explosion) yes
9 K shoots object with club at V yes
10 K throw firestone at object, object moves to V yes
11 K explodes firestone material, one of the cascading firestones kills V yes
12 K shoots a normal arrow at V yes
13 K shoots a fire arrow at V yes
14 K shoots a bomb arrow at V yes
15 K shoots with the musket at V yes
16 K throws a javelin at V yes
17 K shoots a grenade (with launcher) at V yes
18 K throws an activated iron bomb at V (no collection by V) yes
19 K ignites powder keg (musket shot) near V yes
20 K throws a fusing dynamite at V (no collection by V) yes
21 F puts himself on fire, K is incinerated by F and then incinerates V no
22 K dumps object from a lorry onto V yes
23 K destroys a lorry with objects next to V no
24 K shoots an object with the catapult at V yes
25 K lets lava move onto V (trigger: explosion) no
26 K lets acid move onto V (trigger: explosion) no
27 K uses windbag to shoot object at V yes
28 K shoots at V hanging on a balloon (V tumbles out of map) yes
29 K shoots at balloon on which V hangs (V tumbles out of map) yes
30 K uses windbag to shoot V out of map no
31 K launches a boompack at V yes
32 F places a dynamite box, K takes igniter and blasts V yes
33 K uses teleglove to drop object onto V yes
34 K blasts object from material which drops on V yes
35 K throws an activated iron bomb at V (then collected by V) no
36 K throws a fusing dynamite at V (V tries to collect but can't) yes
37 K ignites boompack (musket shot) which shoots at V yes
38 K ignites a battery of boompacks which shoot down V flying an airplane yes
39 K shoots at airship which carries V (V tumbles out of map) yes
40 K creates a fire which fuses a dynamite box, the explosion kills V yes
41 K digs out a piece of coal which kills V yes
42 K hacks out (with the pickaxe) a piece of ore which kills V yes
43 K digs and moves a piece of rock (controlled by F) which kills V no
44 K pushes a tree into the sawmill, the sawn wood kills V no
45 K produces metal in the foundry which falls down and kills V no
46 K throws snow on V (V dies of asphyxiation) no
47 K pushed the container (lorry) holding V out of landscape no
48 K blasts the container (wooden cabin) holding V no
49 K blasts V into lava where V dies no
50 K blasts V into acid where V dies no
51 K uses windbag to shoot V into lava where V dies no
52 K uses windbag to shoot V into acid where V dies no
53 K uses club to fling V into lava where V dies no
54 K uses club to fling V into acid where V dies no
55 K blasts a compensator and its explosion kills V yes
56 K blasts a bridge and a rock drops which kills V no