Author |
Message |
HunterOfToast
Joined: Fri Jun 12, 2009 3:12 pm Posts: 21
|
What am i doing wrong?
Well im trying to make an offhand uzi but how??? I read on the wiki that you could make weapons offhand soo i figured the uzi can wielded with a shield so it can be something like a dual uzi thing i did it like this is it right? Code: AddDevice = HDShield PresetName = Uzi offhand Description = Automatic sidearm favored by bandits. The uzi can be wielded with a shield. AddToGroup = Shields AddToGroup = Ronin Weapons Mass = 6 HitsMOs = 0 GetsHitByMOs = 1 SpriteFile = ContentFile FilePath = Ronin.rte/Devices/Weapons/Sprites/UziA.bmp FrameCount = 2 SpriteOffset = Vector X = -7 Y = -3 EntryWound = AEmitter CopyOf = Dent Metal ExitWound = AEmitter CopyOf = Dent Metal GoldValue = 14 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 = 1 JointStrength = 75 JointStiffness = 0.5 JointOffset = Vector X = -1 Y = 3 DrawAfterParent = 0 OneHanded = 1 StanceOffset = Vector X = 12 Y = 0 SharpStanceOffset = Vector X = 13 Y = -2 SupportOffset = Vector X = 4 Y = 1 SharpLength = 90 Magazine = Magazine CopyOf = Magazine Uzi Flash = Attachable CopyOf = Muzzle Flash SMG FireSound = Sound AddSample = ContentFile FilePath = Base.rte/Devices/SMGs/Mp5 Single.wav EmptySound = Sound AddSample = ContentFile FilePath = Base.rte/Devices/EmptyClick3.wav ReloadStartSound = Sound AddSample = ContentFile FilePath = Base.rte/Devices/ReloadStart.wav ReloadEndSound = Sound AddSample = ContentFile FilePath = Base.rte/Devices/ReloadEnd.wav RateOfFire = 1100 ReloadTime = 1100 FullAuto = 1 FireIgnoresThis = 1 ShakeRange = 8 SharpShakeRange = 4 NoSupportFactor = 1.4 ParticleSpreadRange = 1.5 ShellSpreadRange = 8 ShellAngVelRange = 2 MuzzleOffset = Vector X = 9 Y = 0 EjectionOffset = Vector X = -1 Y = -1 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 = 5 Spread = 2.25 MaxVelocity = 10 MinVelocity = 1 AddGib = Gib GibParticle = MOSParticle CopyOf = Gib Metal Rust Micro A Count = 8 Spread = 2.25 MaxVelocity = 15 MinVelocity = 5 AddGib = Gib GibParticle = MOSParticle CopyOf = Gib Metal Grey Micro A Count = 12 Spread = 2.25 MaxVelocity = 15 MinVelocity = 5 AddGib = Gib GibParticle = MOSRotating CopyOf = Ronin Gib I Count = 1 Spread = 2.25 MaxVelocity = 10 MinVelocity = 1 GibWoundLimit = 3 And my index.ini looks like this ; DataModule ModuleName = Offhand Uzi IncludeFile = Uzi offhand.ini Please im trying to figure this out for a while [Sorry for all these noobie questions ] Ps the files are here->C:\Program Files\Data Realms\Cortex Command2\Modd.rte
Last edited by HunterOfToast on Sun Jun 14, 2009 6:35 pm, edited 3 times in total.
|
Sun Jun 14, 2009 10:52 am |
|
|
411570N3
Joined: Wed Jan 07, 2009 10:26 am Posts: 4074 Location: That quaint little British colony down south
|
Re: What am i doing wrong?
You don't want AddToGroup = Weapons. You want AddToGroup = Shields. Also, you don't need to copy anything apart from the AddDevice = HDFirearm line and below. Oh and some people might reccomend you post massive blocks of code off-site, a site for which I suppose someone will suggest to you soon enough.
|
Sun Jun 14, 2009 10:56 am |
|
|
Geti
Joined: Sun Jul 13, 2008 9:57 am Posts: 4886 Location: some compy
|
Re: What am i doing wrong?
someone else might also comment about support not being for modding support.
|
Sun Jun 14, 2009 11:16 am |
|
|
HunterOfToast
Joined: Fri Jun 12, 2009 3:12 pm Posts: 21
|
Re: What am i doing wrong?
any Reason why it keeps crashing?
|
Sun Jun 14, 2009 11:28 am |
|
|
411570N3
Joined: Wed Jan 07, 2009 10:26 am Posts: 4074 Location: That quaint little British colony down south
|
Re: What am i doing wrong?
Well there probably is a reason it keeps crashing. Though unfortunately none of us can figure out this reason unless you tell us some more information...
|
Sun Jun 14, 2009 11:31 am |
|
|
HunterOfToast
Joined: Fri Jun 12, 2009 3:12 pm Posts: 21
|
Re: What am i doing wrong?
well i know its the mod that let's the game crash soo... Here is the Index.ini It's probably wrong... Code: DataModule ModuleName = Offhand Uzi IncludeFile = Uzi offhand.ini Is it wrong or not?
|
Sun Jun 14, 2009 12:40 pm |
|
|
411570N3
Joined: Wed Jan 07, 2009 10:26 am Posts: 4074 Location: That quaint little British colony down south
|
Re: What am i doing wrong?
You probably want Code: DataModule ModuleName = Offhand Uzi IncludeFile = Modd.rte/Uzi offhand.ini
|
Sun Jun 14, 2009 12:46 pm |
|
|
HunterOfToast
Joined: Fri Jun 12, 2009 3:12 pm Posts: 21
|
Re: What am i doing wrong?
Quote: Well there probably is a reason it keeps crashing. Though unfortunately none of us can figure out this reason unless you tell us some more information... Must i Give any more info? Still don't know whats what Ps.thank you for all the help! Sigh.... I moved the sprites and the sounds in the mod folder changed the Offhand uzi.ini to read the sprites a sounds in the mod folder... and Still not working still giving the same error... I counted to line 175 many times and i keep getting... Can this be causing a problem?
Attachments:
Sigh....bmp [ 392.22 KiB | Viewed 3445 times ]
|
Sun Jun 14, 2009 1:28 pm |
|
|
Lord Tim
Joined: Fri Apr 27, 2007 4:55 pm Posts: 1178 Location: America!
|
Re: What am i doing wrong?
Set it to 1, or add a second image.
|
Mon Jun 15, 2009 6:04 am |
|
|
Geti
Joined: Sun Jul 13, 2008 9:57 am Posts: 4886 Location: some compy
|
Re: What am i doing wrong?
also, dont count out lines! thats a massive waste of time. turn off word wrap if you're using notepad, and then press ctrl+G.
|
Mon Jun 15, 2009 6:32 am |
|
|
HunterOfToast
Joined: Fri Jun 12, 2009 3:12 pm Posts: 21
|
Re: What am i doing wrong?
This is getting a pain in the ... I did that Ctl-g thing tiped line 175 and got Code: Magazine = Magazine CopyOf = Magazine Uzi What could be wrong with that
|
Mon Jun 15, 2009 9:37 am |
|
|
411570N3
Joined: Wed Jan 07, 2009 10:26 am Posts: 4074 Location: That quaint little British colony down south
|
Re: What am i doing wrong?
Replace the Uzi.ini in Cortex Command/Ronin.rte/Devices/Weapons/Machineguns/ with this one. Then it will work fine.
Attachments:
Uzi.ini [7.38 KiB]
Downloaded 159 times
|
Mon Jun 15, 2009 9:52 am |
|
|
HunterOfToast
Joined: Fri Jun 12, 2009 3:12 pm Posts: 21
|
Re: What am i doing wrong?
Thnks but what did you change?
|
Mon Jun 15, 2009 9:57 am |
|
|
411570N3
Joined: Wed Jan 07, 2009 10:26 am Posts: 4074 Location: That quaint little British colony down south
|
Re: What am i doing wrong?
I just copied the AddDevice = HDFirearm entry, pasted it just below, changed AddToGroup = Weapons to AddToGroup = Shields and changed the PresetName so it didn't collide with the original.
|
Mon Jun 15, 2009 10:00 am |
|
|
HunterOfToast
Joined: Fri Jun 12, 2009 3:12 pm Posts: 21
|
Re: What am i doing wrong?
Soo simple... Thank you Very much!
|
Mon Jun 15, 2009 10:14 am |
|
|
|