Trigonometric Parameters
Moderator: Moderators
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Trigonometric Parameters
How would I go about making a missile-type ordnance, launched from a cannon-type weapon, fly in an arc? I already have the trigonometric equation figured out: -x^2 / 8 + 10. How would I set this up using the ShotPattern function?
-
CalvaryCptMike
- Captain

- Posts: 476
- Joined: Sat Feb 19, 2011 3:10 pm
- Projects :: Nothing--absolutely nothing
- Location: Freed by alien robots, now living on Mars
- Contact:
Re: Trigonometric Parameters
Wouldn't you just do it the same way as a grenade launcher fires in an arc? I don't think you need to be using any trigonometry for this( but I could be wrong ) try checking out the grenade launcher ODF. Is there any particular reason it needs to be a missile anyways?
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Trigonometric Parameters
The ordnance is supposed to fly like a missile does, but in an arc; it's the Warp biotic power from Mass Effect.CalvaryCptMike wrote:Wouldn't you just do it the same way as a grenade launcher fires in an arc? I don't think you need to be using any trigonometry for this( but I could be wrong ) try checking out the grenade launcher ODF.
ShotPattern can only be used with missiles shot be cannons (I think).CalvaryCptMike wrote:Is there any particular reason it needs to be a missile anyways?
- keenmike
- Second Lance Corporal

- Posts: 110
- Joined: Sat Mar 14, 2009 7:05 am
- Projects :: Side by side bike with suspension
- Location: South Texas
- Contact:
Re: Trigonometric Parameters
Is it as simple as working with gravity values and if none then add it?
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Trigonometric Parameters
Missiles are self-propelled, no? Again, I am not working with grenade-like ordnance.keenmike wrote:Is it as simple as working with gravity values and if none then add it?
- keenmike
- Second Lance Corporal

- Posts: 110
- Joined: Sat Mar 14, 2009 7:05 am
- Projects :: Side by side bike with suspension
- Location: South Texas
- Contact:
Re: Trigonometric Parameters
SWBF1 rep_weap_inf_torpedo_launcher_ord.odf
I still think adjust Gravity values then weapon pointed up will arc downward due to gravity.
[OrdnanceClass]
ClassLabel = "missile"
[Properties]
LifeSpan = "8.0"
TurnRate = "2.0"
Velocity = "55.0"
Gravity = "0.0"
Rebound = "0.0"
I still think adjust Gravity values then weapon pointed up will arc downward due to gravity.
[OrdnanceClass]
ClassLabel = "missile"
[Properties]
LifeSpan = "8.0"
TurnRate = "2.0"
Velocity = "55.0"
Gravity = "0.0"
Rebound = "0.0"
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Trigonometric Parameters
That would make a hyperbola, not an algebraic arc.keenmike wrote:SWBF1 rep_weap_inf_torpedo_launcher_ord.odf
I still think adjust Gravity values then weapon pointed up will arc downward due to gravity.
[OrdnanceClass]
ClassLabel = "missile"
[Properties]
LifeSpan = "8.0"
TurnRate = "2.0"
Velocity = "55.0"
Gravity = "0.0"
Rebound = "0.0"
- keenmike
- Second Lance Corporal

- Posts: 110
- Joined: Sat Mar 14, 2009 7:05 am
- Projects :: Side by side bike with suspension
- Location: South Texas
- Contact:
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: Trigonometric Parameters
Well you gotta work with what you have.Marth8880 wrote:That would make a hyperbola, not an algebraic arc.keenmike wrote:SWBF1 rep_weap_inf_torpedo_launcher_ord.odf
I still think adjust Gravity values then weapon pointed up will arc downward due to gravity.
[OrdnanceClass]
ClassLabel = "missile"
[Properties]
LifeSpan = "8.0"
TurnRate = "2.0"
Velocity = "55.0"
Gravity = "0.0"
Rebound = "0.0"
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:


