Home   Help Search Login Register  

Author Topic: get rid of wind  (Read 1970 times)

0 Members and 1 Guest are viewing this topic.

Offline 456820

  • Contributing Member
  • **
get rid of wind
« on: 08 Jun 2005, 18:28:44 »
simpley how can i get rid of wind i have a mission where you are a paratrooper but get blown into a load of trees and since its in Kolgujev there evry where
so i need to get rid of the wind speed without changing the weather to a nice day becuase i want a wet and rainy day.
how do i do this or if not possible how can i get around this

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:get rid of wind
« Reply #1 on: 08 Jun 2005, 18:31:12 »
Erm. No.
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

Offline 456820

  • Contributing Member
  • **
Re:get rid of wind
« Reply #2 on: 08 Jun 2005, 18:32:21 »
ahhh anyway of getting around it or is no, no?

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:get rid of wind
« Reply #3 on: 08 Jun 2005, 18:35:46 »
Wind is random in Flashpoint. There have been many discussions about it but at last I heard, there's nowt you can do.
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

UNN

  • Guest
Re:get rid of wind
« Reply #4 on: 08 Jun 2005, 18:44:34 »
You could minimize the effects. Setpos in a loop is probably to drastic. Limiting the X & Y velocity of the parachute using a loop, might be the way to go?

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:get rid of wind
« Reply #5 on: 08 Jun 2005, 18:49:19 »
I just had a look for some threads but wind just gives a myriad of threads with "windows" in them.

Someone might remember more details than me.
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

Offline 456820

  • Contributing Member
  • **
Re:get rid of wind
« Reply #6 on: 08 Jun 2005, 19:21:14 »
well ive had to do something but it looks quite weird but i have put all the chutes at 60m in the air that way the team mates just land cleanly so now i have no more injuries but i would still love to keep the high paradrop
does using setrain or what ever that command work without changing the speed of wind becuase the better the weather the less wind speed

Offline RujiK

  • Members
  • *
  • KoKo Puh-Fizzles!
Re:get rid of wind
« Reply #7 on: 08 Jun 2005, 22:45:40 »
#loop
paraman setvelocity [0,0,-10]
~0.1
?(getpos paraman select 2 > 5):goto"loop"
exit

The > sign may be backwards. Other then that it should work.
I like your approach, lets see your departure.
Download the New Flashlight Script!

Offline Raptorsaurus

  • Editors Depot Staff
  • *****
Re:get rid of wind
« Reply #8 on: 09 Jun 2005, 02:11:04 »
I have a script that will make the parachute land randomly within a specified radius.  It uses my Intercept and my RandPos function.  I will post is as soon as I get home from work.

The other methods suggest will work, but the script I made will also prevent the chute from moving backwards.  It will face the direction it needs to in order to land in the predesignated area.  The script just needs a center location and radius of error.  If you make the error radius 0 then the chute will land exactly on the spot you designate.  If you make the landing area very far from the drop point, the chute will still reach the spot (unless a hill gets in the way)!  It will just simulate a chute with a ridiculously high glide ratio. ;D
« Last Edit: 09 Jun 2005, 02:20:51 by Raptorsaurus »

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re:get rid of wind
« Reply #9 on: 09 Jun 2005, 11:58:43 »
I've got some wind I need to get rid of too, from eating too many legumes...
urp!

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:get rid of wind
« Reply #10 on: 09 Jun 2005, 14:20:52 »
There's a value in the mission.sqm that iirc controls the wind...
It's randomSeed...

open the mission.sqm (in some text editor), change the randomSeed to randomSeed=0
Just back up the original value first in case something goes sour... ::)

That may work...
No guarantees though, I just remember spotting this somewhere ages ago...
« Last Edit: 09 Jun 2005, 14:22:12 by HateR_Kint »
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline 456820

  • Contributing Member
  • **
Re:get rid of wind
« Reply #11 on: 09 Jun 2005, 16:13:43 »
well i relay like the sound of Raptorsaurus script and i will have a go at the mission.sqm and also RujiK ill hae a go with the set velocity

Offline 456820

  • Contributing Member
  • **
Re:get rid of wind
« Reply #12 on: 09 Jun 2005, 20:39:38 »
i dont think the randomseed thing works or if it does it didnt work with me so im going to have a go wth the setvelocity script

Offline Raptorsaurus

  • Editors Depot Staff
  • *****
Re:get rid of wind
« Reply #13 on: 09 Jun 2005, 21:58:55 »
Sorry I did not submit that script last night.  I went straight to my GFs house after work and then got home very late.  I will for sure submit it today after work.

UNN

  • Guest
Re:get rid of wind
« Reply #14 on: 10 Jun 2005, 00:35:25 »
Randomseed, is normaly used to determine the random number sequency.

It works that way in other languages. I think the idea is, computers cant create true sequences of random numbers. So you use the date\time as the seed, to create what looks like a random sequence. But keep reseting your clock, you would get the same sequence all the time.

So all it should mean is, you get the same wind direction every time you play the mission. It might help, as you could use trial and error to make sure they eject at a position that allows them to land safely.

Offline Raptorsaurus

  • Editors Depot Staff
  • *****
Re:get rid of wind
« Reply #15 on: 11 Jun 2005, 01:52:25 »
OK, finally, here is the parachute landing control script.  I went ahead and made a demo mission.  There is no readme, but the headers/footers in the scripts and functions are very detailed.

I hope it works for you.  One thing that I found when I was doing more careful testing of the demo, is that parachutes do not like being "setvelocitied" against the wind.  They will move fine with the wind, even transverse to the wind and even as much as a 45 degree angle toward the wind, but as soon as you try to force them to go more directly against the wind than 45 degrees they become very slow moving.  I guess that this is OK, as even in real life, a "glide" chute does not go very well against the wind.
« Last Edit: 11 Jun 2005, 03:05:09 by Raptorsaurus »

Offline 456820

  • Contributing Member
  • **
Re:get rid of wind
« Reply #16 on: 11 Jun 2005, 08:37:08 »
hey thanks for the script, im just about to test it hope it works

Offline Raptorsaurus

  • Editors Depot Staff
  • *****
Re:get rid of wind
« Reply #17 on: 13 Jun 2005, 22:52:37 »
I'm working on am improved version that does better at moving toward the wind.  The current version uses "passive" manipulation of the parachute velocity to change its direction toward the target.  But since the parachute's downward movement vector (the Z velocity component), is very small, it does not provide enough "power" to go toward the wind.  So I am going to make a "cheating" script that will add just a bit of "thrust" to the parachute.  I hope it works.  I will give it a try tonight.

Offline 456820

  • Contributing Member
  • **
Re:get rid of wind
« Reply #18 on: 14 Jun 2005, 15:59:03 »
okay ive tried that but instead of taking me to the marker it flys me all the way south into the sea wich is a good 600metres and i said the min and max size with in 40-0 metres ??