Home   Help Search Login Register  

Author Topic: Terrain Gradient FUnction  (Read 675 times)

0 Members and 1 Guest are viewing this topic.

Unnamed

  • Guest
Terrain Gradient FUnction
« on: 08 Aug 2003, 19:45:22 »
Hi,

I've written a function to return the gradient, of the terrain a given object is located on. I suspect it is not very reliable, or at best limited?

Any suggestions or help would be much appreciated.

It relies on being able to place four objects at each compass point, then calcualting the angle between them using TakeOffTim's AslHeight function (embedded for convenience).

I did try dschulle's Pich\Bank functions, but could not get them to work.

Thanks

P.S It was either this or the beta forum, hope I picked the correct one?

Offline KJAM

  • Contributing Member
  • **
  • Why Me, Whats it For?
    • Nightstalker mod
Re:Terrain Gradient FUnction
« Reply #1 on: 08 Aug 2003, 19:54:55 »
well what would make sense is to submit the beta version in the beta forums and thenget people to reply in there, (and maybe) one in this asking all the questions, though the mods might lock one because its about the same thing, watch out for them they are evil
only j/king guys i know ur doin ur job and without you the forums wud be in a worse state than it is

Unnamed

  • Guest
Re:Terrain Gradient FUnction
« Reply #2 on: 08 Aug 2003, 20:06:11 »
Code: [Select]
well what would make sense is to submit the beta version in the beta forums
Yes...but, it's not the kind of function I would feel comfortable releasing in any formal way. Plus double posts are just asking for trouble :)

I think I should have re-phrased the above to:

Is there a better way?

Cheers

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Terrain Gradient FUnction
« Reply #3 on: 09 Aug 2003, 00:51:57 »
You don't have to release anything in a formal way.   Beta testing forums at OFPEC are for knocking stuff around in an informal way.   Doesn't matter if it doesn't quite work, that's what the forums are for.     The important thing (apart from not double posting obviously) is to tell people what you've got and what it does and doesn't do.
Plenty of reviewed ArmA missions for you to play

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:Terrain Gradient FUnction
« Reply #4 on: 09 Aug 2003, 02:58:25 »
The important thing (apart from not double posting obviously) is to tell people what you've got and what it does and doesn't do.

i've got herpes.... it does hurt like hell and doesn't attract the women

 ;D








j/k (sorry, really tried to resist... honestly  :D)
« Last Edit: 09 Aug 2003, 03:00:11 by Messiah »
Proud Member of the Volunteer Commando Battalion

vektorboson

  • Guest
Re:Terrain Gradient FUnction
« Reply #5 on: 09 Aug 2003, 14:42:23 »
Hi, it would have been better you'd used a Trigger to get the height of the terrain instead of TakeOffTim's ASL-function. Just look into my Helicopter Dust script, for EmptyDetector and calcH

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Terrain Gradient FUnction
« Reply #6 on: 09 Aug 2003, 20:08:34 »
Mezzy - if it doesn't attract the women why do you show it to them?



Sorry, I couldn't resist either ;D ::)
Plenty of reviewed ArmA missions for you to play

Unnamed

  • Guest
Re:Terrain Gradient FUnction
« Reply #7 on: 10 Aug 2003, 03:25:45 »
Quote
Just look into my Helicopter Dust script, for EmptyDetector and calcH
Thanks,

Not only does it give consistent results, I can get rid of all those clunky objects...perfect  ;D

Messiah, I think you are attracting the wrong sort of women in the first place  :)