Jump to content

Conflict with Cleo/Sanny Builder


Recommended Posts

I have two types of conflict with Cleo/Sanny Builder:

First, hardware: There is a conflict with the USB mouse (the PS/2 port no longer works,

because the mother board ASUS A8V has burned ...), the sensitivity of the mouse is always set to maximum, and aims only looking up or down:

http://it.youtube.com/watch?v=Aphxeoar7h8

The second, software: When it spawn the actor, the red sphere area is destroyed:

http://it.youtube.com/watch?v=cudsN2aJXdA

It may depend on whether they are two *.cs separated? O depends on the hardware conflict? ...

Start to think that there is something that does not run well all the commands...

Although I began by little, I have not committed serious errors... sad.gif

Very Thanks! smile.gif

 

03A4: name_thread 'TELEPORT':TEL00001: wait 0 ms0256: player $PLAYER_CHAR defined004D: jump_if_false @TEL000FE: actor $PLAYER_ACTOR 1 (in-sphere)near_point -2337.75 1721.42 64.0 radius 1.0  1.0  1.0   // Teleport 1 (Very well)004D: jump_if_false @TEL100A1: put_actor $PLAYER_ACTOR at 268.7 1887.2 -29.530173: set_actor $PLAYER_ACTOR Z_angle_to 180.00002: jump @TEL0:TEL100FE: actor $PLAYER_ACTOR 1 (in-sphere)near_point -2352.17 1827.482 12.24 radius 1.0  1.0  1.0   // Teleport 2 (destroyed with actor spawning!!!)004D: jump_if_false @TEL000A1: put_actor $PLAYER_ACTOR at 2027.1 996.5 10.820173: set_actor $PLAYER_ACTOR Z_angle_to -90.00002: jump @TEL0:ENDwait 0 ms004E: end_thread 

 

 

thread 'SPW_PD4':STARTwait 0 msifPlayer.Defined($PLAYER_CHAR)jf @STARTif 00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere -2347.3 1825.2 10.8 radius 50.0 50.0 50.0jf @START:ACTION0247: load_model #WMYVAwait 500 ms009A: 4@ = create_actor_pedtype 4 model #WMYVA at -2347.3 1825.2 10.80173: set_actor 4@ Z_angle_to -90.0 :ENDwait 0 ms004E: end_thread 

 

Link to comment
https://gtaforums.com/topic/385944-conflict-with-cleosanny-builder/
Share on other sites

in the first ones did u not include the if statements on purpose? cuz theyre missing, and uhh check if the second sphere work even without the actor

 

try this opcode

 

 

00ED:   actor $PLAYER_ACTOR 0 near_point -2352.17 1827.482 radius 1.0  1.0

 

 

or this in the thread with the actor creation

 

 

00F3:   actor $PLAYER_ACTOR near_actor 4@ radius 1.0 1.0 0 on_foot 

 

 

Edited by xnotoriousss

Thank you, the problem was general! smile.gif

I solved using this form of script, I said spaceeinstein:

 

{$CLEO}0000:(---)0A93: end_custom_thread

 

 

Now I'm fighting with the camera! biggrin.gif

 

00A1: put_actor $PLAYER_ACTOR at 2027.1 996.5 10.820173: set_actor $PLAYER_ACTOR Z_angle_to -90.00001: wait 1000 ms015F: set_camera_position 2027.1 996.5 10.82 rotation 0.0 0.0 -90.0

 

that does not point to the west (-90)...

I did not understand if I also use point_camera, or just point_camera ... sad.gif

 

Thank you, the problem was general! smile.gif

I solved using this form of script, I said spaceeinstein:

 

{$CLEO}0000:(---)0A93: end_custom_thread

 

 

Now I'm fighting with the camera! biggrin.gif

 

00A1: put_actor $PLAYER_ACTOR at 2027.1 996.5 10.820173: set_actor $PLAYER_ACTOR Z_angle_to -90.00001: wait 1000 ms015F: set_camera_position 2027.1 996.5 10.82 rotation 0.0 0.0 -90.0

 

that does not point to the west (-90)...

I did not understand if I also use point_camera, or just point_camera ...  sad.gif

Set camera position, then use point camera to point it at coords.

I can not make it work...

 

user posted image

 

 

00A1: put_actor $PLAYER_ACTOR at 2027.1 996.5 10.820173: set_actor $PLAYER_ACTOR Z_angle_to -90.00001: wait 1000 ms015F: set_camera_position 2027.1 996.5 10.82 rotation 0.0 0.0 -90.0 0920: point_camera 2027.1 996.5 10.82 transverse_to 2027.1 996.5 10.82 time 1 mode 1 

 

I can not make it work...

 

user posted image

 

 

00A1: put_actor $PLAYER_ACTOR at 2027.1 996.5 10.820173: set_actor $PLAYER_ACTOR Z_angle_to -90.00001: wait 1000 ms015F: set_camera_position 2027.1 996.5 10.82 rotation 0.0 0.0 -90.0 0920: point_camera 2027.1 996.5 10.82 transverse_to 2027.1 996.5 10.82 time 1 mode 1 

 

 

Camera.SetPosition(X, Y, Z, 0.0, 0.0, 0.0)Camera.PointAt(X, Y, Z, 2)

 

thanks, but the camera no longer followed the player!

I solved with this opcode:

 

 0373: set_camera_directly_behind_player 

 

 

I am a programmer for 18 years, but a language 'treasure hunt' like this, I had not ever seen! biggrin.gif

Edited by Automan

 

thanks, but the camera no longer followed the player!

I solved with this opcode:

 

 0373: set_camera_directly_behind_player 

 

 

I am a programmer for 18 years, but a language 'treasure hunt' like this, I had not ever seen! biggrin.gif

Just use

 

Camera.

 

in sanny builder. Yes, there is a . after camera

 

  • 2 years later...
Pleasse Haw To Creat The Start Of My Script With Sanny Builder :

I Like Start TO Creat A Car And Drive To Me

Pleasse suicidal.gifsuicidal.gifsuicidal.gifsuicidal.gifsuicidal.gifsuicidal.gifsuicidal.gifsuicidal.gifsuicidal.gifsuicidal.gifsuicidal.gifsuicidal.gifsuicidal.gifsuicidal.gifsuicidal.gifsuicidal.gif

Don't bump old topics with irrelevant problems. I've moved the topic that you've created in III Vehicles to III Coding. Use that topic for your queries.

 

Locked.

Guest
This topic is now closed to further replies.
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.