#M60A1 Dynamic Texture Success

1 messages · Page 1 of 1 (latest)

sudden blaze
#

I figured out how to skin the animated objects dynamically. This allows me to have several camo textures and destruction textures for the vehicle.

stuck minnow
#

ur goin number one on steam workshop i bet

sudden blaze
#

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

deep ferry
#

i bet

stuck minnow
sudden blaze
#

I am having difficulty getting the blood texture to show in game

#

so I think it has something to do with it

random sand
#

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

sudden blaze
#

I'm getting really weird results with it

random sand
#

Is it flashlighing for cop lights or continual for headlights etc

sudden blaze
#

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

random sand
#

But don't quote me on that i only modified parts of those and don't looked further down it

random sand
sudden blaze
#

yeah its a transparent backed png

#

then just using this as the mask

random sand
#

ok for moment i thought you overlayed blood onto actual texture lol

sudden blaze
#

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?

random sand
#

tell me how does vehicle.txt look like?

sudden blaze
#

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

random sand
#

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

sudden blaze
#

what do they have

random sand
#

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

sudden blaze
#

nah I need that for the vehicles main body his mod he might of specified that as a template because he had different version

random sand
#

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,
sudden blaze
#

of the body

random sand
#

there's more but didn't copy entire thing*

sudden blaze
#

right

#

I'll try without that and see what it does

random sand
sudden blaze
#

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

random sand
#

it was worth a shot

sudden blaze
#

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

stuck minnow
#

someone's gotta have answers

sudden blaze
#

Yeah I'll give an ask

grizzled urchin
#

reminds me of this thing, the only usable tank in fallout

#

(i know its not the same tank)

sudden blaze
#

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

grizzled urchin
#

yeah, but the dirty looking texture of the first image gives me fallout vibes

sudden blaze
#

this mod goes good with the m113 mod

grizzled urchin
#

are those tanks really that big???

sudden blaze
#

yeah its actually pretty porportionate

grizzled urchin
#

damn thats crazy, they look smaller on tv

sudden blaze
#

you think the hatch on top with the mg fits a whole person

sudden blaze
stuck minnow
#

ohhh this thing is so awesome

random sand
#

Based

stuck minnow
#

completely unbothered by the zomboids drunk

random sand
sudden blaze
#

no those are all actually new

#

I took the sounds from an M2 shooting, and some cannon. I also added a turret rotate sound

stuck minnow
#

im guessing that encumbrance comes from holding the shells huh?

sudden blaze
#

yeah I loaded up like 40 lol

#

they are deducted from the players inventory as they are used up

stuck minnow
#

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

sudden blaze
#

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

stuck minnow
#

oh wow holy crap

#

yeah cause you did say it fires 4 rounds at a time

#

makes sense

sudden blaze
#

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

stuck minnow
#

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

random sand
stuck minnow
#

for real bruh this mod is looking more and more awesome by the day

sudden blaze
#

and I'll make the shell very rare in the disperment script

stuck minnow
#

itll make military location looting runs all the more entertaining

#

are things like vfe compatible with the ammo it takes?

sudden blaze
#

I think I need to work on the mg sound a lil more

sudden blaze
stuck minnow
#

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

sudden blaze
#

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

stuck minnow
#

heck yeah

sick gust
#

so, what exactly is this?

sudden blaze
#

whats that from

sick gust
#

us, from you, yanking out our models

sudden blaze
#

oh I hadn't seen that on your mod page

sick gust
#

were you planning on you uploading this to the public workshop?

sudden blaze
#

Yeah I was thinking about it. If the quality is worth it

#

Before you showed me you dont want your models used

sick gust
#

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

sudden blaze
#

Are you planning on animating the t60?

sick gust
#

nope, it was planned from the ground up to be like that and will be probably moved over into tiles instead

sudden blaze
#

Hm okay thats fine I'll just keep it for myself then

sick gust
#

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

sudden blaze
#

well yeah I know I can make it for myself I dont need permission for that lol

sick gust
#

yeah no go ahead for that lol

sudden blaze
#

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

stuck minnow
sick gust
#

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

sudden blaze
#

Its working pretty well for me

#

I have a mounted gun

sick gust
#

sure, but we'd rather throw a gallon of polish on it for smaller vehicles

sudden blaze
sick gust
#

yep i saw that, we have a detracking system internally being tossed around

#

not too interested for anything thatll break the game too much

sudden blaze
#

Have you tried using a bone for the turret?

sick gust
#

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

sudden blaze
#

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

sick gust
#

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

sudden blaze
#

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

stuck minnow
#

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

sick gust
#

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

sudden blaze
#

Yeah seems allot more toxic than other communities

#

I make fallout 4, GTA V, and just cause 3 and 4 mods too

sick gust
#

neat

stuck minnow
#

tbf i am not apart of the modding scene

sick gust
#

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

sudden blaze
#

Yeah usually modder work together

#

Doesnt seem that way with this game

stuck minnow
sudden blaze
#

I made this mod too

sick gust
#

yeah man i wish we could do it again but we just cant go through that rollercoaster again

sudden blaze
#

and this one

stuck minnow
#

i guess not

sudden blaze
#

because I use the soundcontroller function

sick gust
#

tell you what, ill leave @normal imp up to veto if he wants

sudden blaze
#

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

sick gust
#

yeah wait for him to get back here in a few hours

sudden blaze
#

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.

sick gust
#

👋

sudden blaze
#

alright, goodnight talk to you tomorrow

normal imp
#

I'm against it. Im afraid you have to find another model.

normal imp
#

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.

sudden blaze
#

That's fine I'll just keep making it and using it for myself

sudden blaze
sudden blaze
#

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

misty totem
sudden blaze
#

His mod uses the game files and scripts he didn't write

misty totem
sudden blaze
#

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?

misty totem
#

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.”
sudden blaze
#

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

deep ferry
sudden blaze
#

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 cant read this guys user name but the tiger mod creator is based and accourding to code comments he also hates the antichrist lol