Adding Objectives

This is for general discussion about Hidden & Dangerous 2, talk about what you liked or what you didn't like about the sequel. Talk about multiplayer games, setup matches etc.
User avatar
Grimples
Major
Posts: 300
Joined: Fri Aug 05, 2005 11:55 am
Location: Geordieland

Adding Objectives

Unread post by Grimples » Sun Feb 07, 2010 1:28 pm

If i add new objectives to my mpmaplist will they work when i create a server for folks who join. I want to add kill all enemies to all maps.

Lars
Commando
Posts: 876
Joined: Wed Sep 08, 2004 9:37 pm

Re: Adding Objectives

Unread post by Lars » Sun Feb 07, 2010 1:40 pm

Hm I think you (the server only) needs the script that will detect that you killed anyone. So you might need the script and an detector for that.

User avatar
Grimples
Major
Posts: 300
Joined: Fri Aug 05, 2005 11:55 am
Location: Geordieland

Re: Adding Objectives

Unread post by Grimples » Sun Feb 07, 2010 1:54 pm

Ah! never thought of that Lars. So i would need the put the kill all enemies script into each seperate map script folder. That would not work then as others who joined my server would need those same scripts in their script folders too, it was just an idea.

Lars
Commando
Posts: 876
Joined: Wed Sep 08, 2004 9:37 pm

Re: Adding Objectives

Unread post by Lars » Sun Feb 07, 2010 2:53 pm

Well in fact as far as I remember ONLY the server needed the scripts. So if you have installed an working Killallenemies script and runing the server it should work for the others too

User avatar
-ViTaMiHnM203-
SAS Soldier
Posts: 1347
Joined: Wed May 11, 2005 7:52 am
Location: Classified
Contact:

Re: Adding Objectives

Unread post by -ViTaMiHnM203- » Tue Feb 09, 2010 1:52 pm

Yep, scripts are server side. The servers computer is working out all those details, alerting the players as to what must be done. It is the models, objects placement, etcetera, that must be the same.
Eight, 8, the burning eight; between Sunday and Monday exists a day so great, it will devastate. :twisted:

User avatar
Grimples
Major
Posts: 300
Joined: Fri Aug 05, 2005 11:55 am
Location: Geordieland

Re: Adding Objectives

Unread post by Grimples » Tue Feb 09, 2010 3:19 pm

So... what script can i use, i know very little about scripting or the language used in HnD. There will be several i could probably use.

User avatar
Grimples
Major
Posts: 300
Joined: Fri Aug 05, 2005 11:55 am
Location: Geordieland

Re: Adding Objectives

Unread post by Grimples » Tue Feb 09, 2010 5:14 pm

Hmm... just thought of something else. The script will have to be in the scene2.bin for the game to know that it exists, so... even putting the script into the script folder it wont work unless i edit the scene2.bin file.
did that make sense?


this should of really been in the modding area, sorry!

Lars
Commando
Posts: 876
Joined: Wed Sep 08, 2004 9:37 pm

Re: Adding Objectives

Unread post by Lars » Tue Feb 09, 2010 5:33 pm

That's why I mentioned the 'new detector'. You might can work arround with that matter if you replace the killthemall script with an other one witch is already in the scene2 but not that nessisary

User avatar
Grimples
Major
Posts: 300
Joined: Fri Aug 05, 2005 11:55 am
Location: Geordieland

Re: Adding Objectives

Unread post by Grimples » Tue Feb 09, 2010 6:04 pm

Ok, am off that idea now, cannot be bothered to faff on. What i would like is an explanation/list of some of the script commands, eg.

HUMAN_SETAIMODE_Zombie();
HUMAN_SetOptimized(1);
HUMAN_Suspend(1);

and mostly

HUMAN_SetSniper(1, 5);
i can imagine what the 1 does, but what does the 5 mean, level?

In these extreme maps, most of the enemy have been set to a maximized setting which is just too much & very unrealistic, i would like to change them to maybe something a wee bit lower.
Just did an experiment with Africa|Airfield (the enemy in this map can smell you 100 miles away), lowered the enemies sight range & another very unrealistic hearing range & it worked until i got shot in the head by an enemy, who within a millionth of a second, turned round, raised his weapon & fired one shot into my noggin, UFB!

Lars
Commando
Posts: 876
Joined: Wed Sep 08, 2004 9:37 pm

Re: Adding Objectives

Unread post by Lars » Tue Feb 09, 2010 7:01 pm

I passed a copy to this thread to zdenda .. he should know all these things. Last time i've worked with that is arround 5 years ago  :mrgreen:

User avatar
Grimples
Major
Posts: 300
Joined: Fri Aug 05, 2005 11:55 am
Location: Geordieland

Re: Adding Objectives

Unread post by Grimples » Tue Feb 09, 2010 8:11 pm

I dont think zdenda likes me, i think i slagged him off for his idiot maps, as i put them. Thanks Lars, wait & see what zdenda does.

User avatar
Zdenda
Sergeant
Posts: 83
Joined: Fri Nov 04, 2005 9:25 pm
Location: Czech Republic
Contact:

Re: Adding Objectives

Unread post by Zdenda » Tue Feb 09, 2010 9:34 pm

If I?d still remember who you are I would probably kick your arse  :P .... but let?s say I forgot  :wink:.

So, to create an objective, you need to ad it to your maplist and make a script about the objective. The first thing thta is important to remember is that the order of objectives in the maplist matters. The first will always count as objective number 1, second always objective number 2, and so on ..  . This is important because of the scripts.

To script an objective, we use the command SetObjectiveStatus(X, Y); , where X is the number of the objective in the Maplist and Y is the objective status.

Objective status can be the following:

0 = not completed
1 = completed
2 = failed
4 = invisible objective


So that?s for the objective setting up command.

To create a script, you will need to find a detector in the game and like the script to it in MpScripts.dta file.
The best way to do this is to open Scene2.bin is DC||ED and go to Objects/Standard objects and hopefully you?ll find one in there.
Then you need to count the number of letters in the name of the detector and estimate a hex code for it that you?ll need to create the link in MpScripts.dta with the script. You may find some help in this file, which includes all the codes you need to edit H&D2SS and you will find all the codes you need in there.

Good Luck !!


Itemlist developed by Hawk & Zdenda
Last updated: 14.6.2009
---------------------------------------------------

***| Invertory |***

Code   Name

00  -  Head
01  -  Pouches
02  -  Shoulder
03  -  Hands
04  -  Uniform
05  -  Back
06  -  Backpack

---------------------------------------------------
Code = Digital Code
IC   = Itemlist Code
MC   = Maplist Code


   ***| Section 1: H&D2 (00 Itemlist) |***


Code        IC   MC       Item Name

00000000  00   0 - P08
00000001  00   1 - EN38
00000002  00   2 - COLT
00000003  00   3 - TAISHO
00000004  00   4 - K98
00000005  00   5 - TOKAREV
00000006  00   6 - LEE ENFIELD
00000007  00   7 - DE LISLE (SILENT)
00000008  00   8 - MOSIN NAGANT
00000009  00   9 - COMPASS

0000000A  00  10 - M1 GARAND
0000000B  00  11 - M1 CARBINE
0000000C  00  12 - ARISAKA
0000000D  00  13 - K98 (OPT)
0000000E  00  14 - SPRINGFIELD
0000000F  00  15 - SPRINGFIELD (OPT)

00000010  00  16 - ARISAKA (OPT)
00000011  00  17 - LEE ENFIELD (OPT)
00000012  00  18 - MP40
00000013  00  19 - ZB26
00000014  00  20 - M1 THOMPSON
00000015  00  21 - STENGUN
00000016  00  22 - STENGUN (SILENT)
00000017  00  23 - SHOTGUN
00000018  00  24 - SPAGIN
00000019  00  25 - PPS 1943

0000001A  00  26 - MP44
0000001B  00  27 - GER - HELMET CAMOUFLAGED SS
0000001C  00  28 - BAR
0000001D  00  29 - BRENGUN
0000001E  00  30 - TYPE 92 MG
0000001F  00  31 - DP 1928 DEGTYAREV

00000020  00  32 - GER - HELMET (BLACK)
00000021  00  33 - MG 42
00000022  00  34 - BROWNING M1919
00000023  00  35 - BROWNING M1919 TWIN
00000024  00  36 - BROWNING .5
00000025  00  37 - MG 15
00000026  00  38 - PANZERFAUST
00000027  00  39 - M1 BAZOOKA
00000028  00  40 - MG VZOR 37
00000029  00  41 - CANNON 170mm

0000002A  00  42 - MG 15
0000002B  00  43 - MG 81
0000002C  00  44 - FLAMMENWERFER 35
0000002D  00  45 - FLAMETHROWER PORTABLE NO. 2
0000002E  00  46 - FLAK (1x20mm)
0000002F  00  47 - FLAK (4x20mm)

00000030  00  48 - TANK CANNON
00000031  00  49 - FLAK (1x88mm)
00000032  00  50 - AMMO KwK 40 (TIGER TANK)
00000033  00  51 - AMMO KwK 36 (PANTHER TANK)
00000034  00  52 - AMMO 85mm (SHERMAN/PANZER III TANK)
00000035  00  53 - MEDIC KIT BIG
00000036  00  54 - MEDIC KIT SMALL
00000037  00  55 - MG 81
00000038  00  56 - GER - KNIFE
00000039  00  57 - EN  - KNIFE

