|
 |
|
|
|
|
|
Attention:
This is for the discussion and releasing of tutorials for modifying GTA. Anything that isn't a tutorial will be deleted without notification.
- Please read the Official Modification Forum Rules & Procedure BEFORE posting!
- Data topics: The following topics contain information for formatting and writing tutorials.
- Requests are to be made in the pinned topic.
- New topics to this forum are subject to moderation, and will not appear immediately. Pending approval by a moderator, if a topic is deemed unsuitable it will be deleted without notification.
|
GTAGarage.com free mod hosting from GTANet, simply login with your GTAForums account details
GTAModding.com GTANet's modding wiki
GTA Modding Chatroom provided by irc.gtanet.com (Don't have an IRC client? Click here)
|
[GTA SA] ~ CLEO Script Tutorial ~
 |
|
 |
| |
fastman92  |
|
фастман92 | ف

Group: Members
Joined: Jul 28, 2009


|
| QUOTE (justys12 @ Monday, Apr 9 2012, 16:58) | | QUOTE (ZAZ @ Monday, Apr 9 2012, 15:50) | | QUOTE (justys12 @ Monday, Apr 9 2012, 13:44) | can someone tell my how to spawn added cars not replaced ?? because when i try spawn car whit id 18631 it just wont show up.  |
Try it first with origin car id. Change then the id when you saw that it worked fine.
| CODE | {$CLEO .cs} thread 'CARSPWI'
0@ = 411 // < --- model ID
while true wait 0 if Player.Defined($PLAYER_CHAR) then if 0AB0: key_pressed 8// ----- press BACKSPACE then 04C4: store_coords_to 11@ 12@ 13@ from_actor $PLAYER_ACTOR with_offset 0.0 5.0 0.2 Model.Load(0@) while not Model.Available(0@) wait 0 end 1@ = Car.Create(0@, 11@, 12@, 13@) Model.Destroy(0@) Car.RemoveReferences(1@) wait 1000 end end end |
Use Cleo carspawner for added cars: Car Spawner By Fastman92 (cleo4) AddCar spawner by ZAZ (cleo3/4)
Please don't post again here unless you have a question about the tutorial lessons |
but can i make that car spawn in some location like in grove street? not whit key pressing. i using this code| CODE | 014B: $PARKED_1 = init_parked_car_generator #AUDITT color 1 1 1 alarm 0 door_lock 0 0 10000 at 2552.3 -1692.5 9.2797 angle 0.0 014C: set_parked_car_generator $PARKED_1 cars_to_generate_to 101 |
but only cars whit id 612 and 613 spawning | GTA SA exe function that registers parket generatator checks if ID of vehicle is between 400 and 630 (range intentionally reserved for vehicles). You need ro patch this function in gta_sa.exe menory. I have no time left to to do it since i started working to understand format of Painkiller's archives. I almost finished and now i only need to decode files that are compressed with ZLib algorithm. So Painkiller modding will be on the run.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
SA-Modding  |
Posted: Thursday, Apr 26 2012, 19:04
|
Grand Theft Auto Fan

Group: BUSTED!
Joined: Feb 29, 2012


|
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
/!\ErManu/!\  |
Posted: Saturday, May 5 2012, 12:32
|
/!\Custom Cars/!\

Group: Members
Joined: Jun 25, 2008


|
| QUOTE (ZAZ @ Friday, May 4 2012, 17:54) | | QUOTE (/!\ErManu/!\ @ Friday, May 4 2012, 22:15) | Hello Zaz!!
I can use the codes of this tuturials as reference for my mods?
Thanks!!,good work!!  |
Please add the info that you got it from the tutorial and add the link to tutorial: http://www.gtaforums.com/index.php?showtopic=403594
if you wanna use the CARSTORE script then add the info that it is from me and add this link:
| CODE | | http://www.gtaforums.com/index.php?showtopic=403594&st=0#Global | | Very thanks you!!,and of course If I release a mod put this information and your name in my credits I'm working on a new mods for GTA SA,for more interiors and real things,is a little project,I have a new interiors and details,new interiors of a passengers plane,mmm...new shops,and garages  made by me But made a Cleo code is very dificult for me and a veryyy lost of time....  I made a simple Cleo codes but Cleo codes more bigs... Thanks ZAZ!!
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
Pages:
(31) « First ... 18 19 [20] 21 22 ... Last »
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
| |
 |
|
 |
|
|
|
|