TYZone 1 Posted September 23 Hey guys, I'm new to the forum. Was hoping someone could help me out on this one. I am restructuring my server coding to a more survival mode dayz experience. I know night vision goggles is vital item to possess in the game but my idea for the server is taking dayz back to survival basics. What I need help with in my coding: * Remove NVG's completely from loot spawn and let it only spawn the complete NVG's (strap, goggles and a battery) with heli crashes. A friend told me it needs to be made into a dynamic event and add the attachments as a children. With that said, I need to add a new definition in cfgdefinitions and use that definition as a category so that I can add it to mapgroupproto and let the eventspawn trigger that event. Any help on the matter will be great 1 Share this post Link to post Share on other sites
Riddick_2K 174 Posted September 23 Hi. First of all, I've never done anything like this, and I use Google translations... but they still told you inaccurate things. *) NVGs are not spawned in the map with the "normal" loot since a few patches. Now they are only inside the events (deloot="1") which are "dynamic" by themselves. *) In "mapgroupproto.xml" are listed the coordinates of all the spawn points of the various houses, sheds, containers, etc... if you don't modify the buildings or the map, I don't see what use it could be. *) I don't know of any file called "cfgdefinitions"... I think... But as I said, I've never done it... That you should modify, in some way, the "cfgspawnabletypes.xml" file, which is the one that defines the attachments in various types of objects and infected. But I couldn't tell you how to do it for NVGs. Try copying the structure of some objects changing the names and see if it works... in an offline server, of course. The main object should be "NVGHeadstrap", and "NVGoggles" and "Battery9V" as attachments. Maybe setting a lot of "NVGHeadstrap" in "types.xml" to make it easier to check if it works. If you use some administration tools it would make it much easier to check. Maybe, if you want to have a server without mods, once you find the right configuration, remove the administration mods and put online only the "Vanilla" version. If someone knows more, it is welcome. Let us know how it goes, maybe if you find the solution it could be useful to someone else who will come to look for it in this forum. 😉 Share this post Link to post Share on other sites