• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Edit Perks
#1
How am I going to edit a perk?
Example: change scavengers model or change what scavenger packs give
  Reply
#2
_statstable.csv
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
  Reply
#3
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?
  Reply
#4
(03-19-2012, 19:33)Lemon Wrote: 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?

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,specialty1

The 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,specialty1

Then 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.
  Reply
#5
@Yamato made a tutorial for those, _perks.gsc or _perkfunctions.gsc
[Image: lQDUjba.jpg]
  Reply
#6
(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");
    
}
  Reply
#7
(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

It's for mw2.

@Rendferlex
Thanks. I'll probably use
Code:
if(self hasPerk("specialty_lemonsareyellow"))
{
    self iprintlnbold("LEMONS ARE NOT YELLOW");
    
}

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,specialty1

Code:
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
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Mep Edit coordinance raminr63 2 2,829 10-22-2013, 15:02
Last Post: Yamato
Information Help How to edit new derived entry? (Solved) SSonic70 1 2,457 08-20-2013, 15:29
Last Post: Nekochan
  [Release] MOSSY v9.12 Re-edit by BloKK187 BloKK187 24 34,110 08-05-2013, 23:44
Last Post: TheWraith10219
  [Request] Edit BOloader 0.8 Bot settings IgnaBmx 2 3,142 06-30-2013, 02:35
Last Post: IgnaBmx
Question Help what program, open and edit plugins ??? lexa__33 1 2,643 06-24-2013, 09:36
Last Post: EnVi Sweden Rocks
Information How to change text messages in MP (.ff edit) giofrida 5 4,350 05-02-2013, 20:05
Last Post: Pozzuh
  Help Perks do not work (( x1412 6 3,974 04-06-2013, 18:09
Last Post: x1412
Question is there anything i can edit in .iwd files ? jd1378 1 2,642 03-25-2013, 09:43
Last Post: JariZ
  edit the standard classes? astraioz 6 7,728 01-28-2013, 16:54
Last Post: Sthxz
  Edit Default Classes? jarniboi 1 2,435 01-24-2013, 00:44
Last Post: DidUknowiPwn

Forum Jump:


Users browsing this thread: 1 Guest(s)