Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

gokitty1199

Members
  • Content Count

    24
  • Joined

  • Last visited

Everything posted by gokitty1199

  1. In correlation to my Arma 3 scripting series, I now present a Dayz standalone scripting series. This will start from the very beginning to help people just starting to get a feel and understanding on setting up their mission and writing the scripts in general. What has been covered so far: E1: Very beginner introduction covering data types, arrays and such along with classes. E2: Introduction to actually scripting in enfusion and how to make your script run with more in depth examples of classes and methods. E2: How to spawn a weapon on your character and add attachments to that weapon in your hands. E3: How to spawn a car and add various vehicle components to the vehicle such as wheels and needed fluids for it to run. E4: How to override the TickScheduler function and setup our code properly inside of it. E4: What are and how to use static variables as a control variable so we can make our script only run every X amount of seconds when we want. The introduction is a little bit scattered as I was in a bit of a rush, but it should be easy enough to follow along with. DayZ Standalone Scripting Tutorial Playlist: Latest Video:
  2. gokitty1199

    Dayz standalone Scripting tutorial series

    can you send me a link to the github of the weapon your talking about? when i looked i couldnt find it which is why i thought you were referring to a custom/modded in weapon.
  3. gokitty1199

    Dayz standalone Scripting tutorial series

    thats really strange then, i have no clue
  4. gokitty1199

    question about threading

    with the new scripting language, for example lets say i wanted to have a while loop run. would that while loop interfere/hold up anything else from running, or do you have to make a new thread for it? i saw something regarding createThread and i was curious.
  5. gokitty1199

    question about threading

    thank you sir, i had someone explain it some to me in the discord but this is also helpful, seems theres multiple ways to set yourself up to do it. thank you!
  6. gokitty1199

    Dayz standalone Scripting tutorial series

    sorry i overlooked it. it looks correct, have you made sure the class names are correct? im assuming your using a custom weapon correct?
  7. gokitty1199

    Dayz standalone Scripting tutorial series

    made a new
  8. gokitty1199

    Dayz standalone Scripting tutorial series

    yes, sorry i have been busy with school the past few weeks and its getting very close to finals
  9. gokitty1199

    Dayz standalone Scripting tutorial series

    i only used offline for testing because its quicker as i can(could) just press restart and it would reload itself instead of restarting the server and rejoining each time. its all essentially the same though. it should be the same as this for example yourVehicle.Fill(CarFluid.FUEL, 1000); yourVehicle.Fill(CarFluid.OIL, 1000);
  10. gokitty1199

    Dayz standalone Scripting tutorial series

    are you attaching the rear sight/carrying handle such as in the video or a separate optic? and please post the script
  11. i can no longer press esc in offline variation of dayz to bring up the restart/exit options? esc works when i have the inventory open but i cannot get my game to restart. this randomly happened yesterday on both experimental and stable. this is making it take very long to test scripts as I have to restart the game each time.
  12. gokitty1199

    Can no longer bring up the menu in offline dayz

    the thing is though, i never changed any keybinds. this literally happened after i shutdown the game and loaded it the next day. ill try resetting the config and see if anything changes Edit: just deleted profiles and still have the issue.
  13. gokitty1199

    Can no longer bring up the menu in offline dayz

    its an annoying issue lol.
  14. gokitty1199

    Dayz standalone Scripting tutorial series

    with alot of the stuff i do outside of video games, ive used a forEach loop literally once and that was when i was learning c# and reading through the processes running on the users machine. your right though, a foreach like you posted would be better and a little easier to read for someone starting
  15. gokitty1199

    Dayz standalone Scripting tutorial series

    we could create a random container, add a random category of items to it, then add a random assortment of those items? something like that?
  16. gokitty1199

    Dayz standalone Scripting tutorial series

    very very similar yes, but so far i prefer it over sqf. i did feel arma 3 scripting was more beginner friendly but very limited where as this feels like you have complete freedom. next tutorial is being uploaded now btw. I did try to do some more pre planning and removed some unessasary parts of the video, left in 2 mistakes that i thought made a decent point. Do you think this is an improvement over the first video?
  17. gokitty1199

    Tut/wiki

    Wiki will be out soon hopefully, not sure if there is an ETA on it.
  18. gokitty1199

    Dayz standalone Scripting tutorial series

    Thank you for the feedback. I will probably end up remaking this video just for the reasons you mentioned. I recorded it in about 6 different parts and sniped out various portions as i made no preparation and just kind of wung it as you can probably tell lol. When I was making other(not going to say as it would be very frowned upon here lol) tutorials i made a little notepad about the topics that would be covered, the steps needed to take to achieve our goal, and bits of pseudocode in some more difficult areas as a way to visualize it. Maybe that should start being done at the start of these as well. Thank you for the feedback again, it was quite helpful!
  19. gokitty1199

    modding tools

    Heres a start
  20. gokitty1199

    Enfusion Engine Bible

    is there a new source somewhere?
  21. gokitty1199

    modding tools

    Im slowly working on a tutorial series regarding scripting following my arma 3 series. If that is what you are interested in learning then your atleast in luck this week.
  22. gokitty1199

    Cannot overload constructors?

    So far im just tinkering around with it to familiarize myself, but one thing ive noticed is that i dont think you can overload constructors? Unless I am doing this wrong, it seems to be the case but i wanted to make sure SetUnitLoadout suw = new SetUnitLoadout(player, "VSS");//says to many parameters class SetUnitLoadout { private EntityAI weapon; void SetUnitLoadout(PlayerBase player) { this.weapon = player.GetHumanInventory().CreateInHands("M4A1_Green"); } void SetUnitLoadout(PlayerBase player, string weaponName) { this.weapon = player.GetHumanInventory().CreateInHands(weaponName); } };
  23. gokitty1199

    Cannot overload constructors?

    ah thank you, that would explain why. any idea when an official wiki will be up in regards to scripting? im liking the setup so far as it feels natural, but i am struggling to find commands lol.
  24. gokitty1199

    Workbench access violation

    I noticed workbench seems to be built using QT, i do have QT installed but i doubt that would be of any conflict due to the error not being able to read an address? does anyone else have this issue or suggestions on solving it? i have performed the typical uninstall and remove all files and reinstall https://gyazo.com/17f8850113303b884d5eec9a83e7fe3b Edit: solved by running game in the background.
×