"cc.rifle.attack" for example , is it going to work?
Forum
Weapon scripting
Weapon scripting
1 reply
1

"cc.rifle.attack" for example , is it going to work?
you should also change the "cc". it's something like a namespace to avoid conflicts with weapons that have the same name. best is to use your nick or something like that instead of "cc" (so for example: suicide.rifle.attack)
you will have to edit1
2
3
2
3
if cc==nil then cc={} end
cc.mg={}
cc.mg.bullet={}
of course you will have to add your new weapon to the weaponset. otherwise you will not see it in-game
1

Offline