You are viewing our Forum Archives. To view or take place in current topics click here.
TTG_Loves_MoDzz Massive modding info
Posted:

TTG_Loves_MoDzz Massive modding infoPosted:

DUSTEN_LOVE
  • New Member
Status: Offline
Joined: Aug 28, 201113Year Member
Posts: 13
Reputation Power: 0
Status: Offline
Joined: Aug 28, 201113Year Member
Posts: 13
Reputation Power: 0
Hey TTG,TTG_Loves_MoDzZ here providing you with a basic modding/info post mainly regarding black ops mods. The post has info about modding/jtags/bans/tutorials & more. I wrote this all on my own its all my own work, i wrote it in sections and took about 8-10 hours to complete. I hope you guys come here for all your answers i will be updating it regularly. So enjoy!


Why Some mods are not released to public!

Hey guys,

this is post is to educate you on my some mods are better left unreleased. Also its going to show you what happens when you release your mods, and what happens.

Basically im just basing this post on FAQ i have seen floating this section of the forum.


Why don't you guys just release your mods? "You selfish "

Lots of members are complaining about people figuring out new mods and then keeping it to themselves. Well just to let you know mods don't just come with a snap of the fingers. Some mods/hacks that people create take a countless amount of hours & hardwork to complete, so they would like to get some profit before they release it and let everyone change the text in the patch to make it their own version.


By not releasing it then no one has fun.

That is false, i believe by not realising the mods it actually allows people to have fun for a longer period of time, i realized that with the GPD mods.

So what if you have to pay to get into a lobby atleast your supporting the creators of the mods or the people running the lobby for you.

Why can't you just release it for sakes?

Well we could release the mods but all that will do is get them patched very quickly and then all our hard work is pointless. Sure everyone got to play with them for a day but we spent weeks on making them so how does that make any sense at all.

Of course if you release ods treayrch will be quick to the scene, they have a whole team for this very reason that gets paid to patch mods put in place by people. So don't say " Oh no your wrong, if you release this it obviosly will not get patched" That is completley wrong as Treyarch has patched anything that has been released so far.

How is Treyarch patching these so fast? Can we slow them down at all?

Well like i said Treyarch has a team of trained professional on their side against us a bunch of kids/young adults. Treyarch has emplyee's that have gone to school for what they are doing. They are trained professionals at coding. So no atter what we come up with they could do way better. however they use their knowledge differently then us, They put it all towards fixing exploits and mods found & we put it all towards finding exploits and putting in mods.

Yes we can slow Treyarch down a little but not by much at all. If your going to release a mod and you want it to stick around for a little longer i suggest you don't mentioon what your modding to allow the mods to work. Lots of people release the exact code or DVAR they are using when tthey release a mod. That just makes treyarch go hmm look at that they are using button binds to activate the mods...PATCHED!

If we do not post the exact DVAR we are using it will take longer for Treyarch to patch the mod we have released. Why you ask? Well siply because they have to download the file which we have given for release open it up and actually look for what we are doing to make the mods happen. So it will slow down the patching process but not for uch i can assure you that.

If you release on TTG Treyarch can't see it...

Wrong, Treyarch has accounts on all the big modding forums so they can watch every step we take. As soon as they see someone release a mod they hop right on it and get to work.

yes they even have gold accounts Treyarch is a ulti million dollar company i can assure you that they will buy gold or premium on the sites to watch every section of the forums on that specific site.


Not everything has been patched...

Your right, offline mods are still possible but nothing carries over to xbox live. Treyarch has patched everything that has effected online play in any way shape or form. The company takes pride in their game and wants to keep it clean.

A list of online mods that have been released and patched

EXP GPD mod #1 (Patched in 2 days)
EXP GPD mod #2 (Patched in 1 day)
EXP GPD mod #3 (Patched in 1 day)
Infections GPD mod (Patched in 1 day)
Online JTAG infections (Patched in roughly 4 days)

There is a list of every online mod or mod that has effected online play in anyway. As you can see they were all patched fairly quick & not a single one of them is not patched.


Why does Treyarch "ruin our fun"?

Well believe it or not some players hate modders. Also why would Treyarch just allow modifications to their game. I agree it does ake the game "better" in my eyes but think about it if you were in treyarch's shoes. Basically saying if your work on something for 2 years of your life and then people just go and make changes to what you have spent so uch tie on, would you just "let it happen?" I sure as hell know i wouldn't. You have to see it as Treyarch would. Its their job to keep their game clean and legit for all the players as much as we hate hate it, it has to happen. Like i said osmm epeople hate mods in the game and they like to play legit they claim it is more fun.


So i hope this clears alot of things up regarding Black Ops modding.


Why online infections stopped working


Hey guys,

Lots of confusion is circulating the forums regarding the infections for online play in the Black Ops multiplayer.

I just going to give a very quick, brief explnation of the situation. Nothing detailed just going to get to the point.

What has happened:

As we all remeber mw2 online play was just destroyed with online infections. it seemed like everyday there was a new infection for online play, then all of a sudden they just stopped. No one knew wtf happened but they were gone.


Well we soon found out that the DVARS had reset themselves making the infections a no go A.K.A. they could not transfer into online play. Basically Black Ops is coded alot like MW2 regarding DVARS just so they could reset them like this because im sure Treyarch knew it was coming.

So all the infections that we had do NOT work for online multiplayer anymore. However not all 3000 DVARS can't all reset themselves as it would make the game very buggy or it might not even run right t all. So im sure there are still some DVARS we can toy with to give ourselves some infections for online. Like in MW2 some infections were brought back.

Infections that got patched:

These are the best infections that got patched in my opinion. I personally do not see them coming back at all nor do i think anyone will be able to bring them back. No one could in MW2 but we can always hope.

*Wallhack-PATCHED
*Bigger UAV-PATCHED
*Auto assit aim-PATCHED
*Bigger UAV-PATCHED
*Superspeed-PATCHED


I hope this will help clear things up guys and no Black Ops modding is not over. As Zondrina and XBE say "This is only the starting".


Thanks,


Why JTAGS do NOT connect to live


Hey guys,

This is a post on background info on JTAGS, why they are not connecting, what we need to do to make them connect, what we don't need to do , what JTAGS can do besides lobbies, & which things will not affect JTAGS getting back online at all. Hope you guys enjoy it, took a while to write out.

Seen alot of confusion and lots of people saying "we need a new rebooter" or KV's are broken"

Freeboot

Well both of those are incorrect. The Freeboot coded by the original freeboot team has nothing wrong with it. The image it creates does exactly what its suppose to do. Update the dash with out actually updating it. So it allows your JTAG to stay JTAGED and run off of the newest dashboard.

For anyone who thinks we need new rebooter, you need to end thst train of thought. Some people say the new freeboot purposley makes KV's not connect. Well no, even though the freeboot crew is pretty much against online modding abuse, they did not code it "wrong" on purpose.

A new XeX menu...

The XeX menu has nothing to do with server checks. So no we do not need to write a new XeX menu. It would be of no help other than be a change up. But it would not further JTAGS for online modding any farther then we are now.

Then why do KV's not connect?

Well for once M$ has stepped up their game and put in some new server checks. These checks detect unsigned code right away. JTAGS run unsigned code that is why "our" version of the game we boot up on is possible. The checks also make it so KV's can not connect at all.

Can we host a 10 minute lobby?

No, people are claiming tht KV's connect but only for a very short amount of time. This is not true. When you flash a KV and try to connect it says "Can't connect to Xbox live, please make sure you have an active network" So please stop burning good KV's as we only have so many.


So are JTAGS done online for good?

No, as you can see XBE & his crew have already gotten their JTAGS back online. The best part is they have made it so it is completley undectable and unbanable for the time being! ( No information regarding how to do this will be released or leaked so do not ask)

In order to get JTAGS online agian you need to bypass server checks M$ has put in place. This is NOT easy to do and it will requitre alot more work then simply flashing a new image to your console. No more information can be shared on how to bypass the checks.

System link?

Yes, your JTAG can run unsigned code in system link because it is offline. However Treyarch has done something smart there. The Xp from system link goes to a side server and can NOT be carried to online. therefore system link Xp does not work at all.

You can infect yourself with infections such as waalhack and large UAV in system link and these will stick for online. This is the only type of modding for Black Ops that carries in to online.

But JTAGS will always run unsigned code offline because its OFFLINE, no server checks can be put in place because your not connecting to M$'s server.


So no lobbies my JTAG is pointless...

Well no actually, JTAGS were made to do other things and not lobbies! Unfortunatley so many people have bought JTAGS strictly for lobbies and have abused them so much and really made M$ crack down on online modding. We have no one but ourselves to blame. JTAGS online were getting abused big time.

JTAGS were actually created to run programs on them such as homebrew, homebrew allows you to get acarde style games and emulators on your JTAG for free. Some of the games you can get is super mario, sonic, etc... Also yoou can get free DLC, and acarde games in the market place.

So please while JTAGS are held offline i beg you to look at what JTAGS were actually made for and explore what else they can do besides lobbies. You may not think it will be fun but trust me it is.




What JTAGS are higer quality, basic JTAG facts


Hey guys,

seen alot of people posting about "What JTAG is the best?" Im making this post to clear all those issue's up.

Basically im going to explain pro's and cons of the different types of motherboards on JTAGS

"Types" of JTAGS

Basically "JTAG Types" come from the motherboards of the console. The motherboards are what have the actual "names" you could say. All JTAGS do the same thing...run unsigned code, so its not a matter of "what JTAG does more". Its more of a which motherboard is built better/ more durable (made to last)

Year JTAG motherboards were produced in

Xenon: A Xenon motherboard is one of the oldest motherboards that the JTAG hack is done to. This motherboard was produced in 2005

Zephry: This motherboard is tied with the xenon for the oldest motherboard a JTAG hack has been done to. This motherboard was also produced in 2005.

Opus: The Opus motherboard is a rare one. Not many people tend to get opus JTAG due to how rare they are and the little knowledge people have on them. However i do know that the Opus motherboard was produced in 2007.

Falcon: The Falcon motherboard is less rare than the opus and was created in the same year as the Opus. So the Falcon motherboard was produced in 2007.

Jasper: The Jasper is without doubt the best motherboard to JTAG. It is the newest & last motherboard that had the JTAG hack done to it, This motherboard was created in 2008.


Quality of the motherboards after being JTAGGED ( "Best, Worst")

Im going to give my opinion on each motherboard for the JTAG hack.

Xenon:

This is the most common motherboard people like to JTAG. The reason to that being it is quick and easy. Like i said before the Xenon was one of the first motherboards to get the JTAG hack put on it. So it is rather old.

This does not mean a xenon is a bad motherboard to JTAG. If it was so bad then it would not be as common as it is. People like xenon JTAGS because they are easy to use.

Pros:

-Take both Types of KV
-Easy to fix
- Easy to do the JTAG hack on
- Very Cheap
- Takes both types of KV

Cons:

-RROD is very common
-Oldest generation of motherboards
- %55 fail rate
-No HDMI

If you have no experience with console repairing at all i recommend you do not get a Xenon.


Zephry:

This JTAG is also one of the oldest motherboards to see the JTAG hack. I do not know many people that have them and the ones who do say they have alot of problems.

This is a good JTAG just not the best.

Pro's

-HDMI
-Lower RROD rate
-Easy to use

Con's

-Type 2 KV only
- %30 fail rate
- Overpriced in my opinion.
- Perform lots of weak flashes resulting in console error.
- Old motherboard


Opus:

This is the very rare motherboard with the JTAG hack. I do not recommend anyone who is new to JTAGGING to get this JTAG!

A good JTAG, but to rare. If you want a challenge get an Opus.

Pro's

-Newer motherboard (07)
-Less fail rate
-RROD is rare

Con's

-Rare so not much information is known about them
- Only take type 2 KV
-Hard to use/ understand
-No HDMI


Falcon:

The Falcon is a common JTAGGED motherboard. This is a newer motherboard, so its more durable.

I recommend spending the extra money on this JTAG. It barley has any malfunctions. (Unless caused by owner)

Pro's

-HDMI
-RROD is SUPER rare
-Newer motherboard (07)
-Only %11 failure rate

Con's

-Very expensive
-Hard to fix when they do error
-Only take type 2 KV


Jasper:

A Jasper is without the best Motherboard to do the JTAG hack to. It is the newest motherboard with the JTAG hack and the last one to get the hack. RROD is practically unknown to this console.

I would not get this JTAG if your just going to host lobbies. This JTAG is more for modders who want to run homebrew programs on them and do offline modding, Also good for online lobbies but no point to spend all this money if your just doing COD mods

Pro's

-Pretty much never error (Unless owner messes up)
-RROD is almost unknown to this motherboard
-Newest motherboard with hack done to it (Produced in 0
-HDMI

Con's

-Cost alot
-Only take type 2 KV


Those are my thoughts on the jtaggable motherboards. Basically all Xbox360 motherboards are subject to RROD so i would look into getting fan modifications done to your JTAG to help it last.



Keyvaults:

A Keyvault also known as a KV is the file used to unban your console. Every time you go online with a JTAG it eventually gets banned.


What is a keyvault?

A KV is the part of your console that sends the console information to microsoft. This is imortant because this is how m$ identifies the console that are connecting to their servers. KV's have your console i.d in them an example would be a kv has your console's serial number.

Types of Keyvaults

There are 2 types of KV's. There is a Type 1 & a Type 2 KV's types come from the motherboard they are pulled from. You can only take KV's out of jtaggable/exploitable xboxes that the jtag hack can be done to or they will not unban your console.

Type 1 Keyvaults which JTAG takes them

-Xenon

Type 2 Which JTAG takes them.

-Xenon
-Falcon
-Zephry
-Opus
-Jasper


What one is better?

After using both types of KV several times i have found type 2 is the better kv in my opinion. They tend to last longer before getting banned.


What is the difference form a shared & unshared KV?

Shared KV is a keyvault that many different people flash to their JTAG to unban it. Usually around 4 people per share KV anymore than that and the KV will lag. A shared KV allows many people to boot up and host but gets banned quicker than and unshared.

An unshared KV is a KV that gets flashed to one console only giving it no lag & the ability to last longer because your the only person using it. If you have an unshared KV you can sell it to people and make some money off it. Only sell to 3 others if you will be booting on it aswell. You do not want the KV to lag for your buyers.


How to install a Title Update on your JTAG


Hey Guys,

Alot of people have been contacting me saying they can't get the menu to work. Or i get the occasional "your menu is broken you idiot".

Also people are saying. My JTAG is broken i just get a black screen all the time. Look at this post to get all the info on installing a title update and if you do this correctly it should fix your problems.

Well let me give you some info on the menu and what you need to do. In order to run our menu and not have it error you need to have the TU2 installed properly on your JTAG. No you do not just put the the TU2 files in with the rest of your black ops files.


How you know the TU has not been installed properly

You will get error codes such as the content you are trying to load can not be found as its form an incorrect region etc.

Another one is when you try to play the XeX for the menu you get a black Screen and it stays black.
What you need:

-Files of the TU your putting on (1 TU file, 2 XeXp files, 5 fastfiles)

Download all TU2 Fastfiles here & the Tu2 File
multiupload.com/TX84D8VALE

*We are now on TU3 I do nto have those files handy for download my pc crashed so i need to re rip them off my JTAG*

Get XeX's from gold section here
thetechgame.com/Forums/viewtopic...ml#5060434

*Video TuT with voice*



Here is a text TuT.

So 1st off you need the TU3 or files from what ever TU your putting on just cruise the forums and look for these files.


Okay lets get started!

1) Put your TU2 files ( tu_000000030000, and all fast files in the folder), the start.cfg and jtagvision.xex on the root of your USB.

2)Take your USB & plug into your JTAG, Go to XeX menu.

3)Copy your TU_00000030000 file from your USB and go to HDD>Contents on your XeX menu.

4) In contents look for a folder E00000CA5...etc click that folder and inside that folder look for a folder called 41560855.

5) Open 41650855 and you will see another folder called 000001 open that folder and you should see a save_game file paste your TU_000300000 file in there.

6) Go Back to your USB in XeX menu, Open the TU2 System link folder. You will see a bunch of . ff (fastfile) files, Copy each .ff 1 by 1 from your USB and put them in your Black Ops files. ( HDD1>games>Black Ops)

7) Copy and paste all 5 fastfiles & 2 XeX's 1 by 1 in to your Black Ops files on your JTAG go back to your USB


12) Congragulations you have succesfully installed the TU on your JTAG and are running it beautifully.



TuT written By TTGxL96SNIPES
Video Created BY TTGxL96SNIPES



Why 15th lobbies are NOT happening


Reasons.

Anyone claiming to be doing system link lobby for Xp is lying or in need of an account. Black Ops did something smart and made system link Xp on a side server. Therefore you can NOT get it to transfer on to the online server as of right now. So even if you turn live unlocks on it will not work. All system link Xp goes directly into the side server.

Anyone claiming to be hosting and online lobby besides Xboxelement is lying. ( unless staff confrimation on thread) Yes XBE is online running unsigned code. Do not ask why or how those questions will not be answered for obvious reasons. The reason everyone can not get online. First off there is nothing wrong with the new freeboot and no KV'S are not "Broken" lol. M$ has put in more server checks which detect unsigned code almost instantly (JTAGS run unsigned code) also the checks do not allow KV's to connect. Some people say they connected and hosted a 10 minute lobby. No they did not, no KV connects. The only way we will get JTAGS back is by bypassing the new server checks. No we do not need another freeboot/rebooter to do so as it will server no good in this situation. To get around these checks your actually going to have to do something bwsides flash a new image to your console.


The only lobby possible right now is the infection lobby hosted by XBE people get superspeed infection from his lobby and zero gravity that sticks in their private match so you will see lots of those online. No this does not mean they are on a JTAG running unsigned code. They are simply just infected from the infection lobby. The superspeed infection you get from XBE is not infectable by an infected player. There for you you can not get infected with superspeed by anyone besides XBE himself.


Please guys be smart and only trust the stickied posts. Look for proof and staff verification.

Im not trying to mini mod sorry if i am. Just lots of people had questions so i decided to answer them to update everyone on the situtation. It is 5am and i am super tired so sorry for and puns, spelling errors or not superdetailed answers in some sections.



Why infections started to work


Yes its true Black Ops infection online and offline lobbies are here. However not all infections will stick.

Regarding Online Infection lobbies

All online infections are PATCHED untill further notice

Infections that stick online from their lobby

wallhack
superspeed
blue connection bars ALL PATCHED
ping
larger UAVx2
zero gravity

Now do NOT allow anyone to trick you into saying they can recover your account and infect for you. Infections are on your XBOX not your PROFILE. So if your account gets recovered and infected in system link it will not be infected on your xbox when you recover.


Just because infections work on system link does not mean XP will

Large UAV
Wallhack
Superspeed (host only) (always in your private match)

Offline systemlink infections for online

Yes, you can now infect yourself for online play through system link. Go to my sticky in gold downloads to get the XeX needed and go to modding hacks section for the modded infection patch (sticky in modding/hack for Black Ops by HackerLove)

Infections that stick with offline infections

Just because infections are working does not mean Xp will. All Xp from offline system link goes to a side server no matter what game settings you do or even if you put online unlocks on it still will not stick.


Why infections work now but not with the old mod menu's

Well infections now work online through offline. They did not work before because we did not have an XeX patch to the TU with RSA checks removed. Also now we have the fastfiles decrypted making it easier to get better and more clean infectable infections. All old mods were done in .CFG now they are done in .XeX and all the checks in place on the XeX have been removed making these mods possible.


No the infections will not stick for you if someone else is infected

Infections will not stick for you if another player has infected themselves. As of right now the only way to get infections is thorugh XBE online infection lobby or system linking yourself with the infection patch and XeX with RSA checks removed offline on your JTAG. If you joing an infected game with superspeed the superspeed will not infect your console like it did in mw2 just yet. Remember this si just the begining and there is much more to come.



All info regarding Black Ops bans, why it can happen & how



Hey guys,

