Jump to content

Quake Rocks

Zombie Hordes to my server

Recommended Posts

i was wondering if someone knew how to implement zombie horde events on my server? or can give me a how - to link or paste me the code and where what needs to go? im googling around and i cant find nothing, my google fu must suck LOL but i see other servers with random horde announcements

i run CONTAGION: PVE WHITELISTED

 

and some of my player base are requesting it but i just cant find it

 

any and all help is greatly appreciated, im not really a game modder, just a server administrator/linux guy

 

i have the weapon redux pack installed but thats it for now since im not seeing any keys on the steam workshop for the others and would like to keep verify signatures on

 

other stuff ive cut in myself like black ravens kill messages and kill logger, but kept the thrist and hunger aspect of the game, just slightly modified, also got the older air drops mod but i see theres a new one now

Share this post


Link to post
Share on other sites

Github is a solid resource for DayZ modding and custom scripts.  I can't vouch for the module(s) in Da0ne's repo, but I've seen plenty of folks reference it for various functionality.  Below is a link directly to what appears to be their 'InfectedHorde' event implementation. 

 

https://github.cm/Da0ne/DZMods/blob/master/mpmissions/DayZSurvival.chernarusplus/ScriptedMods/Modules/ServerEvents/InfectedHordes.c

Share this post


Link to post
Share on other sites
  On 11/17/2018 at 4:36 PM, Daveguy said:

Github is a solid resource for DayZ modding and custom scripts.  I can't vouch for the module(s) in Da0ne's repo, but I've seen plenty of folks reference it for various functionality.  Below is a link directly to what appears to be their 'InfectedHorde' event implementation. 

 

https://github.cm/Da0ne/DZMods/blob/master/mpmissions/DayZSurvival.chernarusplus/ScriptedMods/Modules/ServerEvents/InfectedHordes.c

Server doesnt run with this code. 
error with Bszmb.AttachEventHandle

Share this post


Link to post
Share on other sites

You need the full mission for da0ne scripts to work as is, you can disable the things you don't want 

Share this post


Link to post
Share on other sites

Hi Dudes,

someone told me that i can merge these

  Reveal hidden contents

into my init.c...

  Reveal hidden contents

how does it work.. can someone help me ?

Mfg Burschie

Edited by Burschie

Share this post


Link to post
Share on other sites

download da0nes vanilla++ 0.2 as thats only server side gives you hordes and optional other goodies and keeps your init.c cleaner

also in the horde code you posted you have double data this will cause some of the horde to be see through like ghosts

   {
                    AIzmb.SetObjectMaterial( 0, "DZ\\data\\data\\laser.rvmat" );
                    AIzmb.SetObjectMaterial( 1, "DZ\\data\\data\\laser.rvmat" );
                    AIzmb.SetObjectMaterial( 2, "DZ\\data\\data\\laser.rvmat" );
                }

edit it to this

   {
                    AIzmb.SetObjectMaterial( 0, "DZ\\data\\laser.rvmat" );
                    AIzmb.SetObjectMaterial( 1, "DZ\\data\\laser.rvmat" );
                    AIzmb.SetObjectMaterial( 2, "DZ\\data\\laser.rvmat" );
                }

Share this post


Link to post
Share on other sites
  On 12/5/2018 at 6:44 PM, Sy8282 said:

download da0nes vanilla++ 0.2 as thats only server side gives you hordes and optional other goodies and keeps your init.c cleaner

also in the horde code you posted you have double data this will cause some of the horde to be see through like ghosts

   {
                    AIzmb.SetObjectMaterial( 0, "DZ\\data\\data\\laser.rvmat" );
                    AIzmb.SetObjectMaterial( 1, "DZ\\data\\data\\laser.rvmat" );
                    AIzmb.SetObjectMaterial( 2, "DZ\\data\\data\\laser.rvmat" );
                }

edit it to this

   {
                    AIzmb.SetObjectMaterial( 0, "DZ\\data\\laser.rvmat" );
                    AIzmb.SetObjectMaterial( 1, "DZ\\data\\laser.rvmat" );
                    AIzmb.SetObjectMaterial( 2, "DZ\\data\\laser.rvmat" );
                }

Thank you for this.. but i have Airdrop Mission and with infectedHordes i cant get Server start with both.

So i search for a way how it works.. you know ^^

Mfg Burschie

Share this post


Link to post
Share on other sites

