Coding

 Reply to this postStart new topic

Modding Forum Index

Adler
post Nov 23 2010, 07:42 AM
Post #1


Devil's Advocate

Group Icon

Posts: 413
From: CA US
Joined: 26-July 09



THIS NEEDS TO BE UPDATED!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I MAY OR MAY NOT GET AROUND TO IT DEPENDING ON THE DEGREE OF THE LAZYNITIS THAT HAS PLAGUED MY MOTIVATION.


MY PURPOSE


This is a topic dedicated to facilitating the deliverance of useful information for your convenience.

In my personal experience I have seen a number of lengthy topics or forums that only have either the first or the last few posts viewed most often. The posts in the middle, as valuable as they may be, are buried in history through time and spam. I created this topic in order to liberate those posts from their unfortunate slumber and present to you the INDEX OF THE MODDING FORUM! *dun du da da!*

/dramatic opening

Though it is my honest opinion that Deji should create more categories for the Modding Forum in order to better organize everything. tongue.gif


THE INDEX


The following is the overall index for the Modding Forum. I did my best to put them in suitable categories so they can be found more easily.

Tutorials
TitleDescriptionAuthorGame
Map Modding"Another Tutorial from Deji"DejiIII/VC/SA
Timers"How to use the 32@ and 33@ smile.gif"DejiIII/VC/SA
Randomization"Lil tutorial on randomizing things!"DejiIII/VC/SA
San Andreas Mission Packs"How to have mission packs in SA!"DejiSA
Mission Coding Pt. 2"Spawn cars, change plates ect..."DejiSA
Deji's Animation Tutorial"This tutorial is designed for San Andreas so if you have Vice City it may be confusing."DejiVC/SA
Deji's CLEO Tutorial 1"Coding Tutorial"DejiSA
Installing Vehicles"How to mod a car"DejiIII/VC/SA
Modeling Tutorial (Easy Way) - Basic Buildings"People and Deji asked, they'll get it."Spider-ViceIII/VC/SA
Finding GTA SA Memory Addresses"Via CheatEngine..."DejiSA
MD5 Sums and Sizes for gta_sa.exe"Check what version of the gta_sa.exe you have..."DejiSA
Checking your gta_sa.exe version..."Easy method..."DejiSA
Using "sine" and "cosine""Turn an angle into a relevant offset."DejiSA
Changing Global Variables via Memory"This way is much better for CLEO modders and people interested in making hooks"DejiSA
Displaying Text Using Memory"This is quite an old trick, but let's explain it as well as possible..."DejiSA
Making your own .IMG file..."...and make it usable"Spider-ViceSA
Arrays"How to make use of them."DejiSA
Set Bit - Test Bit - Clear Bit"What they do. How they work."DejiSA
Data Types"Data types for the GTA's. Advanced stuff!"DejiSA
Changing Memory Without CLEO"The good ol' array method."DejiSA
Logging Changes"Get Bullets Fired in xx Seconds"DejiSA
Adding Keypresses Tutorial"How to check if a player has pressed a key..."DejiSA
Modifying Race Checkpoints for Funzies"Use memory to edit the race checkpoint spheres."DejiSA
Using Thread Memory"Out of variables? Use this advanced trick!"DejiSA
Additional Variables (34@+)"Set up a array index to use extra memory via variables!"DejiSA
Additional Variables"The easier, safer way!"DejiSA
Making Ryosuke's Missiles CLEO 4-Compatible!"Ryosukes Missile script can be fixed by following these simple steps"DejiSA
GTA San Andreas Scale"Article explains GTA SA scale used in many draw opcodes"fastman92SA
Cheat Pool, again"Maybe the easiest way without CLEO4"SilentSA
Running Scripts in a Frozen Game"Wanna run scripts while the game is frozen? Or during menu?"DejiSA
Functional Doors"Basic and advanced stuff..."DejiSA
Code Optimization Methods"For main.scm and CLEO alike."DejiSA
Sanny Builder Hacks"Why would we want to hack Sanny Builder? Who knows..."DejiSB
How To Use Sanny's Regex Search"This tutorial is a little different..."DejiSB
GTA SA CLEO SCM Hello world"Example like in other languages"fastman92SA

