Quantcast

Jump to content

» «
Photo

SANNYBUILDER and CLEO 4

3 replies to this topic
Maro Hannover
  • Maro Hannover

    Scriptboy

  • BUSTED!
  • Joined: 06 Jan 2014
  • None

#1

Posted 28 January 2014 - 01:42 PM

Hi,

I was having CLEO 3 and sannybuilder and i am using Sanny builder to make a mission pack

But i Installed CLEO 4 and i want Sannybuilder to interact with Cleo 4 and give me the new opcodes.

 

And a simple Thing.

 

How you make Your Text in a white box which is colored As the coding for Sannybuilder.

 

Thank You


ZAZ
  • ZAZ

    Kernlochbohrer

  • Feroci
  • Joined: 10 Jan 2005
  • European-Union

#2

Posted 28 January 2014 - 05:48 PM

when running Cleo4 setup exe the installassistent shows "choose components"
1. cleo for the game
2. cleo4 files for sannybuilder
3. sdk
 
set hook at 1. and 2. and install
the installer ask then for the install dir, first of the game and second for sannybulilder
so choose first the gtasa install dir and then sannybuilder install dir
then install
or set only hook at 2. and install
 

How you make Your Text in a white box

you mean the codeblock?
the messenger have several functions to format text, to build links, codeblocks or quotes and more
play around with all and klick on Preview Post
click the icon for codeblock < > and paste the code in the appearing window

Maro Hannover
  • Maro Hannover

    Scriptboy

  • BUSTED!
  • Joined: 06 Jan 2014
  • None

#3

Posted 28 January 2014 - 06:45 PM

when running Cleo4 setup exe the installassistent shows "choose components"
1. cleo for the game
2. cleo4 files for sannybuilder
3. sdk
 
set hook at 1. and 2. and install
the installer ask then for the install dir, first of the game and second for sannybulilder
so choose first the gtasa install dir and then sannybuilder install dir
then install
or set only hook at 2. and install
 

How you make Your Text in a white box

you mean the codeblock?
the messenger have several functions to format text, to build links, codeblocks or quotes and more
play around with all and klick on Preview Post
click the icon for codeblock < > and paste the code in the appearing window

 

I ran the installer and i made full installation. it first ask me about GTA SA Directory then it show me components i made full installation . But it dont ask me for  Sanny builder directory. I need this because i am making a Mission Pack

DEFINE MISSIONS 0
//DEFINE MISSION {ID} 0 AT {LABEL} @
DEFINE EXTERNAL_SCRIPTS 0 // Use -1 in order not to compile AAA script
//DEFINE SCRIPT {NAME}  AT {LABEL} @
DEFINE UNKNOWN_EMPTY_SEGMENT 0
DEFINE UNKNOWN_THREADS_MEMORY 0

