Data Realms Fan Forums http://45.55.195.193/ |
|
Offset Help http://45.55.195.193/viewtopic.php?f=1&t=19031 |
Page 1 of 1 |
Author: | Cyrill Jones [ Sat Jun 19, 2010 8:43 pm ] |
Post subject: | Offset Help |
Hey all! I have made this gun and the offsets are messed up, could anybody help me please? Here is an image of the non-sharp aim and the sharp aim: Here is the HDFirearm code: Code: AddDevice = HDFirearm PresetName = Assault Shotgun AddToGroup = Weapons Mass = 6 HitsMOs = 0 GetsHitByMOs = 1 SpriteFile = ContentFile FilePath = Whitebots.rte\Devices\Weapons\AssaultShotgun.bmp FrameCount = 2 SpriteOffset = Vector X = -17 Y = -5 EntryWound = AEmitter CopyOf = Dent Metal ExitWound = AEmitter CopyOf = Dent Metal GoldValue = 175 AtomGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Military Stuff Resolution = 4 Depth = 0 DeepGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Military Stuff Resolution = 4 Depth = 10 DeepCheck = 0 JointStrength = 75 JointStiffness = 0.5 JointOffset = Vector X = 7 Y = -2 DrawAfterParent = 0 StanceOffset = Vector X = 3 Y = 6 SharpStanceOffset = Vector X = 4 Y = -1 SupportOffset = Vector X = 3 Y = -3 SharpLength = 150 Magazine = Magazine CopyOf = Magazine Assault Shotgun Flash = Attachable CopyOf = Muzzle Flash Shotgun FireSound = Sound AddSample = ContentFile FilePath = Whitebots.rte/Devices/Sounds/AssaultShotgun.wav EmptySound = Sound AddSample = ContentFile FilePath = Base.rte/Devices/EmptyClick3.wav ReloadStartSound = Sound AddSample = ContentFile FilePath = Whitebots.rte/Devices/Sounds/AssaultShotgunReload1.wav ReloadEndSound = Sound AddSample = ContentFile FilePath = Whitebots.rte/Devices/Sounds/AssaultShotgunReload2.wav RateOfFire = 300 ReloadTime = 4050 FullAuto = 1 FireIgnoresThis = 1 ShakeRange = 10 SharpShakeRange = 3 NoSupportFactor = 2 ParticleSpreadRange = 3 MuzzleOffset = Vector X = -14 Y = 1 EjectionOffset = Vector X = -4 Y = -2 AddGib = Gib GibParticle = MOPixel CopyOf = Spark Yellow 1 Count = 6 Spread = 2.25 MaxVelocity = 20 MinVelocity = 8 AddGib = Gib GibParticle = MOPixel CopyOf = Spark Yellow 2 Count = 5 Spread = 2.25 MaxVelocity = 20 MinVelocity = 8 AddGib = Gib GibParticle = MOPixel CopyOf = Drop Oil Count = 4 Spread = 2.25 MaxVelocity = 10 MinVelocity = 1 AddGib = Gib GibParticle = MOSParticle CopyOf = Gib Metal Rust Micro A Count = 6 Spread = 2.25 MaxVelocity = 15 MinVelocity = 5 AddGib = Gib GibParticle = MOSParticle CopyOf = Gib Metal Grey Micro A Count = 5 Spread = 2.25 MaxVelocity = 15 MinVelocity = 5 AddGib = Gib GibParticle = MOSRotating CopyOf = Gib Device Small H Count = 1 Spread = 2.25 MaxVelocity = 10 MinVelocity = 1 AddGib = Gib GibParticle = MOSRotating CopyOf = Gib Device Small J Count = 1 Spread = 2.25 MaxVelocity = 10 MinVelocity = 1 GibWoundLimit = 3 Any help will be appreciated. Thanks Cyrill |
Author: | Coops [ Sat Jun 19, 2010 8:49 pm ] |
Post subject: | Re: Offset Help |
Post the .ini, I'll fix it for ya. EDIT: Actually the entire folder. |
Author: | Cyrill Jones [ Sat Jun 19, 2010 8:51 pm ] |
Post subject: | Re: Offset Help |
Could you tell me what the problem is? Also why do you need the folder? |
Author: | alphagamer774 [ Sat Jun 19, 2010 8:57 pm ] |
Post subject: | Re: Offset Help |
You've got the offsets wrong. I guess that's obvious. Go into an actor's .ini, and make him spawn with the gun. Then go into CC's actor viewer. Open the .ini for the gun in another window, and try tweaking the offsets. Everytime you try something, go to CC and press "load actor's data" again. Saves you time from opening and closing the game a bunch. |
Author: | dragonxp [ Sat Jun 19, 2010 9:04 pm ] |
Post subject: | Re: Offset Help |
The offsets for the gun are here: Code: StanceOffset = Vector X = 10 Y = 10 SharpStanceOffset = Vector X = 13 Y = 11 SupportOffset = Vector X = 8 Y = 10 |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |