ItemAttributes for popfiles

Discussion in 'Mapping Questions & Discussion' started by s0da72, Aug 28, 2013.

  1. s0da72

    s0da72 L2: Junior Member

    Messages:
    74
    Positive Ratings:
    17
    Has ItemAttributes always been available for popfiles or is this new with the release?

    I've used CharacterAttributes several times to add damage and effects to weapons. But it always applied it to all items which is annoying.


    Code:
    
    // -- These attributes must attached to a weapon using ItemAttributes and then ItemName --
    
    // "Blast radius decreased"
    // "Reload time decreased"
    // "airblast pushback scale"
    // "arrow mastery"
    // "attack projectiles"
    // "bullets per shot bonus"
    // "clip size bonus"
    // "clip size penalty"
    // "clip size upgrade atomic"
    // "cloak consume rate increased"
    // "critboost on kill"
    // "damage bonus"
    // "damage causes airblast"
    // "damage penalty"
    // "effect bar recharge rate increased"
    // "faster reload rate"
    // "fire rate bonus"
    // "fire rate penalty"
    // "flame life bonus"
    // (not sure about this one -- can't even find where it gets used at a glance) "multiple sentries"
    // "projectile penetration"
    // "projectile spread angle penalty"
    // "scattergun knockback mult"
    // "uber duration bonus"
    // "ubercharge rate bonus"
    // "use large smoke explosion"
    // ----------------------------------------------------
    
    
    	T_TFBot_ScorchShot
    	{
    		Class Pyro
    		Name "Pyro Pusher"
    		Skill Expert
    		ClassIcon pyro_flare
    		Item "The Scorch Shot"
    		WeaponRestrictions SecondaryOnly
    		Attributes AlwaysCrit
    		ItemAttributes
    		{
    			ItemName "The Scorch Shot"
    			"damage bonus"	1
    			"fire rate bonus" 0.75
    			"faster reload rate" 1.25		
    		}				
    		CharacterAttributes
    		{
    			"Projectile speed increased" 0.35
    		}
    	}