tivial01 Posted March 24, 2018 Share Posted March 24, 2018 I am having trouble with custom Sniper rifle models once i load them into the game the zoom go's through the gun can somebody help with this please [ATTACH=CONFIG]24188[/ATTACH] <item id="896" name="50calRifle"> <property name="CustomIcon" value="50calRifle" /> <property name="Meshfile" value="#Barret?BarretPrefab" /> <property name="Material" value="metal" /> <property name="RepairTools" value="repairKit" /> <property name="HoldType" value="11" /> <property name="DegradationBreaksAfter" value="false" /> <property name="SoundJammed" value="weapon_jam" /> <property name="Attachments" value="flashlight02" /> <property name="CrosshairOnAim" value="false"/> <!-- aimTest --> <property name="CrosshairUpAfterShot" value="true"/> <!-- aimTest --> <property class="Parts"> <property name="Stock" value="50calRifle_Stock" /> <property name="Receiver" value="50calRifle_Receiver" /> <property name="Barrel" value="50calRifle_Barrel" /> <property name="Pump" value="50calRifle_Parts" /> </property> <property name="Sound_Sight_In" value="rifle_sight_in"/> <property name="Sound_Sight_Out" value="rifle_sight_out"/> <property class="Action0"> <property name="Class" value="Ranged" /> <property name="Delay" value="0.25" /> <property name="Crosshair_min_distance" value="30" /> <property name="Crosshair_max_distance" value="100" /> <property name="Magazine_size" value="10" /> <property name="Magazine_items" value="50calShell" /> <property name="Magazine_item_ray_counts" value="1, 1, 1" /> <property name="Magazine_item_ray_spreads" value="0, 0, 0" /> <property name="Reload_time" value="1.75" /> <property name="Bullet_icon" value="uzi" /> <property name="Sound_start" value="sniperrifle_fire" /> <property name="Sound_repeat" value="" /> <property name="Sound_end" value="" /> <property name="Sound_empty" value="weapon_empty" /> <property name="Sound_reload" value="sniperrifle_reload" /> <property name="Particles_muzzle_fire" value="nozzleflashuzi" /> <property name="Particles_muzzle_smoke" value="nozzlesmokeuzi" /> <property name="DamageBonus.head" value="50" /> <property name="DamageBonus.wood" value="50" /> <property name="DamageBonus.earth" value="0.2" /> <property name="DamageBonus.glass" value="15" /> </property> <property class="Action1"> <property name="Class" value="Zoom" /> <property name="Zoom_overlay" value="Items/Weapons/HUD/sniper_zoom_overlay" /> <property name="Zoom_max_out" value="40" /> <property name="Zoom_max_in" value="15" /> </property> <property name="LightSource" value="lightSource" /> <property name="ActivateObject" value="Attachments/flashlight/lightSource" /> <property name="AttachmentFlashlight" value="flashlight02" /> <property name="Group" value="Ammo/Weapons" /> <property name="ActionSkillGroup" value="Rifles" /> <property name="CraftingSkillGroup" value="craftSkillGuns" /> <property name="RepairExpMultiplier" value="10.8"/> <property name="LightValue" value="0.45"/> <property name="PickupJournalEntry" value="alternateAmmoTip,gunAssemblyTip,augmentGunsTip" /> </item> Link to comment Share on other sites More sharing options...
HAL9000 Posted March 24, 2018 Share Posted March 24, 2018 You need a child GameObject on the model with the name "Scope". The game them moves the camera to it when zooming Link to comment Share on other sites More sharing options...
tivial01 Posted March 24, 2018 Author Share Posted March 24, 2018 OMG!!!! you are a life saver man thanx so much Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.