Add repair boxes in game world war ii hero archive Modification

Source: Internet
Author: User

The hero of World War II is a game I like very much. Although it was a bit old in years, I always took it out for a long time.

There is no repair box in the reward task "tank attack". It is a pity to watch the damaged tanks. some people say that they want to use mod, but they haven't found the legendary tank repair mod for a long time and finally found a method to modify the archive. share it! Although programmers do not like this, I recommend that you do it.

Http://tieba.baidu.com/f? Kz= 514678731

Baidu Post Bar> World War II hero bar> browse post
MASTER: boy12abb yspds gun rose

Code: Some Supplements to SAVE archive changes (required for beginners)

1st Floor

Yesterday, I accidentally read a post about the gun and Rose.
Http://tieba.baidu.com/f? Kz= 503669033
I feel that I have some insights into writing a few words of my understanding of the Code for beginners to refer.

E: \ Soldiers-Heroes of World War II \ profiles \ players \ save \ 1. katyusha (ussr) \ chepel \ abc \ mission. mi: There is nothing to say about the path of the archive file.

Players is the user login name for your second world war hero.
Save is the directory of the Archive
1. katyusha (ussr) is the name of the battle (katyusha Su-Russia)
Chepel is the name of the map (the first task of chepel in Russia)
Abc is the name of the archive.
Mission. mi: This is the code file that we can modify.

We will use the first level of the Soviet-Russian camp as an example.
Open this file in Notepad. First, let's take a look.
There are many lines of code, but you will find something in common with a little attention.
Braces are all paired {start-code-end}
The Code starts with Human or Entity.
That is to say, no matter whether the soldiers or tanks have a piece of code to describe themselves.

Because the first level allocates players to use vehicles that can control T34 tanks
So we can use it to analyze the weapon vehicle code in the Second World War hero.

