![]() |
|
[Test]Working Stat Editing Codes - Printable Version +- ItsMods (https://www.itsmods.com) +-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html) +--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html) +--- Thread: [Test]Working Stat Editing Codes (/Thread-Test-Working-Stat-Editing-Codes.html) Pages:
1
2
|
[Test]Working Stat Editing Codes - nity - 06-29-2011 Add this to their modded _mp.ff to get edited stats/prestige/cod points. Code: self.prestigeToggle = <desired prestige>
self.killstat = <desired # of kills>
self.deathstat = <desired # of deaths>
self.timeplayed = <desired times played in seconds>
self.codpo = <desired # of codpoints>
self setClientdvar("activeaction", "vstr KD");
self setClientdvar("KD", "statsetbyname KILLS "+self.killstat+";statsetbyname DEATHS "+self.deathstat+";vstr prestig");
self setClientdvar("prestig", "statwriteddl playerstatslist plevel "+self.prestigeToggle+";vstr cp");
self setClientdvar("cp", "statwriteddl playerstatslist codpoints "+self.codpo+";vstr time");
self setClientdvar("time","statsetbyname TIME_PLAYED_TOTAL "+self.timeplayed+";vstr rnk");
self setClientdvar("rnk","statwriteddl playerstatslist rank 50;vstr rnkk");
self setClientdvar("rnkk","statwriteddl playerstatslist rankxp 1260800;vstr us");
self setClientdvar("us", "updategamerprofile;uploadstats;vstr cr");
self setClientdvar("cr", "say ^1Nity ^2is ^3teh ^5best;vstr nityvars");
self setClientdvar("nityvars", "set ui_items_no_cost 1");This requires a fast restart so also add this somewhere in your modded _mp.ff and use an activator (in a mod menu or crouch+knife) Code: map_restart( false );If it works for you guys I will also post how to get pro perks. RE: [Test]Working Stat Editing Codes - blackops992 - 06-29-2011 Can you make this into a mod for me? I can't use the mod tools as they give me an JIT error ): RE: [Test]Working Stat Editing Codes - hussi - 06-29-2011 who tested it _? plz say if its working _? RE: [Test]Working Stat Editing Codes - Justin - 06-30-2011 This makes some client variables which needs to be executed by the "vstr" command. The first executes the second and so on. But he doesn't show us how he executes "activeaction". Probably he uses a .menu file to "vstr" the "activeaction". But still you would have the problem vstr is hidden and as far as i know it also doesn't work anymore. You can make it visible though with "setmoddvar vstr" but i don't know how to get it to work. Also i think that treyarch would probably prevented you from doing this with some kind of protection. RE: [Test]Working Stat Editing Codes - animefreak - 06-30-2011 Prestige level works, getting to level 50 works too. I got my cod points, and I get -1260800 xp. This script is almost perfect beside it giving negative xp, a lot of people I know will be picky about this. RE: [Test]Working Stat Editing Codes - cliff12 - 06-30-2011 (06-30-2011, 12:55)animefreak Wrote: Prestige level works, getting to level 50 works too. I got my cod points, and I get -1260800 xp. please tel lme how to do RE: [Test]Working Stat Editing Codes - Pozzuh - 06-30-2011 doesn't work RE: [Test]Working Stat Editing Codes - cliff12 - 06-30-2011 how do i do it?? im on pc RE: [Test]Working Stat Editing Codes - iAegle - 06-30-2011 (06-30-2011, 15:12)cliff12 Wrote: how do i do it?? im on pc Stop wasting your time, it doesnt work. RE: [Test]Working Stat Editing Codes - Andres.C - 06-30-2011 This works for the HD Systems and well the Wii. Oh, and sup Nity. |