Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → two shot rail detonator cog
two shot rail detonator cog
2002-07-31, 5:28 PM #1
i need a cog that shoots a shot like a rail detonator, but instead it shoots two rail charges, side by side, for a two barrel rocket launcher i made.
2002-08-01, 5:11 AM #2
I don't know if anyone would like to just make you one, but it would help if you had something started and needed guidance with it... like you have the two rockets firing but cant get them positioned or something.. I have a cog like you want except its for bryar pistol and it doesnt require ammo and fires very fast [http://forums.massassi.net/html/biggrin.gif]

For starters study the repeater.cog, it fires 3 projectiles as an alternate fire, figure out how to get rid of the top one and get the other 2 in your raildet.cog and see who will help you from there.

------------------
Blue Spandex.
WHEEEEEEEEEE.
2002-08-01, 6:47 AM #3
Just add another FireProjectile() line, just negitive the X on the fire offset.

------------------
The Sniper Missions. Current project, The Sniper Missions

The Magician Saber System.
Major projects working on:
SATNRT, JK Pistol Mod, Aliens TC, Firearms

Completed
Judgement Day (HLP), My level pack
2002-08-01, 9:24 AM #4
//slaps self
or you can do it the easy way like descent said (whoops guess I make things harder than they are [http://forums.massassi.net/html/frown.gif])

------------------
Blue Spandex.
WHEEEEEEEEEE.
2002-08-01, 11:08 AM #5
I can even make it so the enemies with the double barrel rcl will shoot 2.

------------------
The Sniper Missions. Current project, The Sniper Missions

The Magician Saber System.
Major projects working on:
SATNRT, JK Pistol Mod, Aliens TC, Firearms

Completed
Judgement Day (HLP), My level pack
2002-08-02, 12:16 PM #6
see, the problem with this is (at least that ive found) is that you cant get them to start out side by side. basically you shott one in one direction and another in the other direction. Such as with the crossbow and repeater. ever notice if you stand next to a wall with a repeater and zec fire, the shots are right next to each other? but if you fire it at a farther away wall, they spread out. so you cant get them side by side, but you can get them to shoot 2 at once. I infact created a rail detonater that only shoots one primary, but 3 secondary in this same manner.

------------------
_c_Septa_jm_
-=SepTa=-
-=SepTa=-
2002-08-02, 12:43 PM #7
We'll try it agian. This is the raildet fire line.
Code:
rail = FireProjectile(player, projectile[mode], fireSound, 18, '0.0214 0.15 0.00', '0 0 0', 1.0, 0x20, autoAimFOV, autoAimFOV*2);
This is what you want.
Code:
rail = FireProjectile(player, projectile[mode], fireSound, 18, '0.0214 0.15 0.00', '0 0 0', 1.0, 0x20, autoAimFOV, autoAimFOV*2);
rail = FireProjectile(player, projectile[mode], -1, -1, '-0.0214 0.15 0.00', '0 0 0', 1.0, 0x20, autoAimFOV, autoAimFOV*2);
and yes, you can get them side by side. [http://forums.massassi.net/html/wink.gif]


------------------
The Sniper Missions. Current project, The Sniper Missions

The Magician Saber System.
Major projects working on:
SATNRT, JK Pistol Mod, Aliens TC, Firearms

Completed
Judgement Day (HLP), My level pack

↑ Up to the top!