Page 1 of 2

Properties of Ghost Gun

Posted: Tue Jun 06, 2006 8:38 am
by revelation1114
I'm building a mod based on the Raptor X-17 Hybrid. I got the model from another place, and that works fine, however, I have one small problem. The body of the Raptor is built from the Warthog hull, so the weapons fire from the middle of the plane. I would like to make the weapon fire from BOTH wingtips, sort of like the ghost gun fires from two seperate cannons on the ghost hull. I've ben trying to do this for a day or two now, and I'm stumped. From what I can tell, this property isnt in the [weap] or [proj] tags; I can only guess its in the [vehi] or [hlmt] tags somewhere. but I have no clue how to change this. Does anyone know how to make a gun fire from two places? I've posted an image of the Raptor, hopefully that will give you an idea of what im trying to do.
Image
Image (See what I mean about the firing position?)

Posted: Tue Jun 06, 2006 8:41 am
by The Flying Dutchmen
where is the download -_-
so long you've been here and posting questions in the download? hmmm
anyway i think the spawnpoint of the projectile must allow you to set the place of launch

Posted: Tue Jun 06, 2006 8:43 am
by destroyer69
Yeah, I think it has somthing to do about the spawn point. Kinda like how weapons sometimes look like they shoot out of MC's head to other people.

Posted: Tue Jun 06, 2006 8:53 am
by revelation1114
The download is what I'm working on, I'll post the beta though. It's essentially someone else's mod applied to Coagulation instead of Headlong. Anyway, I can change the spawn point of the projectile in DotHalo, but it only comes out on one wingtip. That's what I'm trying to change.

Posted: Tue Jun 06, 2006 8:55 am
by MrBalll
Mabye duplicate another tag for the projectile? I have no idea if that would work, just a thought.

Posted: Tue Jun 06, 2006 8:56 am
by revelation1114
I did try adding a second projectile, but that did not work.

Posted: Tue Jun 06, 2006 9:28 am
by Juniorman030790
Try to find that air strike tutorial. It had something to do with projectile spawn points. I'm sure that's what you want.

Posted: Tue Jun 06, 2006 9:33 am
by revelation1114
No, you're misunderstanding me. I know how to change the spawn point of the projectile, but that isn't what I'm trying to do here. I want the projectile to have TWO spawn points, and to alternate between them, like the ghost does when it fires.

Posted: Tue Jun 06, 2006 10:08 am
by BreakerOfChaos
couldnt you just swap the warthog horn weap with the ghost gun weap or whatever and then just swap the projectiles?

Posted: Tue Jun 06, 2006 10:36 am
by mechhunter
Breaker That wouldnt work cause the ghost actually fires 2 different weapons not one single one with 2 spawn points(Im pretty sure)

My suggestion would be to change it slightly so that one trigger controls the right rocket pod and the other controls, well the other.

Then have them have longer refire rates.....

Thats the easiest way that i know

Oh and just change the projectile spawn point like you were doing an airstrike only using the X axis not the Z :P

Posted: Tue Jun 06, 2006 11:17 am
by r4nd0m
you could try changing the carbine (seeing as that has 2 proj's)so it shoots rockets and then change the spawnpoints of both projectiles

Posted: Tue Jun 06, 2006 11:22 am
by Juniorman030790
well then! The projectile airstrike thing will give you one way to change a spawn. Maybe there's some way that you can add another trigger and use the b button to shoot both projectiles. I'm not sure of how to give the ghost gun 2 projectile spawns from one trigger.

There surely has to be some chunk adding somewhere in this.

Posted: Tue Jun 06, 2006 12:14 pm
by jzimmer09
well u could make it so the left tigger fires another shot... then u could just hold both triggers and fire... but i dont think you can do it otherwise...

Posted: Tue Jun 06, 2006 1:22 pm
by Boney526
Wait, this is a mod of a warthog, not like a warthog replacing a ghost right? If it is, I would change the warthog's projectiles to whatever you want it to be, and move where they spawn in the weapon tag. It has XYZ coordinates.

(Warthog has two projectiles, ADI shows them out, but Dot-Halo doesn't, I don't know why.)

Posted: Tue Jun 06, 2006 8:28 pm
by DanJay
that looks familiar... but mabye this thread can help me with the same idea, i was planning on replacing the warthog horn weap, with the tank turret [weap] i am planning on having rockets fire from the normal location and a secondart fire bullets from halfway down the wings...

i can move the projectile spawn point of the bullets, but i need them to spawn from 2 diffferent locations, one on the left wing, and one on the right wing.

Posted: Tue Jun 06, 2006 8:47 pm
by G.I.R.
What you need is probably in the attachment points section of the Ghost mode tag

Posted: Wed Jun 07, 2006 2:07 am
by uralllame
Here's my suggestion:
First, start off with the wapon you have on the hog now (I'm not sure this can be done with a vehicle weapon though) and dupe it. (in this case you might want to take the longsword hlmt off one of them)
Then you set both weapons to have pretty much the same properties (same projectile, rate of fire etc.)
Then add another weapon chunk to the warthog.vehi so it now has 2 weapons.
On one weapon you set the projectile spawn point to come out of one wing, and set the other to come out of the other wing.

I was going to do that for an X Wing but I decided to turn Master Cheif in to a milk carton instead.

Also, if this works, you could give the other weapon a longsword hlmt, and move the model so there are some smaller wings at the front.

Posted: Wed Jun 07, 2006 8:19 am
by Snaku
TLM has been discussing this a bit and we were a bit stumped. I looked into the attachments (markers) on various vehicle models and the only ones I can find that have a marker I can readily identify as being a projectile spawn point are the turrets. All turrets have them, including the wraith's miniguns. They're labeled as primary_trigger or secondary_trigger. Unfortunately, I haven't been able to find any coresponding markers on any non-turret vehicles.
I haven't looked at weapon models yet, though. If they have the markers, then you could probably swap in the weap and rename some useless markers on the vehicle to whatever the weap uses and move them to where you want 'em.
DanJay wrote:that looks familiar...
Hahaha!

Posted: Wed Jun 07, 2006 1:34 pm
by Trigger_six
In dothalo, go to weap, find the hog horn, make a secondary fire (so one rocket from each wing) and at the bottom of the weap xml, the projectile part, is projectile spawning with X Y and Z cords........

Posted: Wed Jun 07, 2006 2:36 pm
by latinomodder
I know put a waith instead of the turret, null all of it out. Then use its weapon for the wings and then leave the two machine guns in the front