-
Content Count
9 -
Joined
-
Last visited
Posts posted by Nehr
-
-
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 ?
-
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. -
I can suggest you this way:
(It's the Way 1 with some change)
On 24/12/2018 at 2:32 PM, Nehr said: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. -
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" /> .....
-
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 ... -
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. -
I've tried and i don't see any problem. But you can't repair Worm / Pristine and Ruined items
-
My friend did get the same issue today, and we solved it by resetting all is keybind.
Maybe just try that.
Retexture/Add New Food Cans Problem
in General Discussion
Posted
Hello, do you still have your opening problem ?
(BTW "class CfgRecipes" is useless, now crafting recipes are in scripts)