Forum Jump :

Author Message


Posts: 1
Rank:


Level: Member

Country: de
Location:
Occupation:
Age: 26
In-game name: Streatman

 
#1 Posted at 2017-03-30 23:45        
     
hello i want to give the Huntingrifle a usable ironsight without changeing the model.
https://images.discordapp.net/.eJwFwcENwyAMAMBdGACDcVrIBp2iQgkCqiRG2HlV3b13X3PPw6ymqQ5ZAfYuG8_divLMtdjKXI-SRxe78QlZNW_tLJcKeB8JY1gouYcLzkUETJSI4kLoQ_LxGRBeky_ptekb7WdU8_sDkrUkDQ.VRYfUwq5T8fBW7dF1eG7KwaJO1g

so i made a code for it that looks like that

//CZ550_SCOPE
optics = true;
opticsDisablePeripherialVision = true;
modelOptics = "\ca\weapons\2Dscope_Hunter_12";
opticsPPEffects[]={"OpticsCHAbera2","OpticsBlur2"};
opticsZoomMin=0.0249; opticsZoomMax=0.0711;
distanceZoomMin= 300; distanceZoomMax= 300;

class OpticsModes
{
class Scope
{
opticsID = 1;
useModelOptics = true;
opticsFlare = true;
opticsDisablePeripherialVision = true;
opticsZoomMin = 0.0249;
opticsZoomMax = 0.0711;
opticsZoomInit= 0.0711;
distanceZoomMin= 300;
distanceZoomMax= 300;
memoryPointCamera = "opticView";
visionMode[] = {"Normal"};
opticsPPEffects[]={"OpticsCHAbera2","OpticsBlur2"};
cameraDir = "";
};

class Ironsights
{
opticsID = 2;
useModelOptics = false;
opticsFlare = false;
opticsDisablePeripherialVision = false;
opticsZoomMin=0.25;
opticsZoomMax=1.1;
opticsZoomInit=0.5;
distanceZoomMin= 100;
distanceZoomMax= 100;
memoryPointCamera = "eye";
visionMode[] = {};
opticsPPEffects[]={};
cameraDir = "";
};
};
//CZ550_SCOPE end
};

this is the result https://steamuserimages-a.akamaihd.net/ugc/159156822488934892/324F93D0B28AB098D5E02426E2D36C8E09FA4887/

i have no clue how i move the camera into the position that i would like. google also didnt realy helped me out eighter, so every help would be apreciated.

also the zoom changed from instant zoomtransmittion to a smooth transmittion, which i didnt intended to do, how did i do that?