Jump to content

Zlin

Members
  • Posts

    70
  • Joined

  • Last visited

Everything posted by Zlin

  1. @Speed Could you please explain in a little bit more detail how the slmod.units_LOS function works please. Specifically, how does the altoffset1 and altoffset2 work. I have a JTAC that is at ALT 2175. There are two enemy units that he is assigned to (FAC ASSIGN GROUP), one of which is at ALT 2119 and the other at ALT 2156. When using the LOS function, I keep getting a FALSE result. What values do I need to use to get the LOS to work correctly? I am assuming that my issue is with the altoffset values. I have gone as far to put the JTAC and the two enemy units within about 50m of each other, in plain view, and I'm still getting LOS FALSE results. Thanks in advance for your assistance. Z
  2. Ok, I found the function call in the events.lua file report(_("%s took off from %s."), player_info(id), dtranslate("missioneditor", airdrome)) So, being a newbie and all to the whole lua thing.... I guess it not as easy as just somehow copying this into an advanced waypoint... run script box and use it to set a flag????? Something to the effect of.. on_takeoff(id, airdrome) set flag 1 true (I know that's not actual .lua scripting... just trying to express a thought in layman's terms) What I find interesting is that there is a trigger rule for "ON EJECT" and "ON CRASH", which are also listed in the events.lua file. It seems like maybe there is already some link to the events.lua occurring as far as triggers goes?
  3. Got it. Thanks Speed.
  4. When you take off and land, the game sends a message to the screen... (Player) took off from (base), (Player) landed at (base) Is there any way to hook in to that message and use it as a trigger? Can you set up a trigger rule that can set a flag upon takeoff or landing by using the same trigger that the game already uses to display those automated messages? So far, I have used the method of checking if a unit speed is < 1 and altitude is less < 10 It would be nice just to be able to use a script that is of the same type that the game is already using to display that message. Is this already available? Tks Z
  5. @Speed, I looked at your slmod but could you please advise on what variable I set to output the events to a file??? Thanks again. Sorry to bother you with this. I did look at your guide and your other posts but cannot figure it out.
  6. Got it working. Thanks everyone for your help. Z
  7. Thanks everyone for your replies. I will try the suggested methods as soon as I get home. :)
  8. Need some help please... I would like to set up a rule to check to see if Enemy unit X is still alive every 60 seconds and if the Enemy unit X is still alive, then perform this action (send message, play sound, etc) Ex: I have a friendly unit on a roadway, stopped. The friendly unit is being fired upon by an Enemy unit. I would like a message sent to (coalition) (something like, "I'm still taking fire") I would like this to repeat every 60 seconds until the Enemy unit is dead. I'm thinking I can use a CONTINUOUS ACTION rule to check if the Enemy Unit DEAD but how do I get it to repeat every XX seconds until dead? If I initially set a FLAG, then I understand I can check the TIME SINCE FLAG, but how do I get it to keep checking every, say, 60 seconds? Any help is greatly appreciated. Thanks in advance. Z
  9. @Moa, Nice... thanks for the link. That's the kind of thing I was looking for.
  10. Excellent! Thanks Speed.
  11. Speed, do you know if the larger virtual squadrons use any type of mod to track mission stats during multiplayer missions? Is there any way to capture each pilots events (kills, losses, flight time) for each multiplayer mission, and then save that data so it can be used for statistics? Do you know how the larger virtual squardons keep track of their pilots in order to award rank or rep? Thanks in advance for your help. Z
  12. Thanks for the replies. I have more mission ideas than I have knowledge on how to implement them. :)
  13. Hey everyone. I just had a few questions about multi-player missions. Q. I have created mission goals and assigned score values to them but it seems that the scoring system is not accurate. One pilot seems to get a higher score for destroying targets than what I have even assigned in the mission. Ex: I have 3 targets, each worth 10 points, yet one pilot has a score of over 200 pts. Why is that happening? Q. Is there any way to show a mission debriefing at the end of the mission. I have tried using a trigger to trigger and "END MISSION" condition, but the debrief screen does not show up. Q. For each mission/pilot, does the game itself store any type of log for each pilot in a file that could be extracted or viewed somehow? Thanks in advance for any response. I think DSC/ED has done a fantastic job with A-10c Warthog and hope they continue to develop future releases.
×
×
  • Create New...