Jump to content

Splicer

Member
  • Content Count

    198
  • Joined

  • Last visited

  • Medals

Everything posted by Splicer

  1. Hi all, I have been able to use a script to assess what objects in a certain area are houses and combined it with another script to select a random house to place units in it. The problem is -as you may already know- that some houses have no doors that can actually open and some times units are place in such houses. Is there a way to find out & select only houses where one can actually enter? I found this thread (http://forums.bistudio.com/showthread.php?t=90870), but no solution was given. Any ideas/pointers will be deeply appreciated. Thanks much in advance! Best, Splicer.
  2. Hi Morts, By items, do you mean empty, inanimated objects/vehicles? ArmA2 does have a limit on how many AI groups you can have (up to 144 if memory serves). I have placed lots and lots of objects on mi mission and they all show up (e.g., cars, empty trucks, motorcyles, bikes, etc.). Best, Splicer.
  3. Hi Draper, Got swamped last week and haven't touched ArmA2 for almost 10 days! (What a sin!). :D I'll send you later in the week the script off line so you can take a look a it. Best, Splicer.
  4. Put this in the init field of your AI unit (the leader, that is): nul=[this,"town", "move","reinforcement:",1, "delete:",600] execVM "scripts\upsmon.sqf"; All you have to do is change "move" to "NOMOVE" or "FORTIFY" And the "town" parameter is the actual name of the marker you created that want the patrol to belong to and patrol around. I hope this helps. Good luck! Best, Splicer.
  5. Good. At least you know what is going on. :D Have fun! Best, Splicer.
  6. Hi Draper, I'm back. Busy week and didn't get the chance to stop by earlier. In any case, I successfully wrote a script that dynamically creates several markers and waypoints between ASpad and a selected target. What I found was that I can now place ASpad all the way to the upper left corner of the map (yes, that far) and I can get a chopper to go all the way to the bottom right of the Chernarus island (not the whole map). So here's the bizarre finding. If I place ASpad way South on the map the chopper does fly straight UNTIL it reaches latitude 150. Then the chopper just tops and hovers. It's like if there is an invisible barrier right there! If I place ASpad just a bit north (e.g., latitude 145) then the chopper can go anywhere I want, even all the way up to the upper left corner of the map! But to achieve this there must be around 6 waypoints between ASpad and the target, otherwise the chopper (again for no reason) stops moving and hovers. I don't know if this will be useful to you, but for the missions I'm planning this info is key to know where to place ASpad on the map assuring that airplanes and choppers can reach target destination. Feel free to drop me a PM to follow up on this off line if you're interested. Thanks again for such a great script Draper! Best, Splicer.
  7. Hi zombo, OK, first of, variables starting with underscore are to be used only in scripts. So, instead in this should be in the team leader init: null=[this, markername] execvm "marker.sqf"; Note that you are expected to enter with the RTE a marker on the map that must be called "markername" (without the quotation marks, that is). So this is sending the variable "this" (which is the name of your leader) and "markername" (which is the name of the marker you placed on the map) to the script called marker.sqf And in the script the name of the leader is assigned to the variable _unit and the name of the marker is assigned to the variable _marker I hope you are able to follow how the rest of the script and the variables are handled. :D I hope this helps. Good Luck! Splicer.
  8. Hi there, In order to create several markers in a script using a while-do loop I need to figure out how to concatenate text with numbers. Example: _i = 0 _i = _i +1 markername + _i the last line to give the text string: markername1 And then when the loop goes another round then a text string: markername2 And so on... So how can one merge text characters with numbers in a loop? Thanks for all you help in advance. Best, Splicer.
  9. Thank you so much guys!!!! :notworthy: Best, Splicer.
  10. OK. Super Bow is over (don't know if you're celebrating because NO won or the Colts lost). In any case, have a few beers, enjoy the rest of the night, and post your breakthroughs soon. :D Best, Splicer.
  11. Hi everybody, I'm writing a script where I want to create automatically several waypoints between 2 points. Now, for some reason when I enter the following line in the script ArmA2 crashes: #waypoints This is just the label I need to use for a goto loop. And the message I get in the arma2.RPT file is: error 7. Could anybody tell me why this is happening and how to fix it/get around it? Thanks much in advance. Best, Splicer.
  12. Just did Master Sergeant! :D Good game... Colts lost and New Orleans won... I'll have to be careful tomorrow when I go out not to mention I was rooting half way for New Orleans too! :D Catch you later Myke! Best, Splicer.
  13. It's working now. THANKS! Splicer.
  14. THANK YOU SO MUCH MYKE!!!!!!!! My best, Splicer.
  15. Hi Monsada, GREAT! But the website says that the file is temporarily unavailable... Splicer.
  16. Splicer

    NUKE E.W. Campaign

    Hi, lucilk has already a script for a nuke: http://forums.bistudio.com/showthread.php?t=88810 I hope this helps. Best, Splicer.
  17. Ouch! I hate it when it happens. My video card went bad and a replacement should arrive today any time now... I can hardly wait... This game is ADDICTIVE AND LOTS OF FUN! :D Best, Splicer.
  18. HI victim913, You certainly have several goals in mind. Forgive me, but it is not clear (to me) what exactly you want to achieve. If you are new to scripting (I consider myself a noob) I highly recommend Taurus' Basic SQF-Scripting guide (http://forums.bistudio.com/showthread.php?t=94015). It's well written, good examples and explanations, and a good starting point to get your feet wet. To create a .sqf file, you can either (1) take one already made and open it in Notepad and write code in it, or (2) create a new with with Notepad just making sure that the file is saves with an sqf extension name and not the default .txt About spawning... you can use the RTEditor to place a marker on a map to use the marker's coordinates to spawn units. This makes things a bit easier since you can then move the marker and the software will always determine the new marker's coordinates on the map. There are several ways to get a script to work, some more complicated than others, so I still highly recommend to read Taurus' guide. It's a VERY good starting point. I hope this helps. Good luck! Splicer.
  19. Thank you! You da man!!! :notworthy: Splicer.
  20. Taurus, The new version is excellent! Great details and nice examples. Keep up the good work! THANKS! Best, Splicer.
  21. Thank YOU Meatball0311. Take care and be safe marine! Best, Splicer.
  22. Splicer

    AI to move on LHD

    Take a look at USPMON (http://forums.bistudio.com/showthread.php?t=91696). This is an excellent patrol script. You can create markers and have AIs patrol WITHIN the marker. I haven't tried this, but perhaps you can make/set a marker ON the LHD and have AIs to patrol/walk on the LHD. Just a thought... Good luck! Best, Splicer.
  23. Yes! Please! Pretty Please! PORFIS!!! :D Splicer.
  24. Hi Arkon2, Yep, I'll try the new version. I'd like to see how things work with the latest tweaks. I'm under the weather with a nasty cold... perhaps a massive dosage of ArmA2 can kill the virus! :D And about the translation... U R My best, -Splicer.
×