In45do Posted March 29, 2014 Share Posted March 29, 2014 As the title said, how to do it? I want the searchlight to be attached like police maverick. I'm using opcode 06B1 and 06C1 but it doesn't work. Link to comment Share on other sites More sharing options...
ZAZ Posted March 29, 2014 Share Posted March 29, 2014 use 06C1 and 06B4, 06B4 requires target coords, can you get and give with 0407 CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
In45do Posted March 30, 2014 Author Share Posted March 30, 2014 OK, but do I have to use target coord for opcode 06C1 as well? Link to comment Share on other sites More sharing options...
ZAZ Posted March 30, 2014 Share Posted March 30, 2014 not really, you can insert there any coords, it's just for the start, then 06B4 gives the target, should run then in a loop because vehicle moves and it needs permanently actually target coords CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
In45do Posted March 31, 2014 Author Share Posted March 31, 2014 Thanks, it's now attached! But, the direction of searchlight isn't fit. I mean, the searchlight doesn't follow vehicle direction. And whenever I edit the vehicle coord with 0407 it still give the same effect. Link to comment Share on other sites More sharing options...
ZAZ Posted March 31, 2014 Share Posted March 31, 2014 as i said "it's just for the start" i didn't consider that it needs to wait some seconds (5 or 10 sec) till the search light works fullso it makes sense to insert vars of 0407, same as in the Loop 03C0: 0@ = actor $PLAYER_ACTOR car0407: store_coords_to 11@ 12@ 13@ from_car 0@ with_offset 0.0 5.0 -0.5 06C1: create_searchlight 20@ on_car 0@ with_offset 0.0 0.0 2.5 radius 0.2 target 11@ 12@ 13@ radius 12.006B4: set_searchlight 20@ path_between 11@ 12@ 13@ and 11@ 12@ 13@ speed 2.5:Loop0407: store_coords_to 11@ 12@ 13@ from_car 0@ with_offset 0.0 5.0 -0.5 06B4: set_searchlight 20@ path_between 11@ 12@ 13@ and 11@ 12@ 13@ speed 15.5 In45do 1 CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
In45do Posted April 1, 2014 Author Share Posted April 1, 2014 Thanks master! I finally did it and I'm using 2 searchlight. Link to comment Share on other sites More sharing options...
Convetors Posted April 18, 2014 Share Posted April 18, 2014 Thanks master! I finally did it and I'm using 2 searchlight. Have you tried to attach Those to Cars and make them bigger , they will Give better headlights effects , Try and tell me the result if you can , PLease Link to comment Share on other sites More sharing options...
In45do Posted April 19, 2014 Author Share Posted April 19, 2014 @Convetors Going to try it soon. And btw, you're the creator of SA to V Player Mod right? How is the progress? Link to comment Share on other sites More sharing options...
Raskul Posted August 14, 2022 Share Posted August 14, 2022 On 19.04.2014 at 17:29, In45do said: @КонвекторыСобираюсь попробовать в ближайшее время. И кстати, вы создатель SA to V Player Mod, верно? Как прогресс? Hello! I am very interested in your script, do you still have access to it? 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