thread 'MAIN'
var
$PLAYER_CHAR: Player
end // var
01F0: set_max_wanted_level_to 6
set_wb_check_to 0
00C0: set_current_time 8 0
04E4: unknown_refresh_game_renderer_at 2488.5601 -1666.84
Camera.SetAtPos(2488.5601, -1666.84, 13.38)
$PLAYER_CHAR = Player.Create(#NULL, 2488.5601, -1666.84, 13.38)
$PLAYER_ACTOR = Actor.EmulateFromPlayer($PLAYER_CHAR)
07AF: $PLAYER_GROUP = player $PLAYER_CHAR group
Camera.SetBehindPlayer
set_weather 0
wait 0 ms
$PLAYER_CHAR.SetClothes("PLAYER_FACE", "HEAD", Head)
$PLAYER_CHAR.SetClothes("JEANSDENIM", "JEANS", Legs)
$PLAYER_CHAR.SetClothes("SNEAKERBINCBLK", "SNEAKER", Shoes)
$PLAYER_CHAR.SetClothes("VEST", "VEST", Torso)
$PLAYER_CHAR.Build
$PLAYER_CHAR.CanMove = True
09C7: change_player $PLAYER_CHAR model_to #WMYST
0732: random_car_generator_disable_model #COPBIKE
0732: random_car_generator_disable_model #COPCARLA
0732: random_car_generator_disable_model #COPCARRU
0732: random_car_generator_disable_model #COPCARSF
0732: random_car_generator_disable_model #COPCARVG
06DB: destroy_all_trains
fade 1 (out) 0 ms
select_interior 0
0629: change_stat 181 (islands unlocked) to 4
016C: restart_if_wasted at 2027.77 -1420.52 15.99 angle 137.0 for_town_number 0
016D: restart_if_busted at 1550.68 -1675.49 14.51 angle 90.0 for_town_number 0
00BA: show_text_styled GXT "Prolougue" time 1000 style 2  // Prolougue
0180: set_on_mission_flag_to $ONMISSION // Note: your missions have to use the variable defined here ($ONMISSION)
03E6: remove_text_box
create_thread @MODEL
 
// IDLE LOOP
:leeg
wait 500
jump @leeg
 
end_thread
 
:MODEL
thread 'MODEL'
Model.Load(#WMYCLOT)
Model.Load(#ZR350)
Model.Load(#MANANA)
Model.Load(#MICRO_UZI)
Model.Load(#M4)
Model.Load(#COLT45)
Model.Load(#ELEGY)
Model.Load(#FIRETRUK)
Model.Load(#STREAK)
Model.Load(#VOODOO)
Model.Load(#GREENWOO)
Model.Load(#TAXI)
Model.Load(#BALLAS1)
Model.Load(#BALLAS2)
Model.Load(#BALLAS3)
Model.Load(#WMYAMMO)
Model.Load(#COPCARLA)
Model.Load(#LAPD1
Model.Load(#SANCHEZ)
Model.Load(#VMAFF3)
Model.Load(#VMAFF4)
023C: load_special_actor 'SWEET' as 1
023C: load_special_actor 'EMMET' as 2 
038B: load_requested_models

:MODEL_LOAD
wait 0
if or
Model.Available(#WMYCLOT)
Model.Available(#ZR350)
Model.Available(#MANANA)
Model.Available(#MICRO_UZI)
Model.Available(#M4)
Model.Available(#COLT45)
Model.Available(#ELEGY)
Model.Available(#FIRETRUK)
Model.Available(#STREAK)
Model.Available(#VOODOO)
Model.Available(#GREENWOO)
Model.Available(#TAXI)
Model.Available(#BALLAS1)
Model.Available(#BALLAS2)
Model.Available(#BALLAS3)
Model.Available(#WMYAMMO)
Model.Available(#COPCARLA)
Model.Available(#LAPD1)
023D:   special_actor 1 loaded
023D:   special_actor 2 loaded
0002: jump @MODEL_SPAWN

:MODEL_SPAWN
0674: set_car_model $MAN numberplate "MARO"
00A5: $MAN = create_car #MANANA at 2043.0096 -1874.4987 13.5469
Car.Angle(#MANANA)= 264.0709
0229: set_car $MAN primary_color_to 6 secondary_color_to 0
01C8: 1@ = create_actor_pedtype 1 model #WMYCLOT in_car $MAN passenger_seat 0
Actor.Health(1@)= 3000
036A: put_actor $PLAYER_ACTOR in_car $MAN
$X_m1= 2409.6421
$Y_m2= -1489.0585 
$Z_m3= 23.8281
0570: $1 = create_asset_radar_marker_with_icon 10 at $X_m1 $Y_m2 $Z_m3
00A5: 2@ = create_car #VOODOO at 2323.2729 -1514.8501 25.3437
Car.Angle(#VOODOO)= 172.9934
0129: 3@ = create_actor_pedtype 7 model #BALLAS1 in_car 2@ driverseat
01C8: 4@ = create_actor_pedtype 7 model #BALLAS2 in_car 2@ passenger_seat 0
01B2: give_actor 4@ weapon 22 ammo 1000 // Load the weapon model before using this
00BB: show_text_lowpriority GXT 'I1' time 3000 flag 1  // so where we goin
wait 3000
00BC: show_text_highpriority GXT 'M1' time 3000 flag 1  // Burger Shop
wait  3000
00BB: show_text_lowpriority GXT 'I2' time 3000 flag 1  // But Beware Those Gangesters.
wait 3000
00BC: show_text_highpriority GXT 'M2' time 3000 flag 1  // who.
wait 3000
00BC: show_text_lowpriority GXT 'I3' time 3000 flag 1 // Just Trust No One
wait 3000
00BC: show_text_highpriority GXT 'M3' time 3000 flag 1 // Even You
wait 3000
00BC: show_text_lowpriority GXT 'I4' time 3000 flag 1 // Not to that Limit
wait 4000
00BC: show_text_highpriority GXT 'M4' time 3000 flag 1 // Go To ~y~Burger Shot~w~.
if
0104:   actor $PLAYER_ACTOR near_actor 3@ radius 30.0 30.0 30.0 sphere 0
0002: jump @ball
else_jump @burger


:ball
wait 0
05D1: AS_actor $PLAYER_ACTOR drive_car $MAN to 2344.4099 -1476.7281 23.8281 speed 15.0 0 model #NULL 1
067B: put_camera_on_car 2@ with_offset -1.5 1.5 1.5 point_to_actor 3@ tilt 0.0 2
00BC: show_text_lowpriority GXT 'I5' time 3000 flag 1 // Hey victor You See Them
wait 3000 
00BC: show_text_highpriority GXT 'M5' time 3000 flag 1 // Who
wait 3000
00BC: show_text_lowpriority GXT 'I6' time 3000 flag 1 // Please tell me you are jocking it is that guy named Maro
wait 3000
00BC: show_text_highpriority GXT 'M6' time 3000 flag 1 // Are you sure i don't want to do a job for Nothin'
wait 3000
00BC: show_text_lowpriority GXT 'I7' time 3000 flag 1 // Man i am 100% PRETTY Percent Sure Man
wait 2000
00BC: show_text_highpriority GXT 'M7' time 3000 flag 1 // I Really Do Man
wait 3000
00BC: show_text_lowpriority GXT 'I8' time 3000 flag 1 // We Do It?
wait 3000
00BC: show_text_highpriority GXT 'M8' time 3000 flag 1 // You Can't Be Series Lets Go
05D1: AS_actor 3@ drive_car 2@ to 2339.8315 -1534.2952 23.8318 speed 15.9 0 model #NULL 1
015A: restore_camera
0002: jump @burger

:burger
wait 0
if
01AE:   car $MAN sphere 0 near_point 2409.6421 -1489.0585 radius 5.0 5.0 stopped
Marker.Disable($1)
player.CanMove($PLAYER_CHAR false)
00AB: put_car $MAN at 2410.2808 -1488.3854 23.4362 92.0755
00AB: put_car 2@ at 2427.9016 -1506.4543 23.834 2.5992
wait 1000
0160: set_camera_point_at 2426.3684 -1489.8469 23.8281 switchstyle 2
00BC: show_text_lowpriority GXT 'I9' time 3000 flag 1 // They are there
wait 3000 
00BC: show_text_highpriority GXT 'M9' time 3000 flag 1 // Steady Your Gun
05D1: AS_actor 3@ drive_car 2@ to 2427.9016 -1506.4543 23.834 speed 15.0 0 model #NULL 1 
If
00EE:   actor 3@ sphere 0 near_point 2427.9016 -1506.4543 23.834 radius 15.0 15.0 in_car
0160: set_camera_point_at 2397.293 -1487.1844 23.8281 switchstyle 2
05D1: AS_actor $PLAYER_ACTOR drive_car $MAN to 2402.2825 -1488.2322 23.8281 speed 15.0 0 model #NULL 1
wait 1000
0160: set_camera_point at 2428.3564 -1480.3931 23.8281 switchstyle 2
05D1: AS_actor 3@ drive_car 2@ to 2412.3389 -1487.0472 23.8281 speed 15.0 0 model #NULL 1
if
00EE:   actor 3@ sphere 0 near_point 2412.3389 -1487.0472 23.8281 radius 15.0 15.0 in_car
04E1: open_and_freeze_car_trunk $MAN
00BC: show_text_lowpriority GXT 'I10' time 3000 flag 1 // Come on It is one Shot
wait 2000
0657: car $MAN open_door 1
00BC: show_text_highpriority GXT 'M10' time 3000 flag 1 // Lets Do
wait 1000
03C8: set_camera_directly_before_player
054A: set_actor $PLAYER_ACTOR can_be_shot_in_a_car 0
054A: set_actor 1@ can_be_shot_in_a_car 0
0713: actor 4@ driveby_actor -1 car -1 point 952.92 -1102.99 22.85 radius 100.0 4 1 firing_rate 90
0672: AS_actor 2@ attack_car $MAN
015A: restore_camera
00BC: show_text_lowpriority GXT 'I11' time 3000 flag 1 // Who the hell is these
wait 3000
00BC: show_text_highpriority GXT 'M11' time 3000 flag 1 // Run!
Player.CanMove($PLAYER_CHAR true)
00A8: set_car 2@ to_psycho_driver
00AE: set_car 2@ traffic_behaviour_to 2
05F3: set_car 2@ follow_car $MAN keep_6o_clock
0674: set_car_model 5@ numberplate "Sean Johnson"
00A5: 5@ = create_car #GREENWOO at 2275.9578 -1145.4934 26.7418
0229: set_car 5@ primary_color_to 98 secondary_color_to 1
009A: 6@ = create_actor_pedtype 23 model #SPECIAL01 at 2274.8457 -1150.5625 26.7357
Actor.Angle(6@)= 263.011
01B2: give_actor 6@ weapon 31 ammo 1000 // Load the weapon model before using this
0575: set_actor 6@ pinned_position 1
Actor.WeaponAccuracy(6@)= 90
05E2: AS_actor 6@ kill_actor $PLAYER_ACTOR
00A5: 10@ = create_car #SANCHEZ at 2304.9177 -1142.3647 26.9842
Car.Angle(10@)= 97.1679
0129: 11@ = create_actor_pedtype 8 model #VMAFF3 in_car 10@ driverseat
01C8: 12@ = create_actor_pedtype 8 model #VMAFF4 in_car 10@ passenger_seat 0  
064B: 7@ = create_particle "riot_smoke" at 2287.6248 -1121.4789 26.9014 type 1
064B: 8@ = create_particle "shootlight" at 2290.9133 -1160.2306 26.5896 type 1
06D8: 9@ = create_train_at 2289.2002 -1139.5596 26.6752 type 1 direction 1
09CF: set_train 9@ stop_at_stations 0
06DD: set_train 9@ speed 15.0
00BC: show_text_lowpriority GXT 'I12' time 3000 flag 1 // The Train Tunnel it is the best way
wait 2000                                                             
00BC: show_text_higpriority GXT 'M12' time 3000 flag 1 // Escape In The ~y~ Train Tunnels ~w~.
$X_TT1= 2287.4932
$Y_TT2= -1117.2515
$Z_TT3= 26.8948
0570: $2 = create_asset_radar_marker_with_icon 10 at $X_TT1 $Y_TT2 $Z_TT3
if
0207:   actor $PLAYER_ACTOR near_car 9@ radius 20.0 20.0 10.0 flag 0 in_car
0002: jump @WTCH
else_jump @be

:WTCH
00BC: show_text_lowpriority GXT 'I13' time 3000 flag 1 // Watch that damn Train
wait 3000
00BC: show_text_highpriority GXT 'M13' time 3000 flag 1 // I Know I Know
if
09CB:   vehicle $MAN colliding_with_vehicle 9@
00BC: show_text_lowpriority GXT 'I14' time 3000 flag 1 // You are going to kill us
wait 3000
00BC: show_text_highpriority GXT 'M14' time 3000 flag 1 // (COUGHING)
0002: jump @be

:be
if
wait until
01AD:   car $MAN sphere 0 near_point $X_TT1 $Y_TT2 radius 6.0 6.0
00AE: set_car 10@ traffic_behaviour_to 2 

Silent
  • Silent

    Moderating Cookie Monster

  • Feroci
  • Joined: 01 Feb 2010
  • Poland
  • Most Helpful [GTA] 2013
    Most Helpful [Modding] 2013
    Most Talented [Modding] 2013
    Best Map 2013 "ViceCityStories PC Edition"
    Best Vehicle 2013 "III Aircraft"
    Most Helpful [Modding] 2012
    Modder of the Year 2012

#4

Posted 28 January 2014 - 07:06 PM Edited by SilentPL, 28 January 2014 - 07:06 PM.

Then just get the latest definitions manually from GTAG Opcode Database:

http://gtag.gtagamin...base/generator/




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users