Author |
Message |
DoomTurkey
Joined: Thu Sep 24, 2009 2:45 am Posts: 68
|
Re: I need help with my first mod
Day 2 of work begins:
What code allows me to add a fireball when the bomb explodes?
How come when I test the bomb, there's not line of dots that help me aim?
What is the name of the MOPixel that's yellow and deals damage when a bomb explodes?
|
Sat Oct 03, 2009 9:46 pm |
|
|
CaveCricket48
Joined: Tue Jun 12, 2007 11:52 pm Posts: 13144 Location: Here
|
Re: I need help with my first mod
1. That's a type of gib. Look into "Base.rte/Effects/Pyro" for the effect you want, find the Pyro.ini in that folder, match the filepath name to the fire effect image, copy the PresetName and add that gib. How to add a gib: Put the code below into your bomb code. Code: AddGib = Gib GibParticle = MOPixel CopyOf = Grenade Fragment Yellow Count = 35 MinVelocity = 50 MaxVelocity = 75 InheritsVel = 0 2. Bombs don't have that. 3. See the gib code in anser 1.
|
Sat Oct 03, 2009 9:51 pm |
|
|
DoomTurkey
Joined: Thu Sep 24, 2009 2:45 am Posts: 68
|
Re: I need help with my first mod
CaveCricket48 wrote: 1. That's a type of gib. Look into "Base.rte/Effects/Pyro" for the effect you want, find the Pyro.ini in that folder, match the filepath name to the fire effect image, copy the PresetName and add that gib.
eh.... I found the effect, so what code whould I use to add fireball?
Last edited by DoomTurkey on Sat Oct 03, 2009 10:05 pm, edited 1 time in total.
|
Sat Oct 03, 2009 10:02 pm |
|
|
Duh102
happy carebear mom
Joined: Tue Mar 04, 2008 1:40 am Posts: 7096 Location: b8bbd5
|
Re: I need help with my first mod
CaveCricket48 wrote: How to add a gib: Put the code below into your bomb code. Code: AddGib = Gib GibParticle = MOPixel CopyOf = Grenade Fragment Yellow Count = 35 MinVelocity = 50 MaxVelocity = 75 InheritsVel = 0
|
Sat Oct 03, 2009 10:03 pm |
|
|
DoomTurkey
Joined: Thu Sep 24, 2009 2:45 am Posts: 68
|
Re: I need help with my first mod
Do I just copy the AddEffect section from Pyro.ini?
|
Sat Oct 03, 2009 10:07 pm |
|
|
Duh102
happy carebear mom
Joined: Tue Mar 04, 2008 1:40 am Posts: 7096 Location: b8bbd5
|
Re: I need help with my first mod
Nah, you see in that AddGib code, there's a "GibParticle = MOPixel" section? That's the type of the particle you want to spawn. I think the fire puff is probably a MOSParticle, so in that "GibParticle" section, you put the type and the PresetName on the CopyOf line.
|
Sat Oct 03, 2009 10:08 pm |
|
|
DoomTurkey
Joined: Thu Sep 24, 2009 2:45 am Posts: 68
|
Re: I need help with my first mod
Code: AddGib = Gib GibParticle = MOPixel CopyOf = Glow Particle Yellow Huge Count = 720 MinVelocity = 600 MaxVelocity = 300 InheritsVel = 1 so that's what it would look like?
|
Sat Oct 03, 2009 10:11 pm |
|
|
Duh102
happy carebear mom
Joined: Tue Mar 04, 2008 1:40 am Posts: 7096 Location: b8bbd5
|
Re: I need help with my first mod
Yes, but you have the min and max velocity mixed up. Also, that's a lot of particles you're spawning. I would say set the max to 200 and min to however much below that. That will send the particle across a 640 screen in about a quarter second.
|
Sat Oct 03, 2009 10:20 pm |
|
|
DoomTurkey
Joined: Thu Sep 24, 2009 2:45 am Posts: 68
|
Re: I need help with my first mod
Alright!! The mod is done. Thanks for the help, and you can try it right now.
|
Sat Oct 03, 2009 10:29 pm |
|
|
DoomTurkey
Joined: Thu Sep 24, 2009 2:45 am Posts: 68
|
Re: I need help with my first mod
Now I want to make version 2.
What code do I stick in to add that green puff?
Are blood, flesh and bone MOPixels, or MOParticles or MOSRotatings?
|
Thu Oct 08, 2009 4:28 am |
|
|
Duh102
happy carebear mom
Joined: Tue Mar 04, 2008 1:40 am Posts: 7096 Location: b8bbd5
|
Re: I need help with my first mod
Green puff? And you'll have to figure that out. Base.rte has all the gib definitions.
|
Thu Oct 08, 2009 4:31 am |
|
|
DoomTurkey
Joined: Thu Sep 24, 2009 2:45 am Posts: 68
|
Re: I need help with my first mod
Duh102 wrote: Green puff? And you'll have to figure that out. Base.rte has all the gib definitions. green puff is that GreenSmall.bmp in the glows folder of Base.rte I'll look up the rest then.
|
Thu Oct 08, 2009 4:34 am |
|
|
Rawtoast
Joined: Mon Apr 06, 2009 9:41 am Posts: 712 Location: New York
|
Re: I need help with my first mod
This is such a nice thread.
|
Thu Oct 08, 2009 5:54 am |
|
|
DoomTurkey
Joined: Thu Sep 24, 2009 2:45 am Posts: 68
|
Re: I need help with my first mod
Well, do you know how to add green glow?
|
Fri Oct 09, 2009 4:59 am |
|
|
Duh102
happy carebear mom
Joined: Tue Mar 04, 2008 1:40 am Posts: 7096 Location: b8bbd5
|
Re: I need help with my first mod
On an MOPixel or MOSParticle: Code: >ScreenEffect = ContentFile >>FilePath = (path to glow) >EffectAlwaysShows = 1 >EffectStartTime = 0 >EffectStopTime = (lifetime of particle) >EffectStartStrength = 1.0 >EffectStopStrength = 0
|
Fri Oct 09, 2009 5:13 am |
|
|
|