Home   Help Search Login Register  

Author Topic: Mega Questions... Sorry... but I had to throw it at you...  (Read 1908 times)

0 Members and 2 Guests are viewing this topic.

KEVIN_OFP

  • Guest
 Hello folks, sorry about the long list of questions but they just accumulated over the past few months.  In order of importance:

 1) Paste & Copy.  My right finger hurts... How do Copy and paste a group. Ctrl_c and Ctrl_p, I know, I know. but i doesnt work. do i have to select a block first?  Please tell me the sequence of keys and/or mouse to do that.  I can't take it anymore.

  2) Inserting Waypoints,  I am not sure if this one should not be number one on the list.  Oh, how many times I had to insert a waypoint after the third one where I had to delete from number 10 waypoint all the way back to number 4, then add the new waypoint 4 and then add  WPT 5 through 11 and remembering where WPT5 through WPT11(which used to be WPT 4 through WPT 10) were and... do I need to continue...  Thank you.

   3) Health indicator?   Sometimes i have to walk 256 Kilometers to a Mesh Tent to see if i need health.   Sometimes when I get hit, screen goes red which is good, but most of the time i do not feel any pain.   Same as Fuel level inside the vechicles(i.e. Red car, Jeep, Small Car)

  4) Time Out in WPT?  There is a minimum and maximum in the waypoint screen timeout  section.  It doesnt work.  Isn't a unit supposed to wait there 5 minutes(assuming I put 5 in both minimum and maximum field) before going to the next one.

  ... Dont worry only 2 more questions left..... please wake up...

   5) Shortcut commands?  What I mean by that is lets say I want to use the LAW.  Is there a short cut key that does that instead of having to bring the action menu, then scroll up and down looking for "Put LAW in hand" and then hitting action key again.  The follwoing sequence of action is not recommended by doctors when there is a T80 around.


    6) Parashutte?  Here I dont mean how I parachutte but how do I program AI soilders to Jump out of a moving plane or chopper(not the pilot) instead of having to land and unload.(the pilot does not have to belong to the jumping soilders group)

    7) I lied. one more question(actually this one came up while I was typing question #6 above)   I forgot what it was...  please wait, I am thinking... Oh yes, here it goes.  I know putting this in WPT's script field "this FlyinHeight 200" sets the flying height of airplane/chopper to 200.   Is that right? Is that in units of centimeter?
because they still hit the trees.

  Sorry about the long list , I appreciate it.

Kevin_ofp


Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Mega Questions... Sorry... but I had to throw it at you...
« Reply #1 on: 18 Jan 2006, 13:19:33 »
m'kay... we generally frown on long lists of questions, but hey, they happen so infrequently i think we can overlook this one ;)


1. click and drag a rectangle over the group. they'll all be highlighted. while hovering over one of the group , press ctrl+c. then click away from the group so that nothing is highlighted. now press ctrl+v.

2. double click the waypoint before where you want to insert a new one. note its number. now create your new waypoint and make it's number one more than the last one. presto.... gubes explains it better below  :-[

3. there have been scripts which do this. you can create a snazzy resource which looks like a health bar, or you can just make a script which alerts the player with hints. i'll come back to this one.

4. to make a unit wait there, you need to use countdown rather than timeout. i can't remember the exact difference, but i do know countdown is the one you use ;)

5. sorry. it's the long way or not at all.

6. soldier_name action ["eject",aircraft_name]

7. flyinheight uses metres (as far as i know). try 300 :P


EDIT - concerning 7. above - try using the aircraft name instead of 'this flyinheight 200', as i'm not sure that 'this' in the script part of a waypoint refers to who the waypoint belongs to...

health bar - try this one.
« Last Edit: 18 Jan 2006, 14:34:27 by bedges »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Mega Questions... Sorry... but I had to throw it at you...
« Reply #2 on: 18 Jan 2006, 13:23:05 »
1)  Left click and hold over empty space on the map.  (It doesn't work if you catch a bush or building.)   Drag and drop a box around whatever you want to copy.   Release the mouse button.   Check that the units you want to copy are highlighted (i.e. slightly darker in colour).  Press Ctrl C.  (Ctrl X to cut.)    Click where you want to paste and press Ctrl V.   The units will be dumped nearby.   (I'm not sure bedges is right about having to hover over the unit if you want to copy ... you do have to hover if you want to delete something.)

2) This is easy ... so easy I'll have to check exactly how ... back in a mo.   Right, double click where you want the waypoint to be.  The Waypoint box will appear.   In the Waypoint order field, click and hold the left mouse button:  now move up and down the list till your new waypoint is in the place you want it.  The other waypoints will be adjusted automatically.

3) Fuel in certain vehicles there is no way to tell.   Just refuel if you get the chance - fuel stations always work unless the mission author has zapped them - if you feel worried.    Injury is easy to tell.   If you can stand up, there is nothing much wrong with your legs.   If you go to gunsight view (V by default) and everything looks reasonably still, there is nothing wrong with your arms.   If you are alive, then there is nothing wrong with your head or body.     It is possible to pick up small injuries that have no material impact on your ability to do things, but don't worry about that.  It's not worth the trouble and risk of getting healed unless you happen to find yourself next to a medic or ambulance.

4)  It does work, but its in seconds, not minutes.   There is a also a small delay anyway because groups always pause at waypoints.

5) Hmm ... don't think so.  Would be nice though.   RTFM.

6) Easy.   Scripts in the Editors Depot.

7) The unit is metres.   So 200 is 200m, about 650 feet.   You can't use "this" though, you have to use the aircraft's name.    "This" is just for init fields.


And yes, the best thing to do is ask questions as you think of them.   As bedges said, in this case, it is better to put all the questions in one, clear post than cover the whole board with individual questions.     What we really don't like is long, rambling, difficult to understand posts with several questions which should really be on different boards.    If you do have several questions to put in one post, numbering them as you have done here is highly recommended.
« Last Edit: 18 Jan 2006, 13:32:46 by macguba »
Plenty of reviewed ArmA missions for you to play

KEVIN_OFP

  • Guest
Re:Mega Questions... Sorry... but I had to throw it at you...
« Reply #3 on: 18 Jan 2006, 13:24:13 »
bedges, thanks bro.

Offline Trapper

  • Honoured Contributor
  • ***
  • I'm a llama!
Re:Mega Questions... Sorry... but I had to throw it at you...
« Reply #4 on: 18 Jan 2006, 14:22:20 »
You can't use "this" though, you have to use the aircraft's name.    "This" is just for init fields.

Not long ago I had to find out that "this" in a waypoint field returns the unit following the waypoints.
hint format ["%1",this]

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Mega Questions... Sorry... but I had to throw it at you...
« Reply #5 on: 18 Jan 2006, 14:56:14 »
Impossible.   Units don't have waypoints.

*goes off to investigate.*

Ah, it returns the group leader in the form

WEST Bravo Black:1

Which is nice, but that only identifies the group leader.  It's not something you can use in a command, at least not directly.  (Doubtless there are exceptions.)

Although you can do stuff like

leader group this setDammage 1

in the waypoint itself.

Or even

this setDammage 1.

Why didn't I know this (sorry, pun not intended) before?  :-[

(Possibly because "this" refers to the group leader himself, not his vehicle.)

« Last Edit: 18 Jan 2006, 15:14:09 by macguba »
Plenty of reviewed ArmA missions for you to play

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Mega Questions... Sorry... but I had to throw it at you...
« Reply #6 on: 18 Jan 2006, 14:58:16 »
Unless the unit is a group?


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

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Mega Questions... Sorry... but I had to throw it at you...
« Reply #7 on: 18 Jan 2006, 15:07:06 »
Unit and group are the two most profoundly different things in OFP.    One of the mysteries of this community is the fact that everybody is so precise when talking about scripting, and so loose when talking about certain other things.   (Which is what confuses me so much.)  The words unit and group are no more interchangeable than the words waypoint and building.
Plenty of reviewed ArmA missions for you to play

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Mega Questions... Sorry... but I had to throw it at you...
« Reply #8 on: 18 Jan 2006, 15:42:04 »
just had a wee play. 'this' in a waypoint can be as useful as you want it to be. doesn't have to refer to the group leader. can refer to anyone in the group, or the group's vehicle, whatever. for example

Code: [Select]
hint format ["My first officer is %1, and we are driving a %2", name ((units group this) select 1), typeOf vehicle this]
can't think of any uses offhand, but having the handle of the group leader gives access to all other info about the group through additional commands.

Quote
Why didn't I know this before...

i confess this was news to me too. every day a school day ;)

Offline Trapper

  • Honoured Contributor
  • ***
  • I'm a llama!
Re:Mega Questions... Sorry... but I had to throw it at you...
« Reply #9 on: 18 Jan 2006, 16:04:06 »
The credits for this lesson belong to NightJay0044. :) I saw it working in his mission Hold Port.

In a simple way it's in particular useful for this strange "unit but group" command:

this allowfleeing 0.75

Quote
unit allowFleeing courage

Description:
    Set group courage. The less courage, the sooner will group start fleeing. 0 means maximum courage, 1 means always fleeing.

Example:
    soldierOne allowFleeing 0