Jump to content

barbolani

Member
  • Content Count

    1197
  • Joined

  • Last visited

  • Medals

Everything posted by barbolani

  1. And the truck beside the drone does not move the container, with and without the quad inside it. Aaaaargh!
  2. barbolani

    Best AI Mortar Script?

    Hi Larrow and everybody, just a question. ALL the AI Arty scripts I have seen, pick up targets in more or less the same method (random target from a count of total targets). What they lack want is a clever use of the Arty, I mean, do not pick as target an isolated unit with no more targets in a 100 mts distance, and fire againste this lone soldier a whole battery charge. Just the same use you would do: pick as targets the ones that have a whole bunch of units in his area. If not, do not waste ammo. I'm guessing maybe placing a trigger on each target and make a cound could work, but that is over my scripting skills...
  3. Why do you want a chopper fly for a 500 mts trip???? And if the player is in cargo, maybe changing the waypointtype to getout won't make it dissapear, as it won't be completed until you getout.
  4. You mean FIA units in the east side by default?
  5. Waypointing units to get in transports makes their path a bit unpredictable. Sometimes they will decide to go straight, sometimes not. Unitplay may be the best solution. Another is to directly use animations, like place the unit in the exact spot, use the animation of walking, the anim of entering the vehicle etc..
  6. barbolani

    Stratis Invasion and scripts

    Foxy is true, if AC-1 and so on are groups, if they are units, should work. Anyway I am not sure if you can use - in group names.
  7. barbolani

    UPSMON for arma3

    WOW Attorney, next gen scripting
  8. barbolani

    A Question about Lazy Evaluation

    Understood. Thanks a lot people!
  9. barbolani

    A Question about Lazy Evaluation

    Hello,sorry for the dumb question, but I'm having some trouble with conditionals in my scripts and maybe here is the key. Why you use brackets {} inside some conditions and parenthesis () in other's?? I mean, if do this, I would type: waitUntil { ( (someCondition) && ( someCondition2 && ( someCondition3 ) ) ) }; instead of waitUntil { ( (someCondition) && { someCondition2 && { someCondition3 } } ) }; Can you explain? In the comref, the while or waituntil commands doesen't say anything. Thanks in advance.
  10. barbolani

    AI Spawn Script Pack

    Hi, I wanna check this out a use it for a misión I am working on. But there's a particular issue. The misión is FIA vs NATO. So, I am using the old way (create a FIA squad with an OPFOR leader, 0% of presence) I was wondering how to use your fill / patrol house script with this kind of groups. I checked the units array and creation procedures and are completely associated to side. So I have to use your script with editor placed units.... I am not sure this can be done with your script.
  11. barbolani

    Play sound while in vehicle?

    OMG Thanks, I've been searching for this a long time
  12. Hello, I have an issue while trying to create waypoints via script. For the position I place a simple gamelogic, in some building position, at certain height (roof), and when I create the waypoint via script, the position is related to the GL. Well, ingame the waypoint appears on the floor. I tried to use setWaypointHousePosition but seems to ignore this. I'm sure I am missing something. Help? Thanks in advance.
  13. barbolani

    Defining the playable area

    Dont know why, lets do it much simpler. Game logic : name mydistance One trigger: Repeatedly. Condition: player distance mydistance > 500. On Act: hint "You are trying to troll the game?" Other trigger: Once. Condition: player distance mydistance > 510. On Act: hint "Die then"; player setdamage 1; This Works. Of course you may change the on act to whatever you want, script, player setpos etc...
  14. Hiya! Yes, I need an ambient of a city revolving sound. Yes, I am another idiot making a "Black Hawk Down" kinda mission. I've got the civvies around, I've got the militia spawning, I miss the noise.... Help please?
  15. barbolani

    Defining the playable area

    In my opinión, playable areas are commonly usless. Ok, the fine solution is the ona you are saying, or other that are around the scene. But being practical, players tend to play where the play exists. If the mission is "take that point" and the player decides to go to the opposite... is up to him to wander like an idiot around a digital island with no action at all. Nobody makes it. I am not meaning nothing against inmersión. But, anyway to make it the simplest way is: - Place a game logic in the center of the scene, name it "mycenter" - On player's init field Call a script with this: waituntil {sleep 2; player distance mycenter > desired distance in meters}; hint "go back to action, you stupid scumbag!"; here put code for effects, whatever you like
  16. barbolani

    Trigger AI hostility

    An additional trick: after joining, deleteVehicle badguy, so you will be able to put waypoints to the Indie group as normal, instead of placing them to badguy, which is a usless unit. Additionally, tkae in count the original group name won't be on use since the joining, so anything you want to command on that group after joining badguy, must be referred to the group of badguy
  17. barbolani

    Trigger AI hostility

    Then, it is not working. Two checks: - The indies and / or BLUFORS are not setcaptive, right? - You havent messed with setFriend, right? I never did this joining (allways done in the editor from the begining of the mission) so maybe the 0% presence does not work after the engine is on. Let's try in a different way: Instead of 0% put "badguy" at 100%, in a far away and safe part of the map, on init field put: this hideObject true; removeAllWeapons this; this setCaptive true And do the joining process. Now, if it doesent work, something is wrong in your mission. Send it and I'll check it.
  18. barbolani

    Trigger AI hostility

    maturin is right. Place an OPFOR man, anywhere on the map. name it, let's say "badguy" probability of presence 0% Name the independent group, on leader init field put, let's say "indies = group this" In the trigger / waypoint you want them to be enemy, put: {[_x] joinSilent badguy} forEach units indies Then, they are opforside. If you want them to go back to the light, you can make the same process but instead of joining an OPFOR, joining a BLUFOR
  19. barbolani

    Why chemlights?

    Hello, From a great ignorance. In 2035, with everybody having NV Googles and that kind of stuff. What's the military practical use of a chemlight? Can you give me any example? Thanks in advance.
  20. barbolani

    Why chemlights?

    Thanks people. I see those are extremely useful in real combat. But by your comments, for designing missions in Arma is just ambience, not very practical. Isn't it?
  21. barbolani

    Unlimited save game

    It Works, at least in the missions I create. Maybe it is a feature that can be disabled via editor.
  22. barbolani

    Supply drop - loadout

    You mean the ingame supply drop module? If yes, you have a field where you can place any code as if it was ammocrate cargo init field. So, what MulleDK19 says is ok, except one thing. AFAIK in this case you must use "_this" instead of "this" In YouTube you may find other tweaks, like popping smoke in the crate position.
×