studiosfere.blogg.se

Black ops 2 gsc studio crash
Black ops 2 gsc studio crash













black ops 2 gsc studio crash
  1. #Black ops 2 gsc studio crash mod
  2. #Black ops 2 gsc studio crash mods
  3. #Black ops 2 gsc studio crash code
  4. #Black ops 2 gsc studio crash Pc
  5. #Black ops 2 gsc studio crash ps3

To call the functionvariable you do it like this Position = (x, y, z) - position is an array with 3 valuesĪngle = (pitch, yaw, roll) - angle is an array with 3 valuesĪrray = - defines an array, doing this will clear any previous values inside the arrayĪrray = - defines multi-dimensional arrays, clears any previous values. Level.variable = “Random Text' - stores the variable to the level, resets if map_restart(true) įunctionvariable = ::function - stores a function into a variable

black ops 2 gsc studio crash black ops 2 gsc studio crash

Self.variable = 'Killingdyl' - stores the variable attached to whatever self is, most of the time its a player There are different ways variables stored in gsc Int(string) turns a string '1' to the integer 1 Quote:Variables in gsc does not have to be defined by type like in more complex scripts neither does it have to be defined before use. Start the game without any hacks loaded.Īll Credits go to TMS_Killingdyl (loll) for this useful information about variables: Info:VAC2 DETECTED - use in private matches with sv_vac 0Ĥ. So now what? We add it to the OnPlayerSpawned() Thread: Tip: When adding any gun make sure to have _mp if its in multiplayer and have the gun name etc between the quotes “”. GiveWeapon(weaponname, 0, calcWeaponOptions (, ,, , ))

#Black ops 2 gsc studio crash code

The code above^^ is the code used to get your gun and its attachments and camouflage. Self giveWeapon ( ' famas_reflex_dualclip_silencer_mp ' ) So I want my favourite gun the Famas with Dual clips and silencer + Reflex sight when I spawn: Now we know some basics of gsc modding we will want to add some commands so that we can do HEAPS of awesome things ingame. These brackets are a vital component of gsc modding and must be included or else you will get many errors. The ends the line(Think of it like a sentence). This code is one part of what makes the gsc file run.Īs you can see there are many brackets in the one paragraph of code.

#Black ops 2 gsc studio crash ps3

Then search (Control + F) and enter in: onPlayerSpawnedīlack Ops 2 Gsc Studio Ps3 Download You will now see this: Open Gamescripts/maps/mp/gametypes/_rank.gsc and you will see lots of code take a look and familiarise yourself with some of theses codes as you will need many of them to mod.

#Black ops 2 gsc studio crash mods

gsc files you can use (in the gamescripts see below).įirstly we will need Itsmodsloader to load the mods :

#Black ops 2 gsc studio crash mod

When you download a mod have u ever wondered why modders use _rank.gsc file it is because it has the OnPlayerSpawned thread. Gsc files, basically the heart of the game.Gsc modding is quite simple once you get the hang of it this tutorial will go over the basics for black ops gsc modding.

#Black ops 2 gsc studio crash Pc

Quote: The difference between PC modding and console (Xbox 360) modding: console mods require you to have a modded 'patch_mp.ff'. Loader.rar (Size: 82.2 KB / Downloads: 1,412)ġ2-24-2010, 00:01 (This post was last modified: 02-07-2011, 10:22 by aosma8.)īefore we start I’m also currently a beginner as well so if I make a mistake please correct me, thanks. SourceCode.rar (Size: 288.44 KB / Downloads: 959) Loader merged with compiler, unused methods was removed from script.įixed crash when you calling pointer with more than one parameter. Compiler finally done(I think).įixed bugged notify, boolNot in boolean expressions, added support for animtrees, get animation and waittillframeend, symbol ' now can be used in includes. Fixed error if identifier starts with '_', fixed some other bugs. Returned support for mp(which was accidentally removed)Īdded support for all internal functions(even if they used really rarely). gsc extension only will be loaded.įixed issue, when only the last break in the loop actually worked. txt extension will be compiled and loaded, file with. If loader can find file in assets database, which has the same name with file in your path, this file in game will be overriden, if not - loader will add new record to assets database. Now you have to define path with your gsc files, instead single file. Thanks to jzm contributors, I used part of code from there.Īdded support for redacted. Thanks to barata for source code of his console, it really helped me. Credits: kokole, Nukem for file struct and some opcodes.















Black ops 2 gsc studio crash