guerrila_cant_use_this
Dont_Be_Inside_Root_Chest
BulletPower,18
BulletSpeed,4.0f
BlletSpread,1.0f
Recoil,2.0d
ReloadTime,150
RemainingBullet,5
Attacking,2.0f
Zoom,4.0f,4.0f,8.0f
ZoomRender,true
ZoomRenderType,false,false,false
ZoomRenderTypeTxture,true,true,true
Texture,SR_sample
GunSound,handmadeguns.HeavyRifle,handmadeguns.fire
GunSoundReload,handmadeguns.reload
GunSoundCooking,handmadeguns.cooking
CanObj,true
ObjModel,R700.mqo
ObjTexture,R700.png
ModelScala,0.5f

//パーツ追加開始
AddParts,obj1
//パーツを回転させる中心と、デフォルトで回転させる場合の設定
AddPartsRotationCenterAndRotationAmount,0,0,0,0,0,0
//通常時に描画するか
RenderOnNormal
//ADS中にどのくらい移動するかと、どのくらい回転するか
AddPartsOnADSOffsetAndRotation,0,0,0,0,0,0
//リコイル中にどのくらい移動するかと、どのくらい回転するか Stg44の排莢口蓋くらいしか用途が思いつかない。でもこれを書かないとそもそも描画されない
AddPartsOnRecoilOffsetAndRotation,0,0,0,0,0,0
//コッキング中に(RY
AddPartsOnCockOffsetAndRotation,0,0,0,0,0,0
//リローｄ(RY
AddPartsOnReloadOffsetAndRotation,0,0,0,0,0,0
//リロード中は弾倉が見えるようにする
AddReloadMotionKey,0,0,0,0,0,0,0,       10,0,0,0,-20,0,-20
AddReloadMotionKey,10,0,0,0,-20,0,-20,    140,0,0,0,-20,0,-20
AddReloadMotionKey,140,0,0,0,-20,0,-20,   150,0,0,0,0,0,0
//コッキング時は少し傾ける
AddCockMotionKey,0,0,0,0,0,0,0,             5, 0,0,0,-10,0,-5
AddCockMotionKey,5,0,0,0,-10,0,-5,            15, 0,0,0,-10,0,-5
AddCockMotionKey,15,0,0,0,-10,0,-5,           20,0,0,0,0,0,0
AddChildParts,obj25
    AddPartsRotationCenterAndRotationAmount,0,0.75f,0,0,0,0
    RenderOnNormal
    AddPartsOnADSOffsetAndRotation,0,0,0,0,0,0
    AddPartsOnRecoilOffsetAndRotation,0,0,0,0,0,0
    AddPartsOnCockOffsetAndRotation,0,0,0,0,0,0
    AddPartsOnReloadOffsetAndRotation,0,0,0,0,0,0
    //コッキングモーション
    //ボルトを左に回して
    AddCockMotionKey,0,0,0,0,0,0,0,           2,0,0,0,0,0,-90
    //引いて
    AddCockMotionKey,2,0,0,0,0,0,-90,        7,0,0,-0.9,0,0,-90
    //排莢して
    AddCockMotionKey,7,0,0,-0.9,0,0,-90,     11,0,0,-0.9,0,0,-90
    //戻して
    AddCockMotionKey,11,0,0,-0.9,0,0,-90,    18,0,0,0,0,0,-90
    //戻す
    AddCockMotionKey,18,0,0,0,0,0,-90,       20,0,0,0,0,0,0

    //リロードモーション
    //開放状態で保持される
    AddReloadMotionKey,0,0,0,0,0,0,0,           10,0,0,0,0,0,-90
    AddReloadMotionKey,10,0,0,0,0,0,-90,        25,0,0,-0.9,0,0,-90
    AddReloadMotionKey,25,0,0,-0.9,0,0,-90,     125,0,0,-0.9,0,0,-90
    AddReloadMotionKey,125,0,0,-0.9,0,0,-90,    140,0,0,0,0,0,-90
    AddReloadMotionKey,140,0,0,0,0,0,-90,       150,0,0,0,0,0,0
