Page 1 of 2 12 LastLast
Results 1 to 10 of 11

  Click here to go to the first Developer post in this thread.  

Thread: Some questions

  1. #1
    Guest
    Oki, some questions f


    i have a empty chopper that 2 pilots get into if they get to the chopper alive. How do i set up waypoints for this chopper so it moves afler the pilots have gotten in?

    I have created a t80 with the createVehicle command, but it's empty, How do i create units with personell in them ready to go?

    Where can i get speech to my missions? I'am working on a large Campain, and i need speech for several different Us personel. Anybody do a realistic speech?


    Thanx

  2. #2
    about chopper : make waypoints not for it but for pilot. Example - move, move, get in, move, move, get out
    -...\"Is artificial ?\"
    -\"Of course, it is.\"
    -\"Must be expensive.\"
    -\"VERY\"...

  3. #3
    How are the pilots getting into the chopper? if you are using assignasgunner and pilot then it would be a good idea to use the move command,

    (pilot chopper) domove (getpos object)

    Use the createunit command to create the crew, then use moveingunner, moveindriver and moveincommander to get them into the T80.

    I don't have a clue where you can get good voices

    RED

  4. #4
    Guest
    </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">Use the createunit command to create the crew, then use moveingunner, moveindriver and moveincommander to get them into the T80.
    [/QUOTE]<span id='postcolor'>

    i have tryed this, but it dident work, and i could get in the tank and drive it anyway.

    Here is my code:

    tank = "M1Abrams" createVehicle getmarkerpos "aa"
    a1 = "SoldierWB" createvehicle getmarkerpos "aa2"
    a1 moveindriver tank
    a2 = "SoldierWB" createvehicle getmarkerpos "aa2"
    a2 moveingunner tank
    a3 = "SoldierWB" createvehicle getmarkerpos "aa2"
    a3 moveincommander tank
    tank setfuel 1
    tank domove getmarkerpos gl
    ~1
    Exit

    This doesent work, and the tank vount move to my marker gl
    It looks like the persons are moved into the tank bcoz they dont appear at marker aa2.

    Also how do i create a chopper wit the createvehicle commands that are starting of flying?

    Thanx

  5. #5
    a3 = "SoldierWB" createvehicle getmarkerpos "aa2"

    Use the createunit command for soldiers.

    RED

  6. #6
    Master Gunnery Sergeant
    Join Date
    Nov 2 2001
    Location
    Sweden
    Posts
    1,259
    Are you sure you ned to use createvehicle and createunit?
    Cant you just place some units on the map far away and then move them to where you want them to appear with setpos?
    It would make it alot easier
    "Cibit, come in my number two." - Terox

    Want someone to JIP into your squad? Choose your words carefully.

  7. #7
    Createunit reduces system lag if you want to have lots of units in a battlefield, you only need to have the units on the mission at one point. Not loaded from the start.

    RED

  8. #8
    But createUnit produces heavy lag when extensively used over a short period (ie, 2 groups of 12 pple make the server freeze for 2 seconds, creating desync on all clients)
    Same for createVehicle.
    This is perceptible on the "Battlefield 1985" mission, which extensively uses createVehicle function. You&#39;ll see some desync storms (I checked the server at the same time, nothing special), and I didn&#39;t see anything else in the mission which could have affected the server like that. Tested too with my PC as server, same thing, and PC freezes at each vehicle creation.

    I think there is a middle way to choose between pre-creating in editor and creating during mission with createUnit/Vehicle.

    My rule would be : Is there AI in what I need? If yes, then I create on the fly with createXxxxx , if not, I pre-create them in edit and setPos them as needed.


    I reread my post... Funny how I consider any mission created as being multiplayer.... Didn&#39;t even envisage the fact it could be SP.

    Whis&#39;
    Whisper.
    OFrP member : http://ofrp.free.fr

  9.   This is the last Developer post in this thread.   #9

    Exclamation

    Whis&#39;, if you only create units of type that have already been present on the map, there should be no real noticeable lag when creating the units. Otherwise, you may see up to 1s pause for each new type of unit.

    It is up to you, do you like decreased performance all the time with many units present, or do you settle for some lag a few times in the whole mission, while performance is always good otherwise.

    The fact is a dedicated server can not handle too many active units at the same time, so I would go with create (I do in EnemyStack) as much as possible.

    EDIT: Have a nice confrontation between 50 or so units, check if the server FPS is above 15.



    "Peace can not be kept by force. It can only be achieved by understanding." Albert Einstein

    Please report Arma 3 bugs in the Bug Tracker

  10. #10
    Master Gunnery Sergeant
    Join Date
    Nov 2 2001
    Location
    Sweden
    Posts
    1,259
    I never saw him say anything about the mission having alot of units, I guess It depends on the mission wich way is the best.

    Never saw this smiley before, it looks really funny hehe ---&#62; ***

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •