December 05, 2024, 04:55:54 AM
Homepage
Home
Help
Search
Login
Register
Wiki
Imprint
Warhammer Dark Omen Forum
|
Warhammer Dark Omen
|
Singleplayer
Further CTL investigation
Username
1 Hour
1 Day
1 Week
1 Month
Forever
Password
Pages:
1
...
3
4
[
5
]
Go Down
Print
Author
Topic: Further CTL investigation (Read 46750 times)
0 Members and 1 Guest are viewing this topic.
olly
Global Spokesperson
Offline
Posts: 2300
Re: Further CTL investigation
«
Reply #60 on:
June 28, 2017, 05:46:10 PM »
I've added all of the voices that Leilond kindly identified
http://forum.dark-omen.org/campaigns/new-campaigns-questions-and-suggestions-t1429.0.html;msg14079#msg14079
and then disassembled DO/CTL/B101/
The Prettifier is fantastic
http://wiki.dark-omen.org/do/DO/CTL/B101/Disassembled
Ideally we want to learn more about the Combat rounds and Leadership tests that Evgen has been investigating and the portrait voice of "Stand Firm Men" that is associated with the tests. It's voice 7 and appears within CTLs
test_unit_afraid is played when Attribute NeverRetreats or WillNeverRout is set and UnitFlag1 "50% Units Lost"
So maybe we can locate it in IDA and then work out similar possible combat functions, to see it adheres to the Warhammer 4th Edition Rulebooks.
http://forum.dark-omen.org/singleplayer/sothr-game-mechanics-stats-t273.0.html;msg14251#msg14251
«
Last Edit: June 29, 2017, 07:45:51 AM by olly
»
Logged
and back in Nuln, the ageing Graf Berhardt smiled his secret smile of pride whenever he heard the latest tales of his eldest son's ever growing chain of glorious victories -(sothr manual)
Ghabry
Developer
Offline
Posts: 1020
Re: Further CTL investigation
«
Reply #61 on:
February 06, 2019, 12:00:58 AM »
12 years of Dark Omen Fansite! (funded 5 Feb 2007)
Interestingly the following CTL commands are never used:
Code:
#24 add_global_r_i
#26 (called automatically each time the CTL script executes)
#27 (called when #26 set the true-flag)
#31 wait_unit_flag2_clear
#32 wait_unit_flag2_set
#37 wait_unit_flag3_set
#42 send_event_to_self_if_label_exists
#56
#57
#67
#68
#6f broadcast_event_to_enemies
#8a
#90 nop_90
#91 nop_91
#9a
#9e
#a0
#a4 find_enemy_simple
#a5 find_enemy_simple_visible
#a8 find_enemy_nth
#a9 find_enemy_nth_visble
#aa find_enemy_unittype_nth
#ab find_enemy_unittype_nth_2
#bb
#be
#c8
#c9 clear_last_event
#cb
#ec test_other_unit_r_eq_i
#f0
The following are only used in the tutorial (SPARE9):
Code:
#d9 test_user_action
#da ui_indicate
#db (this seems to check if you attack the training dummies)
#dc
#dd set_unit_r_direction
#de test_unit_at_node
#df test_unit_attacking
#e1 test_other_unit_flag3
#e2 test_unit_selected
#e3 test_any_spell_selected
#e4
#e5
#e6 test_mapmode
#e8
#e9
#ea test_sound_playing
#eb test_other_unit_flag1
#ed end_mission
#ee test_event_from_unit
Which means the following used opcodes have unknown purpose:
Code:
#14
#2b
#3c
#45
#46
#47
#48
#49
#4a
#4b
#4d
#4f
#50
#51
#5e
#5f
#60
#61
#62
#63
#64
#66
#6c
#7a
#7b
#7c
#7d
#7e
#7f
#80
#81
#83
#84
#85
#87
#88
#89
#8b
#8c
#8e
#8f
#95
#96
#9b
#9c
#a1
#ad
#b0
#b1
#bc
#c5
#c6
#ca
#cc
#d6
#db
#dc
#e4
#e5
#e8
#e9
#ef
Unknown OpCodes by popularity (funcs >= 100 are only counted once because they are always the same):
This means these are useful for map scripting in general.
Code:
406 #14
374 #3c
252 #d6
157 #50
145 #2b
101 #48
86 #47
78 #43
60 #7e
59 #9b
45 #51
34 #89
29 #64
26 #80
24 #87
15 #7f
10 #e8
10 #a1
10 #5e
9 #62
8 #dc
7 #81
6 #7d
6 #46
(rest omited)
When counting including all funcs >= 100 in all maps (shows which unknown opcodes the standard library uses alot)
Code:
990 #14
813 #9b
580 #2b
536 #48
461 #3c
389 #50
300 #5e
282 #43
270 #62
252 #d6
210 #81
180 #7d
180 #46
176 #7e
155 #a1
150 #9c
150 #8f
150 #7a
150 #6c
150 #4d
120 #ca
120 #8e
120 #8b
120 #7b
90 #c5
90 #95
90 #8c
90 #60
90 #4f
90 #4a
90 #49
86 #47
84 #80
60 #bc
60 #b0
60 #ad
60 #85
60 #83
60 #66
60 #61
60 #5f
60 #4b
60 #45
45 #51
34 #89
30 #ef
30 #cc
30 #c6
30 #b1
30 #96
30 #88
30 #84
30 #7c
30 #63
29 #64
24 #87
15 #7f
10 #e8
8 #ee
8 #dc
5 #db
2 #e9
2 #e5
2 #e4
Logged
olly
Global Spokesperson
Offline
Posts: 2300
Re: Further CTL investigation
«
Reply #62 on:
February 06, 2019, 10:22:36 PM »
Excellent knowledge and yep we've certainly progressed Dark Omen along way since 2007, many thanks!
«
Last Edit: February 06, 2019, 10:52:33 PM by olly
»
Logged
and back in Nuln, the ageing Graf Berhardt smiled his secret smile of pride whenever he heard the latest tales of his eldest son's ever growing chain of glorious victories -(sothr manual)
Pages:
1
...
3
4
[
5
]
Go Up
Print
Jump to:
Please select a destination:
-----------------------------
Warhammer Dark Omen Community
-----------------------------
=> News
=> Tavern
===> Introduction
=> Website Related
-----------------------------
Warhammer Dark Omen
-----------------------------
=> Singleplayer
=> Multiplayer
===> Rules and Standards
===> Tournaments
===> Armybuilds
=====> Empire Armybuilds
=====> Greenskin Armybuilds
=====> Undead Armybuilds
===> Tactics
=====> Empire Tactics
=====> Greenskins Tactics
=====> Undeads Tactics
===> Dark Omen Expanded
===> Black Prophecy (Dark Omen Mod)
=> Help Section
=> Tactical wargaming and other Warhammer games
-----------------------------
Multiplayer Campaign
-----------------------------
=> Dark Omen Conquest
-----------------------------
The Remake Project
-----------------------------
=> OMG WARTBED
=> Bright Portents
=> General Suggestions
-----------------------------
Modifications
-----------------------------
=> 3D Scenery Models
=> Maps
=> 2D Sprites
=> Troops
=> Tools
=> Campaigns
Loading...