0000003A  00  58 - FURCAP
0000003B  00  59 - WIRECUTTER
0000003C  00  60 - EN  - GRENADE 69
0000003D  00  61 - GER - GRENADE 39
0000003E  00  62 - EN  - GRENADE 36
0000003F  00  63 - JAP - GRENADE 97

00000040  00  64 - US - HELMET (GREEN)
00000041  00  65 - "AMMO"
00000042  00  66 - CLUMMY BOMB (STICKY)
00000043  00  67 - BAG EXPLOSIVES
00000044  00  68 - DYNAMITE
00000045  00  69 - US - HELMET (DESERT)
00000046  00  70 - MINE
00000047  00  71 - MINE ANTI-TANK
00000048  00  72 - GER - HELMET PARATROOPER
00000049  00  73 - GER - HELMET (ARCTIC)

0000004A  00  74 - GER - HELMET (DESERT)
0000004B  00  75 - GER - HELMET (DESERT)
0000004C  00  76 - GER - HELMET (GREEN/GREY)
0000004D  00  77 - GER - HELMET (GREY)
0000004E  00  78 - GER - HELMET (SNIPER)
0000004F  00  79 - EN  - HELMET (BROWN)

00000050  00  80 - EN  - HELMET (BROWN)
00000051  00  81 - EN  - HELMET (DESERT)
00000052  00  82 - EN  - HELMET (ARCTIC)
00000053  00  83 - ITA - HELMET (DESERT)
00000054  00  84 - RUS - HELMET (GREEN)
00000055  00  85 - US  - HELMET (ARCTIC/GREY)
00000056  00  86 - JAP - HELMET (GREEN)
00000057  00  87 - GER - CAP MECHANIC (BLUE)
00000058  00  88 - GER - CAP (GREY)
00000059  00  89 - GER - CAP (DESERT)

0000005A  00  90 - GER - CAP PEAK (BLACK)
0000005B  00  91 - GER - CAP MECHANIC (BLUE)
0000005C  00  92 - GER - CAP PEAK (GREEN/GREY)
0000005D  00  93 - GER - CAP (DESERT)
0000005E  00  94 - GER - CAP GARISSON (GREEN/GREY)
0000005F  00  95 - RUS - BACKPACK (GREEN)

00000060  00  96 - CIV - UNIFORM CZECH CIVILIAN CLOTHES
00000061  00  97 - GER - BACKPACK (GREY)
00000062  00  98 - JAP - BACKPACK
00000063  00  99 - BINOCULARS
00000064  00  100 - BACKPACK WET
00000065  00  101 - EN  - BACKPACK SMALL (WHITE)
00000066  00  102 - EN  - CAP BERET (RED)
00000067  00  103 - EN  - CAP BERET (BLACK)
00000068  00  104 - EN  - CAP BURMA (GREEN)
00000069  00  105 - JAP - CAP GARRISON BURMA (GREEN)

0000006A  00  106 - GER - CAP GARRISON SS (BLACK)
0000006B  00  107 - GER - CAP TANK COMMANDER (BLACK)
0000006C  00  108 - GER - CAP GARISSON (GREY)
0000006D  00  109 - RUS - CAP GARISSON (GREY)
0000006E  00  110 - RUS - CAP PEAK (GREEN)
0000006F  00  111 - GER - CAP (BLACK)

00000070  00  112 - ITA - CAP GARISSON (DESERT)
00000071  00  113 - GER - CAP HUNTER (GREEN)
00000072  00  114 - US  - UNIFORM PARATROOPER (DESERT)
00000073  00  115 - EN  - UNIFORM GREEN CAMOUFLAGE BATTLEDRESS
00000074  00  116 - EN  - UNIFORM CIVILIAN (GENERAL)
00000075  00  117 - GER - UNIFORM LABORATORY COAT (WHITE)
00000076  00  118 - EN  - UNIFORM BATTLEDRESS WITH LEATHER VEST
00000077  00  119 - EN  - UNIFORM DESERT SUIT SET
00000078  00  120 - EN  - UNIFORM BURMA SET (GREEN)
00000079  00  121 - EN  - UNIFORM DIVER SET

0000007A  00  122 - EN  - UNIFORM ARCTIC CAMOUFLAGE SUIT SET
0000007B  00  123 - EN  - UNIFORM BATTLEDRESS STANDARD SUIT SET
0000007C  00  124 - EN  - UNIFORM SUMMER CAMOUFLAGE SUIT SET
0000007D  00  125 - EN  - UNIFORM AIR FORCE
0000007E  00  126 - GER - UNIFORM ARCTIC WHITE CAMOUFLAGE SUIT SET
0000007F  00  127 - GER - UNIFORM ARCTIC DARK CAMOUFLAGE SUIT SET

