Data Realms Fan Forums http://45.55.195.193/ |
|
How do you make a Gun fire something besides a Bullet? http://45.55.195.193/viewtopic.php?f=1&t=10520 |
Page 1 of 1 |
Author: | DudeGuy [ Thu Mar 06, 2008 1:32 am ] |
Post subject: | How do you make a Gun fire something besides a Bullet? |
I searched for an answer, and did not get one. So my question is, how do I make a Gun, a normal Gun, fire something like, a laser, or something like that? I know I can change the color of the bullet, but, is there any other way? |
Author: | TrouserDemon [ Thu Mar 06, 2008 1:35 am ] |
Post subject: | Re: How do you make a Gun fire something besides a Bullet? |
If you mean a laser like on my Uber Cannon, that's just a muzzle flash that looks like a laser, the gun really shoots hundreds of invisible bullets. |
Author: | DudeGuy [ Thu Mar 06, 2008 1:37 am ] |
Post subject: | Re: How do you make a Gun fire something besides a Bullet? |
No, I mean like a Rifle kind of thing, is that JUST color change? And also, there were mods where someone fired a block, how do I do that? Is that just a Muzzle Flash with weight added to it? |
Author: | TrouserDemon [ Thu Mar 06, 2008 1:48 am ] |
Post subject: | Re: How do you make a Gun fire something besides a Bullet? |
It's where the gun shoots an MOSRotating. I don't think you can fire a muzzle flash. I reserve the right to be completely wrong. |
Author: | Lord Tim [ Thu Mar 06, 2008 2:02 am ] |
Post subject: | Re: How do you make a Gun fire something besides a Bullet? |
TrouserDemon wrote: It's where the gun shoots an MOSRotating. I don't think you can fire a muzzle flash. I reserve the right to be completely wrong. I reserve the right to tell you that you are wrong. Attachables are pretty much MOSRotatings with joint code. Pistol2 literally fires a muzzle flash. Pistol3 fires a modified muzzle flash (you'll see why I modified it after you fire Pistol2). Attachment: |
Author: | DudeGuy [ Thu Mar 06, 2008 2:17 am ] |
Post subject: | Re: How do you make a Gun fire something besides a Bullet? |
SWEET. But, which Color Code do I change in the Gun.ini to get color change? Code: AddAmmo = Round InstanceName = Round Gun Template ParticleCount = 1 Particle = MOPixel InstanceName = Particle Gun Template Mass = 0.008 RestThreshold = 500 LifeTime = 1500 Sharpness = 250 HitsMOs = 1 GetsHitByMOs = 0 Color = Color R = 143 G = 143 B = 143 This one we'll call Number 1 Atom = Atom Material = Material CopyOf = Bullet Metal TrailColor = Color R = 155 G = 155 B = 155 Number 2 TrailLength = 25 Shell = MOSParticle CopyOf = Gun Template Casing FireVelocity = 80 ShellVelocity = 10 Separation = 5 AddAmmo = Round CopyOf = Round Gun Template InstanceName = Round Gun Template Tracer ParticleCount = 1 Particle = MOPixel CopyOf = Particle Gun Template InstanceName = Particle Gun Template Tracer RestThreshold = 500 LifeTime = 1500 HitsMOs = 1 GetsHitByMOs = 0 Color = Color R = 247 G = 247 B = 147 Number 1A Atom = Atom Material = Material CopyOf = Bullet Metal TrailColor = Color R = 255 G = 255 B = 159 Number 2A TrailLength = 45 And what do I change them to to get a Blue color? Maybe the Blue Glow even. |
Author: | Azukki [ Thu Mar 06, 2008 3:10 am ] |
Post subject: | Re: How do you make a Gun fire something besides a Bullet? |
1: pixel color of the regular round 2: trail color of the regular round 1A: pixel color of the tracer round 2A: trail color of the tracer round Blue glow is R = 220 G = 250 B = 240 for general blues R = 0 (increase for brighter) G = 0 (increase for brighter) B = 255 (decrease for darker) |
Author: | NickFury666 [ Thu Mar 06, 2008 4:01 am ] |
Post subject: | Re: How do you make a Gun fire something besides a Bullet? |
All you have to do is change the ammo to a MOSRotating, and give it MOSRotating properties. So, where it says AddAmmo = Round, change it to AddAmmo = MOSRotating, and since you seem new, copy in the properties of another MOSRotating over the previous properties, and change them to your needs. |
Author: | Azukki [ Thu Mar 06, 2008 5:16 am ] |
Post subject: | Re: How do you make a Gun fire something besides a Bullet? |
It's a bit different than that if you want to define the MOSRot like you would a MOPixel round. Open base.rte/ammo.ini Go down to the test head round. That would be an example of a MOSRot round, defined in the way regular MOPixel Rounds are defined. And in the copying of an independently defined object way, using Addammo is also unnecessary, it can be defined as an effect, actor, whatever, and still be designated as the round. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |