Author |
Message |
Joesycop
Joined: Mon Oct 19, 2009 9:04 am Posts: 302 Location: Under Your Bed
|
I'm a mod in a hard place.
I'm kinda stuck on this mod I'm making. I have 2 problem i can't seem to figure out.
Example : The jets coming out the RPC shot get replaced with my own animation. I want the missle i shoot to have my own animation coming out the back. My Thought : Wouldn't i make a name000-name005 (or any number) and replace it somewhere with the oringina?
Example : The Glocks bullet be changed from a line (bullet) to a ball. I want a gun (pistol) I'm gonna make soon shoot something thats not lines how would i make it do that? My thought : I really have no idea here.
Thanks to anyone that helps in advance.
|
Sat Mar 27, 2010 10:46 pm |
|
|
Geti
Joined: Sun Jul 13, 2008 9:57 am Posts: 4886 Location: some compy
|
Re: I'm a mod in a hard place.
for the first one i have no idea what you mean.
for the second one, make a MOSR or MOSP beforehand, and put it into the round where it (at the moment) says "Particle = MOPixel", change that to "Particle = MOSRotating" (or MOSParticle as the case may be) and change the copyof's name to whatever you named your particle.
|
Sat Mar 27, 2010 11:19 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.
Ok i will try that. I forget who helped me with the first one before but instead of a jetpack blast coming out of a missle it would be like bubbles or something.
EDIT: I put it here.
AddAmmo = Round PresetName = Round Glock ParticleCount = 1 Particle = MOSParticle CopyOf = Bee Stinger Shell = MOSParticle CopyOf = Casing FireVelocity = 94 ShellVelocity = 12 Separation = 0 I tried MOSParticle and MOSRotating and both failed. The error said that bee stinger was undefined. What did i do wrong?
|
Sat Mar 27, 2010 11:49 pm |
|
|
ajlw
Joined: Mon Mar 15, 2010 11:46 pm Posts: 67
|
Re: I'm a mod in a hard place.
Is the beestinger assigned as a MOSParticle too? Else it won't load, seeing it's assigned as something else.
Also, I'm pretty sure the shell has nothing to do with the round being fired, so don't touch that setting unless you edited it.
Might wanna show the entire script or something.
|
Sun Mar 28, 2010 11:07 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.
First, make your bee stinger a mosparticle/ mosrotating Then, it should load. ALSO, make sure that the bee stinger is defined before the round itself.
|
Sun Mar 28, 2010 11:42 pm |
|
|
Miles_T3hR4t
Joined: Mon Jun 04, 2007 5:55 am Posts: 1627 Location: Ohio
|
Re: I'm a mod in a hard place.
Joesycop wrote: Example : The jets coming out the RPC shot get replaced with my own animation. I want the missle i shoot to have my own animation coming out the back. My Thought : Wouldn't i make a name000-name005 (or any number) and replace it somewhere with the oringina?
uh... you created an instance in your mod, with a duplicate name of something in base/dummy/ronin/coalition and your content is overriding the old. you need new instance names.
|
Mon Mar 29, 2010 12: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.
Thats the problem i don't know how to define it. Here is the whole script. AddEffect = MOPixel PresetName = Bullet Glock Mass = 0.05 LifeTime = 750 Sharpness = 95 HitsMOs = 1 GetsHitByMOs = 0 Color = Color R = 210 G = 198 B = 178 Atom = Atom Material = Material CopyOf = Bullet Metal TrailColor = Color R = 210 G = 198 B = 178 TrailLength = 22
AddEffect = MOPixel CopyOf = Bullet Glock PresetName = Tracer Glock Mass = 0.06 Sharpness = 95 Color = Color R = 255 G = 226 B = 0 Atom = Atom Material = Material CopyOf = Bullet Metal TrailColor = Color R = 255 G = 226 B = 0 TrailLength = 30
AddAmmo = Round PresetName = Round Glock ParticleCount = 1 Particle = MOPixel CopyOf = BeeStinger Shell = MOSParticle CopyOf = BeeStinger FireVelocity = 94 ShellVelocity = 12 Separation = 0
AddAmmo = Round PresetName = Tracer Glock ParticleCount = 1 Particle = MOPixel CopyOf = Tracer Glock Shell = MOSParticle CopyOf = Casing FireVelocity = 95 ShellVelocity = 12 Separation = 0
AddAmmo = Magazine PresetName = Magazine Glock Mass = 1.50 HitsMOs = 0 GetsHitByMOs = 0 SpriteFile = ContentFile FilePath = Ronin.rte/Devices/Weapons/Sprites/MagazinePistolA.bmp FrameCount = 1 SpriteOffset = Vector X = -2 Y = -2 EntryWound = AEmitter CopyOf = Dent Metal ExitWound = AEmitter CopyOf = Dent Metal AtomGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Military Stuff Resolution = 2 Depth = 0 DeepGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Military Stuff Resolution = 3 Depth = 1 DeepCheck = 0 JointStrength = 200 JointStiffness = 1 JointOffset = Vector X = 0 Y = -1 ParentOffset = Vector X = -1 Y = 2 DrawAfterParent = 0 RoundCount = 12 RTTRatio = 5 RegularRound = Round CopyOf = Round Glock TracerRound = Round CopyOf = Tracer Glock
AddDevice = HDFirearm PresetName = Stinger Description = The stinger shoots out bee stingers hoping to cause the enemys great pain. AddToGroup = Weapons
Mass = 4 HitsMOs = 0 GetsHitByMOs = 1 SpriteFile = ContentFile FilePath = AL.rte/Weapons/Bees/Stinger/Stinger.bmp FrameCount = 2 SpriteOffset = Vector X = -4 Y = -2 EntryWound = AEmitter CopyOf = Dent Metal ExitWound = AEmitter CopyOf = Dent Metal GoldValue = 10 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 = -1 Y = 2 DrawAfterParent = 0 OneHanded = 1 StanceOffset = Vector X = 12 Y = 0 SharpStanceOffset = Vector X = 13 Y = -2 SupportOffset = Vector X = 2 Y = 1 SharpLength = 80 Magazine = Magazine CopyOf = Magazine Glock Flash = Attachable CopyOf = Muzzle Flash SMG FireSound = Sound AddSample = ContentFile FilePath = Base.rte/Devices/Pistols/PistolBang.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 = 475 ReloadTime = 880 FullAuto = 0 FireIgnoresThis = 1 ShakeRange = 4 SharpShakeRange = 1.5 NoSupportFactor = 1.7 ParticleSpreadRange = 0.5 ShellSpreadRange = 8 ShellAngVelRange = 2 MuzzleOffset = Vector X = 7 Y = 0 EjectionOffset = Vector X = 0 Y = -1 AddGib = Gib GibParticle = MOPixel CopyOf = Spark Yellow 1 Count = 3 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 = MOSParticle CopyOf = Gib Metal Rust Micro A Count = 7 Spread = 2.25 MaxVelocity = 15 MinVelocity = 5 AddGib = Gib GibParticle = MOSParticle CopyOf = Gib Metal Grey Micro A Count = 3 Spread = 2.25 MaxVelocity = 15 MinVelocity = 5 GibWoundLimit = 2[size=85][/size]
|
Mon Mar 29, 2010 12:58 am |
|
|
LowestFormOfWit
Joined: Mon Oct 06, 2008 2:04 am Posts: 1559
|
Re: I'm a mod in a hard place.
Never post huge gross chunks of code. Just attach the .ini file next time.
|
Mon Mar 29, 2010 2:53 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.
Make a MOSRotating. Call it a bee stinger. Change it's sprite to your stinger.
|
Mon Mar 29, 2010 2:55 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.
How do i make one? ( Noob Alert )
|
Mon Mar 29, 2010 3:09 am |
|
|
Geti
Joined: Sun Jul 13, 2008 9:57 am Posts: 4886 Location: some compy
|
Re: I'm a mod in a hard place.
|
Mon Mar 29, 2010 10:15 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 looked at that tryed everything everyone has said and still not working, I don't get an error anymore but its still shooting the normal bullet. Where exactly to i put it in the ini?
|
Mon Mar 29, 2010 11:24 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.
First you define bee stinger, then in your rounds script, change the round to a MOSRotating which is a CopyOf = BeeStinger.
|
Mon Mar 29, 2010 3:31 pm |
|
|
Geti
Joined: Sun Jul 13, 2008 9:57 am Posts: 4886 Location: some compy
|
Re: I'm a mod in a hard place.
1) Delete the AddEffect blocks at the start, they define MOPixels which you dont want to use. 2) Construct your MOSRotating definition there, before all of the AddAmmo lines. 3) Change the CopyOf lines in your Round definition. 4) Delete the tracer round (make sure you remove it from the magazine as well, and change RTTRatio to 0) 5) Profit, no grey area.
|
Mon Mar 29, 2010 8:38 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 think i did all that here, tell me what im doing wrong.
Attachments:
Stinger.ini [3.56 KiB]
Downloaded 229 times
|
Tue Mar 30, 2010 12:29 am |
|
|
|