Jump to content

NickThissen

Member
  • Content Count

    54
  • Joined

  • Last visited

  • Medals

Everything posted by NickThissen

  1. Hi, I want to create a two-part co-op mission where the first part ends with the destruction of a large building. I'd then like the second part to start off with that building already destroyed, but I can't figure out how to do that. I can get the building object via its ID and then destroy it via setDamage, but it will only start to get destroyed when the mission starts, and everyone can see it sink in the ground in a big pile of smoke. Is it not possible to skip that and just start with the rubble to begin with, without any of the 'building is being damaged' effects? In other words: how do I replace buildings by their destroyed counterparts without actually destroying them "live" in the mission? Thanks.
  2. NickThissen

    Helicopter fly in height maximum?

    Thanks, setting the behaviour to careless works.
  3. I am trying to make a mission where units start in a helicopter flying at high altitude (say 500-800 meters). When the helicopter hits a trigger the units are ejected using a simple paradrop script. The problem is that, no matter what I do, the helicopter does not want to fly at this altitude. I start it out at 500 meters, I set its flyInHeight to 500, I set the waypoint (the only waypoint) to 500 meters AND set the flyInHeight again on that waypoint (can't hurt I guess). Even then, the helicopter completely ignores its waypoint and first decends to something like 100 meters. It does a couple of huge banked turns to descent quickly which completely ruins the mission because it's hitting all kinds of triggers and flying over enemies. Once it has reached the ~100 meter altitude it seems to go back to its waypoint. All I want is a helicopter to fly at 500 meters in a straight line, but whatever I do it completely ignores my orders and descends to about 100 meters before continuing. What's the reason for this? Is it not realistic for helicopters to fly that high? Is this a bug? To reproduce: just put a manned helicopter, put yourself as an AI in the helicopter (at least not pilot). Set its Elevation to 500 and use "this flyInHeight 500" as init line. Then put a waypoint somewhere straight ahead, far away (other side of Altis for example). Set its Height to 500. Start mission and you will see the heli first descends in all kind of weird circular paths, instead of just flying straight like I'm telling it to....
  4. I am trying to create a simple helicopter extraction at the end of my co-op mission. I have read various tutorials and watched video's and I still cannot get it to work. I've tried two slightly different approaches and both get close but not quite there... Approach 1: I have a helicopter 'helo' somewhere far away over the ocean. I have set 'allowFleeing' to 0 so that it lands even if under enemy fire. It has one MOVE waypoint close to it, synced to a trigger that should start the extraction (helo does not move until the trigger is fired - works). Then there is a LOAD waypoint at the LZ, close to a Helipad (invisible) object where I want the helo to land. In the 'On Act' of this waypoint, I wrote: doStop helo; helo land "get in"; The next waypoint is a HOLD waypoint, very close to the LOAD waypoint, and with a condition that checks if all players are either dead or in the helo (so far only me as "p1"): ((!alive p1) OR (p1 in helo)); Finally there is a MOVE waypoint far over the ocean that goes through the end game trigger. When I run this mission, the helo lands at the designated LZ and waits for me to get in (good). When I get in it takes off again, but it does not fly away; it hovers in mid air indefinitely and never continues to the next waypoint. Approach 2: Almost the same as approach 1, except I have changed the HOLD waypoint to a MOVE waypoint (the one after the LOAD waypoint, that's how I keep seeing it in tutorials). This time the helo does not wait for me to get in; it lands, then takes off again immediately and flies away. It does not even fly away to the next waypoint, at least as far as I can see, it goes in the opposite direction... Maybe it will turn around later I'm not sure. Anyway, two approaches with two failed outcomes, I need a mix of the two... Can anyone help me out what am I doing wrong?
  5. That seems to work, thanks!
  6. Hi, I want a task marker to follow a vehicle in a convoy (the marker should follow the vehicle as it moves). I have achieved this by syncing a Set Task Destination module (Destination: synchronized object) with the vehicle in question. It seems to work fine at first, until the driver of the vehicle gets out (for example; when he spots me or gets engaged). The marker is actually following the driver of the vehicle, and when he gets out the vehicle is no longer marked (but the driver is). How do I synchronize the Set Task Destination module with a vehicle rather than its driver, which seems to be the default? Can I achieve this via scripting instead of syncing? Thanks!
  7. I just drop it in via the editor as usual. Also, by task marker I meant the task destination module, not an actual marker, does your script work for that too?
  8. What I found necessary is to add that 'script' to the Description.ext file, then go in the editor and open your mission and save it again (it seems if you don't save it it won't pick up changes from the description file??), and THEN save it as a multiplayer mission (export to multiplayer). Then it should work.
  9. Hi, I have a co-op mission where a certain interaction should cause everything in a certain range around some object to be destroyed (eg buildings and trees), but the players and their vehicles should remain unharmed. I am using a simple script that loops through every item in 'nearestObjects' and damages it, but this also damages the units (even if allowDamage is set to false first). I solved that by checking first if the current object is in the player's group: _grp = group squadLeader; _units = units _grp; { if (_x in _units) then { // object is in player's group, do something else } else { // destroy it _x setdamage 1; } } forEach (nearestObjects [(getpos objPos), [], 250]); This works, the units don't get killed but everything around them does. Now there is one problem remaining however: if the units happen to be in a vehicle, it will be destroyed and the units will die after all. How can I extend this check to also skip the vehicles that units might be inside of? If a unit happens to be NEAR a vehicle that is no problem, that vehicle should just explode and kill the unit, only the vehicles that units are actually in should remain alive. I could simply check if _x is in the vehicle of the squad leader (eg "_x in vehicle squadLeader") but that doesn't cover everything because some units may be in another vehicle. In other words; how do I extend this check so that it skips every vehicle that has a unit from the _units array inside it?
  10. Thanks, I didn't know you could add things to lists like that :)
  11. It says that it doesn't work in multiplayer though :(
  12. Hi, I am trying to use the Defense module to create a 'defend the base' type of mission. I came across this thread which has an example mission (extracted from one of the built in missions) which shows how to setup this module (I also found a youtube video which does the same thing). I set this up in my own mission and it worked, except that it was not spawning any vehicles. I tried everything and eventually figured out that it can only spawn vehicles if the 'spawn triggers' (trigger that defines the area in which units can spawn) contains a road. It seems the module doesn't want to spawn vehicles unless they can spawn on a road. It might also have to do with the size of the trigger, I'm not sure. I was wondering if there's any more info about this module? I am looking for a few things like: 1. How to control the number of units spawned? By default it spawns like 15-20 units each wave which is a bit much for my mission. I want more like 5-10 + 1 or 2 vehicles. 2. Can I make it spawn vehicles in the middle of nowhere too? I am using it on the Takistan (arma 2) map and there just aren't a lot of roads, I don't want to spawn the units near a road because they would take ages to reach the base. 3. Alternatively, can I select which type of units spawn in which trigger? For example: one trigger close to the base spawns only soldiers, while another trigger (near a road far away from the base) spawns only vehicles. Thanks for any help.
  13. Doesn't seem to work, still destroys like usual. Do I need to add sleeps or something? at the moment I have a Game Logic object near the building with this in the init box: fact = (getPos this) nearestObject 32425; fact setDamage 1; fact setDamage 0; fact setDamage 1;
  14. The dust cloud takes like half a minute to settle, way too long for a fade in :( Could you show an example of this? How do I spawn ruins? The FPS hit shouldn't be a problem as it's only one building, and it's on Takistan (the Arma 2 map) which is pretty good on FPS at least for me. BTW HideObject does nothing :(
  15. Hi, I want to make a mission where a suicide bomber suddenly runs out from a crowd of civilians and blows up the vehicle that the players arrived in. The idea is simple: players arrive by car (medic truck), get out and walk toward a crowd of civilians, after a couple seconds one civilian suddenly runs out shouting and runs towards the truck, then blows up. Everything basically works, except that it looks stupid because all the civilians (including the bomber) go into "scared" mode when we arrive. By that I mean: they drop down on a knee and only crouch. Even the bomber doesn't really run toward the vehicle but he is crouched the whole way and it just looks strange. I have set the unit to COMBAT or AWARE modes and set his combat mode to RED but nothing seems to have any effect, as soon as we arrive the civilians go into this scared mode and never seem to recover from it, even if I use a doMove command on them or trigger waypoints for them. How can I prevent the units from going into this scared mode, or how can I 'reset' them to their regular behaviour?
  16. That's what I said, I am doing that but the second convoy doesn't move :(. Also reported already by z80cpu on this very page.
  17. Hmmm it might be a mod, yeah, didn't think of that. Annoying! Did the bomber actually run toward the truck when you tried it? I'll see if I can find which mod it is... I don't really know which mods do what because I just installed the mods a friend recommended. Here's what I am running, maybe someone has a clue? I suspect the TPW mods (they are for civilian life right?)
  18. Yes I am playing as Blufor. Here is a test mission: https://dl.dropboxusercontent.com/u/14309718/SuicideBombTest.Stratis.zip See for yourself how it works. It starts with you in the cargo of a truck, wait until the truck stops, get out and walk toward the group of civilians (note how they are already 'scared'). When close enough one of the civilians will move toward the truck and blow up. But the whole time he is in 'scared' mode and not running, even though I am setting setUnitPos to UP and careless and ... Nothing works.
  19. Is there any way to make the script work for multiple convoys? I want one convoy to start when the player walks into a trigger, and the second convoy to start when the player kills a vehicle in the first convoy. The second one just stands there and never moves :( They are using different waypoint markers (two different routes).
  20. Still doesn't work, I tried every combination of all those commands and it's the same every time: civilians go into 'scared' mode and never recover :(
  21. Makes no difference, still crouching :( Hmm, still crouching and now he doesn't even move anymore.
  22. Hi, I would like to build a co-op mission where players have a map, but no GPS. What I mean by that is: they can look at the map (with M) but they cannot see their exact position (they'll have to figure it out by landmarks). I thought this was possible and I have seen video's where people are playing without GPS, but I cannot figure out how to do this. Even if I go into a regular mission and look at my inventory I cannot see any GPS. I can remove my map, but then I cannot see the map at all (with the message that it cannot connect to GPS), but I can't seem to play with a map but without GPS. Is it possible?
  23. NickThissen

    Play without GPS, but with map?

    Yes, isn't that what the gps is supposed to do? If not, what's the purpose of the gps? I can't find any difference whether I use it or not. Will try thanks.
  24. NickThissen

    Play without GPS, but with map?

    Well no, it didn't. I got no blue dot with higher difficulty, but still no dot even when I picked up a gps item. Do I need to enable it or something? I put it in the GPS slot on the bottom of the inventory, pretty sure that's right?
  25. NickThissen

    Play without GPS, but with map?

    I did some attempts but still haven't got it. On regular difficulty it does not matter if I have a GPS or not, I always see the blue dot at my own position, updated in real-time. On Veteran difficulty (one up) it also does not matter, because I NEVER see the blue dot, even with GPS equipped... What am I missing here?
×