00000080  00  128 - GER - UNIFORM ARCTIC BROWN COAT WITH FUR
00000081  00  129 - GER - UNIFORM GREEN FIELD SUIT SET (GREY)
00000082  00  130 - GER - UNIFORM ALPINE GREATCOAT (GREEN)
00000083  00  131 - GER - UNIFORM GREY FIELD SUIT SET (GREY)
00000084  00  132 - GER - UNIFORM GREY FIELD SET WITH CAMOUFLAGE TROUSES SS
00000085  00  133 - GER - UNIFORM FIELD COMMANDER (GREY)
00000086  00  134 - GER - UNIFORM OFFICER (LIGHT GREY)
00000087  00  135 - GER - UNIFORM TANK COMMANDER (BLACK)
00000088  00  136 - GER - UNIFORM ARCTIC WHITE SUIT SET WITH GLASSES
00000089  00  137 - GER - UNIFORM FELDGENDARMERIE SS (GREY)

0000008A  00  138 - GER - UNIFORM BLACK LEATHER COAT LUFTWAFFE (BLUE)
0000008B  00  139   - GER - UNIFORM LUFTWAFFE (DESERT)
0000008C  00  140 - GER - UNIFORM LUFTWAFFE DESERT WITH A MASK (DESERT)
0000008D  00  141   - GER - UNIFORM LUFTWAFFE CAMOUFLAGE (DESERT)
0000008E  00  142 - GER - UNIFORM LUFTWAFFE OFFICER (DESERT)
0000008F  00  143   - GER - UNIFORM PARATROOPER (DESERT)

00000090  00  144 - GER - UNIFORM LUFTWAFFE NORMANDY AIR FORCE DIVISION (BLUE)
00000091  00  145 - GER - UNIFORM COASTAL ARTILLERY (BLUE)
00000092  00  146 - GER - UNIFORM LUFTWAFFE OFFICER
00000093  00  147 - GER - UNIFORM DECTOR (DESERT)
00000094  00  148 - GER - UNIFORM ALGEMEINE SS
00000095  00  149 - GER - UNIFORM ALGEMEINE SS (SHIRT ONLY)
00000096  00  150 - GER - UNIFORM MECHANIC (BLUE)
00000097  00  151 -
00000098  00  152 - GER - UNIFORM SPRING PARKA SS (GREEN)
00000099  00  153 - GER - UNIFORM SUMMER PARKA SS (WHITE)

0000009A  00  154 - GER - UNIFORM (WINTER)
0000009B  00  155 - GER - UNIFORM OFFICER (WINTER)
0000009C  00  156 - ITA - UNIFORM OFFICER (DESERT)
0000009D  00  157 - ITA - UNIFORM (DESERT)
0000009E  00  158 - ITA - UNIFORM MECHANIC (BLUE)
0000009F  00  159 - RUS - UNIFORM (GREEN)

000000A0  00  160 - RUS - UNIFORM OFFICER (GREEN)
000000A1  00  161 - JAP - UNIFORM OFFICER (GREEN)
000000A2  00  162 - JAP - UNIFORM (GREEN)
000000A3  00  163 - CIV - UNIFORM CZECH RAILWAY (BLACK)
000000A4  00  164 - CIV - UNIFORM THICK SWEATHER ANDLEATHER VEST
000000A5  00  165 - CIV - UNIFORM SHIRT, TROUSES, KNITTED VEST
000000A6  00  166 - CIV - UNIFORM BLOOD STAINED SHIRT (WHITE)
000000A7  00  167 - US  - UNIFORM (WINTER)
000000A8  00  168 - US  - UNIFORM (GREEN)
000000A9  00  169 - US  - UNIFORM PARATROOPER NORMANDY (GREEN)

000000AA  00  170 - AMMO P08
000000AB  00  171 - AMMO EN38
000000AC  00  172 - AMMO COLT
000000AD  00  173 - AMMO TAISHO
000000AE  00  174 - AMMO K98
000000AF  00  175 - AMMO TOKAREV  

000000B0  00  176 - AMMO LEE ENFIELD
000000B1  00  177 - AMMO DE LISLE
000000B2  00  178 - AMMO MOSIN NAGANT
000000B3  00  179 - AMMO BENELI SUPER M90
000000B4  00  180 - AMMO M1 GARAND
000000B5  00  181 - AMMO M1 CARBINE
000000B6  00  182 - AMMO ARISAKA
000000B7  00  183 - AMMO FLARE GUN
000000B8  00  184 - AMMO SPRINGFIELD
000000B9  00  185 - AMMO MAS MLE 36

