Attribute information: Difference between revisions

From SigMod
Jump to navigation Jump to search
 
(5 intermediate revisions by 4 users not shown)
Line 48: Line 48:


==set item tint rgb==
==set item tint rgb==
Credits: Gettysburg
Attribute values for each paint
Attribute values for each paint
{| class="wikitable"
{| class="wikitable"
Line 128: Line 126:


==Flame attributes==
==Flame attributes==
Credits: Jaka
"flame_up_speed"         - Changes how fast flames move upwards. Can be negative to move downward
"flame_up_speed"         - Changes how fast flames move upwards. Can be negative to move downward


Line 159: Line 155:


===Default Attribute Values===
===Default Attribute Values===
"weapon_newflame"
<pre style="min-width:30em;max-width:40em;tab-size:4;">
 
"static_attrs"
        {
{
 
    "flame_gravity"                     "0"
            "static_attrs"
    "flame_drag"                       "8.5"
 
    "flame_up_speed"                   "50"
            {
    "flame_speed"                       "2450"
 
    "flame_spread_degree"               "2.8"
                "flame_gravity"                            "0"
    "flame_lifetime"                   "0.6"
 
    "flame_random_life_time_offset"     "0.1"
                "flame_drag"                            "8.5"
}
 
</pre>
                "flame_up_speed"                        "50"
 
                "flame_speed"                            "2450"
 
                "flame_spread_degree"                    "2.8"
 
                "flame_lifetime"                        "0.6"
 
                "flame_random_life_time_offset"            "0.1"
 
            }
 
        }
 
==paintkit_proto_def_index==
Credits: Ciaran
 
Used for warpaints in combination with set_item_texture_wear. Only works on potato servers
 
{| class="wikitable sortable"
!Value||Name
|-
|0||Red Rock Roscoe
|-
|100||100: (Unused) Red Rock Roscoe
|-
|101||101: (Unused) Sand Cannon
|-
|102||Wrapped Reviver Mk.II
|-
|103||103: (Unused) Psychedelic Slugger
|-
|104||Carpet Bomber Mk.II
|-
|105||Masked Mender Mk.II
|-
|106||Woodland Warrior Mk.II
|-
|107||107: (Unused) Purple Range
|-
|108||108: (Unused) Sudden Flurry
|-
|109||Forest Fire Mk.II
|-
|10||King of the Jungle
|-
|112||Backwoods Boomstick Mk.II
|-
|113||Woodsy Widowmaker Mk.II
|-
|114||Night Owl Mk.II
|-
|117||117: (Unused) Barn Burner
|-
|11||Night Terror
|-
|120||Iron Wood Mk.II
|-
|122||Plaid Potshotter Mk.II
|-
|12||Backwoods Boomstick
|-
|130||Bovine Blazemaker Mk.II
|-
|139||Civil Servant Mk.II
|-
|13||Woodsy Widowmaker
|-
|143||Smalltown Bringdown Mk.II
|-
|144||Civic Duty Mk.II
|-
|145||145: (Unused) Liquid Asset
|-
|148||148: (Unused) Pink Elephant
|-
|14||Night Owl
|-
|151||Dead Reckoner Mk.II
|-
|15||Tartan Torpedo
|-
|160||Autumn Mk.II
|-
|161||Nutcracker Mk.II
|-
|163||Macabre Web Mk.II
|-
|16||Rustic Ruiner
|-
|17||Barn Burner
|-
|18||Homemade Heater
|-
|19||Lumber From Down Under
|-
|1||Sand Cannon
|-
|200||Bloom Buffed
|-
|201||Quack Canvassed
|-
|202||Bank Rolled
|-
|203||Merc Stained
|-
|204||Kill Covered
|-
|205||Fire Glazed
|-
|206||Pizza Polished
|-
|207||Bonk Varnished
|-
|208||Star Crossed
|-
|209||Clover Camo'd
|-
|20||Iron Wood
|-
|210||Freedom Wrapped
|-
|211||Cardboard Boxed
|-
|212||Dream Piped
|-
|213||Miami Element
|-
|214||Neo Tokyo
|-
|215||Geometrical Teams
|-
|217||Bomber Soul
|-
|218||Uranium
|-
|21||Country Crusher
|-
|220||Cabin Fevered
|-
|221||Polar Surprise
|-
|223||Hana
|-
|224||Dovetailed
|-
|225||Cosmic Calamity
|-
|226||Hazard Warning
|-
|228||Mosaic
|-
|22||Plaid Potshotter
|-
|230||Jazzy
|-
|232||Alien Tech
|-
|234||Damascus &amp; Mahogany
|-
|235||Skull Study
|-
|236||Haunted Ghosts
|-
|237||Spectral Shimmered
|-
|238||Spirit of Halloween
|-
|239||Horror Holiday
|-
|23||Shot in the Dark
|-
|240||Totally Boned
|-
|241||Electroshocked
|-
|242||Ghost Town
|-
|243||Tumor Toasted
|-
|244||Calavera Canvas
|-
|24||Blasted Bombardier
|-
|25||Reclaimed Reanimator
|-
|26||Antique Annihilator
|-
|27||Old Country
|-
|28||American Pastoral
|-
|29||Backcountry Blaster
|-
|2||Wrapped Reviver
|-
|300||Yeti Coated
|-
|301||Park Pigmented
|-
|302||Mannana Peeled
|-
|303||Macaw Masked
|-
|304||Sax Waxed
|-
|305||Anodized Aloha
|-
|306||Bamboo Brushed
|-
|307||Tiger Buffed
|-
|308||Croc Dusted
|-
|309||PiĂąa Polished
|-
|30||Bovine Blazemaker
|-
|310||Leopard Printed
|-
|31||War Room
|-
|32||Treadplate Tormenter
|-
|33||Bogtrotter
|-
|34||Earth, Sky and Fire
|-
|35||Hickory Hole-Puncher
|-
|36||Spruce Deuce
|-
|37||Team Sprayer
|-
|38||Rooftop Wrangler
|-
|390||Dragon Slayer
|-
|391||Smissmas Sweater
|-
|39||Civil Servant
|-
|3||Psychedelic Slugger
|-
|40||Citizen Pain
|-
|41||Local Hero
|-
|42||Mayor
|-
|43||Smalltown Bringdown
|-
|44||Civic Duty
|-
|458||Wrapped Reviver Mk.II
|-
|45||Liquid Asset
|-
|46||Black Dahlia
|-
|47||Lightning Rod
|-
|48||Pink Elephant
|-
|49||Flash Fryer
|-
|4||Carpet Bomber
|-
|50||Spark of Life
|-
|51||Dead Reckoner
|-
|52||Shell Shocker
|-
|53||Current Event
|-
|54||Turbine Torcher
|-
|55||Brick House
|-
|56||Sandstone Special
|-
|57||Aqua Marine
|-
|58||Low Profile
|-
|59||Thunderbolt
|-
|5||Masked Mender
|-
|60||Autumn
|-
|61||Nutcracker
|-
|62||Pumpkin Patch
|-
|63||Macabre Web
|-
|64||Boneyard
|-
|65||Wildwood
|-
|66||Balloonicorn
|-
|67||Rainbow
|-
|68||Sweet Dreams
|-
|69||Blue Mew
|-
|6||Woodland Warrior
|-
|70||Brain Candy
|-
|71||Stabbed to Hell
|-
|72||Flower Power
|-
|73||Mister Cuddles
|-
|74||Shot to Hell
|-
|75||Torqued to Hell
|-
|76||Coffin Nail
|-
|77||Top Shelf
|-
|78||Dressed to Kill
|-
|79||High Roller's
|-
|7||Purple Range
|-
|80||Warhawk
|-
|81||Blitzkrieg
|-
|82||Airwolf
|-
|83||Corsair
|-
|84||Butcher Bird
|-
|85||Killer Bee
|-
|86||Red Bear
|-
|8||Sudden Flurry
|-
|91||Rainbow
|-
|92||Killer Bee
|-
|93||Coffin Nail
|-
|97||97: wearblend
|-
|98||98: dirt/blood/scratches
|-
|99||99: ao/dirt/blood/scratches
|-
|9||Forest Fire
|}


==set_item_texture_wear==
==Skins and paintkit_proto_def_index==
Used to set warpaint wear. "set_item_texture_wear"    0.2 sets paint wear to factory new
[https://docs.google.com/document/d/e/2PACX-1vR4mcdvfPIib0sfEtzhv_l6lz42ox6xmFr4jxVYceSxL8na9fkrxVkTFz5qVbl1qV3A4VzY-t7CJ-f8/pub#h.djh8zb5deg98 All Warpaint Names And IDs]


==override projectile type==
==override projectile type==
Credits: Braindawg
Can be used to change projectile fired by the weapon. Possible values:
Can be used to change projectile fired by the weapon. Possible values:
{| class="wikitable"
{| class="wikitable"
Line 594: Line 224:


== lunchbox adds minicrits ==
== lunchbox adds minicrits ==
Information about "lunchbox adds minicrits" and other set_weapon_mode attributes can be found[https://gist.github.com/sigsegv-mvm/f72e3047c58dc2674493 here]
Information about "lunchbox adds minicrits" and other set_weapon_mode attributes can be found [https://gist.github.com/sigsegv-mvm/f72e3047c58dc2674493 here]


[[Category:References]]
[[Category:References]]

Latest revision as of 15:48, 12 October 2022

crit vs burning players[edit | edit source]

You can use a value different than 1, In this case, it will make the weapon deal critical damage on a different condition than if the player is burning. You can add the values together if you want to crit on multiple conditions

Condition Value
TF_COND_BURNING 1
TF_COND_AIMING 2
TF_COND_ZOOMED 4
TF_COND_DISGUISING 8
TF_COND_DISGUISED 16
TF_COND_STEALTHED 32
TF_COND_INVULNERABLE 64
TF_COND_TELEPORTED 128
TF_COND_TAUNTING 256
TF_COND_INVULNERABLE_WEARINGOFF 512
TF_COND_STEALTHED_BLINK 1024
TF_COND_SELECTED_TO_TELEPORT 2048
TF_COND_CRITBOOSTED 4096
TF_COND_TMPDAMAGEBONUS 8192
TF_COND_FEIGN_DEATH 16384
TF_COND_PHASE 32768
TF_COND_STUNNED 65536
TF_COND_HEALTH_BUFF 131072
TF_COND_HEALTH_OVERHEALED 262144
TF_COND_URINE 524288
TF_COND_ENERGY_BUFF 1048576

set item tint rgb[edit | edit source]

Attribute values for each paint

Name Value Team
Indubitably Green 7511618
Zepheniah's Greed 4345659
Noble Hatter's Violet 5322826
Color No. 216-190-216 14204632
A Deep Commitment to Purple 8208497
Mann Co. Orange 13595446
Muskelmannbraun 10843461
Peculiarly Drab Tincture 12955537
Radigan Conagher Brown 6901050
Ye Olde Rustic Colour 8154199
Australium Gold 15185211
Aged Moustache Grey 8289918
An Abundance of Tinge 15132390
A Distinctive Lack of Hue 1315860
Pink as Hell 16738740
A Color Similar to Slate 3100495
Drably Olive 8421376
Taste of Defeat and Lime 3329330
Gentlemann's Business Pants 15787660
Dark Salmon Injustice 15308410
Mann's Mint 12377523
After Eight 2960676
Team Spirit 12073019 RED
5801378 BLU
Operator's Overalls 4732984 RED
3686984 BLU
Waterlogged Lab Coat 11049612 RED
8626083 BLU
Balaclavas are Forever 3874595 RED
1581885 BLU
An Air of Debonair 6637376 RED
2636109 BLU
The Value of Teamwork 8400928 RED
2452877 BLU
Cream Spirit 12807213 RED
12091445 BLU

Flame attributes[edit | edit source]

"flame_up_speed"         - Changes how fast flames move upwards. Can be negative to move downward

"flame_speed"             - How fast flames move.

"flame_drag"            - How much resistance a flame faces durring flight. Lower values make flames travel further

"flame_gravity"            - Changes how fast flames move upwards, functions similarly to flame_up_speed

"flame_spread_degree"        - Flame angle deviation. Essentially "projectile spread angle penalty" for flamethrowers

"flame_reflect_on_collision"    - how hard a flame bounces off a surface

"redirected_flame_size_mult"    - flame particle size after bouncing off a surface

"flame_ignore_player_velocity"    - Flames no longer inherit the users velocity

"airblast_turn_projectile_to_ammo"     - spawns small ammopack on reflect

"airblast_give_teammate_speed_boost"     - replaces knockback with speed boost effect on teammates

"airblast_deflect_projectiles_disabled" - can not reflect projectiles

"airblast_put_out_teammate_disabled"     - can not extinguish teammates

"airblast_pushback_disabled"        - can not airblast players

"airblast_destroy_projectile"        - destroys projectiles instead of reflecting. Exactly like heavy deflection.

Default Attribute Values[edit | edit source]

"static_attrs"
{
    "flame_gravity"                     "0"
    "flame_drag"                        "8.5"
    "flame_up_speed"                    "50"
    "flame_speed"                       "2450"
    "flame_spread_degree"               "2.8"
    "flame_lifetime"                    "0.6"
    "flame_random_life_time_offset"     "0.1"
}

Skins and paintkit_proto_def_index[edit | edit source]

All Warpaint Names And IDs

override projectile type[edit | edit source]

Can be used to change projectile fired by the weapon. Possible values:

Value Projectile
1 Bullet
2 Rocket ("mini rockets" 1 for air strike, "no self blast dmg" 2 for rocket jumper)
3 Pipebomb
4 Stickybomb
5 Syringe
6 Flare ( "lunchbox adds minicrits" determines flare type)
8 Huntsman Arrow
11 Crusader's Crossbow Bolt
12 Cow Mangler Particle
13 Bison/Pomson ("energy weapon penetration" 1/0 to switch)
14 Stickybomb (Sticky Jumper)
17 Loose Cannon
18 Rescue Ranger Claw
19 Festive Huntsman Arrow
22 Festive Jarate
23 Festive Crusader's Crossbow Bolt
26 Grappling hook

Will only work with their respective non-reskinned versions:

Value Projectile
24 Self Aware Beauty Mark (Jarate)
25 Mutated Milk (Mad Milk)

is_passive_weapon[edit | edit source]

If set to 1, the weapon is worn by the player passiviely, it will be used together with the active weapon. There can be only one passive weapon. The passive weapon is invisible, but it's animations will override the animations of the active weapon

lunchbox adds minicrits[edit | edit source]

Information about "lunchbox adds minicrits" and other set_weapon_mode attributes can be found here