GTA Script Generator 7.5b




































-
Password for the archive: libertycity
-
30 May 2020v5.2b1590848036_696_696_gtasg.rarPassword for the archive: libertycity
-
5 April 2020v5.1b1586095740_696_gtasg.rarPassword for the archive: libertycity
-
16 November 2019v5.0b1573875231_696_gtasg.rarPassword for the archive: libertycity
-
q32.ruDownloadPassword for the archive: libertycity
GTA Script Generator is a tool that allows you to generate code for Sanny Builder using Visual Studio and the C#. The DLLs contain all the basic methods that are often used when developing standard main.scm modifications. Now you can develop scripts more quickly, avoid critical errors and write code using the modern C# language.
To use these libraries, you need to have a basic knowledge of C# and how SCM scripts work. You need to use the latest version of Visual Studio and .NET Framework version 4.7.2 or higher. Operation in other languages and platforms is not guaranteed.
Libraries only work with Sanny Builder v3.5.0(or higher) and generates code specifically for it. There is support for both simple code generation and direct compilation into an SCM file.
If you want to support the author, then download the program through a mirror link!
When you follow a mirror link, you get the latest version of GTASG (7.5b).
Major changes in 7.5b:
+ Added support for compiling CLEO scripts.
+ Added support for SCM functions.
+ Added "Union" and "Calculator" classes.
+ Added "EndJumpTable" property in "LabelCase" class.
+ Added GXT encodings from Fargus and BadMan.
# Libraries now use ".Net Framework 4.8".
# Fixed work of opcode "07E4".
# Many methods have been renamed according to the American form of some words. Also renamed some properties in plugins.
- The "UseAutomaticVariableInitialization" property of the "Generator" class has been removed.
Major changes in 7.2b:
+ The "Memory" class can now accept an integer in the constructor. This will allow you to specify a direct address in functions that require this type.
+ Added "unsafe_code" method.
+ Added static method "IndexOf" of the "Variable" class.
# Fixed bug when local variable index did not allow using array variable in missions using thread limit and external scripts.
# The "Car.empty" property is now available in the GTA.SA library.
# The "set_tag_status" method has been renamed to "set_tags_status_in_area".
- The "AutoJumpCase" and "AutoJumpEnd" events in the "JumpTable" class have been removed.
Major changes in 7.1b:
+ Added "do_if_index_in_range" method to "Array" class.
+ The "Label" event has been added to the "Memory" class, which is identical to the "label" property.
+ Added "set_volume" method for "AudioBackground" plugin.
+ Added "onloadData", "onunloadData" and "OnReplicaChanged" events to "Phone" plugin.
+ 2 events have been added to the JumpTable class: AutoJumpCase and AutoJumpEnd.
+ The "EnableEmmetsGun", "EnableDefaultArmourPickups", "EnableDefaultBribePickups" and "EnableDefaultMeleeWeaponPickups" properties have been added to the "Original" class.
+ Now, when initializing local variables in missions, an error will be triggered if their indices contain the values 32 and 33.
# The "Parameter" type can no longer accept string variables. The limit on the number of passed parameters has been changed to the correct one in the GTA.III and GTA.VC libraries.
# Methods that take arrays as parameters have been fixed. Now the number of parameters is specified correctly.
# Now, when accessing the numeric index of the actors array, its "task" field will have the correct index.
# Fixed the "start" method of the "Timer" class, which used the wrong format for opcode 014E (GTA.III).
# The "Phone" plugin can now store 24 dialogues instead of 20. It can also store an unlimited number of dialogues instead of 75.
# The "After" property of the "DialogSetup" class has been changed to the "OnComplete" field.
# The "EnableDefaultPickups" property of the "Original" class has been renamed to "EnableDefaultWeaponPickups".
Major changes in 7.0b:
+ Local and global variables no longer require preliminary initialization.
+ Added simplified array initialization syntax.
+ Added the "UseAutomaticVariableInitialization" property of the "Generator" class. It governs the use of automatic variable initialization.
+ Now you can specify a name for the SCM file.
+ Added type "Bike" for GTA VC.
+ Added decorative types "sString" and "vString" for GTA III and VC.
+ Added 0601 and 0602 opcodes for GTA III and VC.
# The generator is adapted for Sanny Builder v3.5.0 (or higher).
# Reduced number of namespaces.
# The FXT property class has been completely redesigned. Now you can add texts for multiple FXT files.
# When creating a local array, an error will be shown if the passed type is not used in the local context.
# The parking generator now has methods "init", "init_with_number_plate" and returns type "CarParkGenerator". The old initialization methods have been removed.
- Most properties of the "Generator" class have been removed. Now, instead of some of them, methods are used.
- The default variable "ScriptStatus" has been removed.
- Removed the "set_crouch" method of the "Actor" class in GTA SA mode. This is a duplicate of the eponymous method of the "TaskManager" class.
- Disabled GTA III, VC and SA opcodes that were not used in main.scm but were natively supported.
Major changes in 5.3b:
+ The "Original" plugin now has the "After" property.
+ Added "change_door_lock" method for Vehicle type in GTA III and VC mode.
# The "start_new_external_script" method that took parameters has been fixed.
# The "Generator.OpenAllMapZones" and "Generator.DisableCheats" methods have been moved to the "Original" plugin.
# The plugin "Original" has been updated. 140scripts! Added the following original scripts:
## BBALL: Ability to play basketball;
## CRANES: Ability to use cranes;
## INTMAN: Makes the atmosphere in the interiors like in the original game (casino, bar, strip club, etc.). Ability to buy clothes, tattoos, haircuts, weapons. The ability to use a wardrobe or shoot at a shooting range;
Added the ability to play mini-games, billiards, bet on horse racing or participate in the battle of lowriders;
## R3: Mini-missions (taxi driver, medic, fireman, policeman, pimp, robber, train driver);
## TRACE: Opportunity to participate in street racing and tournaments;
## SKOOLS: The ability to pass pilot school and others;
## ODDVEH: Ability to complete courier missions, triathlon and other secondary tasks related to motorcycles and bicycles;
## TRUCK: Ability to complete cargo carrier missions;
## QUARRY: Ability to complete career missions;
## VALET: Ability to complete lackey missions;
##TRAINS:
## PLANES: Allows you to use planes for fast travel;
## HJ: Includes bonuses for insane stunts;
## IMPND: Atmosphere near the police station (confiscated vehicles);
## IMPEXPM: Allows you to import and export vehicles at the San Fierro docks;
## CARPRK1: Includes a standard parking vehicle generator;
## TCASH: Creates a pickup truck to collect profits near Carl's house;
Major changes in 5.2b:
+ The "Generator.Compile" method now has an optional "restartSannyBuilder" parameter that will open the Sanny Builder after compilation.
+ Added "&=", "|=", "^=" and "%=" operators for "Int", "Memory", "StatusText" and "Timer" types. They implement the work of opcodes "0B10", "0B11", "0B12" and "0B14".
+ Added plugin "Phone" for GTA SA, which allows Carl to receive calls.
+ Added plugin "SaveGame" for GTA SA, which allows you to save the game, as in the original game.
+ Added plugin "Properties" for GTA SA, which allows Karl to buy property, as in the original game.
+ Added plugin "Original". Added the following scripts:
++ PLCHUTE: Ability to use a parachute;
++ VENDING: Allows the player to buy soda and chips;
++ FVENDOR: Allows the player to buy food from vendors;
++ HOTDOGV: Allows the player to buy hot dogs from vendors;
++ DEALER: Dealers sell drugs;
++ GATEOS: Controls the gates of the K.A.S.S. fuel depot;
++ GYMBIKE: Allows you to use a gym bike;
++ GYMBENC: Allows you to use an exercise bar;
++ GYMTREA: Allows you to use the treadmill;
++ GYMDUMB: Allows you to use exercise dumbbells;
++ GYMLS: Allows you to learn the fighting style after defeating an opponent (Boxing);
++ GYMSF: Allows you to learn the fighting style after defeating an opponent (Kung Fu);
++ GYMLV: Allows you to learn the fighting style after defeating an opponent (Muay Thai);
# The "StartGlobalAutoIndex" property now defaults to 714 instead of 2000.
# The "Continue" and "Break" methods have been renamed to "@continue" and "@break" respectively.
# Mandatory script method "Start()" changed to "START( LabelJump label )".
- The "jump", "or", "and" and "jf" methods, which did not accept a jump marker as arguments, are now unavailable.
- In some methods, the "Out" type parameter has been replaced with the old version.
Major changes in 5.1b:
+ Added auxiliary type "Out", which will cause an error if a variable is not specified in the parameter.
+ The "load_requested_models" method can now accept an array of models as a parameter.
+ Added the "is_scan_string_format" method, which implements the work of the 0AD4 opcode.
+ Added "chdir" method, which implements opcode 0A99.
+ Added a crooked English version of the build and errors in the console.
+ Added the "StartGlobalAutoIndex" property of the "Generator" class, which allows you to set the index from which automatic global variables start.
# Small changes inside the methods that create various entities. Now the generator will throw an error if the variable has no context.
# Fixed GTA VC extension methods for the "Vehicle" class, where the "object" type was in the parameters.
# The "read_memory" method now respects the output type, rather than using the default "Memory" type.
# Fixed a bug where the "CarComponent" class could not be a local variable.
Major changes in 5.0b:
+ New script generator architecture. Now, classes are used to implement code for streams, missions, and external scripts, rather than methods with attributes.
+ Added the ability to create local variables in the scope of the class.
+ Methods "local" and "global" now have an overload without parameters. It allows you to give variables indexes automatically.
+ Added "local_array" and "global_array" methods for GTA SA mode, instead of "local" and "global" overloads.
+ Added "Scene" event instead of "start_scene_scip" method in GTA SA mode.
+ Added the "gosub" method as an alternative to the "Gosub" event.
+ Now if you use an array element as an index of another array, an error will be triggered (as it should be).
+ Added overloads of frequently used methods to simplify the code.
+ Added plugin "RaceMission" in GTA SA mode.
+ Added "convert" method for "FXT" property. It will allow you to translate text into symbolic form without adding an entry to the FXT archive.
+ Added "NotToCompileExternalScripts" property in the "Generator" class. It will tell Sanny Builder not to compile external scripts.
# The FXT property no longer has a "set_GXT_encoding" method. Instead, the "Encoding" property of the "Generator" class is used.
# The "ConsoleLanguage" property of the "Generator" class is now named "Language".
# All Gosubs now always generate "return".
# Reworked the mechanics of the parking generator. Now the methods return the transport.
# The generator now does not generate script code if they were not run in the code.
# Changed label format. Instead of indexes, special classes are now used.
# Fixed a glitch when using an array, when the "task" field of the "Actor" class had the wrong variable name.
# Fixed indexes for local timers in GTA SA mode (to the mission code).
# Updated and added some transfers for GTA SA.
# All plugins no longer require indexes of global variables.
# The "mission_cleanup" method and the "is_wasted_or_busted" condition are now only available in the "Mission" and "MissionCustom" classes.
# The generator no longer throws an error if the "script.img" file could not be overwritten during the game. Instead, a warning will be shown.
- Removed the ability to specify the order of generating scripts as unnecessary. Sorting occurs automatically during the generation process.
- Removed condition methods that took label indexes as parameters.
- Removed class "CarParkVehicle" as unnecessary.
- Removed attributes "Thread", "Mission" and "External" as unnecessary. Instead, the "Thread", "Mission", "MissionCustom" and "External" classes are used.
Major changes in 4.5.25b:
+ Added the ability to select the language of construction and console errors. Previously, there was only Russian, but now others are being tested.
+ Class "Ini" is now available for GTA III and VC.
+ Added constants for models of weapons, actors, vehicles and other things for GTA III, VC and SA.
+ Added test method "Start" for the generator. The previous method is still available under the name "Start_old".
+ Added plugin "StarterAdvanced" for GTA SA, which will make the starter more functional.
# Plugin "Starter" now requires 2 global variables.
# Updated some enums for GTA III and VC.
# The "each" method for arrays now correctly uses a counter.
# The FXT class now has the default encoding "None".
Major changes in 4.5b:
+ Added methods that describe most of the opcodes from the CLEO 2.0.0.5 library for GTA III and VC.
+ Added overload of the "wait" method, where it is not necessary to specify the delay time with conditions.
# Fixed errors in the texts of opcodes (020C, 0219, 0357, 0887, 09D8), which did not allow the script to be compiled correctly.
# Changed the location of some methods in the "Script" classes.
# The "Library" and "File" classes are now in the GTA namespace, not in GTA.SA.
# The "auto" event in the "Switch" class is now named "Auto".
Major changes in 4.4b:
+ Added "jump" and "jump_end" methods in "SwitchCase" class.
+ Added overloads for "local" and "global" methods.
+ Added "auto" event in "Switch" class. Now you can make automatic cases in the transition table, the countdown of which starts from zero. This makes the code more compact and building faster due to the built-in capabilities of Visual Studio.
+ Added the "jf" method, which takes the label index as the first parameter, as it was in other conditions.
+ A static field "None" has been added to the "GXTEncoding" class, which contains a pseudo-encoding that does not convert text. Used for quick work in places where conversion is not needed (for example: English localization).
# The generator no longer throws errors if FXT and IMG files were not created during compilation.
# The "jf" method, which took a delay time as its first parameter, is now named "wait".
# Reworked the mechanics of the "jump_table" method.
- Removed "jump_label" and "jump_end" methods in "Switch" class.
Major changes in 4.2b:
+ Methods that take "JumpHandler" as a parameter now generate a new label if it's missing instead of throwing exceptions.
Now you can jump to the first and arbitrary labels if the conditions are not met.
+ Added "Starter" plugin for GTA SA, which will allow you to make a simple mission starter (Reworked version of former starter plugins).
# Updated and added some enums.
# Gosub now uses a different delegate
# The parking vehicle generator no longer has "init" and "init_with_number_plate" methods. Instead, similar methods have been added that take into account the type of transport.
# Fixed a bug when untranslated text was saved to an FXT file.
# Minor edits for "Jump" and "Gosub" events.
# The "Camera" class is now a "single class", accessible via the "CAMERA" property.
- Now you can't jump on tags that are created by the Gosub ! event! - Camera related functions removed. Now they are called through the "CAMERA" property.
GTA Script Generator - это инструмент, который позволяет генерировать код для Sanny Builder, используя Visual Studio и язык C#. DLL-библиотеки содержат все основные методы, которые часто используются при разработке стандартных main.scm модификаций. Теперь Вы можете более быстро разрабатывать скрипты, не допускать критических ошибок и писать код, используя современный язык C#.
Чтобы использовать эти библиотеки, Вам нужно владеть языком C# на базовом уровне и знать как работают SCM-скрипты. Вам нужно использовать последнюю версию Visual Studio и .NET Framework версии 4.7.2 или выше. Работоспособность на других языках и платформах не гарантируется.
Библиотеки работают только с Sanny Builder v3.5.0 (или выше) и генерирует код специально для него. Есть поддержка как простой генерации кода, так и прямой компиляции в SCM-файл.
Если вы хотите поддержать автора, то скачивайте программу через зеркальную ссылку!
Переходя по зеркальной ссылке, вы получаете самую последнюю версию GTASG (7.5b).
На сайт загружены только прошлые версии программы.
Основные изменения в 7.5b:
+ Добавлена поддержка компиляции CLEO-скриптов.
+ Добавлена поддержка SCM-функций.
+ Добавлен классы "Union" и "Calculator".
+ Добавлено свойство "EndJumpTable" в классе "LabelCase".
+ Добавлены GXT-кодировки от Fargus и BadMan.
# Библиотеки теперь используют ".Net Framework 4.8".
# Исправлена работа опкода "07E4".
# Многие методы были переименованы согласно американской форме написания некоторых слов. Также переименованы некоторые свойства в плагинах.
- Свойство "UseAutomaticVariableInitialization" класса "Generator" было удалено.
Основные изменения в 7.2b:
+ Класс "Memory" теперь может принимать целое число в конструктор. Это позволит указывать прямой адрес в функциях, где требуется этот тип.
+ Добавлен метод "unsafe_code".
+ Добавлен статический метод "IndexOf" класса "Variable".
# Исправлен баг, когда индекс локальной переменной не позволял использовать переменную массива в миссиях, используя лимит потоков и внешних скриптов.
# Исправлен баг, когда оператор > генерировал не тот опкод, когда первым параметром было число.
# Свойство "Car.empty" теперь доступно в библиотеке GTA.SA.
# Метод "set_tag_status" был переименован на "set_tags_status_in_area".
- События "AutoJumpCase" и "AutoJumpEnd" в классе "JumpTable" были удалены.
Основные изменения в 7.1b:
+ Добавлен метод "do_if_index_in_range" в класс "Array".
+ В класс "Memory" добавлено событие "Label", которое является идентичным свойству "label".
+ Добавлен метод "set_volume" для плагина "AudioBackground".
+ В плагин "Phone" добавлены события "onloadData", "onunloadData" и "OnReplicaChanged".
+ В класс JumpTable были добавлены 2 события: AutoJumpCase и AutoJumpEnd.
+ В класс "Original" были добавлены свойства "EnableEmmetsGun", "EnableDefaultArmourPickups", "EnableDefaultBribePickups" и "EnableDefaultMeleeWeaponPickups".
+ Теперь при инициализации локальных переменных в миссиях будет срабатывать ошибка, если их индексы будут содержать значения 32 и 33.
# Тип "Parameter" теперь не может принимать переменные-строки. Лимит на количество передаваемых параметров был изменён на правильный в библиотеках GTA.III и GTA.VC.
# Были исправлены методы, которые принимали массивы в качестве параметра. Теперь количество параметров указывается правильно.
# Метод "jump( Memory m )" теперь будет показывать предупреждение, если параметр не содержит ссылку на метку (а не вызывать ошибку).
# Теперь при обращении к числовому индексу массива актёров его поле "task" будет иметь правильный индекс.
# Исправлен метод "start" класса "Timer", который использовал неправильный формат для опкода 014E (GTA.III).
# Плагин "Phone" теперь может хранить 24 реплики, а не 20. Также он может хранить неограниченное количество диалогов, а не 75.
# Свойство "After" класса "DialogSetup" изменено на поле "OnComplete".
# Свойство "EnableDefaultPickups" класса "Original" было переименовано в "EnableDefaultWeaponPickups".
Основные изменения в 7.0b:
+ Локальные и глобальные переменные уже не требуют предварительной инициализации.
+ Добавлен упрощённый синтаксис инициализации массивов.
+ Добавлено свойство "UseAutomaticVariableInitialization" класса "Generator". Оно регулирует использование автоматической инициализации переменных.
+ Теперь можно указать имя SCM-файлу.
+ Добавлен тип "Bike" для GTA VC.
+ Добавлены декоративные типы "sString" и "vString" для GTA III и VC.
+ Добавлены опкоды 0601 и 0602 для GTA III и VC.
# Генератор адаптирован под Sanny Builder v3.5.0 (или выше).
# Теперь вместо одной общей библиотеки используются три, чтобы не загружать ненужные методы и классы.
# Сокращено количество пространств имён.
# Класс свойства FXT полностью переработан. Теперь можно добавлять тексты для нескольких FXT-файлов.
# При создании локального массива будет показана ошибка, если переданный тип не используется в локальном контексте.
# Генератор парковки теперь имеет методы "init", "init_with_number_plate" и возвращает тип "CarParkGenerator". Старые методы инициализации были убраны.
- Большинство свойств класса "Generator" были удалены. Теперь вместо некоторых их них используются методы.
- Переменная по умолчанию "ScriptStatus" была удалена.
- Удалён метод "set_crouch" класса "Actor" в режиме GTA SA. Это дубликат одноимённого метода класса "TaskManager".
- Отключены опкоды GTA III, VC и SA, которые не использовались в main.scm, но нативно поддерживались.
Основные изменения в 5.3b:
+ Плагин "Original" теперь имеет свойство "After".
+ Добавлен метод "change_door_lock" для типа Vehicle в режиме GTA III и VC.
# Был исправлен метод "start_new_external_script", который принимал параметры.
# Методы "Generator.OpenAllMapZones" и "Generator.DisableCheats" были перемещены в плагин "Original".
# Был обновлён плагин "Original". Теперь плагин насчитывает 140 скриптов! Добавлены следующие оригинальные скрипты:
## BBALL: Возможность играть в баскетбол;
## CRANES: Возможность использовать краны;
## INTMAN: Делает атмосферу в интерьерах как в оригинальной игре (казино, бар, стрип-клуб и.п.). Возможность покупать одежду, татуировки, стрижки, оружие. Возможность использовать гардероб или стрелять в тире;
Добавлена возможность играть в мини-игры, бильярд, делать ставки на скачки или участвовать в битве лоурайдеров;
## R3: Мини-миссии (таксист, медик, пожарный, полицейский, сутенёр, грабитель, машинист поезда);
## TRACE: Возможность участвовать в уличных гонках и турнирах;
## SKOOLS: Возможность проходить школу пилота и остальные;
## ODDVEH: Возможность проходить миссии курьера, триатлон и другие второстепенные задания, связанные с мотоциклами и велосипедами;
## TRUCK: Возможность проходить миссии грузоперевозчика;
## QUARRY: Возможность проходить миссии в карьере;
## VALET: Возможность проходить миссии лакея;
## TRAINS: Позволяет использовать поезда для быстрого перемещения;
## PLANES: Позволяет использовать самолёты для быстрого перемещения;
## HJ: Включает бонусы за безумные трюки;
## IMPND: Атмосфера возле полицейского участка (конфискованный транспорт);
## IMPEXPM: Даёт возможность импортировать и экспортировать транспорт в доках Сан-Фиерро;
## CARPRK1: Включает стандартный генератор парковочного транспорта;
## TCASH: Создаёт пикап для сбора прибыли возле дома Карла;
Основные изменения в 5.2b:
+ Метод "Generator.Compile" теперь имеет опциональный параметр "restartSannyBuilder", который будет открывать Sanny Builder после компиляции.
+ Добавлены операторы "&=", "|=", "^=" и "%=" для типов "Int", "Memory", "StatusText" и "Timer". Они реализуют работу опкодов "0B10", "0B11", "0B12" и "0B14".
+ Добавлен плагин "Phone" для GTA SA, который позволяет Карлу принимать звонки.
+ Добавлен плагин "SaveGame" для GTA SA, который позволяет сохранять игру, как в оригинальной игре.
+ Добавлен плагин "Properties" для GTA SA, который позволяет Карлу покупать недвижимость, как в оригинальной игре.
+ Добавлен плагин "Original". Он позволяет включать или отключать стандартные скрипты (опционально). Добавлены следующие скрипты:
++ PLCHUTE: Возможность использовать парашют;
++ VENDING: Позволяет игроку покупать газировку и чипсы;
++ FVENDOR: Позволяет игроку покупать еду у продавцов;
++ HOTDOGV: Позволяет игроку покупать хот-доги у продавцов;
++ DEALER: Дилеры торгуют наркотой;
++ GATEOS: Управляет воротами склада ГСМ К.А.С.С;
++ GYMBIKE: Позволяет использовать тренажерный велосипед;
++ GYMBENC: Позволяет использовать тренажерную штангу;
++ GYMTREA: Позволяет использовать беговою дорожку;
++ GYMDUMB: Позволяет использовать тренажерные гантели;
++ GYMLS: Позволяет изучить стиль боя после победы над оппонентом (Бокс);
++ GYMSF: Позволяет изучить стиль боя после победы над оппонентом (Кунг-фу);
++ GYMLV: Позволяет изучить стиль боя после победы над оппонентом (Муай-тай);
# Свойство "StartGlobalAutoIndex" теперь имеет стандартное значение 714, а не 2000.
# Методы "Continue" и "Break" переименованы на "@continue" и "@break" соответственно.
# Обязательный метод скрипта "Start()" изменён на "START( LabelJump label )".
# Свойства "LocalTimer1" и "LocalTimer2" теперь не являются статическими.
- Методы "jump", "or", "and" и "jf", которые не принимали в аргументы метку перехода, теперь недоступны.
- В некоторых методах параметр типа "Out" был заменён на старый вариант.
Основные изменения в 5.1b:
+ Добавлен вспомогательный тип "Out", который будет вызывать ошибку, если в параметр не указать переменную.
+ Метод "load_requested_models" теперь может принимать массив моделей в качестве параметра.
+ Добавлен метод "is_scan_string_format", реализующий работу опкода 0AD4.
+ Добавлен метод "chdir", реализующий работу опкода 0A99.
+ Добавлена кривая английская версия построения и ошибок в консоли.
+ Добавлено свойство "StartGlobalAutoIndex" класса "Generator", который позволяет установить индекс, с которого начинаются автоматические глобальные переменные.
# Небольшие изменения внутри методов, которые создают различные сущности. Теперь генератор будет вызывать ошибку, если переменная не имеет контекста.
# Исправлены методы расширения GTA VC для класса "Vehicle", где в параметрах был тип "object".
# Метод "get_current_thread_pointer" теперь находится в классе "Memory".
# Метод "read_memory" теперь учитывает выходной тип, а не использует тип "Memory" по умолчанию.
# Исправлен баг, когда класс "CarComponent" не мог быть локальной переменной.
Основные изменения в 5.0b:
+ Новая архитектура генератора скриптов. Теперь для реализации кода потоков, миссий и внешних скриптов используются классы, а не методы с атрибутами.
+ Добавлена возможность создавать локальные переменные в области видимости класса.
+ Методы "local" и "global" теперь имеют перегрузку без параметров. Она позволяет давать переменным индексы автоматически.
+ Добавлены методы "local_array" и "global_array" для режима GTA SA, вместо перегрузок "local" и "global".
+ Добавлено событие "Scene" вместо метода "start_scene_scip" в режиме GTA SA.
+ Добавлен метод "gosub" как альтернатива событию "Gosub".
+ Теперь если использовать элемент массива в качестве индекса другого массива будет срабатывать ошибка (так и должно быть).
+ Добавлены перегрузки часто используемых методов для упрощения кода.
+ Добавлен плагин "RaceMission" в режиме GTA SA. Он позволяет генерировать код гоночных миссий.
+ Добавлен метод "сonvert" для свойства "FXT". Он позволит делать перевод текста в символьный вид без добавления записи в FXT-архив.
+ Добавлено свойство "NotToCompileExternalScripts" в классе "Generator". Оно укажет Sanny Builder не компилировать внешние скрипты.
# Свойство FXT больше не имеет метода "set_GXT_encoding". Вместо него используется свойство "Encoding" класса "Generator".
# Свойство "ConsoleLanguage" класса "Generator" теперь имеет имя "Language".
# Все Gosub теперь всегда генерируют "return".
# Переработана механика генератора парковок. Теперь методы возвращают транспорт.
# Генератор теперь не генерирует код скриптов, если они не запускались в коде.
# Изменён формат меток. Вместо индексов теперь используются специальные классы.
# Исправлен глюк при использовании массива, когда поле "task" класса "Actor" имело неправильное имя переменной.
# Исправлены индексы для локальных таймеров в режиме GTA SA (к коде миссии).
# Обновлены и добавлены некоторые перечисления для GTA SA.
# Все плагины больше не требуют указывать индексы глобальных переменных.
# Методы "gosub_clear", "jump_passed", "jump_failed" и события "OnPassed", "OnFailed" и "OnClear" теперь доступны только в классе "Mission".
# Метод "mission_cleanup" и условие "is_wasted_or_busted" теперь доступны только в классах "Mission" и "MissionCustom".
# Генератор больше не вызывает ошибку, если файл "script.img" не удалось перезаписать вовремя игры. Вместо этого будет показываться предупреждение.
- Убрана возможность указывать порядок генерации скриптов за ненадобностью. Сортировка происходит в процессе генерации автоматически.
- Убраны методы условий, которые принимали индексы меток в качестве параметров.
- Удалён класс "CarParkVehicle" за ненадобностью.
- Удалены атрибуты "Thread", "Mission" и "External" за ненадобностью. Вместо них используются классы "Thread", "Mission", "MissionCustom" и "External".
Основные изменения в 4.5.25b:
+ Добавлена возможность выбрать язык построения и ошибок консоли. Раньше был только русский, а сейчас тестируются и другие.
+ Класс "Ini" теперь доступный для GTA III и VC.
+ Добавлены константы моделей оружия, актёров, транспорта и прочего для GTA III, VC и SA.
+ Добавлен тестовый метод "Start" для генератора. В нём поток "MAIN" будет указан автоматически, что позволит избежать использования частичных методов. Предыдущий метод пока доступный за именем "Start_old".
+ Добавлен плагин "StarterAdvanced" для GTA SA, который позволит сделать стартер более функциональным.
# Плагин "Starter" теперь требует 2 глобальные переменные.
# Обновлены некоторые перечисления для GTA III и VC.
# Метод "each" для массивов теперь корректно использует счётчик.
# Класс FXT теперь имеет кодировку по-умолчанию "None".
Основные изменения в 4.5b:
+ Добавлены методы, описывающие большинство опкодов из библиотеки CLEO 2.0.0.5 для GTA III и VC.
+ Добавлена перегрузка метода "wait", где не надо указывать время задержки с условиями.
# Исправлены ошибки в текстах опкодов (020C, 0219, 0357, 0887, 09D8), что не позволяли правильно скомпилировать скрипт.
# Изменено расположение некоторых методов в классах "Script".
# Классы "Library" и "File" теперь находятся в пространстве имён GTA, а не в GTA.SA.
# Событие "auto" в классе "Switch" теперь имеет имя "Auto".
Основные изменения в 4.4b:
+ Добавлены методы "jump" и "jump_end" в классе "SwitchCase".
+ Добавлены перегрузки для методов "local" и "global". Они позволят упростить инициализацию переменных.
+ Добавлено событие "auto" в классе "Switch". Теперь можно делать автоматические кейсы в таблице переходов, отсчёт которых начинается с нуля. Это делает код компактнее, а построение быстрее из за встроенных возможностей Visual Studio.
+ Добавлен метод "jf", который принимает первым параметром индекс метки, как это было в остальных условиях.
+ В класс "GXTEncoding" добавлено статическое поле "None", которое содержит псевдо-кодировку, что не конвертирует текст. Используется для быстрой работы в тех местах, когда конвертация не нужна (например: английская локализация).
# Генератор больше не вызывает ошибок, если FXT- и IMG-файлы не создавались при компиляции.
# Метод "jf", который принимал в первый параметр время задержки, теперь имеет имя "wait".
# Переработана механика работы метода "jump_table".
- Убраны методы "jump_label" и "jump_end" в классе "Switch".
Основные изменения в 4.2b:
+ Методы, которые принимают в параметр тип "JumpHandler" теперь генерируют новую метку, если та отсутствует, а не бросают исключения.
+ Добавлены перегрузки для методов "and", "or" и "jf". Теперь можно делать прыжки на первую и произвольные метки, если условия не выполняются.
+ Добавлен плагин "Starter" для GTA SA, который позволит сделать простой стартер миссий (Переработанная версия бывших плагинов для стартеров).
# Обновлены и добавлены некоторые перечисления.
# Gosub теперь использует другой делегат
# Генератор парковочного транспорта теперь не имеет методов "init" и "init_with_number_plate". Вместо них добавлены похожие методы, которые принимают во внимание тип транспорта.
# Исправлен баг, когда сохранялся непереведённый текст в FXT-файл.
# Мелкие правки для событий "Jump" и "Gosub".
# Класс "Camera" теперь "класс-одиночка", доступный через свойство "CAMERA".
- Теперь нельзя делать прыжки на метки, которые созданы событием Gosub
- Удалены функции, связанные с камерой. Теперь они вызываются через свойство "CAMERA".
Recommended files

GTA San Andreas Weapon Editor by Sadler v. 0.14b

Extra v2.0

Christmas tree carrier

More brothers from Grove Street

[3Ds Max] BIPED ANIM PART 1 & 2 - 3Ds MAX BASICS

AutoDriver script for GTA San Andreas

GTA 5 Radio Westcoast Classics For San Andreas Script

GTA V Mammoth Thruster with Livery & Script (DLC Doomsday Heist)


GTA SA Rocket launch test script

Mortal Kombat Conquest for GTA SA V3.1

GTA SA NFS MW

GTA San Andreas 4th Life Rebirth

Mysticism in GTA San Andreas

Boat shop at GTA San Andreas