Documentation
TitleDescriptionAuthorGame
Special Actor ID's"Complete List!?"DejiSA
Pedtypes"Thanks to San Andreas Studios, ceedj, and the pedtypes files in San Andreas folder"DejiSA
Interior Codes and Coords!"Have fun and remember which site gave you this info xP"DejiSA
Haircut Models and Textures"For coders smile.gif"DejiSA
Zone List"San Andreas Zone List."DejiSA
Animations List"List of animations in San Andreas"DejiSA
GTA IV Anims List"List of animations for Grand Theft Auto IV"DejiIV
MORE Virtual Keycodes for 0AB0"Because some aren't usually listed."DejiSA
San Andreas' main.scm Construction"The order of things and shish."DejiSA
San Andreas Walk Styles"Here's the walk styles that you can apply to actors"DejiSA
Particles"Particles for San Andreas."DejiSA
SA Particles Documentation"With Images and Descriptions"DejiSA
Jump to 0 offset"Explanation and fix."DejiSA
The Memory Topic"For the coolest modders only xD"DejiSA
SA 061F Particles"With Images and Descriptions"DejiSA
SA 024F & 04D5 Particles"With Images and Descriptions"DejiSA
Car Colours"Car Colour ID's used with 014B, 0229 & 0A11"DejiSA
Car Colours"Colour preview and ID. Works with GTA VC and GTA III"DejiIII/VC
Decision Makers"More complete info has finally arrived!"DejiSA
Mission Cleanup Routine"What does mission_cleanup actually clean up?"DejiSA
GTA SA HUD Addresses"More HUD Documentation than you'll know what to do with!"DejiSA
FPS De-Limiter"Cause I couldn't think of a better name..."DejiSA
Explosion ID's"See this topic for screenshots of the particles which create these explosions."DejiSA
Car Component ID's"I tested these on a Manana"DejiSA
Ambient Speech ID's for 05C1"Speech audios for 05C1"DejiSA
Bone ID's"For onbone attachments, etc - FULL list."DejiSA
Restoring Rockstars Original Keypress Opcodes"Unlock hidden main.scm stuff and debug opcodes!"DejiSA
List of San Andreas' Addresses"This is mainly because I'm sick of creating txt files all over my computer with addresses and descriptions of what I've found."DejiSA

CLEO Library
TitleDescriptionAuthorGame
CLEO Mods"How to get CLEO and install CLEO mods."DejiSA
CLEO 4 - Great New Functions"Let's go over some of the great new functions in CLEO 4!"DejiSA
CLEO 4 - Advanced Usage Guide"Tips, tricks and explanation on advanced usage."DejiSA
IntOperations.cleo Tutorial"Bitwise Operations Tutorial.. And MOD Tutorial"DejiSA


Last Updated:

This post has been edited by Adler: Jul 18 2011, 07:35 AM


--------------------
Go to the top of the page
 
+Quote Post
Adler
post Nov 23 2010, 05:47 PM
Post #2


Devil's Advocate

Group Icon

Posts: 413
From: CA US
Joined: 26-July 09