000000BA  00  186 - AMMO G43
000000BB  00  187 - AMMO MP40
000000BC  00  188 - AMMO ZB26
000000BD  00  189 - AMMO M1 THOMPSON
000000BE  00  190 - AMMO STENGUN
000000BF  00  191 - AMMO STENGUN SILENCED

000000C0  00  192 - AMMO SHOTGUN
000000C1  00  193 - AMMO SPAGIN
000000C2  00  194 - AMMO PPS 1943
000000C3  00  195 - AMMO MP44
000000C4  00  196 - AMMO FG42
000000C5  00  197 - AMMO BAR
000000C6  00  198 - AMMO BREN GUN
000000C8  00  200 - AMMO DP 1928 DEGTYAREV
000000C9  00  201 - AMMO MG 34

000000CA  00  202 - AMMO BROWNING M1919
000000CB  00  203 - AMMO BROWNING .5
000000CC  00  204 - AMMO TYPE 97 MG
000000CD  00  205 - AMMO PANZERSCHRECK
000000CE  00  206 - AMMO BAZOOKA
000000CF  00  207 - AMMO FLAMMENWERFER 35

000000D0  00  208 - AMMO FLAMETHROWER PORTABLE NO. 2
000000D1  00  209 - AMMO FLAK (1x20mm)
000000D2  00  210 - AMMO FLAK (4x20mm)
000000D3  00  211 - AMMO TANK MG
000000D4  00  212 - AMMO FLAK (1x88mm)
000000D5  00  213 - AMMO PANTHER TANK
000000D6  00  214 - AMMO PANTHER TANK
000000D7  00  215 - AMMO SHERMAN/PANZER III
000000D8  00  216 - AMMO MG 42

000000DB  00  219 - AMMO VZOR 37
000000DC  00  220 - AMMO PAK 40
000000DE  00  222 - EN  - BACKPACK GREEN BIG
000000DF  00  223 - EN  - CAP GARRISON GENERAL

000000E0  00  224 - CIV - CAP (BLACK)
000000E1  00  225 - CIV - GLASSES
000000E2  00  226 - EN  - CAP PILOT
000000E3  00  227 - EN  - HELMET
000000E4  00  228 - EN  - BACKPACK DESERT BIG
000000E5  00  229 - CAMERA
000000E6  00  230 - CIV - CAP KNITTED
000000E7  00  231 - EN  - AQUALUNG
000000E8  00  232 - CIV - UNIFORM LUMBERJACK
000000E9  00  233 - CIV - UNIFORM LUMBERJACK

000000EA  00  234 - CIV - UNIFORM LUMBERJACK (JEW)
000000EB  00  235 - GER - UNIFORM OFFICER FEMALE
000000EC  00  236 - GER - UNIFORM LUFTWAFFE FEMALE (BLUE)
000000ED  00  237 - GER - UNIFORM OFFICER (GREY)
000000EE  00  238 - GER - UNIFORM OFFICER DESERT
000000EF  00  239 - DOCUMENTS SMALL

000000F0  00  240 - KEY 1
000000F1  00  241 - KEY 2
000000F2  00  242 - KEY 3
000000F3  00  243 - RADIO FOR AIR ()
000000F4  00  244 - RADIO FOR ARTILLERY
000000F5  00  245 - GOLDEN BRICK
000000F6  00  246 - PANTINGS
000000F7  00  247 - IDENTIFICATION TAGS
000000F8  00  248 - SWORD KATANA
000000F9  00  249 - CRUISE PLAN (TIRPITZ)

000000FA  00  250 - BOOK OF CODES (ENIGMA)
000000FB  00  251 - MAGNETIC MINE
000000FC  00  252 - DOCUMENTS BIG
000000FD  00  253 - ENIGMA
000000FE  00  254 - DOCUMENTS BIG
000000FF  00  255 - DOCUMENTS SMALL


---------------------------------------------------
=CZ=  -  www.czteam-hd.net

User avatar
Zdenda
Sergeant
Posts: 83
Joined: Fri Nov 04, 2005 9:25 pm
Location: Czech Republic
Contact:

Re: Adding Objectives

Unread post by Zdenda » Tue Feb 09, 2010 9:34 pm

    ***| Section 2: H&D2SS (01 Itemlist) |***


Code        IC  MC      Item Name

00000004  01  260 - P08 SILENT
00000005  01  261 - FLARE GUN
00000006  01  262 - G43
00000007  01  263 - MAS MLE 36
00000008  01  264 - PANZERSCHRECK

0000000A  01  266 - CIV - UNIFORM GURIELLA FIGHTER
0000000B  01  267 - CIV - UNIFORM GURIELLA FIGHTER
0000000C  01  268 - ITA - UNIFORM OFFICER (GREY)
0000000D  01  269 - ITA - UNIFORM (GREY)
0000000E  01  270 - EN  - UNIFORM WOUNDED SAS

00000010  01  272 - GER - UNIFORM (WHITE/GREY)
00000011  01  273 - CIV - UNIFORM RESISTANCE FIGHTER
00000012  01  274 - CIV - UNIFORM RESISTANCE FIGHTER
00000013  01  275 - CIV - UNIFORM RESISTANCE FIGHTER
00000014  01  276 - CIV - UNIFORM FRENCH COLLABORATOR
00000015  01  277 - EN  - UNIFORM BATTLEDRESS STANDARD (POW)
00000018  01  280 - CODE TABLES
00000019  01  281 - ITA - HELMET

0000001A  01  282 - ITA - CAP OFFICER
0000001B  01  283 - CIV - CAP TURBAN
0000001C  01  284 - BEACON

0000002C  01  300 - AIRCRAFT PLANS
0000002D  01  301 - MODEL OF PROTOTYPE AIRCRAFT
0000002E  01  302 - AERODYNAMIC TESTING TUNNEL
0000002F  01  303 - PLACE FOR EXPLOSIVES

00000030  01  304 - PLACE FOR MAGNETIC MINE
00000031  01  305 - BOX WITH AMMUNITION
00000032  01  306 - BOX WITH EQUIPMENT
00000033  01  307 - GER - TACTICAL PLANS

0000005E  01  350 - BRIDGE
0000005F  01  351 - BARRELS

00000060  01  352 - FUEL TANK
00000061  01  353 - PLANE
00000062  01  354 - ROAD BLOCK
00000063  01  355 - RADIO TRANSMITTER
00000064  01  356 - WALL
00000065  01  357 - CANNON
00000066  01  358 - BARREL

---------------------------------------------------


    ***| Section 3: H&D2SS MODELS & UNIFORMS |***



GERMAN


Code    IC  MC Model    Name


0000007E 00  126 - GE01a -  German arctic white camouflage suit-set

0000007F 00  127 - GE01b -  German arctic dark camouflage suit-set

00000088 00  136 - GE02a -  German arctic green-white suit-set

00000080 00  128 - GE02b -  German arctic brown coat with fur

0000009A 00  154 - GE02c -  German winter uniform

0000009B 00  155 - GE02d -  German winter commander uniform

00000081 00  129 - GE03 -  German green field suit-set

00000082 00  130 - GE03b -  German Alpine green greatcoat

00000083 00  131 - GE04 -  German grey field suit-set

00000084 00  132 - GE04b -  German grey SS field set with camouflage trousers   

00000085 00  133 - GE05 -  German field commander uniform - grey

00000086 00  134 - GE05b -  German officer uniform - grey

00000087 00  135 - GE06 -  German tank commander uniform

00000089 00  137 - GE07 -  German Feldgendarmerie SS uniform

0000008A 00  138 - GE08 -  German black leather coat - Luftwaffe

0000008B 00  139 - GE09 -  German uniform - Luftwaffe

0000008C 00  140 - GE09b -  German uniform with a mask - Luftwaffe Africa corps

0000008D 00  141 - GE10 -  German camouflage uniform - Luftwaffe Africa corps

0000009E 00  142 - GE10b -  German officer uniform - Luftwaffe Africa corps

0000008F 00  143 - GE11 -  German paratrooper uniform

00000090 00  144 - GE13 -  German Luftwaffe uniform - Normandy air force field division

00000091 00  145 - GE13b -  German blue-green-gray coastal artillerist

00000092 00  146 - GE14 -  German Luftwaffe officer uniform - blue

00000093 00  147 - GE15 -  German uniform - desert doctor

000000EB 00  235 - GE21 -  German female grey officer uniform

000000EC 00  236 - GE21b -  German female blue Luftwaffe uniform

00000094 00  148 - GE27 -  German uniform - SS Algemeine

00000095 00  149 - GE27b -  German uniform - SS Algemeine (shirt only)

00000096 00  150 - GE28 -  German mechanic uniform

00000097 00  151 - GE28b -  German mechanic uniform

00000098 00  152 - GE31 -  German SS uniform in spring parka

00000099 00  153 - GE31b -  German SS uniform in summer parka

00000010 01  272 - GE32 -  German soldier - shirts only



ITALIAN


Code    IC  MC Model    Name


0000009C 00  156 - IT01 -  Italian officer uniform - desert

0000009D 00  157 - IT02 -  Italian desert uniform

0000009E 00  158 - IT03 -  Italian mechanic uniform

0000000D 01  269 - IT04 -  Italian soldier uniform *

0000000C 01  268 - IT05 -  Italian officer uniform *



JAPANESE


Code    IC  MC Model    Name


000000A1 00  161 - JA01 -  Japanese officer uniform - green

000000A2 00  162 - JA02 -  Japanese uniform - green



BRITISH


Code    IC  MC Model    Name


00000076 00  118 - EN01 -  British Battledress with leather vest

00000077 00  119 - EN02 -  British desert suit-set

00000078 00  120 - EN04 -  British set to Burma - green

N/A    N/A  N/A - EN05 -  Civilian clothes - trousers, white coat / British Officer **

00000079 00  121 - EN06 -  British diver set

0000007A 00  122 - EN07 -  British arctic white camouflage suit-set

0000007B 00  123 - EN08 -  British Battledress standard

00000073 00  115 - EN09 -  British green camouflage Battledress

00000074 00  116 - EN11 -  Civilian clothes - trousers, white coat / Officer w. Boots

0000007C 00  124 - EN12 -  British Battledress with summer camouflage coat

0000007D 00  125 - EN13 -  British air force uniform

0000000E 01  270 - EN14 -  Wounded SAS *



AMERICAN


Code    IC  MC Model    Name


000000A7 00  167 - US01 -  American winter uniform

000000A8 00  168 - US02 -  American uniform

00000072 00  114 - US03 -  American paratrooper uniform - desert

000000A9 00  169 - US04 -  American paratrooper uniform - Normandy



RUSSIAN


Code    IC  MC Model    Name


0000009F 00  159 - RU01 -  Russian uniform - green

000000A0 00  160 - RU02 -  Russian officer uniform - green



CIVILIAN


Code    IC  MC Model    Name

000000A3 00  163 - CI01 -  Czech railway man uniform

00000060 00  96 - CI02 -  Civilian clothes / Teacher - Czechslovakia

000000E8 00  232 - CI03 -  Civilian clothes - lumberjack

000000E9 00  233 - CI04 -  Civilian clothes / Sygurd Veesah

000000EA 00  234 - CI05 -  Civilian clothes / Jew

N/A    N/A  N/A - CI06 -  Blue suit **

000000A4 00  164 - CI07 -  Civilian in a thick sweater and leather vest

000000A5 00  165 - CI08 -  Civilian clothes - shirt, trousers, knitted vest

00000014 01  276 - CI09 -  Civillian / French Collaborator *

000000A6 00  166 - CI10 -  Civilian clothes - blood-stained shirt, trousers

00000075 00  117 - CI11 -  Laboratory coat

0000000A 01  266 - CI12 -  Guerilla fighter - white *

0000000B 01  267 - CI13 -  Guerilla fighter - black *

00000011 01  273 - CI14 -  French resistance fighter (Grey Tatered)

00000012 01  274 - CI15 -  Civillian / French Collaborator *

00000013 01  275 - CI16 -  French resistance fighter - knitted vest



* The Uniforms' number is the number, what has to be in the items.dat. The "01" shows that the
uniform is in the Sabre Squadron Maplist. For further information read Zdenda's Mapediting Tutorial
and Zdenda's Mapeditting Tutorial Update.


** The model's uniform is not playable in the game
---------------------------------------------------


    ***| Section 4: Soldier Characteristics |***


    Code    Percentage

64  -  100%
5A  -  90%
50  -  80%
46  -  70%
3C  -  60%
32  -  50%
28  -  40%
1E  -  30%
14  -  20%
0A  -  10%
00  -  0 %

  - Each ability represents how much reliable the enemy at the given action is.
If we say that it?s 100% for example, then he can do this action as the best.


      Order  Type

1)  - Health
2)  - Strength
3)  - Endurance
4)  - Shooting
5)  - Stealth
6)  - First Aid
7)  - Lock Picking
8)  -
9)  -
10) -
11) - Human voice /Language
12) -
13) - Human Type


---------------------
IN-GAME HUMAN TYPES

Code  Human Type

  02  -  Enemy
  03  -  Ally 
  04  -  Usable Ally
  05  -  Unusable soldier (Enemy)


---------------------
IN-GAME SOLDIER TYPES

    Code  Type (In game displayed name)

EE  - Ally
EF  - Enemy
F7  - Corpse

64  - Allied Gunner
65  - Allied Sniper
66  - Allied Heavy-Gunner
67  - Allied Rifleman

C8  - Sygurd Vesaah     
C9  - Enemy Scientist
                                                                             
CA  - Pilot
CB  - Submarine commander
CC  - Enemy Sniper
CD  - Enemy Soldier
CE  - Guard
CF  - Officer