I have seen ALOT of posts talking about Black Ops bans. Some of the posts i have seen are "Can i get banned for this?" & "Servers are down?"

This is a very very basic post and subject, however a decent anount of members can not seem to understand it. So i am going to take it upon myself to explain to you what the deal is on Black Ops bans.

First off

The staff have asked for NO more topics asking if you can get banned for something or regarding your Ban on Black Ops at all.


They ask all Black Ops ban discussion be posted here.
thetechgame.com/Forums/viewtopic...ml#4524685

What is the easiest way to get banned?

Treyarch has been banning people for many different things. The way you can get banned easiest is by affecting the online play of the game in ANYWAY at all.

Treyarch is very strict regarding their online gameplay of call of duty Black Ops. They want to keep it a good clean, legit game arena. Like they said before release the game would be mod proof, to bad they failed big time.

What are some other ways a ban could be given?

Like i said there are many things you can do that Treyarch could award you with a ban. Some of the others are,

-Glitching
-Racists/innapropriate emblem
-Modding
-Cheating
-Online abuse
-Bad Clan tag

Those are just some other ways i see kids getting banned for.

Examples of each way to possibly get banned.

Glitching: Glitching is a wide variety of things. Glitches are considered problems with the game. (Treyarch has messed up in some way) Some examples of Glitches that could get you banned are, The prestige Glitch, secret room glitches, glitch where you can see players but they can not see you etc. Basically a glitch you can get banned for is anything that will give you an advantage in your gameplay.

Racist/Rude emblem:

An emblem with any rude/racism involved in it can get you a ban. Some examples of those rude/racist emblems are, the swastika (i see this one the most), anything regarding sexual beaviour, basically anything deemed immature or rude in anyway at all!

Modding/Cheating:

Modding and cheating are the two things with the hihgest risk of getting banned. Some examples of modding are, modded gamertag, modded rank, modded stats, modded GPD on profile anythign to modify gameplay at all. Some examples of cheating are, boosting rank or stats in anyway, infections (wallhack, aimbot, etc...). Anything that enhances your gameplay or stats that other can not have is considered cheating.

Online abuse:

Some examples of online abuse are, swearing, racism to other online users, making fun of other members (All of this does happen, if your caught by a tryearch or XBL employee, you will be banned.)

Bad Clan Tag:

A bad clan tag is self explanatory, some examples are, profanity, racism, sexual comments, etc...

Those are some ways you can be rewarded a ban or suspension on Black Ops or XBL. There may be other ways, these are just the ways i have noticed.


The types of bans you can recieve on Black Ops

You can either recieve a BAN or SUSPENSION on your account from Black ops.

A Ban is when your account is banned from the serves forever and you can not get it back. So you to get around the ban you need to create a new account. If you get several accounts banned and Treyarch see's they are all on one IP (your IP) they may reward you with an IP ban which will not let you on black ops on any account under your IP adress.

A suspension is when your account is not allowed on the Black Ops servers for a certain amount of time. The most common lenght for a suspension of an account on Black Ops is 48 hours (2 Days) All you have to do is wait out your suspension and then you will be able to play again. If you feel you were suspended for no reason you can call or contact Treyarch and explain your case to them. They will look into it if it is conclusive that you have violated the terms of use for Black Ops your suspension will remain.


How to tell if your banned or suspended

When you boot up black ops and try to go to multiplayer you'll see a message come up on the screen saying "sorry Black Ops server are currently unavaible at this time" This means you are banned or suspended. If there is no time remaing message on the bottom then your account is permantley banned. If you see a message underneath the originla message saying "Time remaining: 37 hours" (or however many hours it says) This means your account is suspended and you will have to wait out the time the message states to you.



I know this is a very basic subject but many members will still confused on why they were getting banned. There is no need to flame if you already know everything about bans. I made this to help people who don't know everything regarding the bans and suspensions.


What modding and XeX does,what a retail XeX does & how they can allow mods to work



Hey guys,

so im back again with another post i have decided to make for you guys to see. I would like to make atleast 1 info post per every two days with the knowledge i have on black ops modding/modding in general to keep you guys updated. No this is not professionally information its just all to my knowledge.

I put this in the Black Ops section because i want people to understand why black ops mods are able to be activated. Also because all the newest mods are coming to this section so i would like people to be educated on the situation in hand .


Lets begin,

What a regular XeX has

A regular XeX also known as the XeX your retail console runs is a file that boots the game. To boot the game the XeX file is reading all the other files used to create the game you are running and it checks the files to make sure they are good. If all files are good to go the game boots and runs properly. If the XeX detects any unknown files or any that have errors in them the game may not boot or it will error.

The XeX file checks the files to make sure its all signed code. The XeX file has its own checks in it some of the checks/ protections it has are, Cheat protections, RSA, read, write checks etc... these checks are what are Checking all the other files to make sure the proper code is being ran in the game.

How do people mod a game if there are checks in the XeX?

Well, like i said the XeX has checks in it and they check for signed code. In order to boot unsigned code in a game you need to remove all the protections & checks from the XeX. If you remove all of them it will allow more unsigned code to be read. If you only remove some checks then some unsigned code will not work.

What's signed and unsigned code?

I going to give a very very noob friendly & brief explanation of the codes.

signed code is code that the original game creator company has put in place. It is the original code that the game runs off. All checks & protections are put in place to make sure that code is what the game is running and that it is not being tampered with.

Unsigned code is code that we tweak or completley remake so the game can have mods and we can make it "our" style of game. The only way to run unsigned code in a game is to remove every check/protection that is making a game only run signed code. (please not you also must have a JTAG or devkit to run unsigned code)

Whats the difference between checks & protections?

Checks are things that "check" code to make sure that it is running properly and to make sure signed code is being read. Protections are things that "protect" code. They are put in place so people can not modify or tweak the code that the original gaing company has put in place. However as soon as you remove these protections your good to go.

Even after removing all checks and protections your game may error well trying to run the unsigned code. this simply means you have done something wrong. Go back and check to make sure all your code is right and that all protections and checks are removed. A famous error you will see if you have messed up your coding is "syntax error" when you see this error you need to go take a look at your code as you have messed up somewhere.

How do you remove checks from an XeX?

Removing checks is no easy task. It may be to some but at first it is hard to get a grasp on. It all depends what they method to copsny has used to put their checks in place. a couple ways that could be used are RSA & IDA. To remove IDA checks there is a program you can use called IDA PRO. Do remove checks you need knowledge of PPC assembly.

Basics

All this info is related to the default_mp.XeX files. With out checks.protections removed in this specific file of a game no mods would work. None of the unsigned code would get past the checks and and you would not even be able to tweak the code because of the protections in place.

I hope this helps you guys understand a little bit about why mods are working in black ops.



How to mod Fastfiles (.gsc scripting basics)


Hey guys,

