Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Add code to .def
{perks
{component "body"
{category "tank_heavy"}
}
{component "engine"
{category "engine_heavy"}
}
{component "turret"
{category "turret_heavy"}
}
{component "gun"
{category "gun_heavy"}
}
{component "trackleft"
{category "track_heavy"}
}
{component "trackright"
{category "track_heavy"}
}
{component tag "wheel"
{category "wheel_heavy"}
}
{component tag "glass"
{category "glass_heavy"}
}
}
These are different components.
And their number of lives is stored in the file.
gamelogic.pak \ set \ component.set
To make the damage indicator in the left corner show up, you have to go to resource\set\registry and add: {"M1A1M"
{vehicle_view "tank"}
}
to unit.reg
Ahh, I did that well after, figuring maybe I had to also change the .mdl. Ill go mess with this registry now and see where it goes.
What makes the damage model work though? Even before I messed with .mdl it didnt work right.
vehicles/usa/x
vehicles/usa/m1a1
yes.
I even went through and copied and renamed all the files for the textures as well, from m1a1m to m1a1.....
Yes, I can 'damage' it, it just doesnt show the damage on the model. Like the tracks get blown off and they just look normal....
I renamed the tank to M1A1, I didnt just copy paste its folder. I renamed the .def to M1A1, I put it's new define in the desc.pot, I copied and renamed the texture files, I copied and renamed the x and xx files...
Try making a Untitled-1.png that is only red and replace {diffuse "$/vehicle3/m1a1m_uaf_x#winter"} with {diffuse "Untitled-1"} in m1a1_x/base.mtl
Make sure that the .png is in the m1a1_x folder.
You should get something like this, if x models are working:
https://steamuserimages-a.akamaihd.net/ugc/1625195069393590136/68492EFD9CB93F801CDC1FAA38C5A13255967575/
I didnt edit the .mtls. I am doing that now. But what is an M1A1M_sp? I see the bp files but not the SP...
Just change that one .mtl file I said, and try and damage the hull without detonating the tank.
You don't need to change any of the .mtl if you are happy with the default UAF skin, this is like I said, to see if x models are working at all, as they are really similar to the regular skin.
Sure doesnt seem like its working. I killed it without detonating it and it is just a normal tank with a little smoke out the top.
This is what it does when I kill them and detonate them.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2249492089
The Green gun is because I was messing in the .mtl. Apparently m1's default gun color is green....derp.
http://www.mediafire. com/file/fpu4ynop60gnycw/USm1a1.rar/file
Huh, ok, sooooo, I did what you said you did. Simply copied and renamed files, and it seems to be working.
I guess I just did to much.
Lol, in playing with the M1A1 version, I noticed a weird oddity.
On the M1A1M the commanders .50 is fired like a CROWS, where the crew isnt exposed. Sooo, I took the M1A2's crew position file, namely this part:
("crew_4_invisible_opengun")
("seat_4_visible_armor")
{placer
{place "driver" {visor "driver"}}
{place "gunner" {visor "main"}}
{place "commander" {visor "mgun"}{sealable}}
}
which has basically the same crew positions, and copied that into my M1A1.def.
Knowing the M1A1M has the same issue, I did the same to it.
Now, the M1A1 hatches work properly, the hatch opens and closes as people mount and dismount the gun. On the M1A1M, the gun gets manned, but the hatch doesnt open. How does it work that literally the exact same tank, just with a different name and in a different nation's folder have the hatch work on one but not the other, with the exact same setting?