I figured out how to skin the animated objects dynamically. This allows me to have several camo textures and destruction textures for the vehicle.
#M60A1 Dynamic Texture Success
1 messages · Page 1 of 1 (latest)
this is incredible dude im so excited to get this thing going ingame
ur goin number one on steam workshop i bet
I working on blood texture, and gonna do some damage and a rust mask
theres a file I notice in other peoples work but idk what it does
the mask files, Idk what they are for
also having substance painter and photoshop really helps lol
i bet
maybe shadows or lighting? not entirely sure
I am having difficulty getting the blood texture to show in game
so I think it has something to do with it
Idk how to explain it in nerd terms but mask file is used to dictate stuff like blood & damage overlay in game
Like if you hit X part damage shows up on said part of texture
Oh and also to dictate type of lightning when you turn it on
I'm getting really weird results with it
Is it flashlighing for cop lights or continual for headlights etc
I used a mask that is just that red color for the whole .png just to see if I can get the blood texture to show up
but no blood, unless I also fill in the enire blood texture red as well in which case the whole vehicle turns red lol
I see
I think alongside the uhh mask vehicle.txt file might also play a role? Like that there are lines regarding how mask is suppose to behave
But don't quote me on that i only modified parts of those and don't looked further down it
Have you made blood texture transparent?
ok for moment i thought you overlayed blood onto actual texture lol
just to see if I can get it to show up but no dice
nope, other than the mask file I've just copied what I've seen in other mods, does the blood need to be a very specific color to show up or something?
no
tell me how does vehicle.txt look like?
on this they say to use null for the damage shells as well
module Base
{
model Vehicles_M60A1Tank
{
mesh = vehicles/M60A1Body,
shader = vehicle_norandom_multiuv,
invertX = FALSE,
scale = 1.0,
}
vehicle M60A1Tank
{
mechanicType = 2,
engineRepairLevel = 5,
playerDamageProtection = 0.01,
engineRPMType = M60A1,
offRoadEfficiency = 2,
model
{
file = Vehicles_M60A1Tank,
scale = 1.48,
offset = 0.0000 0.0 0.0000,
}
spawnOffsetY = 0.22553767,
skin
{
texture = M60A1Green,
}
skin
{
texture = M60A1Camo1,
}
skin
{
texture = M60A1Camo2,
}
skin
{
texture = M60A1Camo3,
}
skin
{
texture = M60A1Camo4,
}
skin
{
texture = M60A1Rust,
}
textureRust = M60A1Rust,
textureMask = M60A1Mask,
textureLights = M60A1Blood,
textureDamage1Shell = M60A1Blood,
textureDamage2Shell = M60A1Blood,
textureDamage1Overlay = M60A1Blood,
textureDamage2Overlay = M60A1Blood,
oh also shaders I was curious about
I was literally just using it for like every texture just to see if it'd pop up lol
okay so
this is just pure guess
but it might be that this way is outdated and not quiet working
idk i'm looking at one from fili's mod
and it doesn't look quiet same
what do they have
like this part all together isn't there
model Vehicles_M60A1Tank
{
mesh = vehicles/M60A1Body,
shader = vehicle_norandom_multiuv,
invertX = FALSE,
scale = 1.0,
}
sure
lemme copy
nah I need that for the vehicles main body his mod he might of specified that as a template because he had different version
module Base
{
vehicle 85vicRosewood
{
mechanicType = 1,
engineRepairLevel = 2,
playerDamageProtection = 1.2,
model
{
file = Vehicles_85CrownVicPD,
scale = 1.8500,
offset = 0.0000 0.2865 0.0000,
}
skin
{
texture = Vehicles/vehicle_85crownvicRosewoodshell1,
}
skin
{
texture = Vehicles/vehicle_85crownvicRosewoodshell2,
}
skin
{
texture = Vehicles/vehicle_85crownvicRosewoodshell3,
}
textureMask = Vehicles/vehicle_85crownvic_maskRPD,
textureLights = Vehicles/vehicle_85crownvic_MX700lights,
textureDamage1Overlay = Vehicles/fr_Veh_Blood_Mask,
textureDamage2Overlay = Vehicles/fr_Veh_Blood_Hvy,
textureDamage1Shell = Vehicles/fr_Veh_Damage1,
textureDamage2Shell = Vehicles/fr_Veh_Damage2,
textureRust = Vehicles/fr_Veh_Rust,
of the body
there's more but didn't copy entire thing*
aight
whatever case may be, i wish you good luck with your mod. Perhaps someone more skilled than me can help you better
Its worth a shot, I'm thinking its not because that portion is in the other mods I've seen. In the mod you looked at he might have the body in a template file
yeah it turned into a van lol
I definetly need that portion
yeah in his mod he probably has another .txt with the vehicle 85vicRosewood defined with a mesh
yeah doing this
no clue
honestly I'm just gonna put a pin in it for now and come back to it later. I think I am gonna work on the burnt script and adding the bags instead for now
Yeah I'll give an ask
reminds me of this thing, the only usable tank in fallout
(i know its not the same tank)
There's actually already a mod with the Sherman tank
It's turret doesn't spin but the model looks decent
It has cool muzzle effect
yeah, but the dirty looking texture of the first image gives me fallout vibes
this mod goes good with the m113 mod
are those tanks really that big???
yeah its actually pretty porportionate
damn thats crazy, they look smaller on tv
the US tanks are allot bigger than Russian tanks though, so if you see a Russian tank on TV it probably is way smaller
ohhh this thing is so awesome
Based
completely unbothered by the zomboids 
Those are still placeholder sounds from King Tiger right?
no those are all actually new
I took the sounds from an M2 shooting, and some cannon. I also added a turret rotate sound
im guessing that encumbrance comes from holding the shells huh?
yeah I loaded up like 40 lol
they are deducted from the players inventory as they are used up
will there maybe be a menu on customizing the tank stats in the mod menu? i think that might make servers less hesistant to use it in fears of it being op
though it does seem to be a gas guzzler i saw the bar go down in one of those clips
considering that some servers keep power going the whole time gas might be eliminated as a debuff
I'm still working on the gas rate, it also uses allot of ammo I burned through 1000 rounds in that like 4 min vid
Yeah well it's actually funny how I had to code it. In order to get the proper rate I used a random variable so there's like a one out of 10 ticks to take a round out. It equates to about 7 to 800 rounds per minute
So if you were to just hold the key down you would burn up 7 to 800 rounds in 1 minute of shooting

gotta be quite conservative with it i see
i have only probably enough for 2 minutes of just firing from most of the lv gun stores and pawn shops
Cool as fuck
for real bruh this mod is looking more and more awesome by the day
and I'll make the shell very rare in the disperment script
itll make military location looting runs all the more entertaining
are things like vfe compatible with the ammo it takes?
I think I need to work on the mg sound a lil more
I was gonna do 308 to keep it closer to vanilla but really should take 50 bmg
yh that ik but like, i know some gun mods change around stuff so im wondering if .308 from vanilla firearms expansion will work with it
yeah like ik brita doesnt change the name of 556 and 308
so if I use 308 it should be compatible with most gun mods
without me having to introduce yet another ammo type
so, what exactly is this?
whats that from
us, from you, yanking out our models
oh I hadn't seen that on your mod page
were you planning on you uploading this to the public workshop?
Yeah I was thinking about it. If the quality is worth it
Before you showed me you dont want your models used
yeah thats a no from us, we have had model theft before and wont go through it again
its less hate on you and more so we want less of a headache
those models are also being redone
Are you planning on animating the t60?
nope, it was planned from the ground up to be like that and will be probably moved over into tiles instead
Hm okay thats fine I'll just keep it for myself then
yeah if you wanted to throw this between yourself and some friends thats absolutely fine with us
i am not here to kick you in the balls, we have just have had some serious headaches from this kind of stuff before
well yeah I know I can make it for myself I dont need permission for that lol
yeah no go ahead for that lol
Its just a shame for anyone else whod want to use it
Its works great as a playable asset idk why you wouldnt use it as one
indeed but oh well
because we have an actual mounted gun system for vehicles on our to do and we have tried to get tanks working in PZ but its not worth it
sure, but we'd rather throw a gallon of polish on it for smaller vehicles
this one
yep i saw that, we have a detracking system internally being tossed around
not too interested for anything thatll break the game too much
Have you tried using a bone for the turret?
we havent bothered for the m113
might toss off the GPK as an option and put something on it eventually but we will bide our time until guns are reworked
you could just split the turret portion into another model and then set it up to just rotate the model
the m1a1 tank does that
yeah, we looked at the m1a1 and the sheridan when it existed
we are less interested in how it works and more so considering how to do it on the fly like a point and click eventually
I think I saw an m1a2 that did something like that
Yeah and sorry, I'm more used to other modding communities that arent so uptight with their work
usually its just a credit the author type of a thing
you guys could work together on that i think itd benefit both parties !
i do for one like the animations a lot
they are pretty nice
i am not angry, this community is just particularly toxic and we had an incident where someone grabbed our stuff and told us to fuck ourselves
we used to want to help others but that time is past
if we tell people that one can use it, then everyone has cause to do the same and spit in our faces
Yeah seems allot more toxic than other communities
I make fallout 4, GTA V, and just cause 3 and 4 mods too
neat
damn rlly? i thought this community was pretty tame as far as games go im sorry to hear that
tbf i am not apart of the modding scene
no, dont believe what the developers or anyone else will say
this game is particularly toxic after B41 multiplayer released
used to be pretty nice though
i suppose that makes sense, ive seen crazy rage over pvp servers lmao
yeah man i wish we could do it again but we just cant go through that rollercoaster again
thas really a shame i thought things were a lot better as a casual player
i guess not
I mean I wasnt going to take credit for your work your MEA is actually a requirement
because I use the soundcontroller function
tell you what, ill leave @normal imp up to veto if he wants
so it would add functional tanks alongside the broken down ones
yeah I'd link your page and you can QC it before it goes out if you want
yeah wait for him to get back here in a few hours
Well its 2am my time so I'm gonna have to go to bed so can be up for work. But I'll message you tomorrow about it.
👋
alright, goodnight talk to you tomorrow
I'm against it. Im afraid you have to find another model.
Just to make sure nothing will make my mind change, stuff I make only me or Shark can edit, expand or make new mods out of them. No exceptions. You took my model out of my mod. I don't care if its from a modpacked mess or not doesnt change reality.
That's fine I'll just keep making it and using it for myself
You should consider making a useable version yourself though, it does go with the m113 quite well
I will keep making the mod and just swap the model out later. No big deal. It's a shame the modding community for this game is so hostile and toxic towards each other. Maybe more mods would be made if this were not the case. The entire idea of making mods is to make someone else's work more enjoyable. It's ironic that you yourself are modifying a game but don't want others to modify your work. I'm not wanting to change or take credit for anything. I simply really enjoy the m113 mod and the tank model used in your MEA mod, but just wanted the player to be able to drive it not just look at it. I would like to learn more about rigging the models and such as well for project zomboid as I am very interested in making high quality vehicle modifications and your mod is the only one I have seen with animated tracks, but somehow I don't think you would want to help others learn how to do that either. Best of luck to you
Artists may reserve the rights to their work, that is copyright law. It has nothing to do with modifying the game.
There is was nothing wrong about what was said, one could argue that cherry picking assets and eluding ownership of said content is toxic.
I never intended to "elude ownership" his mod was a requirement to mine. I never said he didn't have the right to refuse, I just said in doing so he is being hypocritical
His mod uses the game files and scripts he didn't write

The very idea of modding a game is to improve on game developers work
It's not the same as ripping assets and claiming it's my own. That's not what I want to do.
Like if I take a car out of the original game and change the texture would that be "toxic" because I remade or added features to an existing asset?
Project Zomboid Modding Policy
Section 3 Ownership Excerpt
“Even if a mod is free or not, the creators of any original work included within it (sounds, materials, models, source code) own the copyright for their work. This is true if you are a high-school kid, a corporation, or just some other modder who puts stuff together for fun. Every author gains these rights by default when they create their work.”
“The authors alone can decide how and who may use their work and have the law behind them should they decide to take issue of anything used without permission. If you see something in another mod that would be of use to you in your own mod or map, your first step should be to contact the mod team and then specifically ask the creator of the item you’re after. They and they alone can give you permission to use their work.”
I didn't say he didn't have the right, I am saying refusing permission is anti-modder
Which he himself is
Not saying he can't do it, just saying that taking that stance is weird.
Im still making the mod, will just swap the model out later.
As in before I publish to clarify if that wasn't clear
And when I do publish, I will give free permission to anyone who downloads my mod to use whatever script, asset or texture in order to make their own mod.
Because I encourage people to be creative and improve upon things that they feel could be better
hmm red
yeah I wonder if its because I have the skins assigned in the template files too
but since I gotta find a new asset I'm gonna shelf that for now because I gotta find an asset and then create new textures for it
In the meantime, I am rewriting the code to work more like the M1A1 Turret. So currently the mode uses the Tiger style where I literally saved 72 turret models and applied a 5 degrees rotation to each turret on export lol
So instead I am going through and using a singular model and applying a rotation to each part. This will allow me to not only save some space and prevent the game from having to load litterally 72 different models to turn the turret, but also to increase the number to 360 so I have 1 degree rotations to make the movement more natural
I probaby dont need to have skins assigned in the templates, I wonder if I just leave the textures undefined in the turret and track template if it will just use the skin from the main vehicle script
I'd love to share my code. If you want to use it, just take it.
我的爱发电:https://afdian.net/a/goldcatball
布偶旧猫的爱发电:https://afdian.net/@lsb543837851
I cant read this guys user name but the tiger mod creator is based and accourding to code comments he also hates the antichrist lol