BackParts
//スコープだったもの
//一時的にコメントアウト
AddChildParts,obj5
    AddPartsRotationCenterAndRotationAmount,0,0.75f,0,0,0,0
    RenderOnNormal
    AddPartsOnADSOffsetAndRotation,0,0,0,0,0,0
    AddPartsOnRecoilOffsetAndRotation,0,0,0,0,0,0
    AddPartsOnCockOffsetAndRotation,0,0,0,0,0,0
BackParts
//弾
//一発分ずつ追加してるけどそれはコッキング時のアニメーションが特殊すぎたからです。
AddChildParts,obj3cl
    AddPartsRotationCenterAndRotationAmount,0,0.73f,1.13f,0,0,0
    RenderOnNormal
    AddPartsOnADSOffsetAndRotation,0,0,0,0,0,0
    AddPartsOnCockOffsetAndRotation,0,0,0,0,0,0
    AddPartsOnReloadOffsetAndRotation,0,0,0,0,0,0
    //リロード時のモーション
    //中のそばで全体が待機しつつ、下から銃に装填されるようになっている
    AddReloadMotionKey,0,0,-5,0,0,0,0,          30,0,-5,0,0,0,0
    AddReloadMotionKey,30,0,-5,0,0,0,0,         45,-0.7,-0.7,0,0,0,45
    AddReloadMotionKey,45,-0.7,-0.7,0,0,0,45,   60,-0.7,0.7,0,0,0,45
    //↓このキーで装填
    AddReloadMotionKey,60,-0.7,0.7,0,0,0,45,    70,0,0,0,0,0,45
    AddReloadMotionKey,70,0,0,0,0,0,45,         80,0,-0.1,0,0,0,0
    AddReloadMotionKey,80,0,-0.1,0,0,0,0,       90,0,-0.1,0,0,0,0
    AddReloadMotionKey,90,0,-0.1,0,0,0,0,       150,0,-0.1,0,0,0,0

    //コッキング時にチェンバーに押し込まれるモーション
    //凝り性が発動した跡
    AddCockMotionKey,0,0,-0.1,0,0,0,0,      7,0,-0.1,0,0,0,0
    AddCockMotionKey,7,0,-0.1,0,0,0,0,      11,0,-0.1,0,-10,0,0
    AddCockMotionKey,11,0,-0.1,0,-10,0,0,    12,0,0,0,0,0,0
    AddCockMotionKey,12,0,0,0,0,0,0,         18,0,0,0.9,0,0,0
    AddCockMotionKey,18,0,0,0.9,0,0,0,        20,0,0,0.9,0,0,0
BackParts
AddChildParts,obj3cl
    AddPartsRotationCenterAndRotationAmount,0,0.45f,0,0,0,0
    AddPartsOnADSOffsetAndRotation,0,0,0,0,0,0
    AddPartsOnReloadOffsetAndRotation,0,0,0,0,0,0
    AddReloadMotionKey,0,0,-5,0,0,0,0,          30,0,-5,0,0,0,0
    AddReloadMotionKey,30,0,-5,0,0,0,0,         45,-0.7,-0.6,0,0,0,45
    AddReloadMotionKey,45,-0.7,-0.6,0,0,0,45,   60,-0.7,0.8,0,0,0,45
    AddReloadMotionKey,60,-0.7,0.8,0,0,0,45,    70,-0.7,0.7,0,0,0,45
    //↓このキーで装填
    AddReloadMotionKey,70,-0.7,0.7,0,0,0,45,    80,0,0,0,0,0,0
    AddReloadMotionKey,80,0,0,0,0,0,0,          90,0,-0.1,0,0,0,0
    AddReloadMotionKey,90,0,-0.1,0,0,0,0,       150,0,-0.1,0,0,0,0
BackParts
AddChildParts,obj3cl
    AddPartsRotationCenterAndRotationAmount,0,0.45f,0,0,0,0
    RenderOnNormal
    AddPartsOnADSOffsetAndRotation,0,0,0,0,0,0
    AddPartsOnReloadOffsetAndRotation,0,0,0,0,0,0
    AddReloadMotionKey,0,0,-5,0,0,0,0,          30,0,-5,0,0,0,0
    AddReloadMotionKey,30,0,-5,0,0,0,0,         45,-0.7,-0.5,0,0,0,45
    AddReloadMotionKey,45,-0.7,-0.5,0,0,0,45,   60,-0.7,0.9,0,0,0,45
    AddReloadMotionKey,60,-0.7,0.9,0,0,0,45,    80,-0.7,0.7,0,0,0,45
    //↓このキーで装填
    AddReloadMotionKey,80,-0.7,0.7,0,0,0,45,    90,0,0,0,0,0,0
    AddReloadMotionKey,90,0,0,0,0,0,0,          100,0,-0.1,0,0,0,0
    AddReloadMotionKey,100,0,-0.1,0,0,0,0,      150,0,-0.1,0,0,0,0
