NewToModdin Posted January 15 Share Posted January 15 (edited) Ive got an idea to put cypress hill members here and perform a live rap song, i know how i would make their skins, so thats not a problem, and i know how to link live cypress hill recording through cleo audio, and i know how to animate them, but what i dont know is how i would get them to spawn in this location? how would i do that? its in suburbanclothes store, im guessing i have to edit a script.... also, when i do get them to spawn here, does anyone know how i would activate it for them to perform the walking and rapping animations i will make for them? so that they dont just stand there. Edited January 15 by NewToModdin Link to comment Share on other sites More sharing options...
ZAZ Posted January 16 Share Posted January 16 (edited) what actor model should be used? whats name of animation that should be used test the script below it spawn 3 peds at your desired location they do animations from ifp file DANCING.ifp {$CLEO .cs} :UrbanActors thread 'URBACT' while true wait 0 if 0256: player $PLAYER_CHAR defined then if 00FF: actor $PLAYER_ACTOR sphere 0 in_sphere 204.0511 -43.2612 1001.8047 radius 20.0 20.0 20.0 on_foot then 077E: get_active_interior_to 29@ 0247: request_model #vwmycr 0247: request_model #smyst2 0247: request_model #bmypol2 while true wait 0 if and 0248: model #vwmycr available 0248: model #smyst2 available 0248: model #bmypol2 available then break end end 009A: 0@ = create_actor_pedtype 24 model #vwmycr at 200.1922 -33.9715 1002.304 0860: link_actor 0@ to_interior 29@ 0173: set_actor 0@ Z_angle_to 210.4 009A: 1@ = create_actor_pedtype 24 model #smyst2 at 198.5918 -35.5773 1002.2969 0860: link_actor 1@ to_interior 29@ 0173: set_actor 1@ Z_angle_to 195.5 009A: 2@ = create_actor_pedtype 24 model #bmypol2 at 199.8289 -35.3129 1002.304 0860: link_actor 2@ to_interior 29@ 0173: set_actor 2@ Z_angle_to 219.4 0249: release_model #vwmycr 0249: release_model #smyst2 0249: release_model #bmypol2 repeat wait 0 04ED: load_animation "DANCING" until 04EE: animation "DANCING" loaded 0812: AS_actor 0@ perform_animation "DAN_Loop_A" IFP_file "DANCING" 4.0 loopA 1 lockX 0 lockY 0 lockF 0 time -1 0812: AS_actor 1@ perform_animation "dnce_M_b" IFP_file "DANCING" 4.0 loopA 1 lockX 0 lockY 0 lockF 0 time -1 0812: AS_actor 2@ perform_animation "dnce_M_c" IFP_file "DANCING" 4.0 loopA 1 lockX 0 lockY 0 lockF 0 time -1 wait 1500 while 0256: player $PLAYER_CHAR defined wait 0 if or 0118: actor 0@ dead 0118: actor 1@ dead 0118: actor 2@ dead then break end if 80FF: not actor $PLAYER_ACTOR sphere 0 in_sphere 204.0511 -43.2612 1001.8047 radius 25.0 25.0 25.0 on_foot then break end end 0792: disembark_instantly_actor 0@ 0792: disembark_instantly_actor 1@ 0792: disembark_instantly_actor 2@ wait 500 04EF: release_animation "DANCING" 01C2: remove_references_to_actor 0@ 01C2: remove_references_to_actor 1@ 01C2: remove_references_to_actor 2@ wait 500 end end end Edited January 16 by ZAZ Xane_MM and DumbButCreative 2 CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
DumbButCreative Posted January 17 Share Posted January 17 13 hours ago, ZAZ said: what actor model should be used? whats name of animation that should be used test the script below it spawn 3 peds at your desired location they do animations from ifp file DANCING.ifp {$CLEO .cs} :UrbanActors thread 'URBACT' while true wait 0 if 0256: player $PLAYER_CHAR defined then if 00FF: actor $PLAYER_ACTOR sphere 0 in_sphere 204.0511 -43.2612 1001.8047 radius 20.0 20.0 20.0 on_foot then 077E: get_active_interior_to 29@ 0247: request_model #vwmycr 0247: request_model #smyst2 0247: request_model #bmypol2 while true wait 0 if and 0248: model #vwmycr available 0248: model #smyst2 available 0248: model #bmypol2 available then break end end 009A: 0@ = create_actor_pedtype 24 model #vwmycr at 200.1922 -33.9715 1002.304 0860: link_actor 0@ to_interior 29@ 0173: set_actor 0@ Z_angle_to 210.4 009A: 1@ = create_actor_pedtype 24 model #smyst2 at 198.5918 -35.5773 1002.2969 0860: link_actor 1@ to_interior 29@ 0173: set_actor 1@ Z_angle_to 195.5 009A: 2@ = create_actor_pedtype 24 model #bmypol2 at 199.8289 -35.3129 1002.304 0860: link_actor 2@ to_interior 29@ 0173: set_actor 2@ Z_angle_to 219.4 0249: release_model #vwmycr 0249: release_model #smyst2 0249: release_model #bmypol2 repeat wait 0 04ED: load_animation "DANCING" until 04EE: animation "DANCING" loaded 0812: AS_actor 0@ perform_animation "DAN_Loop_A" IFP_file "DANCING" 4.0 loopA 1 lockX 0 lockY 0 lockF 0 time -1 0812: AS_actor 1@ perform_animation "dnce_M_b" IFP_file "DANCING" 4.0 loopA 1 lockX 0 lockY 0 lockF 0 time -1 0812: AS_actor 2@ perform_animation "dnce_M_c" IFP_file "DANCING" 4.0 loopA 1 lockX 0 lockY 0 lockF 0 time -1 wait 1500 while 0256: player $PLAYER_CHAR defined wait 0 if or 0118: actor 0@ dead 0118: actor 1@ dead 0118: actor 2@ dead then break end if 80FF: not actor $PLAYER_ACTOR sphere 0 in_sphere 204.0511 -43.2612 1001.8047 radius 25.0 25.0 25.0 on_foot then break end end 0792: disembark_instantly_actor 0@ 0792: disembark_instantly_actor 1@ 0792: disembark_instantly_actor 2@ wait 500 04EF: release_animation "DANCING" 01C2: remove_references_to_actor 0@ 01C2: remove_references_to_actor 1@ 01C2: remove_references_to_actor 2@ wait 500 end end end i dont know which actors i need yet as i havnt made them yet haha, but thanks for the help, now i know how to do it, cheers! ive got some work to do lol... here i go... lol LUISDooM 1 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