UGX-Mods

Call of Duty 5: World at War => Help Desk => Modding => Topic started by: nikfar1 on September 08, 2018, 07:49:29 pm

Title: random dirty texture
Post by: nikfar1 on September 08, 2018, 07:49:29 pm
hi everyone
some of the zombies dress texture is dirty and messy but the original texture is not dirty.I need this for my custome zombie..
Does anyone know what to do? Thanks!
Title: Re: random dirty texture
Post by: Joeycx on September 09, 2018, 02:39:12 am
Like the xmodel for the zombies? You want them to look more like nacht and verruckt zombies and not clean like der riese zombies right?

More like this? (The zombie looking forward)
(https://vignette.wikia.nocookie.net/callofduty/images/f/fe/Verr%C3%BCckt_Menu_Selection_WaW.png/revision/latest?cb=20161009103542)

And not this, right?
(https://vignette.wikia.nocookie.net/callofduty/images/7/76/Der_Riese_Zombies_BO.jpg/revision/latest?cb=20110804114704)
Title: Re: random dirty texture
Post by: death_reaper0 on September 09, 2018, 05:31:00 am
Code Snippet
Plaintext
		self random_tan(); 
in _zombiemode_spawner.gsc, this is probbably what you mean, if you wanna remove it add // before it
Title: Re: random dirty texture
Post by: Joeycx on September 09, 2018, 08:13:46 am
Code Snippet
Plaintext
		self random_tan(); 
in _zombiemode_spawner.gsc, this is probbably what you mean, if you wanna remove it add // before it

This is probably the answer. How would you set it if you want every zombie to be tan?
Title: Re: random dirty texture
Post by: gympie6 on September 09, 2018, 11:07:31 am
This is probably the answer. How would you set it if you want every zombie to be tan?

That's quite simple, openup your _zombiemode_spawner, scroll down to this:
zombie_spawn_init( animname_set )

and comment self random_tan();  at line 145

Like what death_reaper0 said this is the script that runs on every zombie on the map including all spawner zombies.
Title: Re: random dirty texture
Post by: nikfar1 on September 09, 2018, 05:17:06 pm
Code Snippet
Plaintext
		self random_tan(); 
in _zombiemode_spawner.gsc, this is probbably what you mean, if you wanna remove it add // before it


thanks for replying death_reaper0.I have quad zombie in my map and add this line that you said but nothing cahnge and all quad spawned without  "random_tan"...
Title: Re: random dirty texture
Post by: Harry Bo21 on September 09, 2018, 07:30:14 pm
because they need to have materials set up to support it

its shaderconstant script controlled
Title: Re: random dirty texture
Post by: nikfar1 on September 11, 2018, 10:35:15 am
because they need to have materials set up to support it

its shaderconstant script controlled
 Ok,thanks harry for relpying ,so its complicated to use it...
Title: Re: random dirty texture
Post by: codmoddd1234 on September 12, 2018, 01:00:41 am
To get tanning to work on custom materials you can set this at the bottom in asset manger.
//
Materialfeaturetype clothcharr
Mask = char_burning_mask.dds (no alpha) 
Color = char_body_burn_swatch.dds (no alpha)
Normal = char_burned_swatch.tga(no alpha) 
//
You can get the images from raw/images or create your own.
The xmodel char_ger_honorgdz1_1 has other charr materials for leather/linen and head.

Title: Re: random dirty texture
Post by: nikfar1 on September 12, 2018, 05:56:45 pm
To get tanning to work on custom materials you can set this at the bottom in asset manger.
//
Materialfeaturetype clothcharr
Mask = char_burning_mask.dds (no alpha)
Color = char_body_burn_swatch.dds (no alpha)
Normal = char_burned_swatch.tga(no alpha)
//
You can get the images from raw/images or create your own.
The xmodel char_ger_honorgdz1_1 has other charr materials for leather/linen and head.
 hi codmodd .thanks so much,you helped me a lot.you gave me exact location that I need it.good job.+1