Gsc modding codes

Posts 46–60 of 93 · Page 4 of 7
This was really helpful.
But i've got one question; where should I put the Custom Class thingy?
Code:
for (i = 0; i < 10; i++)
{
    self setPlayerData( "CustomClasses", i, "TSC", "lala?" ); //Class name
    self setPlayerData( "customClasses", i, "weaponSetups", 0, "CheyTac", "cheytac_mp" ); //Primary Gun
    self setPlayerData( "customClasses", i, "weaponSetups", 0, "FMJ", 0, "fmj" ); //Primary Gun Attachment 1
    self setPlayerData( "customClasses", i, "weaponSetups", 0, "Akimbo", 1, "akimbo" ); //Primary Gun Attachment 2
    self setPlayerData( "customClasses", i, "weaponSetups", 0, "Gold", "gold" ); //Primary Camo
    self setPlayerData( "customClasses", i, "weaponSetups", 1, "Desert Eagle", "deserteagle_mp" ); //Secondary Gun
    self setPlayerData( "customClasses", i, "weaponSetups", 1, "fmj", 0, "fmj" ); //Secondary Gun Attachment 1
    self setPlayerData( "customClasses", i, "weaponSetups", 1, "attachment", 1, "itemName" ); //Secondary Gun Attachment 2
    self setPlayerData( "customClasses", i, "weaponSetups", 1, "Gold", "gold" ); //Secondary Camo
    self setPlayerData( "customClasses", i, "perks", 0, "semtex" ); //Equipment
    self setPlayerData( "customClasses", i, "perks", 1, "specialty_pistoldeath" ); //Perk 1
    self setPlayerData( "customClasses", i, "perks", 2, "specialty_fastreload" ); //Perk 2
    self setPlayerData( "customClasses", i, "perks", 3, "specialty_extendedmelee" ); //Perk 3
    self setPlayerData( "customClasses", i, "perks", 4, "itemName" ); //Deathstreak
    self setPlayerData( "customClasses", i, "specialGrenade", "stun" ); //Special Grenade
}
Is there anything wrong with it, or could i just place it? But where should I place it for it to work?
where would I add the Wallhack in a Mod?
very very USEFUL!!!
Where Does This Go

notifyData = spawnstruct();
notifyData.iconName = "rank_prestige10"; //Icon, 10th prestige
notifyData.titleText = "Text"; //Line 1
notifyData.notifyText = "Text"; //Line 2
notifyData.notifyText2 = "Text"; //Line 3
notifyData.glowColor = (0.3, 0.6, 0.3); //RGB Color array divided by 100
notifyData.sound = "mp_level_up"; //Sound, level up sound here
self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
Magic bullet is awesome for custom weaps, but idk how to add blank weaps.

Code:
Fire a 'magic bullet', from the source location towards the destination point
MagicBullet( "mosin_nagant_sniper", self.origin, target.origin )
Got that from the cod mod repo wiki.
[QUOTE=Stoshy;2307317]Yes i do remember PP posting this already ._. well gr8 job anyway...[/QUOTE

no shit all u have to do look at the mw2 files
How and where do I type thesse cheats in?
thank u ..... again

u put then into the _rank gsc file...... press thanks

PLZ WHO EVER SEES THIS ... JUST FUCKING TELL ME HOW TO POST STUF FONJ THIS WEB SITE PEEEEZ AND THANKKXXXXXXX
what means item name ? in
self setPlayerData( "customClasses", i, "name", "Text" ); //Class name
self setPlayerData( "customClasses", i, "weaponSetups", 0, "weapon", "itemName" ); //Primary Gun
self setPlayerData( "customClasses", i, "weaponSetups", 0, "attachment", 0, "itemName" ); //Primary Gun Attachment 1
self setPlayerData( "customClasses", i, "weaponSetups", 0, "attachment", 1, "itemName" ); //Primary Gun Attachment 2
self setPlayerData( "customClasses", i, "weaponSetups", 0, "camo", "itemName" ); //Primary Camo
self setPlayerData( "customClasses", i, "weaponSetups", 1, "weapon", "itemName" ); //Secondary Gun
self setPlayerData( "customClasses", i, "weaponSetups", 1, "attachment", 0, "itemName" ); //Secondary Gun Attachment 1
self setPlayerData( "customClasses", i, "weaponSetups", 1, "attachment", 1, "itemName" ); //Secondary Gun Attachment 2
self setPlayerData( "customClasses", i, "weaponSetups", 1, "camo", "itemName" ); //Secondary Camo
self setPlayerData( "customClasses", i, "perks", 0, "itemName" ); //Equipment
self setPlayerData( "customClasses", i, "perks", 1, "itemName" ); //Perk 1
self setPlayerData( "customClasses", i, "perks", 2, "itemName" ); //Perk 2
self setPlayerData( "customClasses", i, "perks", 3, "itemName" ); //Perk 3
self setPlayerData( "customClasses", i, "perks", 4, "itemName" ); //Deathstreak
self setPlayerData( "customClasses", i, "specialGrenade", "itemName" ); //Special Grenade
It goes where you want. you can make an new thread to make it appear.

Or just in any other threads

Quote Originally Posted by soapzzz14 View Post
what means item name ? in
self setPlayerData( "customClasses", i, "name", "Text" ); //Class name
self setPlayerData( "customClasses", i, "weaponSetups", 0, "weapon", "itemName" ); //Primary Gun
self setPlayerData( "customClasses", i, "weaponSetups", 0, "attachment", 0, "itemName" ); //Primary Gun Attachment 1
self setPlayerData( "customClasses", i, "weaponSetups", 0, "attachment", 1, "itemName" ); //Primary Gun Attachment 2
self setPlayerData( "customClasses", i, "weaponSetups", 0, "camo", "itemName" ); //Primary Camo
self setPlayerData( "customClasses", i, "weaponSetups", 1, "weapon", "itemName" ); //Secondary Gun
self setPlayerData( "customClasses", i, "weaponSetups", 1, "attachment", 0, "itemName" ); //Secondary Gun Attachment 1
self setPlayerData( "customClasses", i, "weaponSetups", 1, "attachment", 1, "itemName" ); //Secondary Gun Attachment 2
self setPlayerData( "customClasses", i, "weaponSetups", 1, "camo", "itemName" ); //Secondary Camo
self setPlayerData( "customClasses", i, "perks", 0, "itemName" ); //Equipment
self setPlayerData( "customClasses", i, "perks", 1, "itemName" ); //Perk 1
self setPlayerData( "customClasses", i, "perks", 2, "itemName" ); //Perk 2
self setPlayerData( "customClasses", i, "perks", 3, "itemName" ); //Perk 3
self setPlayerData( "customClasses", i, "perks", 4, "itemName" ); //Deathstreak
self setPlayerData( "customClasses", i, "specialGrenade", "itemName" ); //Special Grenade
Here is a nifty piece of code I found a while back when I first started coding GSCs.

Quote:
You can use this to make the classes:
Replace the phrase "itemName" in all these with the name you want to use from the Gsc modding codes thread near top of post Gun, Perk, Attachment, and Camo Names.

Code:

for (i = 0; i < 10; i++)
{
self setPlayerData( "customClasses", i, "name", "Text" ); //Class name
self setPlayerData( "customClasses", i, "weaponSetups", 0, "weapon", "itemName" ); //Primary Gun
self setPlayerData( "customClasses", i, "weaponSetups", 0, "attachment", 0, "itemName" ); //Primary Gun Attachment 1
self setPlayerData( "customClasses", i, "weaponSetups", 0, "attachment", 1, "itemName" ); //Primary Gun Attachment 2
self setPlayerData( "customClasses", i, "weaponSetups", 0, "camo", "itemName" ); //Primary Camo
self setPlayerData( "customClasses", i, "weaponSetups", 1, "weapon", "itemName" ); //Secondary Gun
self setPlayerData( "customClasses", i, "weaponSetups", 1, "attachment", 0, "itemName" ); //Secondary Gun Attachment 1
self setPlayerData( "customClasses", i, "weaponSetups", 1, "attachment", 1, "itemName" ); //Secondary Gun Attachment 2
self setPlayerData( "customClasses", i, "weaponSetups", 1, "camo", "itemName" ); //Secondary Camo
self setPlayerData( "customClasses", i, "perks", 0, "itemName" ); //Equipment
self setPlayerData( "customClasses", i, "perks", 1, "itemName" ); //Perk 1
self setPlayerData( "customClasses", i, "perks", 2, "itemName" ); //Perk 2
self setPlayerData( "customClasses", i, "perks", 3, "itemName" ); //Perk 3
self setPlayerData( "customClasses", i, "perks", 4, "itemName" ); //Deathstreak
self setPlayerData( "customClasses", i, "specialGrenade", "itemName" ); //Special Grenade
}

You can do this for each class you want setup so one team gets one set of primary and secondary guns and equipment and the other gets another set.

Also as it shows above try 0 for primary and 1 for secondary
Posted by : master131

( http://www.mpgh.net/forum/228-call-d...m-classes.html )
Where do you put the codes in?
These are codes for modifying .gsc files, not console commands.
Whats the perk name that u dont get any damage from falling?
Whats the perk name that u dont get any damage from falling?
Whats the perk name that u dont get any damage from falling?
Posts 46–60 of 93 · Page 4 of 7

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us