
//アイテムの登録
ADD_LIST,true
Sell_EMERALD,2
Sell_IRONINGOT,8
Sell_REDSTONE,4

USname,M4A1
JPname,M4A1
FULLAUTO,pwp_m4a1

//モデルの登録
ObjModel,m4a1.obj
ObjTexture,ar15_receiver.png
Reload_Motion,true
ReloadMotionType,1
ReloadMotion,reload_m4a1.txt

//銃のステータス
Bullet_Type,0
BulletPower,6
BulletSpeed,4.5f
BlletSpread,4f
BlletSpread_ADS,0.1F
Recoil,2.8d
Recoil_ADS,0.6F

Bullet_living_time,200
BulletGravity,0.025f
ReloadTime,50
RemainingBullet,30
Attacking,2.0f
Motion,1.0D
ShotGun_Pellet,1
Cycle,2

Zoom,1.2f
ZoomRender,true
ZoomRenderType,true
ZoomRenderTypeTxture,false

//リロード設定、マガジン
Reload_type,0
Magazine,0,handmadeguns2,pwp_5.56mm

//銃声
GunSound,handmadeguns2.pwp_5.56_fire,handmadeguns2.pwp_5.56_sup
GunSoundReload,handmadeguns2.reload_mag

//銃弾、薬莢のモデル
Bullet_Model,bullet.mqo
Bullet_Texture,bullet.png
Flash_Model,mflash.mqo
Flash_Texture,mflash.png
//Cartridgeはfalse時に薬莢が出る
Cartridge,false
Cartridge_Model,bullet_cartridge2.mqo
Cartridge_Texture,bullet_cartridge2.png

//銃弾の出る位置
Fire_point,0.3F,1.5F,1.0F
Fire_point_ADS,0.0F,1.5F,1.0F

//ズーム時のテクスチャなど
ScopeTexture,scope.png
//バニラのクロスヘアの表示
RenderCross,false
//ADS中もクロスヘアが表示されるかどうか
Render_crosshair_ADS,false


//Gun_UnderBarrel
gun_can_use_underbarrel,false
gun_can_get_underbarrel,false


//以下モデルの詳細設定
//腰だめ、ADS時のモデル位置
ModelEquipped,1.5f,-1.5f,-3.5f
ModelHigh,-1.29f
ModelWidthX,0.0f
ModelWidthZ,-1.32f

//腕の表示
ModelArm,true
ModelArmOffsetR,0.0f,-0.25f,-0.45f
ModelArmOffsetL,0.16f,-0.21f,-1.19f

//走っている時のモデル位置
SprintingPoint,0f,-0.18f,0.5f
SprintingRotation,20f,45f,-20f

//銃のモデルの反動の大きさ
MuzzleJump,-0.2F

Mat25Rotation,0.0f,0.0f,0.0f

//アタッチメントを装備可能か
attachmentSight,true
attachmentLight,false
attachmentMuzz,true
attachmentGrip,false

//サイトなど装備時表示されるかどうか
Render_Sight,true
Render_Light,false
Render_Muzz,true
Render_Grip,false

//サイトなどの装備位置
SightSetPoint,0F,1F,1F
LightSetPoint,0.57F,0.65F,2.3F
LightSetAngle,0F,0F,90F
MuzzleSetPoint,0F,0.65F,4.35F
GripSetPoint,0F,0.3F,2.5F
GripSetAngle,0F,0F,0F


//モブに持たせたときの設定
Mob_maxrange,20
Mob_lookrange,50
Mob_cooltime,40
Mob_barst,3

//使用できる特殊弾
Bullet_KAZU,2
Use_Bullet,AP,HV

//専用のアタッチメントグループ
attachment_group_kazu,1
attachment_group,pwp_rifle

//attachment_group適応時、専用ではない装備も使用可能かどうか
am_group_canuse_commonc_Sight,true
am_group_canuse_commonc_Light,false
am_group_canuse_commonc_Muzz,true
am_group_canuse_commonc_Grip,false