this section is all about .gsc scripting (fastfile modding) it is written by a buddy of mine, he is the one who created the IHC zone editor to the .zone files. All credit to IHC James we both agreed to add his section to my info post. Enjoy
[color=blue]


[color=red]Fastfile Editing:
Getting Started

[spoil][*] Intro
[*] Preparing your Console
[*] Preparing Black Ops Storage
[*] Patching Black Ops Files
[*] Editing Black Ops Files

Coding Basics for Black Ops

[*] Functions
[*] Comments
[*] Endon Function
[*] Wait
[*] Calling Functions
[*] Variables
[*] If Statements
[*] Select Case Statements
[*] While Statements
[*] For Statements
[*] Final

[b]HUD / Text

[*] Working with _hud_util.gsc - Creation
[*] - Creating a Bar
[*] - Creating a Font String
[*] -Working with _hud_util.gsc - Modifying
[*] - setPoint
[*] - hideElem
[*] - showElem
[*] - destroyElem
[*] - setWidth
[*] - setHeight
[*] - setSize
[*] - setParent
[*] - setText
[*] -Working with _hud_util.gsc - Examples
[*] - Example Bar Creation
[*] - Example Font String Creation
[*] Working with _hud_message.gsc
[*] - oldNotifyMessage
[*] - hintMessage
[*] - notifyMessage
[*] - Other Text
[*] - - iPrintIn
[*] - - iPrintInBold

Pre Cache / Loading



[*] Explanation
[*] Example

DVARS

[*] Using Dvars
[*] - setDvar
[*] - setClientDvar
[*] -Dvar Dump

Models

[*] Basics
[*] Script Model Properties

[*] - Origin
[*] - Angles
[*] Script Model Functions
[*] - Show
[*] - Hide
[*] - Solid
[*] - Notsolid
[*] Some Model Names

Sounds

[*] Playing Sounds
[*] - Functions to Play
[*] - Examples
[*] Some Sound Names

Weapons

[*] giveWeapon
[*] switchToWeapon
[*] _disableWeapon
[*] _enableWeapon
[*] isWeaponEnabled
[*] Some Weapon Names

Button Binding

[*] OnPlayerConnect
[*] Monitor Function
[*] Waiters
[*] Function Example

Small Mods

[*] giveKillstreak

[*] - Some Killstreak Names

Misc Functions

[*] Coin Toss
[*] isFlashed
[*] wait
[*] realWait
[*] getGameLength
[*] get_player_height
[*] detatchAll

Some Variables

[*] Self
[*] - Name
[*] - Health
[*] Level
[*] - Hostname
[*] Examples
[*] - Username Check
[*] - Hostname Check
[*] - Hostname -- Username Comparison
Programs

[*] Fast Crypt Tool
[*] iHc Zone Editor
[*] FileZilla
[*] Notepad++


CFG Modding:
GODLYM0DZ CFG Wizard

[*] Getting Ready
[*] Multiplayer
[*] Zombies

Teh1337's Scrolling Mod Menu v2.5

[*] Credit
[*] Tutorial

Other:
Zombie "use" Strings


Fastfile Editing:
Getting Started:

Intro:
Getting Started will teach you how to edit Black Ops Fastfiles, and the requirements to do so

Preparing your Console:
First of all, you will need an Xbox 360 Console that will run unsigned code,
You can do this on a Developer Kit or a console that has been JTAG Exploited.
XeXMenu Is a program you can run on your console to browse, manage and run files connected to your console
You can download XeXMenu from Xbins in:


/XBOX 360/dashboards/XeXMenu/


You can put it onto your Consoles HDD or MEMU using a Transfer Cable and Xport 360 or Xplorer360,
If you dont have a way of transferring straight to your Consoles HDD or MEMU then
you can put it onto a disk, run it on your Console and copy it to your Consoles HDD or MEMU.

Preparing Black Ops Storage:
There are 2 main ways of storing the game,
You can store it on a USB Formatted to FAT32 or you can store it on your Consoles HDD or MEMU,
You can either download the ISO and extract it to one of the storage methods (Not Recommended)
Or you can use XeXMenu to rip your disk (Takes about 20 mins - Much faster)
You can do this by...
Navigating to the directory where you want the files to be created,
Note: Ripping the disk doesnt create a directory for the files, It will extract all the files to your current location,
Press Y, and select Copy DVD, Your DVD Drive will now eject,
Place Black Ops into your drive, and "push" your tray in,
As you here the disk starting to spin, Hit confirm on your screen,
This will now start copying the contents, as stated above this takes around 20 mins.
After this you will no longer need your disk.

Patching Black Ops Files:
Now you will need to patch some files,
The only link I have handy is the TU2 Pack,
Megaupload Link Here
Just copy them files into your Game Directory, overwriting when asked.

Editing Black Ops Files:
Now you are ready to start editing,
First off, you will need a tool to decrypt the Fastfile you want to edit,
FastCryptTool gets this job done, you can download that here,
Mediafire Link Here
patch_mp.ff is the recommended file to edit, so you want to move this to your pc
You can either do this by a hard transfer, or via FTP
To do FTP Transfer, I recommend an ethernet cable between your console and pc
Run XeXMenu on your Console,
Then using a FTP Client such as FileZilla, Type in your Consoles IP (Press LB after starting XeXMenu)
Then XeXMenus default Username is "xbox" and Password is "xbox" (Without quotes)
Open up FastCryptTool and goto File > Import and open patch_mp.ff in the open dialog
Then in the save dialog you will save the .zone (This is a decrypted FastFile)
The .zone file ends up in the above directory (slight bug -_- )
When it asks you if you want to open select no.

Now you can either open the file up again in FastCryptTool
or use a .Zone Editor such as the iHc Zone Editor.
To use FastCrypt Tool, you will have to edit the config file for extra GSC's (explained later)
To open in FastCrypt Tool, just goto File > Open and select the .zone file,
Or if you want to use iHc Zone Editor just hit the open button and select the .zone file,
iHc Zone Editor will auto detect all the GSC's (No need for configs)

The Fastfile (.ff) contains numerous files, Think of it as a .zip / package.
The most popular file within a Fastfile is the GSC,
Idk wtf that stands for, Game Script Code or something ?
Anyway on the list to the left of either of the programs will be the GSC's inside
they fille be formatted in folders.
The recommended GSC to edit is the _challenges.gsc which is located:


maps/mp/_challenges.gsc


You will just see this to on the list, so just click it and it will open.
Now you can edit the code.

When done just hit save, then in FastCryptTool, goto open it up (if it isn't already)
and goto File > Export and save it as patch_mp.ff again,
now just put this back into your game directory, and start a splitscreen / systemlink game
If the game doesnt load and you get an error message, there is an error within the coding
(Black ops is much stricter than Modern Warfare 2).

Once you have that mastered, You are ready to continue

Coding Basics for Black Ops:


Functions:
Functions are a group of code, you can execute them from other function and even send them values
A function looks like this


FunctionName( Argument1, Argument2, Argument3 )
{

}


FunctionName - This is the name of the function, you will use this to "call" it,
Calling a function means starting it.
Arguments - Argument is a value that can be passed to the function when calling it,
Arguments can be found between the () after the function name,
Each argument is seperated by commas. You don't have to use arguments,
a function without arguments would look like:


FunctionName()
{

}


{ } - These are the symbols that will contain all the function code.

[size="3"]Comments:[/size]
Comments are a section within coding that will get ignored, to start a comment just type:


//


And everything after that would be ignored until the start of the next line.
You can also make group comments, group comments start with:


/*


and will only end when it gets to:


*/


Here and example of how comments can be used:


/* Here is a comment group
Remember groups dont end after a new
line it will only end when it finds */

Function1()
{
//Heres a line comment
}


In most Black Ops GSC's you will find a function with the name onPlayerConnect,
It will look like this:


onPlayerConnect()
{
for(;;)
{
level waittill( "connected", player );
// The Code Differs Here
}
}


Anywhere under:


level waittill( "connected", player );


you can put your code, this will execute after you connect (game starts)
you are able to make a function that will execute whenever you spawn by:
Adding:


player thread OnPlayerSpawn();


into the OnPlayerConnect function
So it will look like this:


onPlayerConnect()
{
for(;;)
{
level waittill( "connected", player );
// The Code Differs Here
player thread OnPlayerSpawn();
}
}


Now you will need to create a function after this so start a new line and put:


onPlayerSpawn()
{
for(;;)
{
self waittill( "spawned_player" );
// Code Here gets executed on spawn
}
}


When making code withing OnPlayerConnect,
You will reference to yourself as "player"
But elsewhere you will reference yourself as "self"
At the top of GSC's is a function with the name init,
This is the initialization function, which will load/prepare stuff for the game,
such as caching models (loading models),
In the init function may notice:


level thread onPlayerConnect();


This is what starts OnPlayerConnect

Endon Function:
To stop your functions messing up when you die / disconnect you can add either of these to the start of a function:


self endon ("disconnect");
self endon ("death");



Wait:
Wait is a simple line of code that will wait however long you want like so:


wait 1; //Waits 1 second
wait 0.5;
wait 0.05;



Calling Functions:
you can call a function like so:


level thread functionName(); //Use this whenever
player thread functionName(); //Use this OnPlayerConnect
self thread functionName(); //Use this in your own functions


Obviously dependant on where you are calling it from.
You can call functions from other GSC's by:


self maps\mp\location\_gscname::Function();


Remember you dont put .gsc in this statement

Variables:
A variable is a stored value that you can set and get.
You can create a variable with a piece of simple code like this:


String = "This Is The Value";
Integer = 5;
Boolean = true;
Array = ( 100, 200, 500 );
Array2 = ( "hello", "hey", "hi" );


String - Strings will hold a text value
Integer - Integers will only hold a numeric value
Boolean - Booleans are a true/false value
Array - Arrays is a group of values

If I create a variable within a function, I am unable to access it from another function:


function1()
{
MyVariable = ( 0, 0, 0 ); // Sets the Varaible named MyVariable
}

function2()
{
self thread CallingAFunction( MyVariable ); // Tries to call a function with MyVariable as an argument
//This wont work as it wont have access to the variable as its within another function.
}


So how do we get around this?
You can save Variables to a self, player or level.
by simply adding it like so:


self.Variable = "Hey";
level.Variable = "Oh Hai Der";
player.Variable = 1337;


When setting a variable that you are able to access it anywhere.

[size="3"]If Statements:[/size]
An If statement if a group of code that will only execute if the check matches
heres the structure:


if ( check )
{

}


The check will compare 2 values, like so


if ( self.Variable == 1 )
{
//This will only execute if self.Variable = 1
}


There are different operators that changes the comparison check


== // If its equal to
!= // If its not equal to
< // If its less than
<= // If its less than or equal to
> // If its more than
>= // If its more than or equal to


With If statements you can also have else which will execute if the check returns false
heres an example of an if with an else:


if ( self.Variable == 1 )
{
//This will only execute if self.Variable = 1
}
else
{
//This will only execute if self.Variable != 1
}



Select Case Statements:
The select statement is your #1 solution for not using lots of if statements,
for example:


if ( self.Variable == 0 )
{
// 0
}
if ( self.Variable == 1 )
{
// 1
}
if ( self.Variable == 2 )
{
// 2
}


Can be easily transfered to a select statement like so:


switch( self.Variable )
{
case 0:
//0
break;
case 1:
//1
break;
case 2:
//2
break;
}



While Statements:
A While statement is a group of code that will repeat forever, or until you want it to stop
While statements look like so:


while ( Boolean )
{

}


The code within it will keep repeating if the boolean = true;
heres an example of a continously running while statement:


while ( 1 )
{
//Repeated Code
wait 0.05; //You need to put a short wait so it dont work like a b****
}



For Statements:
A For statement is like a while, but has my precise repeating checks


for( i=1; i<=3; i++ )
{
//This code will get executed 3 times, with a 3 second delay between
wait 3;
}


so lets look at the top
for(i=1; i<=3; i++)
i=1; - Will declare the variable i, value 1
i<=3; - This is like the while check, if i is less than or equal to 3 it will execute
i++ - Wether the variable will increase or decrease every time it repeats ( i-- is to decrease )

Final:
Heres an example using some of the stuff above,


onPlayerConnect()
{
for(;;)
{
level waittill( "connected", player );
// The Code Differs Here
player thread OnPlayerSpawn();
}
}
onPlayerSpawn()
{
for(;;)
{
self waittill("spawned_player");
self.Variable = false;
self thread Function1();
self thread Function2();
}
}
Function1()
{
self endon ("disconnect");
self endon ("death");
wait 10;
self.Variable = true;
}
Function2()
{
self endon ("disconnect");
self endon ("death");
while ( 1 )
{
if (self.Variable = true)
{
self.origin = self.origin + ( 0, 100, 0 );
}
else
{
self.origin = self.origin + ( 0, 250 ,0 );
}
wait 1;
}
}


What that will do, Is every second, it will make your origin 100 units higher,
until 10 seconds in, Then every second, it will make your origin 250 units higher,
Can you figure that out?

Hope this part has helped some people

HUD / Text:

Working with _hud_util.gsc - Creation
Creating a bar:
This will create a box with gradient, youll have to try to see what I mean, until I take a screenshot.
Function Header:


createBar( color, width, height, <optional> flashFrac )


Usage:


BarName = self createBar( "black", 300, 10 ); // Creates a Black box, Size: 300w, 10h
//Dont Forget to setPoint


[size="3"]Creating a Font String:[/size]
Create a font string, this will create a text element which you can display on screen
Function Header:


createFontString( font, fontScale )


Usage:


StringName = self createFontString( "objective", 1 ); // Creates a Font String, Font is Objective, and Scale is 1
//Another font is "default" without quotes


Working with _hud_util.gsc - Modifying
setPoint
Sets the point (location) of the element that calls it
Function Header:


setPoint( point, relativePoint, xOffset, yOffset, moveTime )


Usage:


ElementName setPoint( "TOP LEFT", "TOP LEFT", 0, 50 ); // Sets Elements Point to 0,50 from the Top Left
//point references: TOP, BOTTOM, LEFT, RIGHT


hideElem
Hides the element that calls it
Usage:


ElementName hideElem(); // Hides Element


showElem
Shows the element that calls it
Usage:


ElementName showElem(); // Shows Element


destroyElem
Destroys the element that calls it
Usage:


ElementName destroyElem(); // BOOM


setWidth
Sets the width of the element that calls it
Function Header:


setWidth( width )


Usage:


ElementName setWidth( 500 ); // Sets Elements width to 500


setHeight
Sets the height of the element that calls it
Function Header:


setHeight( height )


Usage:


ElementName setHeight( 500 ); // Sets Elements Height to 500


setSize
Sets the width and height of the element that calls it
Function Header:


setSize( width, height )


Usage:


ElementName setSize( 250, 300 ); //Sets Elements width to 250, and height to 300


setParent
Sets the parent of the element that calls it
Function Header:


setParent( element )


Usage:


ElementName setParent( level.uiParent ); // Sets Elements parent to level.uiParent


getParent
Returns the parent of the element that calls it
Usage:


ElementName setParent(); // Returned value is parents name


setText
Sets the text of the element that calls it
Function Header:


setText( Text )


Usage:


ElementName setText( "Text" ); // Sets Elements Text


Working with _hud_util.gsc - Examples
Example Bar Creation
Creates a black bar, size 250w, 250h


BarExample = self createBar( "black", 250, 250 );
BarExample setPoint( "TOP LEFT", "TOP LEFT", 30, 50 );


Example Font String Creation
Creates a Font String, Font as Objective, Scale as 1
Sets the point to 50, 50 from the top left of the screen
Sets the text to "Text"


FontStringExample = createFontString("objective", 1 );
FontStringExample setPoint( "TOP LEFT", "TOP LEFT", 50, 50 );
FontStringExample setText( "Text" );


Working with _hud_message.gsc
oldNotifyMessage
Modern Warfare 2 Styled Notify Message
Function Header:


oldNotifyMessage( titleText, notifyText, iconName, glowColor, sound, duration )


Usage:


self maps\mp\gametypes\_hud_message::oldNotifyMessage( "Main Text", "Sub Text", "rank_prestige15", "black", "mp_level_up", 5);


hintMessage
Typewriter Styled Text
Function Header:


hintMessage( hintText, duration )


Usage:


self maps\mp\gametypes\_hud_message::hintMessage( "Text", 5 );


notifyMessage
Notify Message, Like Challenge Unlock
You have to spawn the struct and pass it as an argument
Function Header:


notifyMessage( notifyData )


Usage:


notifyData = spawnStruct();
notifyData.titleText = "Main Text";
notifyData.notifyText = "Sub Text";
notifyData.iconName = "rank_prestige15";
notifyData.glowColor = "black"
notifyData.sound = "mp_level_up";
notifyData.duration = 5;
self maps\mp\gametypes\_hud_message::notifyMessage( notifyData );


Example Function


ShowMessage( titleText, notifyText, iconName, glowColor, sound, duration )
{
notifyData = spawnStruct();
notifyData.titleText = titleText;
notifyData.notifyText = notifyText;
notifyData.iconName = iconName;
notifyData.glowColor = glowColor;
notifyData.sound = sound;
notifyData.duration = duration;
self maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
}


Other Text
iPrintln
Shows text at bottom left of screen
Usage:


self iPrintln("Text");


iPrintlnBold
Shows text at top of screen
Usage:


self iPrintlnBold("Text");


[/spoiler]
Pre Cache / Loading:
[spoiler]
Sometimes you will need to Pre Cache / Load something before you can use it


preCacheItem( item );
preCacheModel( model );
PreCacheString( string );
PreCacheShader( shader );
PreCacheVehicle( vehicle );
PreCacheRumble( rumble );
loadFx( fx );
loadTreadFx( treadfx );


You would put this in the init() function
Example:


preCacheModel( "mp_supplydrop_boobytrapped" );



DVARS:

Using Dvars:
setDvar
Sets a Dvars value
Function Header:


setDvar( name, value );


Example


self setDvar( "cg_thirdperson", 1 );


[size="2"]setClientDvar[/size]
Sets a Clients Dvars value
Function Header:


setClientDvar( name, value );


Example


self setClientDvar( "cg_thirdperson", 1 );



Dvar Dump (w/ Descriptions):
Credit to Jester
[quote name='jester' timestamp='1291617156' post='2643751']




Models:

Basics:
Spawning a Script Model:


ScriptModel = spawn( "script_model", self.origin ); // Spawns a Script Model at Your Origin (Location)


Setting the Model:


ScriptModel setModel( "name" ); // Sets the Model of the Script Model - Where name = The Model Name


Script Model Properties:
Origin - Sets or Gets the Origin of the Script Model
Structure: ( X, Y, Z )


ScriptModel.origin = ( 0, 0, 0 ); // Sets the Origin to 0, 0, 0
ScriptModel.origin = ( 0, 100, 0 ); //Sets the Origin to 0, 100, 0
ScriptModel.origin = self.origin; //Sets the Origin to match yours
ScriptModel.origin = self.origin + ( 0, 100, 0 ); //Sets the Origin to match yours + 0, 100, 0
self.origin = ScriptModel.origin; //Gets the ScriptModel's Origin, And sets your Origin to it


Angles - Sets or Gets the Angles of the Script Model
Structure: ( X, Y, Z )


ScriptModel.angles = ( 0, 0, 0 ); // Sets the Angles to 0, 0, 0
ScriptModel.angles = ( 0, 100, 0 ); //Sets the Angles to 0, 100, 0
ScriptModel.angles = self.angles; //Sets the Angles to match Your Characters
ScriptModel.angles = self.angles + ( 0, 100, 0 ); //Sets the Angles to match Your Characters + 0, 100, 0
self.angles = ScriptModel.angles; //Gets the ScriptModel's Angles, And sets your Angles to it


Script Model Functions:
Show
Shows The Model


ScriptModel show();


Hide
Hides The Model


ScriptModel hide();


Solid
Makes the model solid


ScriptModel solid();


Notsolid
Makes the model not solid


ScriptModel notsolid();



Some Model Names:


"mp_supplydrop_ally" // Ally Care Package
"mp_supplydrop_axis" // Enemy Care Package
"mp_supplydrop_boobytrapped" // Black Care Package with Red Skull and Crossbones
"weapon_claymore_detect"
"weapon_c4_mp_detect"
"t5_weapon_acoustic_sensor_world_detect"
"t5_weapon_scrambler_world_detect"
"t5_weapon_camera_spike_world_detect"
"t5_weapon_camera_head_world_detect"
"t5_weapon_tactical_insertion_world_detect"
"t5_weapon_camera_head_world"



Sounds:

Playing Sounds
Functions to Play
Functions you can use to play sounds


playLocalSound( "name" ); //Plays sound local to the caller
playSound( "name" ); //Plays sound once
playLoopSound( "name" ); //Continuously Plays a sound


Examples:


self playLocalSound("mpl_player_heartbeat");
//Plays Heartbeat Sound, Local to you Character




ScriptModel = spawn( "script_model", self.origin );
ScriptModel playSound ( "mpl_kls_napalm_exlpo" );
ScriptModel playLoopSound ( "mpl_kls_napalm_fire" );
//Spawns a Script Model, At your origin
//Plays Napalm Explosion Sound
//Loops Burning Sound



Some Sound Names:


"mpl_player_heartbeat" //Heartbeat Noise
"mpl_kls_napalm_exlpo" //Napalm Explosion
"mpl_kls_napalm_fire" //Napalm Burning



Weapons:

giveWeapon
Give weapon to player
Function header:


giveWeapon( name );


Example use:


self giveWeapon( "crossbow_explosive_mp" );


switchToWeapon[b]
Switch players current weapon
Function header:


switchToWeapon( name );


Example use:


self switchToWeapon( "crossbow_explosive_mp" );


[b]_disableWeapon[b]
Disables weapons


self _disableWeapon();


[b]_enableWeapon
Enabled weapons


self _enableWeapon();


isWeaponEnabled
return ( !self.disabledWeapon );


WeaponTest = self isWeaponEnabled();


Some Weapon Names:


"crossbow_explosive_mp"
"m1911_mp"
"python_mp"
"cz75_mp"
"m14_mp"
"m16_mp"
"g11_lps_mp"
"famas_mp"
"ak74u_mp"
"mp5k_mp"
"mpl_mp"
"pm63_mp"
"spectre_mp"
"cz75dw_mp"
"ithaca_mp"
"rottweil72_mp"
"spas_mp"
"hs10_mp"
"aug_mp"
"galil_mp"
"commando_mp"
"fnfal_mp"
"dragunov_mp"
"l96a1_mp"
"rpk_mp"
"hk21_mp"
"m72_law_mp"
"frag_grenade_mp"
"claymore_mp"
"china_lake_mp"
"knife_ballistic_mp"



Button Binding:

OnPlayerConnect:


player thread MonitorButtons();


Monitor Function:


MonitorButtons()
{
self endon("disconnect");
for(;;)
{
if(self ActionSlotOneButtonPressed()) self notify("dpad_up");
if(self ActionSlotTwoButtonPressed()) self notify("dpad_down");
if(self ActionSlotThreeButtonPressed()) self notify ("dpad_left");
if(self ActionSlotFourButtonPressed()) self notify ("dpad_right");
if(self SecondaryOffHandButtonPressed()) self notify("LB");
if(self FragButtonPressed()) self notify("RB");
if(self MeleeButtonPressed()) self notify("RS");
if(self ADSButtonPressed()) self notify ("left_trigger");
if(self AttackButtonPressed()) self notify ("right_trigger");
if(self JumpButtonPressed()) self notify("button_a");
if(self UseButtonPressed()) self notify ("button_x");
if(self ChangeSeatButtonPressed()) self notify ("button_y");
if(self ThrowButtonPressed()) self notify ("button_b");
wait 0.05;
}
}


Waiters:


self waittill("dpad_up");
self waittill("dpad_down");
self waittill("dpad_left");
self waittill("dpad_right");
self waittill("LB");
self waittill("RB");
self waittill("RS");
self waittill("left_trigger");
self waittill("right_trigger");
self waittill("button_a");
self waittill("button_x");
self waittill("button_y");
self waittill("button_b");


Function Example:


DpadUpExample()
{
self endon("disconnect");
for(;;)
{
self waittill("dpad_up");
//Code Executed On Dpad Up Press
wait 0.05;
}
}



Small Mods:

giveKillstreak
Gives you a Killstreak
Function Header:


giveKillstreak( killstreakType, streak, suppressNotification, noXP )


Usage:


self maps\mp\gametypes\_hardpoints::giveKillstreak( "dogs_mp" );
//Where dogs_mp is Killstreak given


Some Killstreak Names


radar_mp
dogs_mp
rcbomb_mp
helicopter_comlink_mp
helicopter_player_firstperson_mp
helicopter_gunner_mp
supplydrop_mp
minigun_drop_mp



Misc Functions:

Here are some misc functions that are already in the game:
cointoss()
return RandomInt( 100 ) >= 50 ;


CoinTossTest = self cointoss();


isFlashed
return GetTime() < self.flashEndTime;


FlashedTest = self isFlashed();


wait
Delays the code in seconds


wait( 2 ); //Waits 2 Settings


[size="2"]realWait[/size]
Delays the code in seconds


realWait( 2 ); //Waits 2 Settings


getGameLength
Returns how long the game is


TimeTest = self getGameLength();


get_player_height
return 70;
Useless, but if you wanna make you code look nice you can use it somewhere


HeightTest = self get_player_height();


detatchAll
Detatch your head :O


self detachAll();



Some Variables:

Here are some misc variables that may come in helpful
[size="3"]Self[/size]
self.name
Gets / Sets the Name of the player (Profile Name / Gamertag)


GetName = self.name;
self.name = "James";


self.health
Gets / Sets the health of the player


GetHealth = self.health;
self.health = 9999;


Level
level.hostname
Gets / Sets Name of the game host (Profile Name / Gamertag)


GetHostName = level.hostname;
level.hostname = "James";


Examples
Username Check
Checks the Username


if ( self.name == "iHc James" )
{
// Your Name is iHc James
}


[size="2"]Hostname Check[/size]
Checks the Username


if ( level.hostname == "iHc James" )
{
// You Have a Cool Host!?
}


[size="2"]Hostname == Username Comparison Check[/size]
Checks the Username
[code]
if ( level.hostname == self.name )
{
// You are the Host!
}
#2. Posted:
Laidback-Luke
  • TTG Addict
Status: Offline
Joined: Aug 29, 201014Year Member
Posts: 2,424
Reputation Power: 97
Status: Offline
Joined: Aug 29, 201014Year Member
Posts: 2,424
Reputation Power: 97
wooooooooooooow

That's alot of text.

Copy and paste much?
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.