indraCG Posted August 15, 2010 Share Posted August 15, 2010 hey guys.... i need help to make a script for my mod... a cleo script to controll the hoody pulled up and down ...i have already made the model.. yes..jus like in tip mod..but in tip mod the cleo script only work for 1 hoody and in this case i want its work for all hoody ... the files name : hoodya.dff = hoody up model cappolice.dff = the original hoody(down) so when i press a key(whatever key) the hoodya.dff will switching to cappolice.dff ..so also if otherwise i dont know anything at scripting....so i need your help to do this... Link to comment Share on other sites More sharing options...
yair1221 Posted August 15, 2010 Share Posted August 15, 2010 what is the texture for them? i need the texture name too because they dont appear in sanny builder help Link to comment Share on other sites More sharing options...
indraCG Posted August 15, 2010 Author Share Posted August 15, 2010 all hoody texture hoodyabase5 hoodyablack hoodyablue hoodyagreen hoodyamerc hoodyarockstar Link to comment Share on other sites More sharing options...
yair1221 Posted August 15, 2010 Share Posted August 15, 2010 i could only find the hoody up model the cappolice i couldnt find it try exporting it and importing it as another file backup your files before you do that!! and by the way: the hoodya is a shirt all right but the cappolice is a hat isnt it? Link to comment Share on other sites More sharing options...
indraCG Posted August 15, 2010 Author Share Posted August 15, 2010 i could only find the hoody up modelthe cappolice i couldnt find it try exporting it and importing it as another file backup your files before you do that!! and by the way: the hoodya is a shirt all right but the cappolice is a hat isnt it? sorry i dont understand what you mean by export and import.. and yes hoodya is a shirt and the cappolice is a hat but cappolice is a unused file in player.img Link to comment Share on other sites More sharing options...
yair1221 Posted August 15, 2010 Share Posted August 15, 2010 you mean you added it? just give me the cappolice texture name and i will try my best Link to comment Share on other sites More sharing options...
BnB Posted August 15, 2010 Share Posted August 15, 2010 (edited) {$CLEO}thread 'hoody':1wait 100 msif0500: player $PLAYER_CHAR skin == "...." on_bodypart 0jf @1if 0AB0: 80 //pthen087B: set_player $PLAYER_CHAR clothes_texture "...." model "..." body_part 0 Player.Build($PLAYER_CHAR)endif8AB0:90 //z jf @2jump @1:2 087B: set_player $PLAYER_CHAR clothes_texture "...." model "..." body_part 0 Player.Build($PLAYER_CHAR)jump @1 Edited August 15, 2010 by BnB Link to comment Share on other sites More sharing options...
indraCG Posted August 15, 2010 Author Share Posted August 15, 2010 @BnB : wow..thanks but what i must add in "...." @yair1221 : no..its not added....that file has already exist in player.img and the hoodya and cappolice using the same texture...just like tip mod... Link to comment Share on other sites More sharing options...
BnB Posted August 15, 2010 Share Posted August 15, 2010 You have to add the files name which can be found in sanny builder help Clothes: TORSO. Link to comment Share on other sites More sharing options...
indraCG Posted August 15, 2010 Author Share Posted August 15, 2010 You have to add the files name which can be found in sanny builder help Clothes: TORSO. ok so...what key i can press to switch the hoody....? Link to comment Share on other sites More sharing options...
BnB Posted August 15, 2010 Share Posted August 15, 2010 Code updated. P for hoody up and Z for hoody down. In the first 087B: set_player $PLAYER_CHAR clothes_texture "...." model "..." body_part 0 put the hoody up model and in the second the hoody down. Link to comment Share on other sites More sharing options...
indraCG Posted August 15, 2010 Author Share Posted August 15, 2010 ok...thank..ill try...i hope its work...... Link to comment Share on other sites More sharing options...
indraCG Posted August 15, 2010 Author Share Posted August 15, 2010 soory i am still not understand.....could you finish it.... like i have said i dont know anything at scripting..... the hoody up name is : hoodya and the hoody down : cappolice Link to comment Share on other sites More sharing options...
BnB Posted August 15, 2010 Share Posted August 15, 2010 Give me the files and i will fix it (via pm) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now