Jump to content

Jamie Zwarts

Members
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Jamie Zwarts

  • Rank
    On the Coast
  1. Jamie Zwarts

    Foliage Flattening and Restore Timing

    69 views and nobody knows ? 🙂 I found this line in the world.c file proto native void FlattenGrassRect(float x, float z, float sideX, float sideZ, float offset, float angleRAD, float centerLerp01, float timeDown01, float maxHeight01); Now, that "timeDown01" has something to do with it. But i have no clue how to override that or where. If someone could point me in the right direction?
  2. Hi lads! Now here's an interesting question. Wondering if someone know the answer to this one. Which might seem trivial, but it's kinda crucial for my server. You know when you lay down in the grass or a bush, it goes flat.... And after you get up the foliage also gets back up again. Is there a setting to change the timing of that??? Can't seem to find the answer in various discord channels. cheers! in advance
  3. Jamie Zwarts

    EMOTE Fuction in PluginConfigHandler

    Hi everyone, Just wondering how i could get the emote function to work on surviors (npc's) or traders. I tried json, cpp and .map with various functions but i'm at a loss. I used this for reference but no success: Day Explorer - PluginConfigHandler It has to be possible but i can't figure it out and am banging my head for 2 weeks now. Anyone have any idea's? Much appreciated. Btw, this is not to emote traders or something. Need to use it for something a little more epic)
  4. Jamie Zwarts

    cfgspawnabletypes.xml issue

    Hi there drGullen, I'm sorry do you mind me asking something about this topic? I posted it numerous times, been on 10 discord channels and there's nobody that has or wants to give an answer. Basically i want to do what you just did there with the vehicle. But i want it to spawn in like that (complete with all attachments) on the map. So let's stick with vehicles and the RFWC_Whaler you used. If i want to spawn in a RFWC_Whaler on my map, with all attachments. How would i go about it??? I spawn it in using a custom json at the moment.... But the attachments are not there whatever i try these past 3 weeks already. An example: { "name": "RFWC_Whaler", "pos": [ 5713.8408203125, 7.6573686599731445, 8000.42041015625 ], "ypr": [ 33.81409454345703, -5.178645610809326, -4.764308929443359 ], "InventoryAttachments": [ "SparkPlug" ], "InventoryCargo": [ "SparkPlug" ], "ConstructionPartsBuilt": [ "SparkPlug" ], "quickBarSlot": -1, "simpleChildrenUseDefaultAttributes": true, "simpleChildrenTypes": [ "SparkPlug" ], "scale": 1, "enableCEPersistency": 0 } As you can see, i'm just trying to force a spark plug in every slot. But nothing. If you could help me out or in the right direction, i'm in eternal debt. I am not going to give up.
  5. Good day dear people, It is time. Time to explain what to do with the .dzeinv file, saved from the editor. As of yet, there is no documentation anywhere to be found on the web. In the Dayz editor, all items that have an attachment slot, which can be filled by right clicking on an object inside the editor, and choose edit inventory. This then can be exported to a dzeinv file. But what to do with the file? I tried every single possible outcome i could think of, but to no success. This seems the ideal solution to spawn in objects with inventory items attached. The option was created in the editor for that very purpose it seems. But how to use it? Cheers and thank you in advance!
  6. Dear survivors, I have been working for a few months now on my modded server and it's going pretty good. Learned a LOT during this time and try to read as much as possible. Yet there is one issue i can't overcome and nobody has the answer (that i want) to it, other than "impossible". Now there's a nasty word children shouldn't be uttering. Anyway, the meat of my question: Is it possible, to spawn in item on my map, with any corresponding inventory attachments inside of them? What i have tried so far: Let's use a furnace (any item will do) and i want some meat inside of it (silly example). 1. First tried the editor of course > Control a survivor > put the meat in > save it > of course that doesn't work 2. Then about edit inventory when clicking the object in the editor. This seem the IDEAL solution. But i export to a .dzeinv file? I can not find ANY information about that or have no clue what to do with it. Where do i store that file? I tried the mission editor folder. 3. Then i thought i could maybe add them by exporting the .map file (as you would add clothes to traders that way at the end of each line). Or turn on a fire by adding "|true" at the end... Doesn't work 4. Tried VPP admin object builder. uuuh nevermind... doesn't work. 5. THEN of course my friend json. But here is my problem. How do you add inventory to something in a json file as an attachment?? I mean, i can spawn in a vehicle with all the attachments...when you buy one... why not other items??? In this example, the "SpawnAttachments" is used. How does that actually work? And does it with other items? { "ClassName": "hatchback_02", "MaxPriceThreshold": 24000, "MinPriceThreshold": 14400, "SellPricePercent": -1.0, "MaxStockThreshold": 5, "MinStockThreshold": 1, "QuantityPercent": -1, "SpawnAttachments": [ "hatchback_02_door_1_2", "hatchback_02_door_2_2", "hatchback_02_hood", "hatchback_02_trunk", "carbattery", "carradiator", "sparkplug", "headlighth7", "headlighth7" ], "Variants": [] }, Here is another example, taken from the LoadOut files used for the Ai: { "SlotName": "Body", "Items": [ { "ClassName": "USMCJacket_Desert", "Include": "", "Chance": 1.0, "Quantity": { "Min": 0.0, "Max": 0.0 }, "Health": [ { "Min": 0.699999988079071, "Max": 1.0, "Zone": "" } ], "InventoryAttachments": [], "InventoryCargo": [], "ConstructionPartsBuilt": [], "Sets": [] }, Here the InventoryAttachments is used. But still i can't get it to work... Could someone please tell me if i'm looking past some attribute i don't know of? Or maybe a completely different way of doing it?? Cheers! And thank you in advance! Jamie
×