[DiscordArchive] Good afternoon, I have this one working (cape_special_revendreth_d_02.m2), its just not showing any
[DiscordArchive] Good afternoon, I have this one working (cape_special_revendreth_d_02.m2), its just not showing any
Archived author: A2 • Posted: 2022-05-02T00:29:13.700000+00:00
Original source
im usualy using this to set new textures when im too lazy to write it on my own
Archived author: A2 • Posted: 2022-05-02T00:29:27.390000+00:00
Original source
```c
char NewTextureName[265];char NewTextureFolder[265];
char NewTextureTotal[265];int TextureLen;int NewTextureOffset;
NewTextureName = "collections_mail_maldraxxus_d_01_renown";
NewTextureFolder = "Item\\Objectcomponents\\collections\\";
NewTextureTotal = NewTextureFolder + NewTextureName + ".blp";
TextureLen = Strlen(NewTextureTotal);
RunTemplate("M2AlastorOne.bt");
NewTextureOffset = FileSize();
WriteString(FileSize(), NewTextureTotal);
InsertBytes(FileSize(), 0x10);
M2_file.Textures._Texture[0].FileName_length = TextureLen;
M2_file.Textures._Texture[0].FileName_offset = NewTextureOffset;
M2_file.Textures._Texture[0].type = 0;
M2_file._Materials[0].blendingmode = 0;
FileSave();
FileClose();
```
Archived author: A2 • Posted: 2022-05-02T00:30:14.801000+00:00
Original source
just make sure you target corect txt/mat id
Archived author: Sanctuary • Posted: 2022-05-02T00:34:52.477000+00:00
Original source
oh wow cool, ok so i just change the
"collections_mail_maldraxxus_d_01_renown"; to
"knife_1h_revendrethquest_b_03_3512759";
and "Item\\Objectcomponents\\collections\\"; to
"item\objectcomponents\weapon"
Archived author: Sanctuary • Posted: 2022-05-02T00:46:06.881000+00:00
Original source
```
char NewTextureName[265];char NewTextureFolder[265];
char NewTextureTotal[265];int TextureLen;int NewTextureOffset;
NewTextureName = "knife_1h_revendrethquest_b_03_3512759";
NewTextureFolder = "Item\\Objectcomponents\\weapon\\";
NewTextureTotal = NewTextureFolder + NewTextureName + ".blp";
TextureLen = Strlen(NewTextureTotal);
RunTemplate("M2AlastorOne.bt");
NewTextureOffset = FileSize();
WriteString(FileSize(), NewTextureTotal);
InsertBytes(FileSize(), 0x10);
M2_file.Textures._Texture[0].FileName_length = TextureLen;
M2_file.Textures._Texture[0].FileName_offset = NewTextureOffset;
M2_file.Textures._Texture[0].type = 0;
M2_file._Materials[0].blendingmode = 0;
FileSave();
FileClose();
```
Would this work?
Archived author: A2 • Posted: 2022-05-02T00:46:28.725000+00:00
Original source
should
Archived author: Sanctuary • Posted: 2022-05-02T00:47:59.278000+00:00
Original source
this is the first time i'm doing this, or even using a script in 010, did it work? O.o
![[Image: unknown.png?ex=690c9950&is=690b47d0&hm=6...e61e90cd3&]](https://cdn.discordapp.com/attachments/415944535718494208/970487119325823046/unknown.png?ex=690c9950&is=690b47d0&hm=66519626b3308366e2e12ae1614fd9ff8426f48dc38a20e37f8320fe61e90cd3&)
Archived author: Sanctuary • Posted: 2022-05-02T00:49:20.193000+00:00
Original source
![[Image: unknown.png?ex=690c9950&is=690b47d0&hm=6...e61e90cd3&]](https://cdn.discordapp.com/attachments/415944535718494208/970487119325823046/unknown.png?ex=690c9950&is=690b47d0&hm=66519626b3308366e2e12ae1614fd9ff8426f48dc38a20e37f8320fe61e90cd3&)
Archived author: A2 • Posted: 2022-05-02T00:54:22.386000+00:00
Original source
You have outdated template
Archived author: A2 • Posted: 2022-05-02T00:59:01.140000+00:00
Original source
get my new template from mc.net