airdrops are bugged out at the minute unless you got something written in the last few days....

Share this post


Link to post
Share on other sites

it's actually relatively easy.
ZombieHordes.c
Save that into your dayzOffline.chernarusplus folder where init.c is

Add this to the top of init.c:

#include "$CurrentDir:\\mpmissions\\dayzOffline.chernarusplus\\InfectedHordes.c"

Add this inside override void OnInit() in init.c

ref InfectedHordes myHordes = new InfectedHordes();


And Boom... there is DaOne's infected hordes compatible with Vanilla Mission. This is NOT MY CODE. This is DaOne's code, I have merely adapted it to make it compatible for everyone. Albeit, stripped down a little and the custom loot won't spawn on them unless you modify ZombieBase.c to suit.

Edited by Aussie Cleetus
  • Like 1
  • Thanks 2

Share this post


Link to post
Share on other sites
  On 12/8/2018 at 7:06 AM, Aussie Cleetus said:

it's actually relatively easy.
ZombieHordes.c
Save that into your dayzOffline.chernarusplus folder where init.c is

Add this to the top of init.c:

#include "$CurrentDir:\\mpmissions\\dayzOffline.chernarusplus\\InfectedHordes.c"

Add this inside override void OnInit() in init.c

InfectedHordes myHordes = new InfectedHordes();


And Boom... there is DaOne's infected hordes compatible with Vanilla Mission. This is NOT MY CODE. This is DaOne's code, I have merely adapted it to make it compatible for everyone. Albeit, stripped down a little and the custom loot won't spawn on them unless you modify ZombieBase.c to suit.

Thank you for this.. i will try it out ;-)

 

Mfg Burschie

Share this post


Link to post
Share on other sites

Hey guys, I cant seem to find the line "override void OnInit() in init.c"  or get the hordes to work, adding the line at the top of the init.c file is easy enough. 

All I can find is 

}

override void StartingEquipSetup(PlayerBase player, bool clothesChosen)
  
{  

If I try adding inside brackets, sever wont load.

}

override void StartingEquipSetup(PlayerBase player, bool clothesChosen, InfectedHordes myHordes = new InfectedHordes();)
  
{  

I tired adding this line below and server wouldn't load. 

}

override void StartingEquipSetup(PlayerBase player, bool clothesChosen)

override void OnInit(InfectedHordes myHordes = new InfectedHordes();) 
  
{  

Any ideas ?

Thanks 

Share this post


Link to post
Share on other sites

Hello scripter friend !!!

 

I look for install too,  im not sure for the Oninit section...

 

override void OnInit()
    {
        ref hordes ADDED HERE ???                                                                                                                                                                                                                                                 super.OnInit();
        SetClothes(); // Function to add on the OnInit
    }

 

Ty

 

 

Share this post


Link to post
Share on other sites

https://github.com/VanillaPlusPlus/InfectedHordesPlus

Not working with Stable Update 1.01

InfectedHordesPlusSpawner.c -> problem in line 52 - > GetGame().ChatPlayer(1, "Horde has been sighted at " + config.getHordeZoneName(spawnPos));

You can not use "1"

Share this post


Link to post
Share on other sites

seems like u cannot use the Game.c chatfunctions at the moment. tried GetGame().Chat("string","colorAction")...also not working.

they removed the channel int parameter from ChatPlayer completly. 

Share this post


Link to post
Share on other sites

Does anyone have this working with the current DayZ? If so, where do you put  InfectedHordes myHordes = new InfectedHordes(); in the init file?

Share this post


Link to post
Share on other sites
  On 11/16/2018 at 11:08 PM, Quake Rocks said:

i was wondering if someone knew how to implement zombie horde events on my server? or can give me a how - to link or paste me the code and where what needs to go? im googling around and i cant find nothing, my google fu must suck LOL but i see other servers with random horde announcements

i run CONTAGION: PVE WHITELISTED

 

and some of my player base are requesting it but i just cant find it

 

any and all help is greatly appreciated, im not really a game modder, just a server administrator/linux guy

 

i have the weapon redux pack installed but thats it for now since im not seeing any keys on the steam workshop for the others and would like to keep verify signatures on

 

other stuff ive cut in myself like black ravens kill messages and kill logger, but kept the thrist and hunger aspect of the game, just slightly modified, also got the older air drops mod but i see theres a new one now

https://steamcommunity.com/sharedfiles/filedetails/?id=1733084281
Have fun.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×