Arma 3 Editing - Enemy Occupation Script

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 มิ.ย. 2024
  • This video will show you how to use the Enemy Occupation System by Bangabob. The script allows you to set the type of unit you want to spawn, where and how far from players you want them to spawn. It also de-spawns units when you are outside the distance you set in the script. Manages AI load on the server really well.
    EOS Download:
    forums.bohemia.net/forums/top...
    Init.sqf code: [] execVM "eos\OpenMe.sqf";
    This video is quite a bit longer than I usually make as it's a bit more complex. If you learned something useful, please like and sub, it really helps me out.
    Catch up with me on Discord: invite.gg/ocb
  • เกม

ความคิดเห็น • 34

  • @rickspencer6343
    @rickspencer6343 2 ปีที่แล้ว +7

    Wow. I just learned more about scripting in a few minutes than I have in hours of reading. You are a very good teacher. Thanks for taking the time to make this video.

  • @NormanNeal2tim215
    @NormanNeal2tim215 3 หลายเดือนก่อน +1

    Great resource and you are excellent teacher

  • @noblenobleson9527
    @noblenobleson9527 ปีที่แล้ว +1

    Thanks for the video mate, really helped. I haven't touched EOS in over 3 years and now I got it all working again. Cheers !!

    • @OnlineCombatBN
      @OnlineCombatBN  ปีที่แล้ว +1

      Glad it helped. EOS can be a bit of pain to configure with the units you want to use, but once you get your head around it, it's not too bad. I have several different folders containing different units from various mods. If I need a particular enemy AI, I just drop that folder into the mission folder. Saves a lot of time.

    • @haloguylover
      @haloguylover ปีที่แล้ว

      @@OnlineCombatBN if you stay in the zone will enemies continue to spawn or would they have to clear it then walk back in?

    • @OnlineCombatBN
      @OnlineCombatBN  ปีที่แล้ว

      @@haloguylover depends on the settings in the EOS script. They can either recapture areas, or once the area is cleared they no longer spawn.

    • @haloguylover
      @haloguylover ปีที่แล้ว

      @@OnlineCombatBN so without changing those setting it should just keep respawning enemies?

  • @stalex801
    @stalex801 ปีที่แล้ว +1

    fantastic video, helped me out a ton, glad you tabbed and organized it, how I do things too.

  • @pabsc1407
    @pabsc1407 ปีที่แล้ว +2

    YOU'RE AMAZINGGGG, This helped me a bunch!! Thank you

  • @ilikeroblox8696
    @ilikeroblox8696 2 ปีที่แล้ว +3

    Awesome video, helped me alot!

  • @tyl3r992
    @tyl3r992 2 ปีที่แล้ว +1

    Subbed!!

  • @DiscreetStreetVoyager
    @DiscreetStreetVoyager 5 หลายเดือนก่อน +1

    i'm needing some help here. i was just busy going through the entire thing, multiple times, and i think i'm doing everything correctly, i'm going through what's on his screen and what's on mine and it all checks out so far. can't see a difference honestly except for the unit pool... the init.sqf has been done as it should have exactly.... i place the area marker and give it a unique name as well as the GL with the variable name. but when i spawn in to test it they just don't spawn, the area marker doesn't disappear (i set the markertype to 1) i just ain't gettin no joy out of it..... please help?
    also, idk if you are offline @OnlineCombatBN or not haha, but i tried to join the discord to be a little bit more formal and it's says the invite is invalid. i like your videos btw, you explain everything so well that a dumb guy (like me) can understand and learn perfectly well. thanks alot, all i know of my Arma 3 mission making is literally because of you and your channel. and that's not an exaggeration

    • @OnlineCombatBN
      @OnlineCombatBN  5 หลายเดือนก่อน +1

      First obvious thing I can think of, have you placed a game logic with a variable name of 'server' in the editor?

    • @XRyanC179X
      @XRyanC179X 2 หลายเดือนก่อน

      ​@OnlineCombatBN I was going to suggest this 😅
      I've managed to get everything working great! One thing I'm looking to add, though, not sure if you could offer any insite.
      I'm looking to add an additional layer to my EOS. More specifically, I want to add randomly animated AI units.
      Any suggestions?

  • @LuizBarros99
    @LuizBarros99 2 ปีที่แล้ว

    Hey, at end of the BI Forum Thread for the EOS script I found someone making available a "version 2.01a" of the EOS script. Would you happen to know if this version is any better than the version 1.98? (Or possibly worse than the "original" version)

  • @SFish-wr4kh
    @SFish-wr4kh 2 ปีที่แล้ว +1

    The despawn thing gives me pause -- seems like savvy players (or even just ones used to maneuvering aggressively) may make the enemy units pop in and out of existence and ruin the immersion. Is there an option to force units to remain spawned in during combat, even if the players exit the zone? Or is this not something you've had issues with?

    • @OnlineCombatBN
      @OnlineCombatBN  2 ปีที่แล้ว

      You can adjust the size of the zones to be larger, which means the AI will spawn and despawn at a greater distance from players to keep the immersion.

  • @jacobfr4743
    @jacobfr4743 ปีที่แล้ว

    thanks for the vid, though i want the option to have the AI respawn again after leaving and coming back to marker even if they got killed previously, this is for the purpose of creating a survivor mod

  • @XRyanC179X
    @XRyanC179X 2 หลายเดือนก่อน

    Hey i can see its been awhile since you posted this vid but im hoping you can help!
    In my arma 3 mission, I am using the EOS script. When I go upstairs in a building, the EOS zone is deactivates and despawns the enemies, but when i go back downstairs, it comes back on, any idea what could be causing this?
    My mission is on CUP's takistan if it helps

    • @OnlineCombatBN
      @OnlineCombatBN  2 หลายเดือนก่อน +1

      In the script you can adjust the activation height. I'll have to check this soon and let you know where to edit it.

    • @XRyanC179X
      @XRyanC179X 2 หลายเดือนก่อน +1

      @OnlineCombatBN ah I'd really appreciate it if you could mate! It's been driving me nuts haha was almost gonna scrap everything and switch over to Alive. Haha, I managed to integrate S vest script with COS with the help of that ChatGBT and an old template i found online to go off, was made up with myself 😂

    • @OnlineCombatBN
      @OnlineCombatBN  หลายเดือนก่อน

      If you see this line in your script:
      null = [["east11"],[1,0,0],[2,2,100],[0,0,0],[0,50],[0,50],[0,0,0],[0,1,200,EAST,false,false]] call EOS_Spawn;
      Pay attention to the second last 'false'. That needs to be false for any height limit to be ignored.

  • @ejomatic
    @ejomatic ปีที่แล้ว

    Hey man Im trying to get boats to spawn with troops in them but cant what might I be doing wrong?

    • @OnlineCombatBN
      @OnlineCombatBN  ปีที่แล้ว

      Not using the EOS system to do this are you? Because I'm pretty sure EOS won't put troops in boats unless you set it up in the script.

  • @Blitzkrieg1605
    @Blitzkrieg1605 11 หลายเดือนก่อน

    How is the squad leader determined? Is there any way to have the same unit class as squad leader in all the spawned squads? Can you have a general squad composition? I ended up with a squad made up of mostly AA infantry, plus other oddities. The squad composition seems pure RNG.

    • @OnlineCombatBN
      @OnlineCombatBN  11 หลายเดือนก่อน

      Check the unitpools.sqf file. You can edit the class names there to compose the troops you want to spawn.

    • @Blitzkrieg1605
      @Blitzkrieg1605 11 หลายเดือนก่อน

      @@OnlineCombatBN I did that. Let's say for example I take part of the code from the first default CSAT faction (faction 0) to create a different CSAT faction.
      "O_SoldierU_SL_F", "O_soldierU_repair_F", "O_soldierU_medic_F", "O_sniper_F", "O_Soldier_A_F"
      I got 5 infantry types. Let's say I will set the squad size to 3 (8-12 soldiers per squad). In theory, it is possible to end up with a squad made of 8 medics and 4 snipers for example. And I don't want such weird squad compositions to spawn in.
      Is there any way to choose the class that occupies the squad leader role? And to limit the number of certain classes per squad? Let's say for example I want the spawned squads to have one (not several) "O_SoldierU_SL_F" as squad leader.
      Then I want the squads to have a maximum of 1 of each "O_soldierU_repair_F", "O_soldierU_medic_F", "O_sniper_F". These units should have RNG if they spawn or not in a squad, but never be more than 1 of each type per squad.
      And finally "O_Soldier_A_F" should have an unlimited number of spawns per squad in order to fill up to the required 8-12 soldiers.
      Is what I'm describing here possible using this script?

  • @jamesrose-ge2sh
    @jamesrose-ge2sh ปีที่แล้ว

    I can’t get this to work for the life of me. I followed every move, letter, word, you did to the dot. Spent the last 3 hours doing it over and over again triple checking and it will not work for me :(

    • @OnlineCombatBN
      @OnlineCombatBN  ปีที่แล้ว

      Is it correct in your init.sqf ?

    • @jamesrose-ge2sh
      @jamesrose-ge2sh ปีที่แล้ว

      @@OnlineCombatBN yes. Is there anyway I can private message? Discord perhaps? Your other videos have helped a lot I’d like to just get this one figured out lol

    • @OnlineCombatBN
      @OnlineCombatBN  ปีที่แล้ว

      @James Rose invite.gg/ocb
      Keep in mind the time difference. I think you're on the other side of the planet, so just message me there and I'll get to it.

    • @jamesrose-ge2sh
      @jamesrose-ge2sh ปีที่แล้ว

      @@OnlineCombatBN Not a problem! I understand no rush. Thank you