View unanswered posts | View active topics It is currently Fri Oct 11, 2024 4:53 am



Reply to topic  [ 47 posts ]  Go to page Previous  1, 2, 3, 4  Next
 I need help with my first mod 
Author Message
User avatar

Joined: Thu Sep 24, 2009 2:45 am
Posts: 68
Reply with quote
Post 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
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13143
Location: Here
Reply with quote
Post 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
Profile
User avatar

Joined: Thu Sep 24, 2009 2:45 am
Posts: 68
Reply with quote
Post 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
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post 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
Profile
User avatar

Joined: Thu Sep 24, 2009 2:45 am
Posts: 68
Reply with quote
Post 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
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post 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
Profile
User avatar

Joined: Thu Sep 24, 2009 2:45 am
Posts: 68
Reply with quote
Post 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
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post 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
Profile
User avatar

Joined: Thu Sep 24, 2009 2:45 am
Posts: 68
Reply with quote
Post Re: I need help with my first mod
Alright!! The mod is done. Thanks for the help, and you can try it right now.


Attachments:
StarBomb.rte.rar [54.13 KiB]
Downloaded 96 times
Sat Oct 03, 2009 10:29 pm
Profile
User avatar

Joined: Thu Sep 24, 2009 2:45 am
Posts: 68
Reply with quote
Post 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
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post 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
Profile
User avatar

Joined: Thu Sep 24, 2009 2:45 am
Posts: 68
Reply with quote
Post 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
Profile
User avatar

Joined: Mon Apr 06, 2009 9:41 am
Posts: 712
Location: New York
Reply with quote
Post Re: I need help with my first mod
This is such a nice thread.


Thu Oct 08, 2009 5:54 am
Profile YIM
User avatar

Joined: Thu Sep 24, 2009 2:45 am
Posts: 68
Reply with quote
Post Re: I need help with my first mod
Well, do you know how to add green glow?


Fri Oct 09, 2009 4:59 am
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post 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
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 47 posts ]  Go to page Previous  1, 2, 3, 4  Next

Who is online

Users browsing this forum: Google [Bot]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.071s | 16 Queries | GZIP : Off ]