BackParts
AddChildParts,obj3cl
    AddPartsRotationCenterAndRotationAmount,0,0.45f,0,0,0,0
    AddPartsOnADSOffsetAndRotation,0,0,0,0,0,0
    AddPartsOnReloadOffsetAndRotation,0,0,0,0,0,0
    AddReloadMotionKey,0,0,-5,0,0,0,0,          30,0,-5,0,0,0,0
    AddReloadMotionKey,30,0,-5,0,0,0,0,         45,-0.7,-0.4,0,0,0,45
    AddReloadMotionKey,45,-0.7,-0.4,0,0,0,45,   60,-0.7,1,0,0,0,45
    AddReloadMotionKey,60,-0.7,1,0,0,0,45,      90,-0.7,0.7,0,0,0,45
    //↓このキーで装填
    AddReloadMotionKey,90,-0.7,0.7,0,0,0,45,    100,0,0,0,0,0,0
    AddReloadMotionKey,100,0,0,0,0,0,0,         110,0,-0.1,0,0,0,0
    AddReloadMotionKey,110,0,-0.1,0,0,0,0,      150,0,-0.1,0,0,0,0
BackParts
AddChildParts,obj3cl
    AddPartsRotationCenterAndRotationAmount,0,0.45f,0,0,0,0
    AddPartsOnADSOffsetAndRotation,0,0,0,0,0,0
    AddPartsOnReloadOffsetAndRotation,0,0,0,0,0,0
    AddReloadMotionKey,0,0,-5,0,0,0,0,          30,0,-5,0,0,0,0
    AddReloadMotionKey,30,0,-5,0,0,0,0,         45,-0.7,-0.3,0,0,0,45
    AddReloadMotionKey,45,-0.7,-0.3,0,0,0,45,   60,-0.7,1.1,0,0,0,45
    //↓このキーで装填
    AddReloadMotionKey,60,-0.7,1.1,0,0,0,45,    100,-0.7,0.7,0,0,0,45
    AddReloadMotionKey,100,-0.7,0.7,0,0,0,45,   110,0,0,0,0,0,0
    AddReloadMotionKey,110,0,0,0,0,0,0,         120,0,-0.1,0,0,0,0
    AddReloadMotionKey,120,0,-0.1,0,0,0,0,      150,0,-0.1,0,0,0,0
BackParts

ModelEquipped,-0.7f,0.7f,0.0f
ModelHigh,0.97f,0.85f,0.85f
ModelWidthX,0.694f,0.694f,0.694f
ModelWidthZ,0.0f,0.0f,0.0f
ModelRotationX,180f,180f,180f
ModelRotationY,45f,45f,45
ModelRotationZ,180f,180f,180f

ModelArm,true
ModelArmRotationR,-1.57f,0f,-1.57f
ModelArmOffsetR,0.5f,0.7f,0.5f
ModelArmRotationL,-0.0f,-2.3f,2.0f
ModelArmOffsetL,0.1f,0.7f,-1.6f

Mat22,false
Mat22Point,0.0f,1.5f,2.0f
Mat22Rotation,90f,0f,0f
Mat25Point,0.0f,0.75f,1.1f
Mat25Rotation,0f,0f,-90f
CockingTime,20

//0307
BulletGravity,0.0295f

ScopeTexture,scope.png,scope.png,scope.png
RenderCross,false
UnderBarrelWeapon,0
RightType,0
Automatic,false
DropMagazine,false
Magazine,0,HandmadeGuns,bullet_hmg
Cartridge,false
DropCartridgeEndCocked,true
Bursts,1
Rates,2

Unified_guns,SR_sample

//addSmelting,SR_sample,1.0f,264
