[question] Editing tasks in the mission
- danilasar
-
Topic Author
- Offline
- HD3 will be realesed!
Less
More
8 years 5 months ago - 8 years 5 months ago #1
by danilasar
[question] Editing tasks in the mission was created by danilasar
Good time of day. Continue to work with H&D3, again faced with a problem: how to edit mission tasks? As I understand it, is responsible for some function in the scripts. Please tell me what function.
Last edit: 8 years 5 months ago by danilasar.
Please Log in or Create an account to join the conversation.
- danilasar
-
Topic Author
- Offline
- HD3 will be realesed!
8 years 5 months ago #2
by danilasar
Replied by danilasar on topic [question] Editing tasks in the mission
UP!!!
Please Log in or Create an account to join the conversation.
- betteryouthanme
-
- Offline
Less
More
- Posts: 512
- Thank you received: 349
8 years 5 months ago - 8 years 5 months ago #3
by betteryouthanme
Replied by betteryouthanme on topic [question] Editing tasks in the mission
Objectives are controlled in the scripts. The command therfore is SetObjectiveStatus(obj, state);
obj and state are both integer numbers. obj is the actual objective as its listed in the maplist.
In the example above obj no. 1 would be the objective in maplist with text id 15510
15518 = obj2, 15514 = obj3, and so on
Of course for some gamestyles you need different objectives for both teams, that's why you have here allied and axis text values.
I don't know what value="03" means..
The state can have following values:
The text id (maplist) can be found and edited in texty.txt (Text\English\TEXTY.txt)
If you need new subtitles you have to edit Dialogs_DD.bin (Sabre) or dialogs.bin (basic game)
Subtitles are triggered by scripts too.
e.g
The text ids for subtitles can be found in Zdenda's Edit Tools.
About your project i would be bit more careful.. I don't think you have bought the game license, naming rights and all that?
Will this be a new Add-On like Sabre Squadron? Just an updated version of the game? Or a complete rebuild with another engine?
The only legal option at the moment would be to re-build the game under a different name.
obj and state are both integer numbers. obj is the actual objective as its listed in the maplist.
Code:
</ALLOWEDITEMS>
<ALLOWEDPRESETS>"Allied gunner" "Allied sniper" "Allied rifleman" "Allied heavy gunner" "Allied assault gunner"</ALLOWEDPRESETS>
<OBJECTIVE allied_text="15510" axis_text="15510" value="03"/>
<OBJECTIVE allied_text="15518" axis_text="15518" value="03"/>
<OBJECTIVE allied_text="15514" axis_text="15514" value="03"/>
<OBJECTIVE allied_text="15515" axis_text="15515" value="03"/>
<OBJECTIVE allied_text="15519" axis_text="15519" value="03"/>
<OBJECTIVE allied_text="15509" axis_text="15509" value="03"/>
</MAP>
In the example above obj no. 1 would be the objective in maplist with text id 15510
15518 = obj2, 15514 = obj3, and so on
Of course for some gamestyles you need different objectives for both teams, that's why you have here allied and axis text values.
I don't know what value="03" means..
The state can have following values:
0 | Objective uncompleted |
1 | Objective done |
2 | Objective failed |
3 | Objective failed (->Mission failed) |
4 | Objective hidden |
The text id (maplist) can be found and edited in texty.txt (Text\English\TEXTY.txt)
If you need new subtitles you have to edit Dialogs_DD.bin (Sabre) or dialogs.bin (basic game)
Subtitles are triggered by scripts too.
e.g
Code:
SUBTITLES_SetOn(1);
SUBTITLES_SetText(56999903); //"OBJECTIVES CHANGED!"
Delay(4000);
SUBTITLES_SetOn(0);
About your project i would be bit more careful.. I don't think you have bought the game license, naming rights and all that?
Will this be a new Add-On like Sabre Squadron? Just an updated version of the game? Or a complete rebuild with another engine?
The only legal option at the moment would be to re-build the game under a different name.
Last edit: 8 years 5 months ago by betteryouthanme.
The following user(s) said Thank You: danilasar
Please Log in or Create an account to join the conversation.
- danilasar
-
Topic Author
- Offline
- HD3 will be realesed!
8 years 5 months ago #4
by danilasar
Replied by danilasar on topic [question] Editing tasks in the mission
Thanks, but I meant single player.
Please Log in or Create an account to join the conversation.
- betteryouthanme
-
- Offline
Less
More
- Posts: 512
- Thank you received: 349
8 years 5 months ago #5
by betteryouthanme
Replied by betteryouthanme on topic [question] Editing tasks in the mission
thought so. But that's quite the same.
Mission setup and objectives are stored in Gamedata00.gdt / Gamedata01.gdt .
All research work is listed in the link above. Lots of unknown values. And of course a edit tool for the gdt files would be useful
Mission setup and objectives are stored in Gamedata00.gdt / Gamedata01.gdt .
All research work is listed in the link above. Lots of unknown values. And of course a edit tool for the gdt files would be useful

The following user(s) said Thank You: danilasar
Please Log in or Create an account to join the conversation.
- Stern
-
- Offline
Less
More
- Posts: 746
- Thank you received: 569
8 years 5 months ago #6
by Stern
The one who hesitates is lost !
Replied by Stern on topic [question] Editing tasks in the mission
Something similar here:
http://www.hidden-and-dangerous.net/board/viewtopic.php?f=34&t=2696
http://www.hidden-and-dangerous.net/board/viewtopic.php?f=34&t=2696
The one who hesitates is lost !
The following user(s) said Thank You: Sasha, danilasar
Please Log in or Create an account to join the conversation.
Birthdays
- Pozytywnefloow in 2 days
- Zbyl in 2 days
- Matheo in 3 days