Author |
Message |
Geti
Joined: Sun Jul 13, 2008 9:57 am Posts: 4886 Location: some compy
|
Re: I'm a mod in a hard place.
You aren't defining the round. You need an AddAmmo = Round etc etc block before the magazine.
|
Tue Mar 30, 2010 3:42 am |
|
|
Joesycop
Joined: Mon Oct 19, 2009 9:04 am Posts: 302 Location: Under Your Bed
|
Re: I'm a mod in a hard place.
I will try that now.
Edit : I don't know what you mean. Could you do it for me and i will keep it to look back on.
|
Tue Mar 30, 2010 3:57 am |
|
|
dragonxp
Joined: Wed Sep 09, 2009 3:16 am Posts: 3032 Location: Somewhere in the universe
|
Re: I'm a mod in a hard place.
What he means is, you need to have the rounds defined before the magazine. Simply because, the magazine holds the rounds.
|
Tue Mar 30, 2010 4:11 am |
|
|
Geti
Joined: Sun Jul 13, 2008 9:57 am Posts: 4886 Location: some compy
|
Re: I'm a mod in a hard place.
I cant do it all out now, don't have time, but basically, the code would look like this: Code: AddEffect = MOSRotating //seriously, use this, not a MOSParticle <lots of definition stuff here> AddAmmo = Round <Round definition stuff here, have a look at everything else> //THIS AREA REFERENCES THE MOSR AddAmmo = Magazine <Mag definition stuff here, again use other files for reference, though your one there is okay bar the round> //THIS AREA REFERENCES THE ROUND AddDevice = HDFirearm <then put the gun definition here>//THIS AREA REFERENCES THE MAGAZINE Notice how they are in order of reference, because we have to define something before we can reference it. Sorry this is so breif, but it's fairly simple. you just need to look at other files to see how to set everything up (For my first half year or so of modding, pretty much everything I did was small edits of things I had copied from vanilla or someone elses mod. You get it eventually, It just takes quite a few hours of pouring over .inis for no visible gain (whoopie?))
|
Tue Mar 30, 2010 6:36 am |
|
|
Joesycop
Joined: Mon Oct 19, 2009 9:04 am Posts: 302 Location: Under Your Bed
|
Re: I'm a mod in a hard place.
Dragon you helped with the part i was stuck at, i think, back with more problems soon xD Can't get anything to work, This sucks, like how do i add the round. Adding a normal round makes it shoot the normal bullet how do i make it like with certain instructions?
|
Tue Mar 30, 2010 8:31 am |
|
|
dragonxp
Joined: Wed Sep 09, 2009 3:16 am Posts: 3032 Location: Somewhere in the universe
|
Re: I'm a mod in a hard place.
post what you have.
|
Tue Mar 30, 2010 6:21 pm |
|
|
Joesycop
Joined: Mon Oct 19, 2009 9:04 am Posts: 302 Location: Under Your Bed
|
Re: I'm a mod in a hard place.
Here it is.
Attachments:
Stinger.ini [4.01 KiB]
Downloaded 159 times
|
Tue Mar 30, 2010 9:38 pm |
|
|
dragonxp
Joined: Wed Sep 09, 2009 3:16 am Posts: 3032 Location: Somewhere in the universe
|
Re: I'm a mod in a hard place.
for regular round you need to change it to your predefined round. And the round is what you fire, not another bullet, so use this: Code: AddAmmo = Round PresetName = Round Beestinger ParticleCount = 1 Particle = MOSParticle CopyOf = Bullet Stinger Shell = None FireVelocity = 40 //How fast it goes when it gets fired out of the gun ShellVelocity = 5 //Only matters is you have bullet casings Separation = 5 //How far apart each particle is to the other. [doesn't matter if particlecount = 1]
Edit: in the magazine you need to change this: Code: RegularRound = Round CopyOf = Round Glock to this: Code: RegularRound = Round CopyOf = Round Beestinger
|
Tue Mar 30, 2010 9:45 pm |
|
|
Joesycop
Joined: Mon Oct 19, 2009 9:04 am Posts: 302 Location: Under Your Bed
|
Re: I'm a mod in a hard place.
Thank you. I will try it now. Couldn't match property at line 27
Attachments:
File comment: Gosh this sucks.
Stinger.ini [3.77 KiB]
Downloaded 153 times
|
Tue Mar 30, 2010 11:12 pm |
|
|
dragonxp
Joined: Wed Sep 09, 2009 3:16 am Posts: 3032 Location: Somewhere in the universe
|
Re: I'm a mod in a hard place.
remember to tab it?
|
Tue Mar 30, 2010 11:42 pm |
|
|
Joesycop
Joined: Mon Oct 19, 2009 9:04 am Posts: 302 Location: Under Your Bed
|
Re: I'm a mod in a hard place.
I'm pretty sure i tabbed everything that needed it.
|
Tue Mar 30, 2010 11:55 pm |
|
|
dragonxp
Joined: Wed Sep 09, 2009 3:16 am Posts: 3032 Location: Somewhere in the universe
|
Re: I'm a mod in a hard place.
How come it looks like this then: Edit: in the ini file. Code: AddAmmo = Round PresetName = Round Beestinger ParticleCount = 1 Particle = MOSParticle CopyOf = Bullet Stinger Shell = None FireVelocity = 40 ShellVelocity = 5 Separation = 5
|
Wed Mar 31, 2010 12:05 am |
|
|
Joesycop
Joined: Mon Oct 19, 2009 9:04 am Posts: 302 Location: Under Your Bed
|
Re: I'm a mod in a hard place.
What part of that should be tabbed? I don't see whats wrong
|
Wed Mar 31, 2010 12:07 am |
|
|
dragonxp
Joined: Wed Sep 09, 2009 3:16 am Posts: 3032 Location: Somewhere in the universe
|
Re: I'm a mod in a hard place.
sigh, your code looks like its randomly spaced out. the round? use tabs not spaces.
|
Wed Mar 31, 2010 12:08 am |
|
|
Joesycop
Joined: Mon Oct 19, 2009 9:04 am Posts: 302 Location: Under Your Bed
|
Re: I'm a mod in a hard place.
I copyed it straight from your code. FIXED but now line 73 is messing up
|
Wed Mar 31, 2010 12:09 am |
|
|
|