D0  - Signalman
D1  - Mechanic
D2  - Doctor
D3  - Trebissky
D4  - Driver
D5  - Injured man
D6  - ATC
D7  - Civilian
D8  - Instructor
D9  - Gunter Freiberg

DA  - Prisoner
DB  - POW
DC  - Truck Driver
DD  - Stadtfeld
DE  - Agent Salter
DF  - Sawyer

E0  - Enemy Guard
E1  - Hans Schuman
E2  - Soldier
E3  - Shaman of Pain
E4  - Shaman of Illness
E5  - Shaman of Hate
E6  - Hell Gatekeeper

---------------------
SOLDIER LANGUAGE TYPES

    Code  Type (In game heard languages)

00 - NONE

01 - EN
02 - EN
03 - EN
04 - EN
05 - ITA
06 - JAP
07 - RUS
08 - ITA
09 - GER
0A - GER
0B - GER
0C - GER
0D - WOMAN
0E - EN

---------------------------------------------------


    ***| Section 5: Items.dat CODES |***


  Letters    Code

1  -  0200 0000   
2  -  0300 0000
3  -  0400 0000
4  -  0500 0000
5  -  0600 0000
6  -  0700 0000
7  -  0800 0000 
8  -  0900 0000
9  -  0A00 0000
10  -  0B00 0000
11  -  0C00 0000
12  -  0D00 0000
13  -  0E00 0000
14  -  0F00 0000
15  -  1000 0000
16  -  1100 0000
17  -  1200 0000
18  -  1300 0000
19  -  1400 0000
20  -  1500 0000

---------------------------------------------------


    ***| Section 6: MpScripts.dta CODES |***


  Letters    Code

1  -  0800 0000
2  -  0900 0000
3  -  0A00 0000
4  -  0B00 0000
5  -  0C00 0000
6  -  0D00 0000
7  -  0E00 0000
8  -  0F00 0000
9  -  1000 0000
10  -  1100 0000
11  -  1200 0000
12  -  1300 0000
13  -  1400 0000
14  -  1500 0000
15  -  1600 0000
16  -  1700 0000
17  -  1800 0000
18  -  1900 0000
19  -  1A00 0000
20  -  1B00 0000

---------------------------------------------------


    ***| Section 7: SAV FILE |***



28 23 000000A7

96 23 0000000C Roger\0
A0 23 0000000E Jenkins\0
AA 23 00000007 00
F0 23 00000012 x_f_008.bmp\0
DE 26 0000000A 00000002
F3 26 0000000A 00007CDA / 0000BC94
F4 26 0000000A 00000004
F5 26 0000000A 00000004
AD 26 0000002E
0000 0BCC 0000 0BCD FFFF FFFF - ??
4418 8000 440D 4000 44FF 0000 - health 4500 - 2048
41FF 84F8 4C0C 729E 42FF 0000 - streng 42FF - 128
41F8 3413 41E8 EF38 42FF 0000 - endurance
42BD 2356 42BB A32D 42FF 0000
42AF 30C2 42AB 533F 42FF 0000 - Shooting 42C8 - 100
4CB4 0000 4248 0000 42FF 0000
41CB E77F 4260 AC1C 42FF 0000 Steltsth
41F0 0000 4120 0000 42FF 0000 First Aid
4220 0000 41A0 0000 42FF 0000 Lock - Pick
// Medals
FC 26 0000000A 00000005 / 00000001
FC 26 0000000A / 00000000
80 25 0000000E 00000001 00000000

---------------------------------------------------
=CZ=  -  www.czteam-hd.net

User avatar
Grimples
Major
Posts: 300
Joined: Fri Aug 05, 2005 11:55 am
Location: Geordieland

Re: Adding Objectives

Unread post by Grimples » Tue Feb 09, 2010 10:11 pm

Many thanks Zdenda, lot of info there, maybe too much for my brain to handle. I dont want to edit any of the GS Ultimate Coop Map Pack missions/scene2 files, i just want to muck-about with some of your (extreme) scripts so i can play the game without getting my head popped open from 100 mile away. Even though i find some extreme i do thankyou for them & i am having a lot of fun playing them.

I want to know what these mean & other script commands:
HUMAN_SetOptimized(1);
HUMAN_SetSniper(1, 5); i can imagine what the 1 does, but what does the 5 mean, level?

User avatar
Jason
Administrator
Posts: 1895
Joined: Thu Sep 02, 2004 7:26 pm
Location: Perth, Australia
Contact:

Re: Adding Objectives

Unread post by Jason » Wed Feb 10, 2010 11:46 am

Very helpful and juicy information, it's a keeper! made it sticky
A new day, a new beginning

Fixing H&D2 Multiplayer tutorial

Post Reply

Who is online

Users browsing this forum: No registered users and 63 guests