Search

Friday, January 10, 2020

CLEO Mods and Sannybuilder


One of the reason GTA San Andreas still being played until today is modifications. This time I will talk about CLEO mods and Sannybuilder.

There are a lot of type of mods out there such as skins, cars, maps, sounds, and scripts. These elements construct a beautiful world inside the game. By editing these, the game become more interesting to play... or worse. We have to agree on something, some mods are better than the others. But the worse part is incompatibility from one mod with another. 

This has become an issue for all GTA players out there who is trying to combined these different mod together but the results often crash or bugs. But these combinations sometimes quite working together. Now, I'm going to talk about one of these type of mods, that is CLEO mods.

 

But before we go into CLEO mods, we must know the tools that were making them. These tools can't be separated. I'm talking about Sannybuilder and CLEO library. Do you recognize them? If you ever installed CLEO mods inside GTA III, GTA VC, or GTA SA, you've probably being told to use these type of tools.

These tools are working for different purposes. Sannybuilder is for a modder, to create a script file which it will become .CS, .CM, and .SCM. The file with an extension .SCM, will be placed inside ../GTA: San Andreas/data/script folder. For the script file with these extension: .CS and .CM, will be placed inside CLEO folder. And  library, well as I told you earlier, is the tool to run those script files. Usually Sannybuilder installation will automatically installing CLEO library into the game. By the way, the library has been updated into version 4.3. For mobile players, they could use this CLEO version into the game.

It is quite simple to run these mods, just drag and drop the files if you have installed those tools. For example, we can use this CLEO mod for GTA San Andreas, made by ZAZ. The instruction is very clear and you can use them anytime you like in the game!

The year is 2020 and I think most of you already know about those stuff up there. Now we are going into a part of CLEO scripting. I've been asked A LOT in my Facebook page, the question remain the same: can you teach me how to create a CLEO script?
Even though I kept refusing to answer the question, usually I gave them a guide by taking a look at ZAZ's CLEO script tutorial in GTAForums. This is the era of internet. Everything is at the end of your fingertips (meaning you can search on Google 😐). I will try to explain the very basic stuff from coding in general.

One of the fundamental things in coding is variable. It can contain data such as integer, float, string, and boolean. 

Integer is non-decimal numbers, it can be use for numeric function, for example: 1, 2, 3, and so on.

Float is decimal numbers, it can be use for numeric function, for example: 0,01 , 0,5 , 2,75 , and so on. 

String is usually represent a text, it can contain numbers but it can't be use for numeric function (meaning it can't be use for substraction, division, etch), for example: 50, 5,67 , California, Stark, John, Cena, and so on.

Boolean is for true or false statement, in GTA it represent in 1 or 0 (1 = true, 0 = false).

In GTA games, the variable has @ or $ symbol on it. While @ means local variable, $ is for global variable. I'm not going to explain in details for the differences, but if you are a beginner in CLEO scripting, use only local variable in the script. These local variables extend from 0@ to 31@. However, you can use 32@ and 33@ for timer in a script. The only global variables you can use are $PLAYER_ACTOR and $PLAYER_CHAR.

For my own CLEO script tutorial, I will do it sometimes in the future. If you are reading this right now, there are probably no videos from me yet. Stay tuned!

1 comment: