Jump to content

Nehr

Members
  • Content Count

    9
  • Joined

  • Last visited

Everything posted by Nehr

  1. Nehr

    Retexture/Add New Food Cans Problem

    Hello, do you still have your opening problem ? (BTW "class CfgRecipes" is useless, now crafting recipes are in scripts)
  2. EDIT: Working fine now. Hello, since the last update my link in the menu don't work anymore. I was doing like this: void MyDiscord() { GetGame().OpenURL( "https://discord.gg/*******" ); } Is there a new way to do it, or it's just broken at the moment ?
  3. Nehr

    Add Custom Loot Spawns

    Hello, we need more info like, what type of event you made. (Heli, Car etc...) And the "mapgroupproto.xml" is for positioning loot on type Building / Vehicles, it's not for loot on the map.
  4. Nehr

    Map modding ? but HOW ?

    I can suggest you this way: (It's the Way 1 with some change)
  5. Nehr

    loot on the healicrash

    IT's in the mapgroupproto.xml <group name="Wreck_Mi8" lootmax="10"> <usage name="Military" /> <container name="lootFloor" lootmax="10"> <category name="tools" /> <category name="containers" /> <category name="clothes" /> <category name="weapons" /> <tag name="floor" /> <tag name="shelves" /> ....... <group name="Wreck_UH1Y" lootmax="10"> <usage name="Military" /> <container name="lootFloor" lootmax="10"> <category name="tools" /> <category name="containers" /> <category name="clothes" /> <category name="weapons" /> <tag name="floor" /> <tag name="shelves" /> .....
  6. Nehr

    Need help with config.cpp for Custom Tents

    Good luck, i can't figure it out. I've tried but i'm going crasy now. If you or someone find please tell me. I was trying to make custom tent for my paint mod but ...
  7. Nehr

    Adding Custom Buildings

    To be easier i've done it like this: In my init.c #include "$CurrentDir:\mpmissions\dayzOffline.chernarusplus\(my mapping file).c" void SpawnObject( string type, vector position, vector orientation ) { auto obj = GetGame().CreateObject( type, position ); obj.SetPosition( position ); obj.SetOrientation( orientation ); //Force collision update vector roll = obj.GetOrientation(); roll [ 2 ] = roll [ 2 ] - 1; obj.SetOrientation( roll ); roll [ 2 ] = roll [ 2 ] + 1; obj.SetOrientation( roll ); } in the void main() (just before the last "}" ) i've added: AddMyObjects(); And then in my server folder i've created a file: (my mapping file).c and inside i put all my custom buildings like this: void AddMyObjects() { //Custom Nehr //Airfield SpawnObject("Land_Airfield_Hangar_Green", "4566.678711 345.704529 10186.797852", "58.000217 0.000000 0.000000"); ... ... } Don't forget to replace the (my mapping file).c you just put the name you want. Like this my init.c stay clear and i have a file were there is all my buildings.
  8. Nehr

    Unable to tear or repair modded items

    I've tried and i don't see any problem. But you can't repair Worm / Pristine and Ruined items
  9. Nehr

    frozen glitch

    My friend did get the same issue today, and we solved it by resetting all is keybind. Maybe just try that.
×