SUGGESTION: Combined Perk overhauls
2013-12-29, 12:27 AM
#1
SUGGESTION: Combined Perk overhauls
Mossberg and I have been collaborating on ideas to make the combined perks more useful to players. As of right now, the only real combined perk that is useful is the Recon perk (darn, just gave away my secret).
Keep in mind that this is all just suggestions, and will not be added to ACR until people approve it.

1. Time perk
Addition: Reduced reload time by ~.1 second. This amounts to ~8-10% reduction in reload time for each weapon.
What will stay the same is the faster scope and weapon transition.

2. Ninja
Addition: Double throwing knives, shots wont display on minimap, lower sound signature (may be removed)
What will stay the same is the AntiRecon ability.


Additional perk ideas (may either be combined or single perks):
1. Bandolier
Start off with increased grenade loadout

2. Support
Start off with increased primary/secondary magazines

DSO
Windows 8 fanboy =D
"Not dead, can't quit"
Post Reply Quote this message in a reply
2013-12-29, 12:55 AM (This post was last modified: 2013-12-29, 10:37 AM by dm.mossberg590a1.)
#2
RE: SUGGESTION: Combined Perk overhauls
It looks like the reload time is server side and can't really be changed....

[Image: name_zps459dc421.gif]
[Image: cooltext1206791925_zps58ab60b5.gif]

"C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do it blows your whole leg off." - Bjarne Stroustrup
Post Reply Quote this message in a reply
2013-12-29, 10:06 AM
#3
RE: SUGGESTION: Combined Perk overhauls
You have to change it in more places than that...

Best regards,
Victor
//victorz.ca
Code:
Your antithesis compares favorably with any high magnitude of pwnage. (-you > |p|, you < -|p|)
My antithesis compares favorably with _that of_ any high magnitude of pwnage. (|-me| > |-p|, |me| > |p|)
Post Reply Quote this message in a reply
2013-12-29, 10:59 AM
#4
RE: SUGGESTION: Combined Perk overhauls
I haven't started on the reload animations for the time perk but what about this for the server side reload?

Code:
diff --git a/source/src/weapon.cpp b/source/src/weapon.cpp
index aabc24b..166ef6e 100644
--- a/source/src/weapon.cpp
+++ b/source/src/weapon.cpp
@@ -413,6 +413,9 @@ bool weapon::reload(){
    updatelastaction(owner);
    reloading = lastmillis;
    gunwait += info.reloadtime;
+    if (owner->perk1 == PERK_TIME || owner->perk2 == PERK_TIME) {
+        gunwait = ((gunwait < 100) ? 0 : (gunwait - 100));
+    }

    owner->ammo[type] -= /*rs*/ 1;
    owner->mag[type] = min<int>(ms, owner->mag[type] + rs);
diff --git a/source/src/serverevents.h b/source/src/serverevents.h
index b3e1eff..00efd3b 100644
--- a/source/src/serverevents.h
+++ b/source/src/serverevents.h
@@ -266,6 +266,9 @@ void reloadevent::process(client *ci){
        sendf(-1, 1, "ri5", N_RELOAD, ci->clientnum, weap, gs.mag[weap], gs.ammo[weap]);
        if(!gs.gunwait[weap] || wait >= gs.gunwait[weap]) gs.updateshot(gamemillis);
        gs.gunwait[weap] += reloadtime(weap);
+       if (ci->state.perk1 == PERK_TIME || ci->state.perk2 == PERK_TIME) {
+               gs.gunwait[weap] = ((gs.gunwait[weap] < 0) ? 0 : (gs.gunwait[weap] - 100));
+       }
}

void akimboevent::process(client *ci){

If not this where in the code determines the server part of the reload?

[Image: name_zps459dc421.gif]
[Image: cooltext1206791925_zps58ab60b5.gif]

"C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do it blows your whole leg off." - Bjarne Stroustrup
Post Reply Quote this message in a reply


Forum Jump: