L4D2 - Code Your Own Mutations - Part 1 (Setup)

  Рет қаралды 2,394

Code Jockey

Code Jockey

Күн бұрын

Пікірлер: 23
@letteroftheday3657
@letteroftheday3657 Жыл бұрын
I’ve had so much trouble trying to find a good video like this for l4d2, THANK YOU.
@codejockey4988
@codejockey4988 Жыл бұрын
Your comment means a lot! :) I had SO much trouble too! Thats what really inspired me to make this channel
@RaphaelC-hi
@RaphaelC-hi 2 жыл бұрын
Thank you ! I was able to make two mutations. I had fun and you explained in detail, great job !
@codejockey4988
@codejockey4988 2 жыл бұрын
Super glad to hear it!
@jarebear5407
@jarebear5407 Жыл бұрын
hey, thanks for this im sure it was hard to make the videos but newer people like me greatly appreciate these tutorial videos. thanks a million. subscribed
@codejockey4988
@codejockey4988 Жыл бұрын
This means so much to me! I'm really really happy to hear it! If you have any requests at all or ideas or need assistance please don't hesitate to reach out!
@GromitHAHA
@GromitHAHA 2 жыл бұрын
Thank you Jockey sensei
@sadgasg1asdg376
@sadgasg1asdg376 3 жыл бұрын
Thank you very much🙂
@dorianmon
@dorianmon 5 ай бұрын
Thank you so much Code Jockey! I have been looking high and low for content like this to start making my own L4D2 mods and I really really appreciate the content. I have a question! Is there a place to looking up the documentation for "built-in" variables and functions like OnSpawn? I feel like a compiled sheet of all these different functions and variables will really help alot because as it stands I don't really know whats out there although I have an idea for a mutation in my head. Thank you once again!
@codejockey4988
@codejockey4988 5 ай бұрын
HEY! So glad you found my videos helpfuL! And THIS is a fantastic question! So yes! The answer is 100% yes, the "list" is actually in the vslib files that we downloaded in the video. They are inside the folder labeled VsLib and you are looking for the nut file: "Easy Logic". These contain many if not all of the functions like OnSpawn that the script creators have provided for us. However, it can be very daunting to understand and make sense of how to rewrite and use some of these functions, and I think a coherent list would be monumentally useful for myself as well as for others. So, hopefully within the next week or so, I will try to make one of my goals be to write up a more "user friendly" list (attach a link to this video and put the list in our community discord)! Thank you so much for the idea & bringing this to my attention! Come catch a stream on a Friday if you got the time!
@dorianmon
@dorianmon 5 ай бұрын
@@codejockey4988 Thank you so much for all that you do! You're a great inspiration and please never stop making videos!
@codejockey4988
@codejockey4988 5 ай бұрын
@@dorianmon dood fr this means so much to me! thank u for these inspiring words!
@epsdudez
@epsdudez 11 ай бұрын
Thanks for this miniseries. My conundrum is this, I would like to copy and use as my base a preexisting mutation (realism) to make some slight tweaks. Is there any convenient way of doing this without having to essentially "recode" all the realism settings? There must be a file somewhere in the game files that I can copy/paste.
@codejockey4988
@codejockey4988 11 ай бұрын
Ah fantastic question! I've wondered the same thing myself. So my answer is, most likely yes! The problem is, I don't know where these files are. One of the hardest things I've experienced working with vscripting is that finding resources can be few and far between, so you may need to do some digging. Worst case if you can't find a reference file, you'll just have to manually look at the cvar list and pick the ones that are for realism and enable those, like: zombie hp, witch instakill, noglows, stuff like that. Sorry I couldn't help more!
@epsdudez
@epsdudez 11 ай бұрын
@@codejockey4988 KZbin keeps automatically withholding my detailed comment, but I talked to the boys on the L4D2 discord and figured it out. In short, all you have to do in my case is, on the txt file in modes, replace "coop" with "realism", and then you're free to modify it from there. The other mutations are named like mutation1, mutation2, mutation3, etc if you want to change it to something else.
@codejockey4988
@codejockey4988 11 ай бұрын
@@epsdudez Oh wow, awesome! That's really good to know! Thanks, appreciate the reply!
@rol407
@rol407 Жыл бұрын
Can you code al director? So like the spawns would be the same and not RNG? Like play and the way director spawns it spawns the same if I die ? Also possible to make quick saves? I guess I'm asking how to make it in a single player game.
@codejockey4988
@codejockey4988 Жыл бұрын
So if I understand your question exactly, you want the zombies to be pre-spawned? Like spawn in the same place everytime? One way you could do this is use the "Utils.SpawnZombie" function and give it a coordinate position to spawn the zombie at in conjuction with the "Player.CanTraceToLocation" function. This way, you could check when a player is nearby and then spawn a zombie in a particular place... however, this would only work on a specific chapter. You would need to code custom spawn spots for each one. Cool idea! Hope that helps!
@rol407
@rol407 Жыл бұрын
@@codejockey4988 yeah but that's lot of hard work and you have to know game spawns well the way director spawns to make it the same and identical. Wished there was a way like one of the spawns director does and sticks with one like most single player games
@fortalezatan
@fortalezatan 5 күн бұрын
mine doesn't work i wonder why
@codejockey4988
@codejockey4988 4 күн бұрын
Yo boss! My first thought is to def double check the file locations, cuz that can cause unforseen issues, but also double check your mode file to make sure all the brackets and names are setup right, as that file is probably the hardest to get error feedback for. Also u can download my files in the description and use those to make sure everything is working too i hope this helps! lmk if ur still having issues!
@user-bc6nu9nh1b
@user-bc6nu9nh1b 11 ай бұрын
Planning to make a prison level. Was thinking using Vscript to make a tank that is aggressive towards common infected for a “prison fight” scene, don’t know if it’s possible though🤔
@codejockey4988
@codejockey4988 9 ай бұрын
That sounds really cool! Tbh w you, I have no idea how exactly you would do that! Closest thing I can think of is maybe by using the Utils.Vomit() function to bile on certain zombies to make others attack them.
L4D2 - Code Your Own Mutations - Part 2 (First Mutation)
30:44
Code Jockey
Рет қаралды 1,6 М.
[L4D2] - Versus
hao
Рет қаралды 3
Left 4 Earrape 2
8:45
Multi YC
Рет қаралды 21 М.
What is the Smallest Possible .EXE?
17:57
Inkbox
Рет қаралды 384 М.
20 Advanced Coding Tips For Big Unity Projects
22:23
Tesseract
Рет қаралды 182 М.
Left 4 Dead White Lie Reaction | Episode 1 Unity Trials
39:42
Definitely Not Definitive - Games
Рет қаралды 21 М.
Can I Run Youtube Entirely From My Terminal? (No Browser)
15:31
CSGO Cheaters trolled by fake cheat software 3
13:38
ScriptKid
Рет қаралды 8 МЛН