The following is the index for the Pinned Coding Snippets topic with notes from the author of the snippets. In case you need a second opinion, my own (and Deji's) personal, but often useless, commentary is included when you hover over the Description.

GTASA Coding Snippets
TitleDescriptionAuthor
Enable Radio for All Vehicles"Now you have radio stations enabled for all vehicles."Deji
Edit Motion Blur"You can increase it to increase the blur, which can be fun."Deji
Random Coords in Area"Randomly generate some points around [an] X and Y."gtasearcher
CLEO Basic Starter"Ever got tired of always re-writing the same lines for all your new CLEOs? Just copy this..."gtasearcher
Fancy Camera Movement"The camera will orbit around the first car you enter. Just another example on how to use (co)sine as well as how you'd perform smooth camera movement."Deji
Mission Select Script"Proper way to add mission select script."Trickstar
Spike Strip Spawning"This is code from Vigilante Justice for creating a simple stinger and storing the coords of it's width and length... to variables so you can add the part to check if the car has run over the strip and pop it's tires, etc."Deji
Retrieving Offset According to Dimensions"This is also a bit of code from Vigilante Justice that finds the offset of a vehicle, which is accurate no matter which vehicle it is. This code in particular creates a sphere behind the car."Deji
Placing Objects on a Car"See the above post for more info."Deji
Searchlight Creation"Creates a searchlight at a set point, permanently checks for cars/peds/player and starts following them."gtasearcher
CLEO Keyboard"This can be used for user-input, which results in great mods."Deji
All Possible Actors"By using some basic coding tricks, you can either find any actor according to specific requirements or inflict an action upon all actors."Deji
Siggi's CLEO Starter"Just a quick reply to the old post of gtasearcher..."Siggi
Memory Hacking Coronas"Use this code to look for a certain corona that you created and want to modify."Adler
Optimized Code Starting"Since everyone is going on about CLEO Starters and optimizing them, let me post my methods of generally saving bytes and such."Deji
Optimized Code Starting"Contrary to what I have stated before... Long strings always save more bytes than short strings."Deji
Player Task Check"For people who really want to make sure the player is not included in any task."Siggi
Random Coords Around a Player/Car/Object"A function I use very often for creating random coords in a special radius around the player, a car, or an object."Siggi
Alternative CLEO Keyboard"My version uses SA cheats pool."Silent
HSL to RGB Convert"Function shown below converts value of Hue, Saturation, and Lighting to RGB values, so they can be used for eg. for choosing text draw, fade or car color."Silent
Writing Newlines to Files"Sanny doesn't have the ability to replace a sequence of characters with the newline character... And we can't add a newline in the string because that breaks it. So, we gotta use hex..end, and I'll show you how to do it!"Deji
Typewriter Text"This time we will make text appear on screen sign-by-sign, like it is written on typewritter."Silent
Repetitive Code with FOR Loop"Do [a] certain code for a special number of actors without stretching the code."Siggi
Additional Variables"I originally posted this stuff in this Sanny Builder Forum topic."Deji
Free Car Camera"So basically, you can move the camera around in the car freely."Deji
GetTrailerAttachedToCar"Simple function done as request. Works as IF and SET pseudo-opcode."Silent
Speed Testing Code"It's a nice idea to test code for its speed."Deji
Speed Testing Code II"I think that would be even more accurate using GetLocalTime, but meh."Silent
Spawn Current Cop"This is more like an example of how the EXE is programmed to completely ignore the SCM in certain situations."Deji
Bit Toggle"Just a little something I was using to test the ped structure for GTAG v2."Deji
Exponentiation Float or Integer"As I know there is no opcode that would be raise raise number to given exponent."fastman92
Subtraction Money"This function gets parameter with amount of money to subtract."fastman92
Shorstring to Integer"I wanted to make keyboard where I can type number and next to use it as integer. It wasn`t simply possible, so I decided to create this function."fastman92
Display Ped/Car/Object IDs"Requested by methodunderg in the GTAForums Coding Request Topic."Adler
Decimal String to Integer"4 days ago I posted function that converts only short string to integer. Now it`s better and allows ya to convert short or long string, whatever you want."fastman92
Two Integer Adding and INT Limit"Integer can store number up to 2147483647 and -2147483647. If you have [too] many numbers and you can check if after adding will be proper result of sum." - Deji's Addendumfastman92
Parse an Opcode"Confusing, eh?"Deji
Handling of CLEO Global Variables"I created functions that allow to simply handle CLEO global variables.fastman92
0771 (License Plate Town ID)"0771 could be considered as a NOPcode, but I've found a way to get it to work..."Deji
Get Car Component CoordinatesRetrieving world coordinates of car componentsDeji
Load Path File"This allows you to open an .rrr file in CLEO from outside the carrec.img file and use it to assign a cars path."Deji
Count Peds in a CarA function to count the number of peds in the passed car, including the driver.fastman92
create_thread For CLEO Scripts (Fixed Version)Creates a new thread within a CLEO Script.Deji
11 Extra Variables"Yeah, we really can have 11 variables more in any thread without almost any tricks..."Silent
GetTrailerAttachedCarGets the handle of the trailer attached to a car.fastman92
Recreate the PlayerVery simple... but very useful to stop the users of a mod doing silly things like killing the player... Well, that's what I'll be doing with it anyway. Deji


Last Updated:

This post has been edited by Adler: Jan 31 2011, 05:47 AM


--------------------
Go to the top of the page
 
+Quote Post
Reply to this postStart new topic

3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members: