Jump to content

wombat50

Member
  • Content Count

    25
  • Joined

  • Last visited

  • Medals

Community Reputation

0 Neutral

2 Followers

About wombat50

  • Rank
    Private First Class

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. wombat50

    Triggers are broken?

    Large interface did not work for me but Very Large did.
  2. I got it working with the code in the first post. I had the spacing of the soldiers too close and the trigger was too big so I made it only 1 meter deep. If more than 2 soldiers abreast were in the trigger the remaining would not follow the command to change direction.
  3. Syntax for setDir: object setDir heading If I could use a variable or description for "object" so when an "object" enters the trigger it obeys the command. I can pass the command on a group but the group performs the command all at the same time. What I would like is for each object to change direction only when entering the trigger zone. I have messed with making the trigger larger but using foreach thislist makes them change direction immediately instead of at the trigger. Thanks for the help and patience!
  4. Thanks for the reply Joe. I am familiar with what you have said. But in this case I wish the formation of soldiers to cross a bridge which never seems to work with waypoints. I have put all the members of the formation in an animation state and they do nicely crossing the bridge. In my testing in an animation state they ignore any waypoints. When using waypoints to direct a large group their behavior can be erratic where in the animation state they maintain a good tight formation. Maybe it is not possible to make a formation in a walk animation change direction? However, the trigger I used in the first post does work as it should but only for the first two soldiers abreast. The rest continue in the initial direction. As the trigger is set to repeatedly I don't understand why it doesn't keep working. Short clip how it looks ingame. You can see the first two soldiers change direction but none of the others do. https://www.youtube.com/watch?v=oCWghIZ0FtI This video is soldiers in a group using waypoints https://www.youtube.com/watch?v=QwEDKvdInrk Thanks again
  5. Hi, I have a formation of soldiers, lined up two abreast, with maybe 100 total. I want them to march across a bridge which they do fine using this in a trigger which covers the formation of soldiers. It puts them all in a walking animation. Set to trigger once, for anybody and in the ACT. field: {_x playMove "AmovPercMwlkSlowWrflDf"}foreach thislist; I would like the formation to continue and follow bends in the road. As it is whatever direction they are facing initially they will continue in that direction indefinitely. I tried waypoints but since they are in animation state they ignore them? So I have made another trigger which they enter and hopefully will change their direction. Set to trigger repeatedly, for anybody and ACT field is: {_x setDir 130}foreach thislist; The trigger works for the first pair abreast but the rest of the formation continues on the original direction. I have looked here and searched elsewhere for a solution. Tried some other code but to no avail. Thanks.
  6. wombat50

    Death Valley: WTF, BI

    Played this multiple times and always got stuck trying to connect the UAV. I did 1. and 2. in post #47 but never could got past 3. No luck doing 3. The only option in the scroll menu was to disassemble UAV. I did get to the controls once but I don't know how. Finally just hunted down the spotters to complete the mission. Just recounting my experience and nothing more.
  7. On occasion, I have trouble with camera stuttering too. I use sqs and I think your example is sqf which I know very little about. Recently tried this in sqs when stuttering camera occurred. Every camera block in sqs contains the line _camera camCommit 0 Not sure but _cam camCommitPrepared 0; might be the same thing in your example? Anyways for me, in _camera camCommit 0 the zero means the camera will move to its new location instantly. So in my case to try to get rid of camera stutter I changed the zero to a one. This helped. Only tried this today by trial and error so it may not be foolproof. In one loop block I only had to change the zero to .1. In another I had to change the 0 to a 1 to eliminate the camera stutter.
  8. wombat50

    Arma II & OA User Video Thread

    http://www.youtube.com/watch?v=8lcKcOsY0eg Music Trent Reznor "On We March" Experimenting with camera scripting in Arma2 Setup a mission of two flights of A10s. The targets are 4 enemy tanks, when they are destroyed the A10s return to their airfield. The camera is controlled using an sqs file in the mission folder. The AI controlled A10s crashed many times.
  9. wombat50

    Operation Powderburn

    No problems Lighty. Was a bit worried so it's good to know you are still alive and kickin'.
  10. wombat50

    Operation Powderburn

    Anyone know what has happened to Lighty? He dropped off the radar about June 1st.
  11. I may be missing what you are after. I did this recently by putting this bit in the spotter's init line in the editor: removeAllWeapons _spotter; _spotter addMagazine "laserbatteries"; _spotter addWeapon "laserdesignator"; Worked everytime but I didn't include the rest of your code in a script file in my mission folder. I had three tanks as targets, when one was destroyed the spotter would switch to a live target.
  12. wombat50

    Mission start text

    };call compile preprocessFile "=BTC=_revive\=BTC=_revive_init.sqf"; I'm a novice at scripting but is the bolded }; at the beginning of the above line correct or needed?
  13. wombat50

    Mission start text

    I put aeroson's code in a init.sqf in the mission folder and it worked for "the player" at the start of my mission.
  14. Using some a10's as cameras but somtimes they crash on their own(not shot down as the are set to allowdamge false) so when it is their turn in the scene.sqs script the shot is ruined. I'm sure it is possible but I have no clue how I would switch the camera automatically to an active A10. Maybe something along this line? http://community.bistudio.com/wiki/if Portion of the scene.sqs script I'd like the camera to switch to an active A10: _cam = "camera" CamCreate (getPos j1); _cam cameraeffect ["internal", "front"]; _cam attachTo [j1, [-25, 0.2, 0]]; _cam camsettarget j3; _cam camSetFOV 0.05; _cam camcommit 5; ~15 A10's j2 and j4 would be the optional ones to switch to if still alive. Thanks
  15. Thanks Zodd. Tried the full speed in the first waypoint but no affect. I like the look of the attached A10's in level flight but they look very unrealistic when banking. So I will use them for only a scene or two. Good idea about unit capture/ unit play. The only drawback are my flying skills. I have done it before and getting cam locations is much easier. I did run a radio trigger that allowed me to plot the course of one AI controlled A10 on the map by placing markers and then taking a screenshot of the markers I had placed. My way is not really what I was after. Trying with limited success to run the tank busting mission in one continuous scene.sqs. When I get all the _cam locations the way I like, I'll capture the whole mission with fraps. I will then edit with Sony Vegas. The hard part is getting the _cam locations and the time factors that go along with it. Having fun with this even if it can be frustrating at times.
×