![]() |
|
Edit Perks - 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: Edit Perks (/Thread-Edit-Perks.html) |
Edit Perks - Lemon - 03-19-2012 How am I going to edit a perk? Example: change scavengers model or change what scavenger packs give RE: Edit Perks - Nekochan - 03-19-2012 _statstable.csv RE: Edit Perks - Lemon - 03-19-2012 99,,body,PERKS_SCAVENGER_PRO,utility_mp,1,PERKS_SCAVENGER,weapon_assault,,2,,class_assault,,body 152,,specialty,PERKS_SCAVENGER,specialty_scavenger,,perk_scavenger,PERKS_SCAVENGER_DESC,,3,3,class_assault,2000,specialty1 And how am I going to edit them? RE: Edit Perks - Rendflex - 03-19-2012 (03-19-2012, 19:33)Lemon Wrote: 99,,body,PERKS_SCAVENGER_PRO,utility_mp,1,PERKS_SCAVENGER,weapon_assault,,2,,class_assault,,body You can't edit what the perk does, however, you can change the perk's function to something else; Code: 152,,specialty,PERKS_SCAVENGER,specialty_fastreload,,perk_scavenger,PERKS_SCAVENGER_DESC,,3,3,class_assault,2000,specialty1The player will now have sleight of hand if he's using scavenger. (I'm not sure, but theoretically it should) You can of course change it to whatever you want: Code: 152,,specialty,PERKS_SCAVENGER,specialty_lemonsareyellow,,perk_scavenger,PERKS_SCAVENGER_DESC,,3,3,class_assault,2000,specialty1Then you can do some custom .GSC script like this: Code: if(self hasPerk("specialty_lemonsareyellow"))
{
self iprintlnbold("LEMONS ARE NOT YELLOW");
}That's what I did in my crysis mod... However, note that the statstable file everyone got isn't the newest one. RE: Edit Perks - OrangePL - 03-19-2012 @Yamato made a tutorial for those, _perks.gsc or _perkfunctions.gsc RE: Edit Perks - Lemon - 03-19-2012 (03-19-2012, 19:57)OrangePL Wrote: @Yamato made a tutorial for those, _perks.gsc or _perkfunctions.gsc It's for mw2. @Rendferlex Thanks. I'll probably use Code: if(self hasPerk("specialty_lemonsareyellow"))
{
self iprintlnbold("LEMONS ARE NOT YELLOW");
}RE: Edit Perks - Rendflex - 03-19-2012 (03-19-2012, 20:01)Lemon Wrote:(03-19-2012, 19:57)OrangePL Wrote: @Yamato made a tutorial for those, _perks.gsc or _perkfunctions.gsc You could do a totally new perk then :p Code: 245,,specialty,PERKS_LEMONSAREYELLOW,specialty_lemonsareyellow,,perk_lemonsareyellow,PERKS_LEMONSAREYELLOW_DESC,,3,3,class_assault,2000,specialty1Code: line,,whatthislineisusedfor, string of the perk I guess, the actual perk function,,not sure about this, the description in the menu,,idk, idk, not sure, idk, perk category in the menu |