Home   Help Search Login Register  

Author Topic: Halo scritp wont work plz help!  (Read 1095 times)

0 Members and 1 Guest are viewing this topic.

dave52390

  • Guest
Halo scritp wont work plz help!
« on: 12 Aug 2004, 14:36:03 »
 :gunman: HI, none of these ""HALO"" scripts work for me can you plz explain how to do it to me plz....... and also how do  i add a flag to some ones back? thanks  :help: :tomato:

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Halo scritp wont work plz help!
« Reply #1 on: 12 Aug 2004, 14:45:34 »
Which HALO Script?

:beat: *Gets Shot* :beat:

dave52390

  • Guest
Re:Halo scritp wont work plz help!
« Reply #2 on: 13 Aug 2004, 00:45:52 »
I'v tryed around 5 of them if you cna give me one that works and explain how to do it that would be great.. thanks

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Halo scritp wont work plz help!
« Reply #3 on: 13 Aug 2004, 01:11:19 »
They all work.   ;D

I suspect the reason they don't work for you is that you don't really understand what you need to do to make them work.    Before going any further head over to the Editors Depot and read snYpir's A Friendly Intro to Code Snippets and Johan Gusafsson's Scripting Tutorial.    

Most scripts of this nature come with instructions and in general there is little or nothing we can add to these instructions.     If you get stuck we'd be glad to help, but you need to tell us precisely which script you are trying to use, what you did, and - in detail - what went right and what went wrong.    ;)    If there are parts of the instructions that you can't figure out then post the relevant part here and tell us exactly what the problem is.
Plenty of reviewed ArmA missions for you to play

dave52390

  • Guest
Re:Halo scritp wont work plz help!
« Reply #4 on: 13 Aug 2004, 01:29:42 »
it would be this script... wont work......

IMPORTANT! - This script calls itself (executes itself), so if you rename the script,
you need to edit the contents of the script so that it can still call itself!

WHAT: A single script which simulates a REAL HALO drop for both AI and player units.

HOW:  Initialize it like so: ["name",height,variance,failrate] exec "real_halo.xsqs"
   
   "name" = name of unit which the script is being initialized for - MUST BE ENCLOSED IN QUOTES!
   height = the height at which the unit (if AI) will pull the chute
   variance = the variation on the height at which the ai will pull the chute
   failrate = the chance of the parachute failing (higher number = less chance of failure)

   EXAMPLE: ["soldier1",150,20,1000] exec "real_halo.xsqs"
   EXPLANATION OF EXAMPLE: The above would make the soldier named "soldier1" pull his chute at alititudes between 130-170 meters.
   EXPLANATION OF FAILRATE: The failurerate is calculated by generating two random numbers using the failrate, and chopping the
   decimals off. If the two random numbers are the same, the chute fails. If the number 2 was selected as the fail rate, the chute
   chute would fail frequently, as the two random numbers would have a 1/2 chance of being the same. If the failure rate is set to
   5000 two random numbers from 1-5000 would have to come up the same - consequently the chute wouldn't fail very often.

FEATURES:

    * Works with AI and humans
    * No triggers needed
    * Everything done with one script (including the action)
    * Ability to specify - Height at which the AI pulls the chute, variation on height, Failure rate of parachute.
    * Detects if unit is AI or human - if human, and action for pulling the chute appears
    * Automatically detects ejections and activates (HALO feature only activates if the unit is more than 100 meters above ground!)
    * Unit continues to descend rapidly after pulling the chute, descent speed slows gradually after chute deploys..In other words, it's realistic
    * Works in multiplayer
    * Works on for all sides
    * Works after unit (or player) dies and respawns
    * Will still work if a player controlled unit disconnects and unit becomes AI



if you can explain this to me it would be great...

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Halo scritp wont work plz help!
« Reply #5 on: 13 Aug 2004, 01:35:52 »
It seems to me that the above is fairly self explanatory.

Which bits of it do you not understand?


Planck
I know a little about a lot, and a lot about a little.

dave52390

  • Guest
Re:Halo scritp wont work plz help!
« Reply #6 on: 13 Aug 2004, 01:56:47 »
i tryed my best i put in all the stuff do i have to add it to a mission file im kinda new at this.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Halo scritp wont work plz help!
« Reply #7 on: 13 Aug 2004, 10:36:05 »
Like Macca said, read SnYpirs introduction to code snippets and Johan Gustavssons Script Tutotrial.

:beat: *Gets Shot* :beat:

dave52390

  • Guest
Re:Halo scritp wont work plz help!
« Reply #8 on: 13 Aug 2004, 10:46:49 »
thats all giberish to mean i get lost on the first sentence                         :-[ :-[ :-[

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Halo scritp wont work plz help!
« Reply #9 on: 13 Aug 2004, 10:49:53 »
Have you read a beginner tute? Like Abuus or something. Thought macca said that one was good ::) ;D

:beat: *Gets Shot* :beat:

dave52390

  • Guest
Re:Halo scritp wont work plz help!
« Reply #10 on: 13 Aug 2004, 11:13:37 »
ill read it over but i would love it if you could explain this script to me ...

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Halo scritp wont work plz help!
« Reply #11 on: 13 Aug 2004, 11:21:09 »
Anything I can say to you is either in em 3 tutes I recommended or in the script explanation. I can't explain it any better.

:beat: *Gets Shot* :beat:

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Halo scritp wont work plz help!
« Reply #12 on: 13 Aug 2004, 11:34:03 »
If you haven't read the tutes you won't understand the answer anyway.  

Learning to talk about OFP is a little like learning a language (though much much easier).     You have to put some work in if you want understand what's going on.
Plenty of reviewed ArmA missions for you to play

dave52390

  • Guest
Re:Halo scritp wont work plz help!
« Reply #13 on: 14 Aug 2004, 02:54:25 »
thanks for trying to help

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Halo scritp wont work plz help!
« Reply #14 on: 14 Aug 2004, 19:22:10 »
We DID help you, it's just that we cannot help if you cannot understand the tutes. Both the beginner tutorial and SnYpirs introduction are very easy to understand so we can not explain it any further.

:beat: *Gets Shot* :beat: