Page 19 of 21

Re: Perk and server suggestion area :)

PostPosted: Sun Apr 13, 2014 3:57 am
by Saito
Slightly offtopic coding related inquiry:

I've been modifying various .uc files in order to accomplish some of the weapon coding. However, I am having some trouble with modifying values related to shot penetration and reskinning in the .uc files as well as recompiling them into a .u file for useage.
Using Eliot van Uytfanghe G36 as a base, I couldn't find a proper way to add penetration to the weapon while snooping around the fire.uc
Code: Select all
class G36CFire extends KFFire;

simulated function bool AllowFire()
{
    // End:0x19
    if(FluXiWeapon(Weapon).bIsToggling)
    {
        return false;
    }
    // End:0x32
    if(KFWeapon(Weapon).bIsReloading)
    {
        return false;
    }
    // End:0x4D
    if(KFPawn(Instigator).SecondaryItem != none)
    {
        return false;
    }
    // End:0x66
    if(KFPawn(Instigator).bThrowingNade)
    {
        return false;
    }
    // End:0xE1
    if(KFWeapon(Weapon).MagAmmoRemaining < 1)
    {
        // End:0xB2
        if((Level.TimeSeconds - LastClickTime) > FireRate)
        {
            LastClickTime = Level.TimeSeconds;
        }
        // End:0xDF
        if(AIController(Instigator.Controller) != none)
        {
            KFWeapon(Weapon).ReloadMeNow();
        }
        return false;
    }
    return super(WeaponFire).AllowFire();
    //return;   
}

simulated function float GetSpread()
{
    local float NewSpread, AccuracyMod;

    AccuracyMod = 1.0;
    // End:0x29
    if(KFWeap.bAimingRifle)
    {
        AccuracyMod *= 0.50;
    }
    // End:0x54
    if((Instigator != none) && Instigator.bIsCrouched)
    {
        AccuracyMod *= 0.850;
    }
    // End:0x69
    if(bWaitForRelease)
    {
        AccuracyMod *= 0.850;
    }
    NumShotsInBurst += 1;
    // End:0xA5
    if((Level.TimeSeconds - LastFireTime) > 0.50)
    {
        NewSpread = default.Spread;
        NumShotsInBurst = 0;
    }
    // End:0xCE
    else
    {
        NewSpread = FMin(default.Spread + (float(NumShotsInBurst) * (MaxSpread / 6.0)), MaxSpread);
    }
    NewSpread *= AccuracyMod;
    return NewSpread;
    //return;   
}

defaultproperties
{
    FireAimedAnim=Fire_Iron
    RecoilRate=0.070
    maxVerticalRecoilAngle=500
    maxHorizontalRecoilAngle=250
    bRecoilRightOnly=true
    ShellEjectClass=Class'ROEffects.KFShellEjectSCAR'
    ShellEjectBoneName=Shell_eject
    bAccuracyBonusForSemiAuto=true
    bRandomPitchFireSound=false
    FireSoundRef="FX-G36C_v2_Snd.Fire_ST"
    StereoFireSoundRef="FX-G36C_v2_Snd.Fire"
    NoAmmoSoundRef="FX-G36C_v2_Snd.DryFire"
    DamageType=class'DamTypeG36CAssaultRifle'
    DamageMin=30
    DamageMax=35
    Momentum=8500.0
    bPawnRapidFireAnim=true
    TransientSoundVolume=3.0
    TransientSoundRadius=250.0
    FireLoopAnim=Fire
    TweenTime=0.0250
    FireForce="AssaultRifleFire"
    FireRate=0.110
    AmmoClass=class'G36CAmmo'
    AmmoPerFire=1
    ShakeRotMag=(X=50.0,Y=50.0,Z=350.0)
    ShakeRotRate=(X=5000.0,Y=5000.0,Z=5000.0)
    ShakeRotTime=0.750
    ShakeOffsetMag=(X=6.0,Y=3.0,Z=7.50)
    ShakeOffsetRate=(X=1000.0,Y=1000.0,Z=1000.0)
    ShakeOffsetTime=1.250
    BotRefireRate=0.990
    FlashEmitterClass=Class'ROEffects.MuzzleFlash1stSTG'
    aimerror=42.0
    Spread=0.00750
    SpreadStyle=1
}


Which value corresponds to penetration and allowed # of penetrations? I already know the default damage penalty for penetration is a 50% damage redux.

EDIT: I already modified the damage values :P

Re: Perk and server suggestion area :)

PostPosted: Wed Apr 16, 2014 7:46 am
by Uberzilla
nailer perk
all weapons fire nail projectiles like the doom marine's xmk

Re: Perk and server suggestion area :)

PostPosted: Wed Apr 16, 2014 10:19 am
by Guardian
Uberzilla wrote:nailer perk
all weapons fire nail projectiles like the doom marine's xmk



Already have a perk like that one on the list :)

Re: Perk and server suggestion area :)

PostPosted: Wed Apr 16, 2014 11:20 pm
by Uberzilla
Guardian wrote:
Uberzilla wrote:nailer perk
all weapons fire nail projectiles like the doom marine's xmk



Already have a perk like that one on the list :)


what perk

Re: Perk and server suggestion area :)

