Kill Tracing: Difference between revisions

Maikel (talk | contribs)
No edit summary
Maikel (talk | contribs)
No edit summary
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. This scenario can be found in the repository under Tests.ocf/KillTracing.ocs. The results of this scenario are summarized in the table below. In order to see what the test exactly does, you can run a test with LaunchTest(nr) where nr is the number indicated in the first columns.




{| border="1" class="wikitable"
{| border="1" class="wikitable"
|-
|-
! #
! Kill Description
! Kill Description
! Traced?
! Traced?
|-
|-
| 1
| Object throw
| Object throw
| <span style="color:#00CC00">true</span>
| <span style="color:#00CC00">yes</span>
|-
|-
| 2
| Lantern fire
| Lantern fire
| <span style="color:#00CC00">true</span>
| <span style="color:#00CC00">yes</span>
|-
|-
| 3
| Cannon shot
| Cannon shot
| <span style="color:#00CC00">true</span>
| <span style="color:#00CC00">yes</span>
|-
|-
| 4
| Wallkit asphyxiation
| Wallkit asphyxiation
| <span style="color:#FF0000">false</span>
| <span style="color:#FF0000">no</span>
|-
|-
| 5
| Sword strike
| Sword strike
| <span style="color:#00CC00">true</span>
| <span style="color:#00CC00">yes</span>
|-
|-
| 6
| Club strike
| Club strike
| <span style="color:#00CC00">true</span>
| <span style="color:#00CC00">yes</span>
|-
|-
| 7
| Axe strike
| Axe strike
| <span style="color:#00CC00">true</span>
| <span style="color:#00CC00">yes</span>
|-
|-
| 8
| Firestone explosion (thrown)
| Firestone explosion (thrown)
| <span style="color:#00CC00">true</span>
| <span style="color:#00CC00">yes</span>
|-
|-
| 9
| Club object shot
| Club object shot
| <span style="color:#00CC00">true</span>
| <span style="color:#00CC00">yes</span>
|-
|-
| 10
| Object moved by explosion
| Object moved by explosion
| <span style="color:#00CC00">true</span>
| <span style="color:#00CC00">yes</span>
|-
|-
| 11
| Firestone material cascade
| Firestone material cascade
| <span style="color:#00CC00">true</span>
| <span style="color:#00CC00">yes</span>
|-
|-
| 12
| Bow shot (arrow)
| Bow shot (arrow)
| <span style="color:#00CC00">true</span>
| <span style="color:#00CC00">yes</span>
|-
|-
| 13
| Bow shot (fire arrow)
| Bow shot (fire arrow)
| <span style="color:#00CC00">true</span>
| <span style="color:#00CC00">yes</span>
|-
|-
| 14
| Bow shot (bomb arrow)
| Bow shot (bomb arrow)
| <span style="color:#00CC00">true</span>
| <span style="color:#00CC00">yes</span>
|-
|-
| 15
| Musket shot
| Musket shot
| <span style="color:#00CC00">true</span>
| <span style="color:#00CC00">yes</span>
|-
|-
| 16
| Javelin throw
| Javelin throw
| <span style="color:#00CC00">true</span>
| <span style="color:#00CC00">yes</span>
|-
|-
| 17
| Grenade launcher shot
| Grenade launcher shot
| <span style="color:#00CC00">true</span>
| <span style="color:#00CC00">yes</span>
|-
|-
| 18
| Iron bomb explosion (thrown)
| Iron bomb explosion (thrown)
| <span style="color:#00CC00">true</span>
| <span style="color:#00CC00">yes</span>
|-
|-
| 19
| Powder keg (shot by musket)
| Powder keg (shot by musket)
| <span style="color:#00CC00">true</span>
| <span style="color:#00CC00">yes</span>
|-
|-
| 20
| Dynamite explosion (thrown)
| Dynamite explosion (thrown)
| <span style="color:#00CC00">true</span>
| <span style="color:#00CC00">yes</span>
|-
|-
| 21
| Incineration by burning clonk
| Incineration by burning clonk
| <span style="color:#FF0000">false</span>
| <span style="color:#FF0000">no</span>
|-
|-
| 22
| Lorry dump
| Lorry dump
| <span style="color:#00CC00">true</span>
| <span style="color:#00CC00">yes</span>
|-
|-
| 23
| Lorry destruction
| Lorry destruction
| <span style="color:#00CC00">true</span>
| <span style="color:#FF0000">no</span>
|-
|-
| 24
| Catapult shot
| Catapult shot
| <span style="color:#00CC00">true</span>
| <span style="color:#00CC00">yes</span>
|-
|-
| 25
| Moving lava
| Moving lava
| <span style="color:#FF0000">false</span>
| <span style="color:#FF0000">no</span>
|-
|-
| 26
| Moving acid
| Moving acid
| <span style="color:#FF0000">false</span>
| <span style="color:#FF0000">no</span>
|-
|-
| 27
| Windbag object shot
| Windbag object shot
| <span style="color:#00CC00">true</span>
| <span style="color:#00CC00">yes</span>
|-
|-
|}
|}

Revision as of 14:50, 3 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. This scenario can be found in the repository under Tests.ocf/KillTracing.ocs. The results of this scenario are summarized in the table below. In order to see what the test exactly does, you can run a test with LaunchTest(nr) where nr is the number indicated in the first columns.


# Kill Description Traced?
1 Object throw yes
2 Lantern fire yes
3 Cannon shot yes
4 Wallkit asphyxiation no
5 Sword strike yes
6 Club strike yes
7 Axe strike yes
8 Firestone explosion (thrown) yes
9 Club object shot yes
10 Object moved by explosion yes
11 Firestone material cascade yes
12 Bow shot (arrow) yes
13 Bow shot (fire arrow) yes
14 Bow shot (bomb arrow) yes
15 Musket shot yes
16 Javelin throw yes
17 Grenade launcher shot yes
18 Iron bomb explosion (thrown) yes
19 Powder keg (shot by musket) yes
20 Dynamite explosion (thrown) yes
21 Incineration by burning clonk no
22 Lorry dump yes
23 Lorry destruction no
24 Catapult shot yes
25 Moving lava no
26 Moving acid no
27 Windbag object shot yes