Jaskaran498 Posted October 7, 2012 Share Posted October 7, 2012 Hi all I am working on creating my custom cleo script that loads a model named say "ChuckNorris". I dont want to spawn ChuckNorris but transform my player to looks of chuck norris. I read cleo script tutorial but it went all over my head in this case! So, can anyone tell me how to do this on cleo 3? I want that player shuld transform on entering keycode "Energy". Please help. Link to comment Share on other sites More sharing options...
Michael-Knight1 Posted October 7, 2012 Share Posted October 7, 2012 Hi allI am working on creating my custom cleo script that loads a model named say "ChuckNorris". I dont want to spawn ChuckNorris but transform my player to looks of chuck norris. I read cleo script tutorial but it went all over my head in this case! So, can anyone tell me how to do this on cleo 3? I want that player shuld transform on entering keycode "Energy". Please help. Load Special Actor With 023C And Use The Name of your actor from the dff or txd file Like Sweet or cesar . Max = 10 . Then Change Player using 09C7 To The ID Which you used : 1 = #SPECIAL01 2 = #SPECIAL02 3 = #SPECIAL03 To 10 ... Example : {$CLEO}0000:while True0001: wait 0 ms 023C: load_special_actor 'ChuckNorris' as 1 // models 290-299 ( Max 10 )038B: load_requested_models repeat if until 0256: player $PLAYER_CHAR defined if and 0AB0: key_pressed 50 023D: special_actor 3 loaded then 09C7: change_player $PLAYER_CHAR model_to #SPECIAL01 end // ifend // while Link to comment Share on other sites More sharing options...
Jaskaran498 Posted October 7, 2012 Author Share Posted October 7, 2012 Thanks a bunch! Will try and tell results Link to comment Share on other sites More sharing options...
Jaskaran498 Posted October 8, 2012 Author Share Posted October 8, 2012 Yes. It works. The game runs. But how am i supposed to transform player? The key code, as i think to be used for this purpose is 50, that is, 2. But on pressing 2, nothing happens. I have came to looks part in cleo for first time, so please help. Link to comment Share on other sites More sharing options...
Michael-Knight1 Posted October 8, 2012 Share Posted October 8, 2012 Yes. It works. The game runs.But how am i supposed to transform player? The key code, as i think to be used for this purpose is 50, that is, 2. But on pressing 2, nothing happens. I have came to looks part in cleo for first time, so please help. Because you need to add the name of your new character which you wan to change transform with : Like i say you before : 023C: load_special_actor 'SWEET' as 1 // Change sweet with the character which you want Then Switch to the character : 09C7: change_player $PLAYER_CHAR model_to #SPECIAL01 From : [ 1 To 10 ] : #SPECIAL01 / 10 ! Link to comment Share on other sites More sharing options...
Jaskaran498 Posted October 8, 2012 Author Share Posted October 8, 2012 Yes i already knew that and already done that. Link to comment Share on other sites More sharing options...
Michael-Knight1 Posted October 8, 2012 Share Posted October 8, 2012 Yes i already knew that and already done that. where your problem now Link to comment Share on other sites More sharing options...
ZAZ Posted October 8, 2012 Share Posted October 8, 2012 Hi allI am working on creating my custom cleo script that loads a model named say "ChuckNorris". I dont want to spawn ChuckNorris but transform my player to looks of chuck norris. I read cleo script tutorial but it went all over my head in this case! So, can anyone tell me how to do this on cleo 3? I want that player shuld transform on entering keycode "Energy". Please help. Load Special Actor With 023C And Use The Name of your actor from the dff or txd file Like Sweet or cesar . Max = 10 . Then Change Player using 09C7 To The ID Which you used : 1 = #SPECIAL01 2 = #SPECIAL02 3 = #SPECIAL03 To 10 ... Example : {$CLEO}0000:while True0001: wait 0 ms 023C: load_special_actor 'ChuckNorris' as 1 // models 290-299 ( Max 10 )038B: load_requested_models repeat if until 0256: player $PLAYER_CHAR defined if and 0AB0: key_pressed 50 023D: special_actor 3 loaded then 09C7: change_player $PLAYER_CHAR model_to #SPECIAL01 end // ifend // while did you ever tried to spawn Chucknorris? max allowed charackter for special actor names = 7 'ChuckNorris' crashes this works: 023C: load_special_actor 'chuckno' as 1 CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
Michael-Knight1 Posted October 8, 2012 Share Posted October 8, 2012 do not forgot to change the dff & txd name to chuckno Link to comment Share on other sites More sharing options...
Jaskaran498 Posted October 9, 2012 Author Share Posted October 9, 2012 Oh no no.... ChuckNorris was just a random name. The actual name is goku Therefore, no problem of name. Where i am getting problem is that i am not able to load model on keeps as told on script. Although gamer works perfect. 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