PostPosted: Thu Apr 17, 2014 12:12 am
by Guardian
Uberzilla wrote:
Guardian wrote:
Uberzilla wrote:nailer perk
all weapons fire nail projectiles like the doom marine's xmk



Already have a perk like that one on the list :)


what perk



It's not made yet. I meant I have that idea of perk on the list of perks I have plans of making. :wink:

Re: Perk and server suggestion area :)

PostPosted: Thu Apr 17, 2014 10:38 pm
by Uberzilla
ghost perk (as in spooky spooky ghost not john ghost)
a very light support melee perk
do very little damage but can stun enemies
because he's a ghost he can walk through enemies and enemies dont attack him (except the pat)

Re: Perk and server suggestion area :)

PostPosted: Fri Apr 18, 2014 9:34 pm
by Mangu
Uberzilla wrote:ghost perk (as in spooky spooky ghost not john ghost)
a very light support melee perk
do very little damage but can stun enemies
because he's a ghost he can walk through enemies and enemies dont attack him (except the pat)


Uberzilla, that is waaaaaay too powerful XD!! Although the idea is great for an April Fools joke, remember to picture Frost perk, it only adds a slow and Guardian has it VERY slow... the ghost perk would have 99.9% speed reduction XD! And I must add, the all weapon nailer perk... OMG that is a great idea! Can't wait for how it may turn out to be :D! I personally enjoy watching your suggestions Uberzilla, they're so random! XD

Guardian, YOU DA MAN! It's actually very inspiring watching how you throw yourself to keep the servers fresh. :nod:

Go Guardian! :D

Re: Perk and server suggestion area :)

PostPosted: Mon Apr 21, 2014 1:48 am
by Uberzilla
Mario perk
can does a lot of jump damage and increase every level + higher jump every level
will get power ups (gk you decide which level gets what if you accept this stupid idea)
weak to possibly everything except fall damage

Re: Perk and server suggestion area :)

PostPosted: Mon Apr 21, 2014 1:50 am
by Uberzilla
uh slots and spectators UFOs might be a nice mod to add to the servers

Re: Perk and server suggestion area :)

PostPosted: Mon Apr 21, 2014 1:55 am
by Uberzilla
DOSH PERK
http://forums.tripwireinteractive.com/s ... hp?t=56125
MOAR DOSH AND DOSH DAMAGE EVERY LEVEL + DOSH M79, DOSH M32, DOSH LAW AND DOSH M202A1
ASUJADIASIKHDASDGASJDGASKHDK DOSH

Re: Perk and server suggestion area :)

PostPosted: Tue May 20, 2014 4:48 pm
by Negor
Enforcer:
A low damage high defense perk based off of what would be a retired/active police officer during the outbreak.
his defences would be extremely high being able to at lvl 10 sit at the forefront of the battle and tank like theres no tommorrow.
on the downside though, his speed,and reload speed would be reduced, and his damage would be in the same league as a pistol pros.
as hes based on a police officer his weapons would follow suit being mostly things that a normal officer would posses such as:
Pistols, a baton(or something close enough), a stun gun, stun nades ,
additionally he would have shouts: one that attracts zeds attention, one that dealt close area damage, one that pushes zeds away, and one that pulls( not attracts) zeds to him.
his lvl 10 weapon would be the colt, and his pistols would be the 9mm and the m99's

Re: Perk and server suggestion area :)

PostPosted: Wed Jun 25, 2014 10:58 am
by Negor
Vlad The Impaler: The Perk
inspired by the nail gun, and the history of vlad the impaler(aka dracula) the impaler perk would use any weapons that impale its victim
from nail pistols, to sniper rifle that shoot high powered crossbows, additionally as vlad was also known as dracula for any damage he does
vlad gets 1 hp back, but due to his weak body his resistances are crap so yeah :D

Re: Perk and server suggestion area :)

PostPosted: Fri Jun 27, 2014 12:10 am
by Guardian
Negor wrote:Vlad The Impaler: The Perk
inspired by the nail gun, and the history of vlad the impaler(aka dracula) the impaler perk would use any weapons that impale its victim
from nail pistols, to sniper rifle that shoot high powered crossbows, additionally as vlad was also known as dracula for any damage he does
vlad gets 1 hp back, but due to his weak body his resistances are crap so yeah :D



Actually I have both a needle proj. perk and a vampire perk on the list of perks to make. So, if I can get the vampire code to work with the proj. I may take both, and make one perk :p

Re: Perk and server suggestion area :)

PostPosted: Sat Jun 28, 2014 3:27 am
by Graylien
So there is a mutator out there called Faked players: http://forums.tripwireinteractive.com/s ... hp?t=37788

Basically it ups the difficulty by adding additional fake players when determining the size of the Wave.

This mod or the idea behind this mod may be nice for some of the servers that do not get a lot of traffic. I play on the non pro elite perks server and it can be dead at times leading to small waves and low xp.

Maybe this mod could have some vote option where players could vote how many faked players on added 0-10 for example.

Re: Perk and server suggestion area :)

PostPosted: Tue Jul 08, 2014 11:25 pm
by Claycorp
Kratos, Zephinox and I have come up with a new perk idea called "Grenadier" All of the info you *should* need is in this google doc https://docs.google.com/spreadsheets/d/ ... sp=sharing If you have any questions or want to talk about something just let me know and ill notify the others.
Steam name: Claycorp