Advertisement
hellwolf95

Crayfish gun mod or cgm.config

Jun 16th, 2019
450
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 30.58 KB | None | 0 0
  1. # Configuration file
  2.  
  3. general {
  4.  
  5.     ##########################################################################################################
  6.     # client
  7.     #--------------------------------------------------------------------------------------------------------#
  8.     # Client-only configs.
  9.     ##########################################################################################################
  10.  
  11.     client {
  12.  
  13.         ##########################################################################################################
  14.         # sounds
  15.         #--------------------------------------------------------------------------------------------------------#
  16.         # Control sounds triggered by guns
  17.         ##########################################################################################################
  18.  
  19.         sounds {
  20.             # If true, a ding sound will play when you successfully hit a player with a gun
  21.             B:"Play Hit Sound"=true
  22.         }
  23.  
  24.         ##########################################################################################################
  25.         # display
  26.         #--------------------------------------------------------------------------------------------------------#
  27.         # Configuration for display related options
  28.         ##########################################################################################################
  29.  
  30.         display {
  31.             # If true, an animation is performed while cycling items in the Workbench
  32.             B:"Workbench Animation"=true
  33.         }
  34.  
  35.         ##########################################################################################################
  36.         # controls
  37.         #--------------------------------------------------------------------------------------------------------#
  38.         # Configuration for control options
  39.         ##########################################################################################################
  40.  
  41.         controls {
  42.             # If true, uses the old controls in order to aim and shoot
  43.             B:"Use Old Controls"=false
  44.         }
  45.  
  46.     }
  47.  
  48.     ##########################################################################################################
  49.     # server
  50.     #--------------------------------------------------------------------------------------------------------#
  51.     # Server-only configs.
  52.     ##########################################################################################################
  53.  
  54.     server {
  55.  
  56.         ##########################################################################################################
  57.         # aggro mobs
  58.         #--------------------------------------------------------------------------------------------------------#
  59.         # Nearby mobs are angered and/or scared by the firing of guns.
  60.         ##########################################################################################################
  61.  
  62.         "aggro mobs" {
  63.             # If true, nearby mobs are angered and/or scared by the firing of guns.
  64.             B:"Aggro Mobs Enabled"=true
  65.  
  66.             # If true, in addition to causing peaceful mobs to panic, firing a gun will also cause nearby hostile mobs to target the shooter.
  67.             B:"Anger Hostile Mobs"=true
  68.  
  69.             # Any mobs of classes with class paths in this list will not aggro on shooters.
  70.             S:"Exempt Mob Classes" <
  71.                 net.minecraft.entity.passive.EntityVillager
  72.              >
  73.  
  74.             # Any mobs within a sphere of this radius will aggro on the shooter of a silenced gun.
  75.             # Min: 0.0
  76.             # Max: 1.7976931348623157E308
  77.             D:"Range Silenced"=20.0
  78.  
  79.             # Any mobs within a sphere of this radius will aggro on the shooter of an unsilenced gun.
  80.             # Min: 0.0
  81.             # Max: 1.7976931348623157E308
  82.             D:"Range Unsilenced"=50.0
  83.         }
  84.  
  85.         ##########################################################################################################
  86.         # guns
  87.         #--------------------------------------------------------------------------------------------------------#
  88.         # Change the properties of guns
  89.         ##########################################################################################################
  90.  
  91.         guns {
  92.  
  93.             ##########################################################################################################
  94.             # pistol
  95.             #--------------------------------------------------------------------------------------------------------#
  96.             # Change the properties of the Pistol
  97.             ##########################################################################################################
  98.  
  99.             pistol {
  100.  
  101.                 ##########################################################################################################
  102.                 # general
  103.                 #--------------------------------------------------------------------------------------------------------#
  104.                 # Change the general properties of the gun
  105.                 ##########################################################################################################
  106.  
  107.                 general {
  108.                     # The maximum amount of ammo this gun can hold
  109.                     I:"Max Ammo"=9
  110.  
  111.                     # The amount of bullets added to the gun on each reload
  112.                     I:"Reload Speed"=9
  113.                 }
  114.  
  115.                 ##########################################################################################################
  116.                 # projectile
  117.                 #--------------------------------------------------------------------------------------------------------#
  118.                 # Change the properties of the projectile fired from the gun
  119.                 ##########################################################################################################
  120.  
  121.                 projectile {
  122.                     # The damage this gun will cause. Each value is equivalent to half a heart.
  123.                     D:Damage=15.0
  124.  
  125.                     # If true, the damage of the gun will reduce the further the target is away
  126.                     B:"Damage Falloff"=true
  127.  
  128.                     # If true, the projectile will be affected by gravity and drop
  129.                     B:Gravity=false
  130.  
  131.                     # The amount of ticks before the projectile is removed for the world
  132.                     I:Life=10
  133.  
  134.                     # If true, the damage of the gun will be reduced if not zoomed
  135.                     B:"Reduce Damage Not Zoomed"=false
  136.  
  137.                     # The amount of bullets added to the gun on each reload
  138.                     D:Size=0.20000000298023224
  139.  
  140.                     # The amount of bullets added to the gun on each reload
  141.                     D:Speed=10.0
  142.  
  143.                     # If true, will render the projectile. This is disabled for fast projectiles because of rendering issues
  144.                     B:Visible=false
  145.                 }
  146.  
  147.             }
  148.  
  149.             ##########################################################################################################
  150.             # shotgun
  151.             #--------------------------------------------------------------------------------------------------------#
  152.             # Change the properties of the Shotgun
  153.             ##########################################################################################################
  154.  
  155.             shotgun {
  156.  
  157.                 ##########################################################################################################
  158.                 # general
  159.                 #--------------------------------------------------------------------------------------------------------#
  160.                 # Change the general properties of the gun
  161.                 ##########################################################################################################
  162.  
  163.                 general {
  164.                     # The maximum amount of ammo this gun can hold
  165.                     I:"Max Ammo"=6
  166.  
  167.                     # The amount of bullets added to the gun on each reload
  168.                     I:"Reload Speed"=1
  169.                 }
  170.  
  171.                 ##########################################################################################################
  172.                 # projectile
  173.                 #--------------------------------------------------------------------------------------------------------#
  174.                 # Change the properties of the projectile fired from the gun
  175.                 ##########################################################################################################
  176.  
  177.                 projectile {
  178.                     # The damage this gun will cause. Each value is equivalent to half a heart.
  179.                     D:Damage=15.0
  180.  
  181.                     # If true, the damage of the gun will reduce the further the target is away
  182.                     B:"Damage Falloff"=true
  183.  
  184.                     # If true, the projectile will be affected by gravity and drop
  185.                     B:Gravity=false
  186.  
  187.                     # The amount of ticks before the projectile is removed for the world
  188.                     I:Life=5
  189.  
  190.                     # If true, the damage of the gun will be reduced if not zoomed
  191.                     B:"Reduce Damage Not Zoomed"=true
  192.  
  193.                     # The amount of bullets added to the gun on each reload
  194.                     D:Size=1.0
  195.  
  196.                     # The amount of bullets added to the gun on each reload
  197.                     D:Speed=10.0
  198.  
  199.                     # If true, will render the projectile. This is disabled for fast projectiles because of rendering issues
  200.                     B:Visible=false
  201.                 }
  202.  
  203.             }
  204.  
  205.             ##########################################################################################################
  206.             # rifle
  207.             #--------------------------------------------------------------------------------------------------------#
  208.             # Change the properties of the Rifle
  209.             ##########################################################################################################
  210.  
  211.             rifle {
  212.  
  213.                 ##########################################################################################################
  214.                 # general
  215.                 #--------------------------------------------------------------------------------------------------------#
  216.                 # Change the general properties of the gun
  217.                 ##########################################################################################################
  218.  
  219.                 general {
  220.                     # The maximum amount of ammo this gun can hold
  221.                     I:"Max Ammo"=6
  222.  
  223.                     # The amount of bullets added to the gun on each reload
  224.                     I:"Reload Speed"=1
  225.                 }
  226.  
  227.                 ##########################################################################################################
  228.                 # projectile
  229.                 #--------------------------------------------------------------------------------------------------------#
  230.                 # Change the properties of the projectile fired from the gun
  231.                 ##########################################################################################################
  232.  
  233.                 projectile {
  234.                     # The damage this gun will cause. Each value is equivalent to half a heart.
  235.                     D:Damage=30.0
  236.  
  237.                     # If true, the damage of the gun will reduce the further the target is away
  238.                     B:"Damage Falloff"=false
  239.  
  240.                     # If true, the projectile will be affected by gravity and drop
  241.                     B:Gravity=false
  242.  
  243.                     # The amount of ticks before the projectile is removed for the world
  244.                     I:Life=10
  245.  
  246.                     # If true, the damage of the gun will be reduced if not zoomed
  247.                     B:"Reduce Damage Not Zoomed"=true
  248.  
  249.                     # The amount of bullets added to the gun on each reload
  250.                     D:Size=0.0625
  251.  
  252.                     # The amount of bullets added to the gun on each reload
  253.                     D:Speed=20.0
  254.  
  255.                     # If true, will render the projectile. This is disabled for fast projectiles because of rendering issues
  256.                     B:Visible=false
  257.                 }
  258.  
  259.             }
  260.  
  261.             ##########################################################################################################
  262.             # grenade launcher
  263.             #--------------------------------------------------------------------------------------------------------#
  264.             # Change the properties of the Grenade Launcher
  265.             ##########################################################################################################
  266.  
  267.             "grenade launcher" {
  268.  
  269.                 ##########################################################################################################
  270.                 # general
  271.                 #--------------------------------------------------------------------------------------------------------#
  272.                 # Change the general properties of the gun
  273.                 ##########################################################################################################
  274.  
  275.                 general {
  276.                     # The maximum amount of ammo this gun can hold
  277.                     I:"Max Ammo"=4
  278.  
  279.                     # The amount of bullets added to the gun on each reload
  280.                     I:"Reload Speed"=1
  281.                 }
  282.  
  283.                 ##########################################################################################################
  284.                 # projectile
  285.                 #--------------------------------------------------------------------------------------------------------#
  286.                 # Change the properties of the projectile fired from the gun
  287.                 ##########################################################################################################
  288.  
  289.                 projectile {
  290.                     # The damage this gun will cause. Each value is equivalent to half a heart.
  291.                     D:Damage=50.0
  292.  
  293.                     # If true, the damage of the gun will reduce the further the target is away
  294.                     B:"Damage Falloff"=false
  295.  
  296.                     # If true, the projectile will be affected by gravity and drop
  297.                     B:Gravity=true
  298.  
  299.                     # The amount of ticks before the projectile is removed for the world
  300.                     I:Life=50
  301.  
  302.                     # If true, the damage of the gun will be reduced if not zoomed
  303.                     B:"Reduce Damage Not Zoomed"=false
  304.  
  305.                     # The amount of bullets added to the gun on each reload
  306.                     D:Size=0.20000000298023224
  307.  
  308.                     # The amount of bullets added to the gun on each reload
  309.                     D:Speed=1.0
  310.  
  311.                     # If true, will render the projectile. This is disabled for fast projectiles because of rendering issues
  312.                     B:Visible=true
  313.                 }
  314.  
  315.             }
  316.  
  317.             ##########################################################################################################
  318.             # bazooka
  319.             #--------------------------------------------------------------------------------------------------------#
  320.             # Change the properties of the Bazooka
  321.             ##########################################################################################################
  322.  
  323.             bazooka {
  324.  
  325.                 ##########################################################################################################
  326.                 # general
  327.                 #--------------------------------------------------------------------------------------------------------#
  328.                 # Change the general properties of the gun
  329.                 ##########################################################################################################
  330.  
  331.                 general {
  332.                     # The maximum amount of ammo this gun can hold
  333.                     I:"Max Ammo"=1
  334.  
  335.                     # The amount of bullets added to the gun on each reload
  336.                     I:"Reload Speed"=1
  337.                 }
  338.  
  339.                 ##########################################################################################################
  340.                 # projectile
  341.                 #--------------------------------------------------------------------------------------------------------#
  342.                 # Change the properties of the projectile fired from the gun
  343.                 ##########################################################################################################
  344.  
  345.                 projectile {
  346.                     # The damage this gun will cause. Each value is equivalent to half a heart.
  347.                     D:Damage=60.0
  348.  
  349.                     # If true, the damage of the gun will reduce the further the target is away
  350.                     B:"Damage Falloff"=false
  351.  
  352.                     # If true, the projectile will be affected by gravity and drop
  353.                     B:Gravity=true
  354.                     # The amount of ticks before the projectile is removed for the world
  355.                     I:Life=100
  356.  
  357.                     # If true, the damage of the gun will be reduced if not zoomed
  358.                     B:"Reduce Damage Not Zoomed"=false
  359.  
  360.                     # The amount of bullets added to the gun on each reload
  361.                     D:Size=0.20000000298023224
  362.  
  363.                     # The amount of bullets added to the gun on each reload
  364.                     D:Speed=2.0
  365.  
  366.                     # If true, will render the projectile. This is disabled for fast projectiles because of rendering issues
  367.                     B:Visible=true
  368.                 }
  369.  
  370.             }
  371.  
  372.             ##########################################################################################################
  373.             # minigun
  374.             #--------------------------------------------------------------------------------------------------------#
  375.             # Change the properties of the Minigun
  376.             ##########################################################################################################
  377.  
  378.             minigun {
  379.  
  380.                 ##########################################################################################################
  381.                 # general
  382.                 #--------------------------------------------------------------------------------------------------------#
  383.                 # Change the general properties of the gun
  384.                 ##########################################################################################################
  385.  
  386.                 general {
  387.                     # The maximum amount of ammo this gun can hold
  388.                     I:"Max Ammo"=400
  389.  
  390.                     # The amount of bullets added to the gun on each reload
  391.                     I:"Reload Speed"=10
  392.                 }
  393.  
  394.                 ##########################################################################################################
  395.                 # projectile
  396.                 #--------------------------------------------------------------------------------------------------------#
  397.                 # Change the properties of the projectile fired from the gun
  398.                 ##########################################################################################################
  399.  
  400.                 projectile {
  401.                     # The damage this gun will cause. Each value is equivalent to half a heart.
  402.                     D:Damage=8.0
  403.  
  404.                     # If true, the damage of the gun will reduce the further the target is away
  405.                     B:"Damage Falloff"=true
  406.  
  407.                     # If true, the projectile will be affected by gravity and drop
  408.                     B:Gravity=false
  409.  
  410.                     # The amount of ticks before the projectile is removed for the world
  411.                     I:Life=10
  412.  
  413.                     # If true, the damage of the gun will be reduced if not zoomed
  414.                     B:"Reduce Damage Not Zoomed"=false
  415.  
  416.                     # The amount of bullets added to the gun on each reload
  417.                     D:Size=0.20000000298023224
  418.  
  419.                     # The amount of bullets added to the gun on each reload
  420.                     D:Speed=10.0
  421.  
  422.                     # If true, will render the projectile. This is disabled for fast projectiles because of rendering issues
  423.                     B:Visible=false
  424.                 }
  425.  
  426.             }
  427.  
  428.             ##########################################################################################################
  429.             # assault rifle
  430.             #--------------------------------------------------------------------------------------------------------#
  431.             # Change the properties of the Assault Rifle
  432.             ##########################################################################################################
  433.  
  434.             "assault rifle" {
  435.  
  436.                 ##########################################################################################################
  437.                 # general
  438.                 #--------------------------------------------------------------------------------------------------------#
  439.                 # Change the general properties of the gun
  440.                 ##########################################################################################################
  441.  
  442.                 general {
  443.                     # The maximum amount of ammo this gun can hold
  444.                     I:"Max Ammo"=30
  445.  
  446.                     # The amount of bullets added to the gun on each reload
  447.                     I:"Reload Speed"=30
  448.                 }
  449.  
  450.                 ##########################################################################################################
  451.                 # projectile
  452.                 #--------------------------------------------------------------------------------------------------------#
  453.                 # Change the properties of the projectile fired from the gun
  454.                 ##########################################################################################################
  455.  
  456.                 projectile {
  457.                     # The damage this gun will cause. Each value is equivalent to half a heart.
  458.                     D:Damage=18.0
  459.  
  460.                     # If true, the damage of the gun will reduce the further the target is away
  461.                     B:"Damage Falloff"=false
  462.  
  463.                     # If true, the projectile will be affected by gravity and drop
  464.                     B:Gravity=false
  465.  
  466.                     # The amount of ticks before the projectile is removed for the world
  467.                     I:Life=10
  468.  
  469.                     # If true, the damage of the gun will be reduced if not zoomed
  470.                     B:"Reduce Damage Not Zoomed"=true
  471.  
  472.                     # The amount of bullets added to the gun on each reload
  473.                     D:Size=0.20000000298023224
  474.  
  475.                     # The amount of bullets added to the gun on each reload
  476.                     D:Speed=10.0
  477.  
  478.                     # If true, will render the projectile. This is disabled for fast projectiles because of rendering issues
  479.                     B:Visible=false
  480.                 }
  481.  
  482.             }
  483.  
  484.         }
  485.  
  486.         ##########################################################################################################
  487.         # stun grenades
  488.         #--------------------------------------------------------------------------------------------------------#
  489.         # Blinding/deafening properties of stun grenades.
  490.         ##########################################################################################################
  491.  
  492.         "stun grenades" {
  493.  
  494.             ##########################################################################################################
  495.             # blind
  496.             #--------------------------------------------------------------------------------------------------------#
  497.             # Blinding properties of stun grenades.
  498.             ##########################################################################################################
  499.  
  500.             blind {
  501.                 # After the duration drops to this many ticks, the transparency of the overlay when blinded will gradually fade to 0 alpha.
  502.                 # Min: 0
  503.                 # Max: 255
  504.                 I:"Overlay Alpha"=255
  505.  
  506.                 # Transparency of the overlay when blinded will be this alpha value, before eventually fading to 0 alpha.
  507.                 # Min: 0
  508.                 # Max: 2147483647
  509.                 I:"Overlay Fade Threshold"=40
  510.  
  511.                 ##########################################################################################################
  512.                 # effect criteria
  513.                 #--------------------------------------------------------------------------------------------------------#
  514.                 # Criteria that determines the presence/absence and duration of the blinding effect.
  515.                 ##########################################################################################################
  516.  
  517.                 "effect criteria" {
  518.                     # Angle between the eye/looking direction and the eye/grenade direction must be no more than half this many degrees to have an effect.
  519.                     # Min: 0.0
  520.                     # Max: 360.0
  521.                     D:"Angle Of Effect"=170.0
  522.  
  523.                     # After duration is attenuated by distance, it will be further attenuated depending on the angle (in degrees) between the eye/looking direction and the eye/grenade direction. This is done by multiplying it by 1 (no attenuation) if the angle is 0; and by this value if the angle is the maximum within the angle of effect.
  524.                     # Min: 0.0
  525.                     # Max: 1.0
  526.                     D:"Max Attenuation By Angle"=0.75
  527.  
  528.                     # Effect will have this duration (in ticks) if the grenade is directly at the player's eyes while looking directly at it.
  529.                    # Min: 0
  530.                    # Max: 2147483647
  531.                    I:"Max Duration"=220
  532.  
  533.                    # Effect will have this duration (in ticks) if the grenade is the maximum distance from the player's eyes while looking directly at it.
  534.                     # Min: 0
  535.                     # Max: 2147483647
  536.                     I:"Min Duration By Distance"=10
  537.  
  538.                     # Grenade must be no more than this many meters away to have an effect.
  539.                     # Min: 0.0
  540.                     # Max: 1.7976931348623157E308
  541.                     D:Radius=15.0
  542.  
  543.                     # If true, the effect is only applied if the line between the eyes and the grenade does not intersect any non-liquid blocks with an opacity greater than 0.
  544.                     B:"Raytrace Opaque Blocks"=true
  545.                 }
  546.  
  547.             }
  548.  
  549.             ##########################################################################################################
  550.             # deafen
  551.             #--------------------------------------------------------------------------------------------------------#
  552.             # Deafening properties of stun grenades.
  553.             ##########################################################################################################
  554.  
  555.             deafen {
  556.                 # Volume of the ringing sound when deafened will play at this volume, before eventually fading to 0.
  557.                 # Min: 0.0
  558.                 # Max: 1.7976931348623157E308
  559.                 D:"Ring Volume"=1.0
  560.  
  561.                 # After the duration drops to this many ticks, the ringing volume will gradually fade to 0 and other sound volumes will fade back to %100.
  562.                 # Min: 0
  563.                 # Max: 2147483647
  564.                 I:"Sound Fade Threshold"=90
  565.  
  566.                 # Volume of most game sounds when deafened will play at this percent, before eventually fading back to %100.
  567.                 # Min: 0.0
  568.                 # Max: 1.0
  569.                 D:"Sound Percentage"=0.05
  570.  
  571.                 ##########################################################################################################
  572.                 # effect criteria
  573.                 #--------------------------------------------------------------------------------------------------------#
  574.                 # Criteria that determines the presence/absence and duration of the deafening effect.
  575.                 ##########################################################################################################
  576.  
  577.                 "effect criteria" {
  578.                     # Angle between the eye/looking direction and the eye/grenade direction must be no more than half this many degrees to have an effect.
  579.                     # Min: 0.0
  580.                     # Max: 360.0
  581.                     D:"Angle Of Effect"=360.0
  582.  
  583.                     # After duration is attenuated by distance, it will be further attenuated depending on the angle (in degrees) between the eye/looking direction and the eye/grenade direction. This is done by multiplying it by 1 (no attenuation) if the angle is 0; and by this value if the angle is the maximum within the angle of effect.
  584.                     # Min: 0.0
  585.                     # Max: 1.0
  586.                     D:"Max Attenuation By Angle"=0.75
  587.  
  588.                     # Effect will have this duration (in ticks) if the grenade is directly at the player's eyes while looking directly at it.
  589.                    # Min: 0
  590.                    # Max: 2147483647
  591.                    I:"Max Duration"=280
  592.  
  593.                    # Effect will have this duration (in ticks) if the grenade is the maximum distance from the player's eyes while looking directly at it.
  594.                     # Min: 0
  595.                     # Max: 2147483647
  596.                     I:"Min Duration By Distance"=100
  597.  
  598.                     # Grenade must be no more than this many meters away to have an effect.
  599.                     # Min: 0.0
  600.                     # Max: 1.7976931348623157E308
  601.                     D:Radius=15.0
  602.  
  603.                     # If true, the effect is only applied if the line between the eyes and the grenade does not intersect any non-liquid blocks with an opacity greater than 0.
  604.                     B:"Raytrace Opaque Blocks"=false
  605.                 }
  606.  
  607.             }
  608.  
  609.         }
  610.  
  611.     }
  612.  
  613. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement