Your tutorial is KEY to getting people away from having to use Editor-Loader and using the proper way to place custom objects for less server strain. Thanks again!!
hey chief did the spawnhelper function code change since 1.18? i followed your instructions 100% and i keep getting message it cant find my SpawnObjects.c file when it boots up any idea how to resolve ?
what do you do if multiple different mods have the same SpawnObject() function with different functionality in each one? Should I change the name and then include the file?
I'm working on a loading screen video. Just been really busy. I don't plan to include music since I dislike the idea of blasting music with no audio level adjuster into players ears.
@@TheGamingChief I also wanted to ask you if you have scripting and how to make mods? I'm creating a mod to change weapon names from custom mods and I can't get it if you could help me
Great! that clean code method is working pretty good. Thanks. So, I have 2 questions: 1. Do you know why zombies are walking through walls and buildings added in custom areas? It´s like are invisible for them. 2. How many line codes #include (in this case, custom areas files) I can put on this method? There´s some limit of code lines or called files? I´m ask about that because I tryed a similar method and I couldn´t call 63 .c files mod, my server doesn´t startup. More than 23 lines (+/-) doesn´t work and I don´t know why. If you know some solution for this 2 bugs, I´ll appreciate.
Easy video to follow. Thanks for that! However, I'm having some issues. I've checked over and over and my files and file locations look totally fine, but when I start the server, I get a dump file and it just throws it into a boot loop. When I comment out the "Place_" lines in my init.c, the server doesn't dump and starts up fine. Anyone have an idea what might be causing that?
My guess is you are trying to spawn an invalid object that does not exist, or that the server does not think exists. Your crash log might have more details.
@@TheGamingChief Thanks for the reply. I'll check that out and see what could be missing. Crash logs aren't showing much unfortunately :( Keep up the good vids! Subscribe worthy to be sure.
have a new vid for you to do. on the new cftools for dayz we need explenation for all the settings and what they do and how to set up filters for ban list and all that.
friend add the caption of your video because i'm brazilian and your subscriber and with the caption for us to understand .. thank you very much ..ate i thought the problem was my browser but the other videos of yours are with caption. thanks
RUclips refused to automatically generate the subtitles for this video for some weird reason. I manually generated subtitles and uploaded it for this video, so it's good now (only took two years).
Hi Mate, thanks again for these. I keep getting this error $CurrentDir:mpmissions\empty.deerisle\init.c(56): Undefined function 'Place_MixedWW' Am I missing something? I am using this in my SpawnObjects.c // Spawner helper function void SpawnObject( string type, vector position, vector orientation ) { auto obj = GetGame().CreateObject( type, position ); obj.SetPosition( position ); obj.SetOrientation( orientation ); obj.SetOrientation( obj.GetOrientation() ); //Collision fix obj.SetAffectPathgraph( true, false, ); if( obj.CanAffectPathgraph() ) GetGame().GetCallQueue( CALL_CATEGORY_SYSTEM ).CallLater( GetGame().UpdatePathgraphRegionByObject, 100, false, obj ); }
the GOAT of DayZ server config, cheers man!
So how do you make it so loot spawns in custom buildings?
Well done tutorial and explanation of WHY WE COPY PASTE (no typos) and WHY WE MAKE FUNCTIONS (debug/troubleshooting)! Kudos
Your tutorial is KEY to getting people away from having to use Editor-Loader and using the proper way to place custom objects for less server strain. Thanks again!!
Your amazing bro, keep up the good work!
how do you get them to spawn loot after you do this?
Thanks for that great tutorial! Very helpful!
your videos are a great help and are very appreciated.
Thank you
hey chief did the spawnhelper function code change since 1.18? i followed your instructions 100% and i keep getting message it cant find my SpawnObjects.c file when it boots up any idea how to resolve ?
same thing here
OK, and how can you DELETE an object spawned with this method in other mod?
TheGamingChief could you help me everytime I run my server it sets all my init.c files and types and respawnitems to base files
what do you do if multiple different mods have the same SpawnObject() function with different functionality in each one? Should I change the name and then include the file?
hello Do you know how to create a loading screen with music?
I'm working on a loading screen video. Just been really busy. I don't plan to include music since I dislike the idea of blasting music with no audio level adjuster into players ears.
@@TheGamingChief I also wanted to ask you if you have scripting and how to make mods? I'm creating a mod to change weapon names from custom mods and I can't get it if you could help me
friend posts a video as we set up cfcloud for static server restart .. because the relative restart sucks
Great! that clean code method is working pretty good. Thanks. So, I have 2 questions:
1. Do you know why zombies are walking through walls and buildings added in custom areas? It´s like are invisible for them.
2. How many line codes #include (in this case, custom areas files) I can put on this method? There´s some limit of code lines or called files?
I´m ask about that because I tryed a similar method and I couldn´t call 63 .c files mod, my server doesn´t startup.
More than 23 lines (+/-) doesn´t work and I don´t know why.
If you know some solution for this 2 bugs, I´ll appreciate.
Did you find a solution?
Easy video to follow. Thanks for that! However, I'm having some issues. I've checked over and over and my files and file locations look totally fine, but when I start the server, I get a dump file and it just throws it into a boot loop. When I comment out the "Place_" lines in my init.c, the server doesn't dump and starts up fine. Anyone have an idea what might be causing that?
My guess is you are trying to spawn an invalid object that does not exist, or that the server does not think exists. Your crash log might have more details.
@@TheGamingChief Thanks for the reply. I'll check that out and see what could be missing. Crash logs aren't showing much unfortunately :(
Keep up the good vids! Subscribe worthy to be sure.
have a new vid for you to do. on the new cftools for dayz we need explenation for all the settings and what they do and how to set up filters for ban list and all that.
Is there a way I can chat with you live? Do you have a discord help channel?
I have my Discord server linked in the video description with a support channel.
Question please, could I use the include line in a types file to point to other custom types files, thanks for the great video
I actually have a video on that subject here! ruclips.net/video/PAAEhdiQ_vE/видео.html
thankyou,you are a gem,could I do a similer thing and sideload trader lists?,thanks again
friend add the caption of your video because i'm brazilian and your subscriber and with the caption for us to understand .. thank you very much ..ate i thought the problem was my browser but the other videos of yours are with caption. thanks
Hmmm, normally RUclips automatically generates the English subtitles. I'll try and manually add them to this video when I get some time tomorrow.
@@TheGamingChief to this day there are still no subtitles lol
RUclips refused to automatically generate the subtitles for this video for some weird reason. I manually generated subtitles and uploaded it for this video, so it's good now (only took two years).
Hi Mate, thanks again for these.
I keep getting this error
$CurrentDir:mpmissions\empty.deerisle\init.c(56): Undefined function 'Place_MixedWW'
Am I missing something?
I am using this in my SpawnObjects.c
// Spawner helper function
void SpawnObject( string type, vector position, vector orientation )
{
auto obj = GetGame().CreateObject( type, position );
obj.SetPosition( position );
obj.SetOrientation( orientation );
obj.SetOrientation( obj.GetOrientation() ); //Collision fix
obj.SetAffectPathgraph( true, false, );
if( obj.CanAffectPathgraph() ) GetGame().GetCallQueue( CALL_CATEGORY_SYSTEM ).CallLater( GetGame().UpdatePathgraphRegionByObject, 100, false, obj );
}
I’d really need to see all your related files, but that errors indicates that it is trying to call the “Place_MixedWW” function which doesn’t exist.