Jump to content
HollowAddiction

[Release] Custom WAI Mission - Bunny Ranch!

Recommended Posts

Hollow's

S1SakJ4.png

www.CraftDoge.com

 

On my server The missions range from expert to insane, so i wanted to make a mission that's lightweight and just fun.

Thus The Bunny Ranch was born ^^

 

Mission spawns a whorehouse and several roaming prostitutes. The theme is the ranch owner has been beating his girls again and its up to you to teach him a lesson, He is armed with a golden AK and two bodyguards.

in the building is a large "safe" filled with currency items for my server so you might want to edit to fit yours.

Also this will have a custom map marker.

 

You will already need to have WAI installed on your server

you can find it here:

 

 

INSTALL:

 

Download BunnyRanch.zip here: [Download]

 

Open your dayz_server.pbo

 

open the folder "WAI"

 

open the file AIconfig.sqf and below this

/// 4 ///
ai_gear4 = [
["ItemBandage","ItemBandage","ItemPainkiller"],
["ItemKnife","ItemRadio","ItemFlashlight"]
];

add this

/// 5 ///
ai_gear5 = [
["ItemBandage","ItemBandage","ItemPainkiller"],
["ItemKnife","ItemRadio","ItemFlashlight"]
];

/// 6 ///
ai_gear6 = [];
and below this
/// 4 ///
ai_wep4 = [
["RPK_74","75Rnd_545x39_RPK"], 
["MK_48_DZ","100Rnd_762x51_M240"], 
["M249_DZ","200Rnd_556x45_M249"], 
["Pecheneg_DZ","100Rnd_762x54_PK"], 
["M240_DZ","100Rnd_762x51_M240"]
];

add this

/// 5 ///
ai_wep5 = [
["AKS_GOLD","30Rnd_762x39_AK47"]
];

/// 6 ///
ai_wep6 = [];

open up your missionini.sqf

found at WAI\missions\missionini.sqf

 

and below this

Small_Gun_Box = compile preprocessFileLineNumbers "\z\addons\dayz_server\WAI\missions\compile\SmallGunBox.sqf";

Add this

Bunny_Safe = compile preprocessFileLineNumbers "\z\addons\dayz_server\WAI\missions\compile\Bunny_Safe.sqf";

in the same folder open your missionCfg.sqf

and add this

"Bunny_Ranch"

to your missions list, remember each mission should be separated with a , except the last one.

 

Next open your SpawnGroup.sqf

can be found at WAI\compile\SpawnGroup.sqf

 

Below this

case 4 : {_aiweapon = ai_wep4;};

add this

case 5 : {_aiweapon = ai_wep5;};

and below this

case 4 : {_aigear = ai_gear4;};

add this 

case 5 : {_aigear = ai_gear5;};

Finally open the BunnyRanch.zip you downloaded and move 

markers2.sqf & Bunny_Safe.sqf

       to

WAI\missions\compile

 

and move Bunny_Ranch.sqf

to

WAI\missions\missions

 

repack your pbo, and upload.

Enjoy!

 

Credits: This is a rewrite of the Mayor's Mansion Mission, created by williamjbrown

Credit to Matt L for help

Share this post


Link to post
Share on other sites

Thx dude,

i wwill test it but right before i v got a question if i can.

I have more AI_gear settled ( 19 so far)

I wonder if i can edit your:

[[_position select 0, _position select 1, 0],2,1,6,0,"","RU_Hooker2","6",true] call spawn_group; 

in the bunny ranch sqf like this:

[[_position select 0, _position select 1, 0],2,1,6,0,"","RU_Hooker2","21",true] call spawn_group;

Is this 21 is supposed to be your ai_gear6?

Or is it the first 6 to modify?

Share this post


Link to post
Share on other sites

Thx dude,

i wwill test it but right before i v got a question if i can.

I have more AI_gear settled ( 19 so far)

I wonder if i can edit your:

[[_position select 0, _position select 1, 0],2,1,6,0,"","RU_Hooker2","6",true] call spawn_group; 

in the bunny ranch sqf like this:

[[_position select 0, _position select 1, 0],2,1,6,0,"","RU_Hooker2","21",true] call spawn_group;

Is this 21 is supposed to be your ai_gear6?

Or is it the first 6 to modify?

Correct, ill break it down for others as well who might run into this.

 

So you have:
[[_position select 0, _position select 1, 0],2,1,6,0,"","RU_Hooker2","6",true] call spawn_group; 

here is what you may want to configure:

 

the 2= Number of A.I.

the 1= Skill level of the A.I.

the 6= Weaponset

the 0= Number of Mags the A.I. spawns with

the ""= the backpack used

the "RU_Hooker2"= the skin obviously

the "6"= the gearset

 

Hope this helps

Share this post


Link to post
Share on other sites

I may be wrong, but didn't you forget to add

 

case 6 : {_aigear = ai_gear6;};

case 6 : {_aiweapon = ai_wep6;};

 

And wouldn't the new gear and weapon loadouts has to be added also here in the spawn_group.sqf?

 

for "_x" from 1 to _unitnumber do {
            switch (_gun) do {
                    case 0 : {_aiweapon = ai_wep0;};
                    case 1 : {_aiweapon = ai_wep1;};
                    case 2 : {_aiweapon = ai_wep2;};
                    case 3 : {_aiweapon = ai_wep3;};
                    case 4 : {_aiweapon = ai_wep4;};
                    case "Random" : {_aiweapon = ai_wep_random call BIS_fnc_selectRandom;};
            };
            _weaponandmag = _aiweapon call BIS_fnc_selectRandom;
            _weapon = _weaponandmag select 0;
            _magazine = _weaponandmag select 1;
                    switch (_gear) do {
                    case 0 : {_aigear = ai_gear0;};
                    case 1 : {_aigear = ai_gear1;};
                    case 2 : {_aigear = ai_gear2;};
                    case 3 : {_aigear = ai_gear3;};
                    case 4 : {_aigear = ai_gear4;};
                    case "Random" : {_aigear = ai_gear_random call BIS_fnc_selectRandom;};

Share this post


Link to post
Share on other sites

My rpt spams this when bunny ranch starts now:
 

17:55:48   Error position: <_ret
>
17:55:48   Error Undefined variable in expression: _ret
17:55:48 File z\addons\dayz_code\compile\BIS_fnc\fn_selectRandom.sqf, line 23
17:55:48 Error in expression <on call BIS_fnc_selectRandom;
_weapon = _weaponandmag select 0;
_magazine = _wea>
17:55:48   Error position: <_weaponandmag select 0;
_magazine = _wea>
17:55:48   Error Undefined variable in expression: _weaponandmag
17:55:48 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 39

The mission seems to be working fine though 

Share this post


Link to post
Share on other sites

 

My rpt spams this when bunny ranch starts now:

 

17:55:48   Error position: <_ret
>
17:55:48   Error Undefined variable in expression: _ret
17:55:48 File z\addons\dayz_code\compile\BIS_fnc\fn_selectRandom.sqf, line 23
17:55:48 Error in expression <on call BIS_fnc_selectRandom;
_weapon = _weaponandmag select 0;
_magazine = _wea>
17:55:48   Error position: <_weaponandmag select 0;
_magazine = _wea>
17:55:48   Error Undefined variable in expression: _weaponandmag
17:55:48 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 39

The mission seems to be working fine though 

 

Thats caused by arma2 update 112555, it doesnt effect the server but it spams your report, as epoch 1.0.5 wont work with 112555 i suggest downgrading to 103718

Share this post


Link to post
Share on other sites

I may be wrong, but didn't you forget to add

 

case 6 : {_aigear = ai_gear6;};

case 6 : {_aiweapon = ai_wep6;};

 

And wouldn't the new gear and weapon loadouts has to be added also here in the spawn_group.sqf?

 

for "_x" from 1 to _unitnumber do {

            switch (_gun) do {

                    case 0 : {_aiweapon = ai_wep0;};

                    case 1 : {_aiweapon = ai_wep1;};

                    case 2 : {_aiweapon = ai_wep2;};

                    case 3 : {_aiweapon = ai_wep3;};

                    case 4 : {_aiweapon = ai_wep4;};

                    case "Random" : {_aiweapon = ai_wep_random call BIS_fnc_selectRandom;};

            };

            _weaponandmag = _aiweapon call BIS_fnc_selectRandom;

            _weapon = _weaponandmag select 0;

            _magazine = _weaponandmag select 1;

                    switch (_gear) do {

                    case 0 : {_aigear = ai_gear0;};

                    case 1 : {_aigear = ai_gear1;};

                    case 2 : {_aigear = ai_gear2;};

                    case 3 : {_aigear = ai_gear3;};

                    case 4 : {_aigear = ai_gear4;};

                    case "Random" : {_aigear = ai_gear_random call BIS_fnc_selectRandom;};

no

Share this post


Link to post
Share on other sites

Will this work in Napf, I tried it in Taviana. the only problem in that on, a lot of times it spawns on the side of the large mountains. still doable

it would in theory, but the spawn locations are for chernarus, so you would need to select new ones to fit for napf

Share this post


Link to post
Share on other sites

it would in theory, but the spawn locations are for chernarus, so you would need to select new ones to fit for napf

 

Where are the spawn locations located... in what file? 

 

Doesn't this line pick a random safe position?

_position = [getMarkerPos "center",0,5500,10,0,2000,0] call BIS_fnc_findSafePos;

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Similar Content

    • By Vladick
      BSBS Server IP: 216.244.93.103:7802
      Website: https://bsbsepoch.000webhostapp.com/
      Discord: https://discord.gg/PVn8PvG
      Server Features:
      PvPvE Database wiped 1/5/18 ESS V3 spawn selection Coins and Global Banking WAI missions and Roaming DZAI Bandits Customized map additions Skalisky Bridge Skalisky Island Bandit Camp with high loot (fun mission!) Garage Door Opener Virtual Garage Deploy bike Refuel, Repair, Rearm Take clothes Bury Body Butcher Body Locate vehicle with keys and GPS One plot poll per player Indestructible bases Trader Safe Zones Day/Night Schedule 4-hour restarts
    • By Adam1911
      We are We are pleased to announce the launch of our arma 2 Overpoch DayZ server, we are a PvE with a PvP aspect, What we mean by this is our server supports both play styles we have a zone on our map that you are allowed to base raid and kill others as you would find on a normal pvp server. Doing this we have been growing a community and getting a foot hold in the arma 2 community, we also welcome all Suggestions you can do this by joining our discord or our website (Website Offline for now) 
      We can offer you a unique experience while playing on our servers with great peoples, Fair adult and mature staff.
      Experienced staff with experience and successful servers from Arma 2 to Arma 3, Enjoyable game experience with a lot to do. We will enforce the rules as strongly as we can to get rid of any peoples trying to break this great experience for us.
       
      Features: 
      Full Day / Night cycle (No Voting) Time Acceleration.  Build Limit is based on your humanity, the higher your humanity the more objects you can build.   Indestructible Bases with in the PvE Zone Only. Custom AI Missions. Custom Loot. Realistic Towing. Slow Zombies (still a threat and more of them.) Self Blood Bag. Air drops. Snap Building. Coin System.  Repair/Fuel Services. Deploy Bike. Bury Body. Take Clothes. Locate Vehicle. TAB Menu. Custom Traders for 10k / 50k / 100k / 500k humanity Change / Custom door codes. and much more
        Website: Website
      Discord: https://discord.gg/zubtHR9
      Server: overpoch.thewalkingzuk.co.uk
    • By Ghostrider-GRG
      Originally concieved by Blckeagls and supported here with permission
      Completely rewritten  to remove bugs and add functionallity.
       
       
      Current Version: Version 6.92
      Current Build: 180
      Description.
      Built-in support for Epoch or Exile.
      Updated: Built in Headless client support.
      New: includes tools to export missions from A3EDEN Editor - minimal editing/scripting required to generate new missions once the design is completed in the editr.
      A complete static and dynamic mission system rolled into one.
       
      AI infantry will aggressively pursue attackers, flank, use cover, and communicate with aircraft and ground vehicles.
      Supports missions on land and underwater.
      Includes hostage and arrest enemy leader style missions as well as conventional capture the crate missions.
      Missions can have infantry, static weapons, armed vehicle patrols and aircraft defending the area.
      Built in support for militarized missions with tanks and attack helis or jets if you wish.
      AI loadouts can be defined by arrays or based on items in CfgPricing (Epoch) or the Arsenal (Exile)
      Supports spawning of static AI infantry, vehicles, aircraft, surface vessels, static emplaced weapons and subs with scuba divers.
      Includes tools forspawning map addons exported using M3EDEN editor plugin.
      Includes tools for spawning static loot crates which can be randomized at each area, be spawned with a smoking wreck nearby to create that post-appocolyptic feels, and have randomized .oot.
      To download go to: https://github.com/Ghostrider-DbD-/blckeagles-revisited-RC
      For installation see: https://github.com/Ghostrider-DbD-/blckeagles-revisited-RC/blob/master/INSTALLATION.txt
      For a complete changelog see: https://github.com/Ghostrider-DbD-/blckeagles-revisited-RC/blob/master/changeLog.sqf
      V 6.90  Build 175
      Changes Include:
      1. Added new settings to specify the number of crew per vehhicle to blck_config.sqf and blck_config_mil.sqf
       
          // global settings for this parameters
          // Determine the number of crew plus driver per vehicle; excess crew are ignored.
          // This can be a value or array of [_min, _max];
          blck_vehCrew_blue = 3;
          blck_vehCrew_red = 3;
          blck_vehCrew_green = 3;
          blck_vehCrew_orange = 3;
          You can also define this value in missions by adding the following variable definition to the mission template:
          _vehicleCrewCount = [3,6]; // min/max number of AI to load including driver. see the missions\blue\template.sqf and blck_configs.sqf for more info.
      2.  Lists of items to be excluded from dynamically generated loadouts has been moved to:
          blck_config.sqf
          blck_config_mil.sqf
      3. Added a new setting that specifies whether logging of blacklisted items is done (handy for debugging)
          blck_logBlacklistedItems = true;  // set to false to disable logging
      4. Hit and Killed event handlers extensively reworked. Methods for notification of nearby AI and Vehicles of the killers whereabouts were revised to be more inclusive of neighboring AI.
      5. Issues with AIHit events fixed; AI now deploy smoke and heal.
      6. Removed some unnecessary logging.
      7. Other minor coding fixes and optimizations.
      Credits:
          Epoch Mod developer team, and in particular AWOL whose code has provided many lessons in scripting.
        blckeagls - Original developer of mission system 2.0.2   Narines - bug fixes and improvements.   Bill (DBD Clan) example compositions.   cyncrwler for help with troubleshooting and testing   Brian Soanes for helpful changes and performance tweaks.   Grahame for many rounds of testing, feedback and suggestions regarding features.   zxbutchxz for extensive testing of AI behavior. MGTDB for the fix for an issue with interacting with captives/targets on Exile servers. * Additional Credits include authors of other missions systems and scripts who's work influenced this release:
         Halve and He-Man.     Face (A3EAI)     KiloSwiss (SEM)     Hogscrapper (HC missions for A3)     the Vampire (DZMS and VEMF)     The FUCHS (EMS)     lazylink (early A2 Epoch mission system)     Matt11 (Wicked AI) Updates: License
      This Mission System is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License.
      http://creativecommons.org/licenses/by-nc-sa/4.0/
       
       

       
    • By heiko33
      Downlod        
      https://ln.sync.com/dl/043e1b3c0/wkrywtzv-idjkp722-wzfqg9g6-53b7xfyj
       
       
       
    • By FG_Trap
      Made a quick static ai mission that spawns on restart. 
      12 ai patrol the compound 
      4 Static m2's
      1 Heli Patrolling the compound 
      Crate for who ever clears all the ai.
      Some screenshots of the compound 


       
      https://github.com/Trapxxgods/Wai-Static-Mission 
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...