Jump to content

Floof

Member
  • Content Count

    23
  • Joined

  • Last visited

  • Medals

Community Reputation

57 Excellent

2 Followers

About Floof

  • Rank
    Private First Class

Profile Information

  • Gender
    Male
  • Location
    Finland
  • Interests
    Yes

Contact Methods

  • Steam url id
    http://steamcommunity.com/id/spodermate

Recent Profile Visitors

1698 profile views
  1. Depends on what you want, if you just want random locations you can use BIS_fnc_randomPos. If i would make this i'd probably make a list of cities/towns and select one randomly, then select a random road to spawn a pick-up point on. Then you can filter different cities based on distance so you can't drive 100m and finish the mission quick. Also if you want to go with the random approach, select a location with randomPos and use getPos to set the drop-off point, this way you can set the min distance between the spawn/drop points.
  2. Sorry for taking a long time to respond. To answer your question i think we should use a global variable for incoming targets. However i have no idea how to seperate them. Say we have 3 C-RAMs in a triangle. How do they know which target to engage? You could store xyz positions of projectiles, but i think this would be slow. My idea was originally to scan for projectiles within range (say theres 5 crams in 1km, they all use the same central point for scanning). This would make the system more realistic by using a central point, a virtual "radar" (even though we have way higher transfer-speeds IRL), this would be great for MILSIMs due to seperate human operated groups, wouldn't work for AI as well. In my opinion it would be great to have radar groups to detect incoming missiles, almost like it works IRL (even tho irl they're more automated (and boring)). If you have other ideas let me know, and since you're clearly interested in this script idea feel free to add me on steam.
  3. Floof

    Infinite Range Artillery

    Don't think there's a way other than making an addon and increasing its range. You could fake it by creating a mortar and firing it, wait a while based on distance and see the round come down. I still don't know if you would hear the mortar fire at extreme ranges, might be worth a shot. You could customize the virtual module to fake a launch at range, i still don't think you'd be able to see/hear it tho. So faking is the only way i see, unless you're willing to make an addon.
  4. Didn't really work on this for a while, came up with a new version that works for now. I think this is how it should've looked like from the start, works better too. Last version was a bunch of ideas mashed into one script that barely worked. I have some free time now so i guess it would be a good idea to just finish this project. Also works with Zeus now, i'll try to get some ideas on how to improve performance with many C-RAMs in one area, maybe add some targeting system so all of them don't shoot at a single target. We'll see. And @kirumy half of the script didn't make sense anyways, better to rewrite it. Chance variable was supposed to be a ~0.001% chance to miss the target, wasn't implemented. Createvehicle for targeting was a bad idea from the start, i still have no idea how to get zeroing to work, suggestions welcome.
  5. This should have all you need.
  6. You can use playSound3D, or something else to play the sound on all units in the vehicle. For example: { _x playSound "kek.ogg"; }forEach crew vehicle player; //Untested There's some other workarounds but playsound3d should work good, unless you need JIP compatibility.
  7. Didn't take a look at ur profile so yeah, can't assume that most of the time here hehe. U could use showCommandingMenu to select a specific menu call, or just find it in the config like this: player setVariable ['BIS_SUPP_request', ['Artillery', _pos]]; That does exactly what the menu does. But if u want to just select the command use showCommandingMenu. Some stuff here.
  8. Find out what the call itself does. Stealth for example could look something like this: { _x setBehaviour "STEALTH"; } forEach units group player; Then just copy it or find the call itself.
  9. All extensions (.dll's etc) need to be approved by battleye for multiplayer usage. Read more here. To whitelist an extension contact battleye here. Include a title & description, and add a download link to up your chances of approval.
  10. Not sure if you are trying to get passengers into a heli or a pilot/gunner. Use moveInDriver/moveInGunner/moveInCommander for pilot/gunner/command, seems like ur plane doesn't have passenger seats. (If it does, then post some more details like planes name etc)
  11. Do you have any mods enabled? Just tested and works fine for disabling/enabling saving. Test on a fresh mission to see if it works.
  12. nObj = nearestObjects[casPos, ["sarheli0","sarheli1","sarheli"]]; casSpawn assignAsCargo nObj select 0; [casSpawn] orderGetIn true; In the future remember that nearestObject returns a single type, doesn't support arrays. nearestObjects returns an array so use that, should work. wiki. Also for future reference its recommended to add a radius to nObj's nearestObjects, so that the engine doesn't have to scan a 15km and lag everyone for no reason if the vehicles are far away.
  13. Everything u need is here. Define roles & respawn inventories in description.ext and you're done. Add to units/sides/groups with this. It's pretty simple. edit: wrong link xd
  14. Was away for a while but FSG_PRAET_OFFSET is used as a detection cone basically, if you fire towards the praetorian and the missile is going towards the praet in a 50 degree radius it will be shot down. This is needed so the praets don't shoot down your own mortars etc. I made a picture so you understand: Updating the script this weekend.
  15. Don't worry it's not dying, just got done fixing the targeting for the moment. I'm still trying to get somewhat accurate target lead & zeroing to work properly. Here's how it looks now: Gonna post an update later this evening. (It's 3 pm here) edit: Script seems to be working pretty good now, if the cram shoots you, you are too close. Apparently the Praetorian engages hostile vehicles. (delete the part that enables auto-targeting if you don't want this)
×