This IS a reply to JosephLittles .GSC for Dummies. But the way I'm explaining it may help also.
What you need to know.
1) - What GSC Coding is.
2) - What A Variable Is.
3) - Basic Keywords.
4) - How To Make A Thread.
5) - Statements.
6) - Basic Commands
7) - Advanced Commands.
GSC Coding -
GSC Coding is commonly know to as a coding language used to make modification to a script in MW2 files. you can import them your self load them from in-game change a significant number of things, I e, "Experience Value", "Text Shown", etc. GSC coding is a coding language based off of the computerized language C++, C++ is based off of C#, And C# is based off of the language C. GSC language was made by the company "Infinity Ward" specially for MW2, it has its advantages and disadvantages. Once you get to know this WONDERFUL language the possibilities are close to endless. You can do many things with it , but it's up to you to decide on what to do, and how to do it.
What Is A Variable -
A variable has many definitions, but in coding it is this, "Basically it is a sort of "Holding device", say you made the variable "a" this variable a can hold on thing it could hold a sentence it could hold numbers it could hold certain codes that you are not willing to show to others, but this variable must also be defined, in GSC coding to define a variable you simply do this, "a = 2" so now what you just do is give the variable a the value of 2. you just need to practice and discover what the variables can conceal and what it can not."
Basic Keywords -
Code:
{ Opening Bracket
} Closing Bracket
|| Or
&& And
; Semi-Colon
= Assigning to something
== Is Something
( Opening Parenthesis
) Closing Parenthesis
< Less-Than
> Greater-than
++ Add to Something By 1
-- Subtract Something By 1
// To take a note.
There are many others but these are just a FEW of the BUNCH in a Basic coding of this tutorial.
How To Make A Thread -
How you make a thread is pretty basic but is often miscounted a counted for, here is an example:
Code:
firstThread()
{
}
Now let's go back and see what we did their:
Code:
firstThread() // The Threads Name,
The Opening and Closing parenthesis is a must or it will give you an error, and we don't want that!
{ // This is the Opening Bracket
// Here Is Where You Will Place Your Code.
} // Closing Bracket
Statements -
Here are some Statements:
Code:
if ("Argument")
{
}
for ("Argument";"What Will Be Done";"Until This Is Reached")
{
}
while ("True / False")
{
}
Here is what they do:
Code:
If Statement: The IF statement is pretty basic so say you do
firstIf()
{
if ("1" + "1" == "2")
{
self giveMaxAmmo ( "rpg_mp" );
}
}
It would run the IF statement because 1 + 1 = 2 and since it runs it it will give you Maximum ammunition for the RPG. Remember the ; (Semi-Colon) If that isn't included in their you will get an Error, but fr certain codes you wont need it experiment and find out for your self!
But if the argument put into the IF Statement were false it would skip over the line of code and not give RPGs max ammunition.
Code:
Basic For Statement say you do the following:
firstWhile()
{
i = 6;
while (i==6;i++;i==17)
{
i++;
}
}
This will make i's value of six increase by one every time it is ran so in this example it would be ran 11 times. Because if it is ran 11 times and the value is 6 it will be added by 11 which makes 17. Then the Statement will turn False and go to the next command.
Code:
Basic While Statement say you did the following.
firstWhile()
{
i = 7;
while (i=7)
{
self giveMaxAmmo ( "rpg_mp" );
}
}
This will be a continuous loop until the value of i is changed. Maybe you always wanted it to be run and never stop you could put this
Now if in the Parenthesis anything but 0 is their it will ALWAYS be True and will continually loop over and never stop, But if it 0 is in the Parenthesis it will be false and never run.
Nice reply tut xD . Do you mind putting that huge code list in a link or in a [ code] ?
AHHHHHH TWO PEOPLE!!!
I swear. I showed joseph my thread I was working on teaching GSC modding and then he fucking takes my idea (NOT JUST THE IDEA, THE LAYOUT THE EVERYTHING) and makes his own. Then you follow up his.
Good job to YOU.
Originally Posted by Insane
AHHHHHH TWO PEOPLE!!!
I swear. I showed joseph my thread I was working on teaching GSC modding and then he fucking takes my idea (NOT JUST THE IDEA, THE LAYOUT THE EVERYTHING) and makes his own. Then you follow up his.
Good job to YOU.
I thogutht it was ok, on my part and I deleted what he said and just left it as his post in a link. also adding CrazyApples.
Originally Posted by Insane
AHHHHHH TWO PEOPLE!!!
I swear. I showed joseph my thread I was working on teaching GSC modding and then he fucking takes my idea (NOT JUST THE IDEA, THE LAYOUT THE EVERYTHING) and makes his own. Then you follow up his.
Good job to YOU.
I would ban them both 4 eva!!
No joke xD But maybe you can reply also.
And explain like EVERYTHING
Eventually you guys make 1 tut with all the parts explained
So you guys have a Super-duper-mega-ultra-wtf-tutorial
Edit: before you remove my wtf because of flaming. Its meant like: Watering the flowers. ^^
Originally Posted by Mr.Mackey
I would ban them both 4 eva!!
No joke xD But maybe you can reply also.
And explain like EVERYTHING
Eventually you guys make 1 tut with all the parts explained
So you guys have a Super-duper-mega-ultra-wtf-tutorial
Edit: before you remove my wtf because of flaming. Its meant like: Watering the flowers. ^^
Minions can't ban and I didn't know that he was planning on doing this JosephLittle did not me.
Originally Posted by Mr.Mackey
I would ban them both 4 eva!!
No joke xD But maybe you can reply also.
And explain like EVERYTHING
Eventually you guys make 1 tut with all the parts explained
So you guys have a Super-duper-mega-ultra-wtf-tutorial
Edit: before you remove my wtf because of flaming. Its meant like: Watering the flowers. ^^
Originally Posted by rathynia
Minions can't ban and I didn't know that he was planning on doing this JosephLittle did not me.
I'm sorry. I usually don't get very angry.
If you know me, I'm a pretty calm guy.
No, I won't ban anyone (even if I could), and Rathynia you are fine. I really like this tutorial.
(so is Josephlittle, I guess /)
Now lets start fresh, ontopic.
Originally Posted by Insane
AHHHHHH TWO PEOPLE!!!
I swear. I showed joseph my thread I was working on teaching GSC modding and then he fucking takes my idea (NOT JUST THE IDEA, THE LAYOUT THE EVERYTHING) and makes his own. Then you follow up his.
Good job to YOU.
Well. THe red part... It looked like you wanted to smash your computer
And i said "joke" after the "BAN THEM BOTH" part.
Joke means "not for real" "part of a funny thing"