View unanswered posts | View active topics It is currently Wed Aug 15, 2018 10:55 am



Reply to topic  [ 7 posts ] 
 Changeing Clothes in Story Mode 
Author Message
Rank 6
Rank 6
User avatar

Joined: Mon Dec 29, 2014 8:36 pm
Posts: 25
Location: Dungeon
Does anyone know how it would be possible to change the clothes of Saiko and Monica in the Tentacle Story like you can do in the Dungeon?
I tried setting the clothes in the script files but either I was doing something wrong or in the wrong files - because it didn't work at all.

All I was able to do is change the texture for Saiko's dress but by changeing the texture file.

Anyone got any ideas?


Attachments:
File comment: Saiko Dress Color Change + "Can Touch This"
saiko2.jpg
saiko2.jpg [ 194.23 KiB | Viewed 11375 times ]
Thu Jan 01, 2015 5:48 pm
Profile
Rank 11
Rank 11
User avatar

Joined: Thu Jan 01, 2015 2:29 pm
Posts: 71
Maybe that's contained in the "pack_tentacle_dreams\state\saiko" directory which would explain that you can't directly mod it


Fri Jan 02, 2015 3:21 pm
Profile
Rank 16
Rank 16
User avatar

Joined: Sat Jan 03, 2015 1:05 am
Posts: 322
Location: france
okay after hours of try and fail, and fail and try.
I did something not really wonderful but at least, it works !


at : pack\pack_tentacle_dreams\init\stories\tentacle_dreams\chars\saiko\brain\code\ref\run0_ref.dat
insert at bottom
Code:
cloth.wear.you.set =
{

   talk.s = "Ok, time to change !";
   talk.dur          = 1000;
   
//PICK HERE COLORS FROM \pack\pack_tentacle_dreams\init\std\base\char\brain\code\ref\setting_ref.dat
//This is for ["Transparent"]
    loc.color.r = 255;
    loc.color.g = 255;
    loc.color.b = 255;
    loc.color.a = 64;
    loc.sc.spec_shiny = 0.0;
    loc.sc.spec_power = 0.0;
    loc.sc.tex        = "#";
//end color

    loc.sc.item = 0;   //item 0 = dress
    loc.sc.color      = loc.color;
    
    SetClothColor(loc.sc);  //apply texture in game
    
//some fun with custom colors (transparent black top)
    loc.color.r = 0;
    loc.color.g = 0;
    loc.color.b = 0;
    loc.color.a = 64;

    loc.sc.item = 1 ; // item = 1 for bra /top
    loc.sc.color      = loc.color;
    loc.sc.spec_shiny = 0.0;
    loc.sc.spec_power = 0.0;
    loc.sc.tex        = "";
   
    SetClothColor(loc.sc);
    
// transparent black panties
// no need to rewrites all variables, same colors /alpha as top
    loc.sc.item = 2 ; // item = 2 for panties
    SetClothColor(loc.sc);

}


Do exactly the same at :
\pack\pack_tentacle_dreams\init\stories\tentacle_dreams\chars\saiko\brain\code\ref\run2_ref.dat

######################

say "wear cloth" and that's all.
I used already coded words so no need to modify other files with special commands..
It don't work when she's on the toilets, and you have to say "wear cloth" each time you go back to her room (works when she's asleep too)
you can use custom textures by specifying them ( loc.sc.tex = "scenes\textures\cloth\my_custom_texture.dds"; )



Note for other modders, I tried to simulate un event, like with the GUI in the dungeon... but without succed
Code:
   
    loc.be.obj     = SAIKO;
    loc.be.id      = "me";
    loc.be.action    = "set_cloth_color";
    loc.be.par       = 0; //obj2
    loc.be.par2      = "Transparent"; //val
    SendBaseEvent(loc.be);

if you have an idea....

edit : add preview


Attachments:
screenshot3.jpg
screenshot3.jpg [ 62.04 KiB | Viewed 10998 times ]
Sat Jan 03, 2015 1:27 am
Profile
Rank 11
Rank 11
User avatar

Joined: Thu Jan 01, 2015 2:29 pm
Posts: 71
Thanks I'll look into that too


Sat Jan 03, 2015 10:11 am
Profile
Rank 10
Rank 10

Joined: Wed Oct 01, 2014 6:10 am
Posts: 60
Very nice work, I hope you succed in simulate evente: I'll wait for.
only one thing: when she goes in the bathroom she change dress again.
bye


Sat Jan 03, 2015 1:10 pm
Profile
Rank 18
Rank 18

Joined: Sun Jun 22, 2014 3:46 pm
Posts: 1095
@ laissemoirire nice :D


Sat Jan 03, 2015 3:27 pm
Profile
Rank 16
Rank 16
User avatar

Joined: Sat Jan 03, 2015 1:05 am
Posts: 322
Location: france
thanks =)


Sat Jan 03, 2015 7:03 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group.
Designed by X-Moon Productions.