Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
suicidemayhem

headshot weapon list

Pending 2.1.6

hi, i've curently got my setup like this

      "Instant_Death_From_Headshot_Allowed_Weapons": [
        "bow.hunting.entity",
        "bow.hunting",
        "crossbow",
        "crossbow.entity",
        "rifle.bolt",
        "rifle.bolt.entity",
        "rifle.l96",
        "rifle.l96.entity"
      ]

but bows don't seem to work. they are listed multiple times because it's not super clear how they are supposed to listed, i couldn't find any items with .entity on the end on this page - https://www.corrosionhour.com/rust-item-list/

anyway, my question is how can i set a wildcard? i've tried "*" and "*.entity", but neither seem to work. want it to headshot only will kill them. thanks.

Edited by suicidemayhem

Share this comment


Link to comment

with underscore instead of period?

the description page says 

["lr300.entity"], for single or [ "lr300.entity", "m92.entity" ], for many.

is there a wildcard or way to add each without typing each weapon out?

thanks.

Edited by suicidemayhem
more info

Share this comment


Link to comment

that didn't seem to work unfortunatley. i tried it these two ways.

      "Die_Instantly_From_Headshot": true,
      "Instant_Death_From_Headshot_Allowed_Weapons": [
          ""
      ],

and

      "Die_Instantly_From_Headshot": true,
      "Instant_Death_From_Headshot_Allowed_Weapons": [],

no bueno.

Share this comment


Link to comment

About Us

Codefling is a forward-thinking platform for developers to share and monetize their work from plugins to game assets and everything in-between.

3,252 files sold to 351 customers and $47,347 of payments processed this year!

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.