UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Could Not Find material BUG

broken avatar :(
Created 10 years ago
by Marsvinking
0 Members and 1 Guest are viewing this topic.
2,416 views
broken avatar :(
×
broken avatar :(
Location: no
Date Registered: 1 January 2014
Last active: 3 years ago
Posts
135
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
Signature
Map: No Way Out
Weapon Porter
Custom Music
Mapper
https://i.gyazo.com/4dea470ff0a559d7c79a0a350788da30.png
×
Marsvinking's Groups
Marsvinking's Contact & Social Linksmarsvinkingmarsvinkingmarsvinking
Ive done alot of mtls and stuff for custom textures,models,guns and all that but certainly something weird happend

I got a texture and using it as a shader and it dosent say could not load mtl in the console in launcher but in the mod it says Could not load the mtl (name)

I added the image to the mods/mapname/images offcourse.
added the material to mods/mapname/material.
I included this in the fastfile material,name
I added it to zone_source aswell in the file mapname.csv and added it in there
also added it into the dlc3 in zone_source
and i reconverted it

But still the same result.
If any have runned into this before please tell me how you solved it
This topic contains a post which is marked as the Best Answer. Click here to view it.
broken avatar :(
×
broken avatar :(
Location: nlApeldoorn
Date Registered: 17 December 2013
Last active: 1 year ago
Posts
1,186
Respect
1,371Add +1
Forum Rank
Zombie Colossus
Primary Group
Community Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
It aint much, if it aint Dutch
Signature
×
BluntStuffy's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
Oil Rig Beta Access
Oil Rig Beta Access
BluntStuffy's Contact & Social LinksBluntStuffyBluntstuffy@BluntZombieStuffyZombie
If you use it as a shader you have to precache it somewhere in a script. Did you do that?
You can add it to an existing precache function somewhere, for example in zombiemode_perks right at the top of the file.

Then only adding: material,Material_Name  to one .csv and putting the image in your mod-folder should be enough. Dont need all the other stuff..
Last Edit: July 03, 2015, 05:36:42 am by BluntStuffy
broken avatar :(
×
broken avatar :(
Location: no
Date Registered: 1 January 2014
Last active: 3 years ago
Posts
135
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
×
Marsvinking's Groups
Marsvinking's Contact & Social Linksmarsvinkingmarsvinkingmarsvinking
If you use it as a shader you have to precache it somewhere in a script. Did you do that?
You can add it to an existing precache function somewhere, for example in zombiemode_perks right at the top of the file.

Then only adding: material,Material_Name  to one .csv and putting the image in your mod-folder should be enough. Dont need all the other stuff..

I did try that aswell and got no difference sadly
broken avatar :(
×
broken avatar :(
Location: fi
Date Registered: 25 June 2013
Last active: 1 year ago
Posts
3,997
Respect
Forum Rank
Eviscerator
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
×
HitmanVere's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Did you do material or materials in .csv?
Marked as best answer by Marsvinking 10 years ago
broken avatar :(
×
broken avatar :(
Location: no
Date Registered: 1 January 2014
Last active: 3 years ago
Posts
135
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
×
Marsvinking's Groups
Marsvinking's Contact & Social Linksmarsvinkingmarsvinkingmarsvinking
Did you do material or materials in .csv?
    material

Double Post Merge: July 03, 2015, 11:40:35 pm
SOLVED I just had to move it to a line more down and it worked idk if it matters but it made a change
Last Edit: July 03, 2015, 11:40:35 pm by Marsvinking
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 10 October 2013
Last active: 1 year ago
Posts
541
Respect
Forum Rank
Zombie Enslaver
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
×
ProGamerzFTW's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
    material

Double Post Merge: July 03, 2015, 11:40:35 pm
SOLVED I just had to move it to a line more down and it worked idk if it matters but it made a change

Oh, there is a bug if you have a commented line above without a space, it will skip the next line.

Example:

WRONG
Code Snippet
Plaintext
//Text
material,material_name <--- this line will be skipped

RIGHT
Code Snippet
Plaintext
// Text
material,material_name <--- this line will NOT be skipped
Last Edit: July 06, 2015, 07:59:32 am by ProGamerzFTW

 
Loading ...