WeaponMechanics / WeaponMechanicsCosmeticsWiki

Wiki for the WeaponMechanicsCosmetics plugin
6 stars 0 forks source link

More Scopes type use fake pumpkin #17

Closed Kugana closed 1 year ago

Kugana commented 1 year ago

Description

I hope to have a variety of scopes to choose from, using the fake pumpkin's CustomModelData to make things like red dot scopes, holographic scopes, 2x sniper scopes, 4x sniper scopes, 8x sniper scopes

Configuration

# This option in weapon.yml
 Scope:
    Pumpkin_Overlay: <true/false> # This is a WMC (Paid) feature
    Pumpkin_Type: <Type in config.yml> #Like Survival_Pumpkin
# This option in config.yml
# This is the "fake pumpkin" shown to players when they are in survival
# In older versions <1.12, use PUMPKIN instead of CARVED_PUMPKIN
Survival_Pumpkin:
  Type: CARVED_PUMPKIN
  Name: "<yellow>Scope Overlay"
  Lore:
    - "<gray>Clicking this will cause the scope to disappear"
    - "<gray>You can get it back by un-scoping then re-scoping"
  Custom_Model_Data: 1
2x_Sniper_Scopes_Pumpkin:
  Type: CARVED_PUMPKIN
  Name: "<yellow>Scope Overlay"
  Lore:
    - "<gray>Clicking this will cause the scope to disappear"
    - "<gray>You can get it back by un-scoping then re-scoping"
  Custom_Model_Data: 2
4x_Sniper_Scopes_Pumpkin:
  Type: CARVED_PUMPKIN
  Name: "<yellow>Scope Overlay"
  Lore:
    - "<gray>Clicking this will cause the scope to disappear"
    - "<gray>You can get it back by un-scoping then re-scoping"
  Custom_Model_Data: 3

Payment

CJCrafter commented 1 year ago

Sorry, but this is impossible. Custom model data doesn't let you change the reticle of the scope. Resource packs can only have 1 pumpkin overlay. I only used custom model data so I didn't override the default carved pumpkin model (in case servers use that).