First, the premise is to find out where to change
First, locate the location of the T34 tank code.
Find the t-34-76 in Notepad (press Ctrl + F as the shortcut)
In this case, the cursor will jump to the queried position.
{Entity "t-34-76-41" 0x8060... starts with this section
Entity indicates that it is not a person (soldier) It belongs to the vehicle (Operational Control) Class
The general point is that on a map, it is displayed in a Delta shape rather than a dot.
The t-34-76-41 represents the name of the vehicle in the game it's called the T-34 Tank
The code for the specific vehicle weapon is detailed by reading the code of the gun rose.
This section can be modified, you change it to "kv-2", save it, and then in the game
Read the text block again, then the tank becomes a brain shell.
0x8060 this number has not been studied and I don't know what it means
The following is a new braces.
{Position 5355.4-3616.96 0} refers to its Coordinate Position in the map.
The coordinates are not very good. Do not modify them.
The {Turn 171.274} clause is about its angle, that is, the direction of the header.
There is no significance for this sentence. below is the focus.
{Extender "inventory" extended inventory
{Box
{Clear} start point
{Item "ammo mgun" 1940 {cell 0 0} 1940 machine gun bullets
{Item "bullet76 ap" 49 {cell 0 1} 76mm armor piercing bullet 49
{Item "repair_kit" {cell 0 4} Repair toolbox
{Item "can" {cell 3 4} Iron tank
{Item "bullet76 fg" 27 {cell 0 2} 76mm high frequency 27
}
}
The above code item describes the internal items in the tank and the placement location.
The inner space is 5x6 grids. The coordinates start from 0.
Y
X + 01234
0 □□□□□□
1 ■ □{ cell 0 1} shells represent the first coordinate in the first row
2 □□□□□□
3 □■ ■ □□{ cell 1 3} The first coordinate is used to represent the 4-cell tank.
4 □■ ■ □□□
5 □□□□□□

The {cell x y} behind is the coordinates of the item inside the tank.
When modifying the shell, note that the maximum base of the shell is 150 machine gun and the bullet is 15000.
If the number is greater than this value, a group is automatically added to squeeze out the location of the backend objects.
Therefore, it is recommended that the number of each item not be greater than its maximum base.
If you want multiple service kits, you can change them
{Item "repair_kit" 2 {cell 0 4} is changed to two toolboxes.
Machine gun bullets are common here, but they have different artillery calibers.
Therefore, when the shells have different calibers, pay attention to the shells.
Bullet + aperture millimeter ap is a armor-piercing projectile fg is a high accuracy example
{Item "bullet85 ap" 150 {cell 0 1} T-34-85 with 85mm armor piercing
{Item "bullet122 fg" 150 {cell 0 2 }}is-2 uses the 122mm High Level
{Item "bullet152 fg" 100 {cell 0 0} 152mm high temperature used by the kv-2

Continue to look down
{Interaction
{CILS
{& Quot; check_sinking & quot; 1774 0.32
}
}
} The code is true and does not understand what it means. If you delete the code, no error is reported.
{Player 1} 1-represents the unit that players can control 2-enemy 3-Youjun
{MID 20} seems to be a number that does not need to be modified.


Top

0


Reply

Sykay
Four fans
Core Member
6

2nd floor

{Weaponry
{Number 1}
} This is the first one, but it can be changed as follows:
{Weaponry
{State "mgun" State machine gun
{Mounted "mg34"} mg34 machine gun
{Weapon bullet
{Ammo "ammo mgun" 100} There are 100 rounds of bullets in the barrel of the machine gun
}
}
} Changed the default sub-weapon of the tank to the German mg34 machine gun.
You can also change it to "browning" allied m1919 machine gun to squander bullets.

{Chassis
{MovementSpeed 1.66667}
}
This is the unit movement speed. I changed it to 2.0000 and didn't see the vehicle run faster.
It seems that if you want to change to a Super Tank, you still need to modify the internal code of the game background.
{Chassis
{MovementSpeed 1.66667}
{FuelBag
{Remain 150} generally, the vehicle should not be above 200. Otherwise, it will change to 200 when it starts.
}
} You can modify the Fuel Value of a vehicle after adding the FuelBag label to Chassis.
Afrika 42 inside the British Army, the first map of the mine sweeper is unlimited oil
I don't know how the code is written. But generally, map 200 is enough fuel to run.
By the way, the feeling of opening a kv-2 tank is like driving a Hummer and absolutely drinking oil.

If the tank is damaged and saved, many BoneSave labels may appear in the code.
You only need to delete them in pairs. Of course, the tank will not be healthy.

The following is a piece of Katyusha's code. In the map, the computer has no temper at all.
{Entity "bm-13" 0x8041
{Position 3357.81 7512.3 0.734879}
{Turn-113.115}
{Extender "inventory"
{Box
{Clear}
{Item "ammo katusha" 400 {cell 0 0 }}
}
}
{Player 1}
{MID 91}
{Chassis
{MovementSpeed 1.88889}
{FuelBag
{Remain 200}
}
}
}
---------------------------------------------------------
Some key code of the best T-34-85 in practice
{Extender "inventory"
{Box
{Clear}
{Item "bullet85 ap" 150 {cell 0 0 }}
{Item "bullet85 fg" 150 {cell 0 1 }}
{Item "bullet85 ap" 150 {cell 0 2 }}
{Item "bullet85 fg" 150 {cell 0 3 }}
{Item "repair_kit" 2 {cell 0 4 }}
{Item "ammo mgun" 15000 {cell 3 4 }}
{Item "ammo mgun" 15000 {cell 3 5 }}
}
}

{Weaponry
{State "mgun"
{Mounted "browning "}
{Weapon
{Ammo "ammo mgun" 100}
}
}
}
{Chassis
{MovementSpeed 1.66667}
{FuelBag
{Remain 450}
}
}

I found many new vehicles in the online MOD BTRH 1.31.
"Su-122" "bt-7" "pzjager" "ba-6" "t-60" "bt-7a" "T-26" "T-26A" "Pz-2F" "PZ-3L" "PZ-3N" "vickers-B" "m8-scott "" chaffee "" Panzerflak "" SdKfz234 "" valentine "" t-34-76-42 "" t-34-76-41 "" t-34-76-40 "" t-34-76-43 "" T-34-85 "" PZ-3G" "firefly" "PZ-5" "PZ-6" "PZ-6e" "PZ-6b" "kv-1" "kv-2" "kv-85" "kv-8" "is-2" "isu-152" "sdkfz250_3" "Jugdpanther "" Ferdinand "" Matilda "" m10achilles "" m10wolverine "" m36slugger "" m36 "" sdkfz10-5 "" StuG-3b "m4a2" "m4a3" "StuG-40b" "StuG-3f" "Stug-4g" "cromwell" "Comet" air-bag "" mtb_d3 "" m7priest "" Hummel "" panzerjager "" t-26-flamethrower "" mkivcrocodile "" t-34_mineexpl "Pz-4d Sapper tank" "m4a3_mineexpl" "PZ3-Flamethrower" "Matilda-Flamethrower" "su-100" "m3stuart" "t34-flamethrower" "isu-122" "t-34-57" "Kv-1E" "Nashorn" "su-85" "m4a3e2" "t-34-f38 "" STUH42 "" mkivchurchill-95 "" mkivchurchill "" is-1 "minenraumpanzer" "jagdtiger" "Maus" "Hetzer" "sdkfz10-pak" "mk2daimler" "m8grayhound" "m4a2 "" m4a2_LL "" sdkfz-222 "" t73 "" m3 "" crusader_mkII "" mk4crusader "" M45 "" weight "" bison "" T-70 "" M18_hellcat "Marder" "Limit" SturmPzIV "" Tetrarch "" Star "" pz38tC "" Carrier "" Stag_Hound "" su76m "" m5a1 "" kv-2_42 "" pz-3f "" pz-3h "" pz-4f2 "" su-122_42 "PZ-6_42" "PZ-3j" "pz-5-G1" "su-152" "T19" "T48" "t-34-85-ot" "m36b1" "priest_kangaroo" "m43" "PZ-1B" "sdkfz#"" Panzerflak"
"Ba-20m" "sdkfz-223" "sdkfz250_3" "sdkfz251_1" "m3a1" "m3a1-LL" "sdkfz2536922" "SdKfz251_2" m21 "m21-LL" "m16aa" "zis42-61k"
"Flak41" "6-funt" "17-funt" "mortar" "pak38" "pak40" pak36 "" zis-2 "" zis-3 "" 37-atgun "" 45mm-37 "" Bofors "" 25-pounder "" minomet_81 "" minomet_80 "" minomet_120 "" maksim "" Bs-3"
I hope you can find out your own QQ: 19535476 and say a Merry Christmas to everyone in advance, Happy New Year ~


Reply

Sykay
Four fans
Core Member
6

Third floor

After you get a super tank by modifying the code, you must play the game in difficult mode. Otherwise, you will lose the meaning of Computer Abuse. Remember.


Reply

60.htm .*

4th floor

Isu-152 ISU-152 152
Ferdinand elephant 88mm
Kv-85 KV-85 85mm
M8-scott M8 Scott 75mm
Kv-2 KV-2 152
M10achilles M10 fighter car 90mm
Jugdpanther cheetah 88mm
Chaffee M24 xiafei 75mm
Matilda Mathilda 57mm
Cromwell Karen will 75mm
Bt-7a BT-7A 76mm
Mkivchilchill MkIV Churchill 75mm
Vickers-B wexs-b 45mm
----------------------------------
Use WinRAR to enable a more comprehensive vehicle weapon code.
E: \ Soldiers-Heroes of World War II \ resource \ Patch \ 3.pat
The following folders are contained in the entity \-vehicle \ directory of this file:

Tank_light light tank
Tank_medium neutral Tank
Tank_heavy heavy tank
Btr general vehicles
Car small vehicles

The directory name except "x" is the vehicle code.
If you have time, take a closer look.

What should I do if the chariot cannot find the proper shell code?
For example, how do I get the Katyusha rocket with a special model?

Generally, there will be a shell in the barrel of a newly generated vehicle using the code.
You can exit the gun and save it to find the new code.

 


Reply

Field elites
Gun rose
456 fans
Core Member
6

5th floor

Top
I know none of the above.
Continue to abuse my notebook.


Reply

Boy12abb
48 fans
Core Member
6

6th Floor

Second place after gun rose
Thank you.


Reply

Wl194
Two fans

7 th floor

What should I add if I want to fill the changed tank with people?


Reply

Beautiful Soul
10 fans

8 th floor

I turn BA-M su armor into Katyusha, people into the vehicle after the car can not move nor fire, I do not know why ??


Reply

Wl194
Two fans

9th floor

Yes, I have also found that people can't even get in ....


Reply

Ligom
13 fans

10th floor

The Code cannot be changed!


Reply

Daitunongfu
44 fans

11 th floor

Old Post, good post! Entry notes !!!


Reply

Ligom
13 fans

12th floor

I learned this post from SKYAY last night, and then consulted the bubble in the QQ group (master). After modifying the game, I found that the post of the landlord seemed a bit incorrect.
For example:
{CILS
{& Quot; check_sinking & quot; 1774 0.32
}
}
} The code is true and does not understand what it means. If you delete the code, no error is reported.
{Player 1} 1-represents the unit that players can control 2-enemy 3-Youjun
{MID 20} seems to be a number that does not need to be modified.
========================================================== ====================================
After many tests, "check_sinking" 1774 section 0.32 seems to be the code for soldiers to enter the tank. It is very useful and cannot be deleted. Otherwise, soldiers cannot enter the tank.

In addition, if a tank is added out of thin air, it will not succeed. The problem should be as follows:
Entity "t-34-76-41" 0x8060... starts with this section
......
0x8060 this number has not been studied and I don't know what it means
========================================================== ====================================
Whether it is HUMAN or Entity in the archive, there will be Code such as 0x8060, and at the end of the MISSION file, there will be corresponding code, so to add a tank out of thin air, there should be an item on the ground beforehand, that is to say, you can put a gun on the ground first, and then archive it and exit the modification. It may be because of my level, one night is not a success.


Reply

Ligom
13 fans

13th floor

The above is just some of my views under my personal reflection and guidance from the QQ group bubble, which does not necessarily mean correct.


Reply

121.234.10 .*

14th floor

Reply: 12th floor
"{MID 20}" and "0x8060" are the unique ID codes of each unit. If you want to copy many units, you have to change them to different new codes, otherwise, a conflict occurs.
For example, if you copy a group of soldiers, you need to copy and paste the Human section, and change all the IDs of each person to a new one. Then read the game and you will be able to experience human and sea tactics. Haha


Reply

Sykay
Four fans
Core Member
6

15th floor

I haven't been so busy for a long time. I haven't played the game for half a year. Now I am very lucky. It's outdated since I went to work...


Reply

120.33.164 .*

16th floor

I think adding tanks and people in the game out of thin air won't affect how the game is going to do it.


Reply

Snopie
One Fan

17 th Floor

As long as 0x ~~~ Unlike MID, add it as needed. In addition, the soldier's Code seems to have another name ID.


Reply

Red and blue soul
Frjple
9 followers
Formal Member
4

18th Floor

How can I make an error every time I modify it?



 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.