Jump to content

GallardoAdsy

Member
  • Posts

    10
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by GallardoAdsy

  1. _MARKERNAME setMarkerText "Put in anything you want here";

     

    That should handle text on the marker.

     

    I have done that, I get nothing on my Map.

     

    Code - 

     

    //Marker on Map 4
    _MARKERNAME = createMarker ["Woodbury Camp", [3000.0001,8860.0002]];
    _MARKERNAME setMarkerText "Woodbury Camp";
    _MARKERNAME setMarkerShape "RECTANGLE";
    _MARKERNAME setMarkerType "Flag";
    _MARKERNAME setMarkerColor "ColorBlue";
    _MARKERNAME setMarkerBrush "Solid";
    _MARKERNAME setMarkerSize [230, 180];
    MARKERNAME = _MARKERNAME ;
  2. Hello,

     

    I have been using this code for Custom Map Markers on my Server to show where my Custom Compounds are Located.

     

    However, I am wondering how do you add a name to the Marker so it appears on the Map, In Game.

     

    Code - 

     

    //Marker on Map 1
    _MARKERNAME = createMarker ["Skallisty Base", [13700,2960,0]];
    _MARKERNAME setMarkerText "skallisty";
    _MARKERNAME setMarkerShape "RECTANGLE";
    _MARKERNAME setMarkerType "Flag";
    _MARKERNAME setMarkerColor "ColorBlue";
    _MARKERNAME setMarkerBrush "Solid";
    _MARKERNAME setMarkerSize [230, 180];
    MARKERNAME = _MARKERNAME ;
     
    E.g. My Marker at the moment.
     
     
     
     
     

    post-13326-0-54090400-1397133411_thumb.p

  3.  

    Call a file from your init.sqf:

    [] execVM "scripts\mapmarkers\FILENAME.sqf";
    

    Then inside the file add your marker:

    //Marker on Map
    _MARKERNAME = createMarker ["MARKERNAME", [6611.9756, 14201.991]];
    _MARKERNAME setMarkerText "Put in anything you want here";
    _MARKERNAME setMarkerShape "RECTANGLE";
    _MARKERNAME setMarkerType "Flag";
    _MARKERNAME setMarkerColor "ColorPink";
    _MARKERNAME setMarkerBrush "Solid";
    _MARKERNAME setMarkerSize [230, 180];
    MARKERNAME = _MARKERNAME ;
    

     

    EDIT -

     

    Thanks a lot, this works perfectly.

     

    I have now added all the Markers in correctly.

     

    Now, how do you give the Marker an actual name so people can see what it is called on the map?

     

    The marker is just a rectangle (or whatever shape) with no text or name on the in game map.

  4. first off, this is epoch forum, just fyi ... totaly diffrent mod

     

    overwatch forum can be found here:

    http://www.dayzoverwatch.com/forum

     

     

    second ... if this is the only code you use, then i think you have more problems than this, it should be after a waituntil and an if statement to check that players is spawning in and not logging in.

     

    I know this is Epoch Forums - that is why I am in the Topic that says "Anything Not Epoch".

     

    Also, thank you.

  5. Hello,

     

    I have a DayZ Overwatch 0.2.5 server at the moment. I have been using the same script for a Custom Starting Loadout for several weeks.

     

    However, recently 3/4 players told me that after the restart they all spawned with the Starting Loadout again (Lee Enfield, M9 etc.) therefore deleting their gear.

     

    I will put the code I am using here but does anyone know why this is happening?

     

    Code:

     

    //customised loadout
    //remove weapons
    player removeWeapon "DDOPP_X26";
    player removeMagazines "DDOPP_1Rnd_X26";
    player removeMagazine "HandRoadFlare";
    //add weapons
    player addWeapon "LeeEnfield";
    player addWeapon "RH_M9SD";
    player addMagazine "10x_303";
    player addMagazine "10x_303";
    player addMagazine "15Rnd_9x19_M9SD";
    player addMagazine "15Rnd_9x19_M9SD";
    player addMagazine "15Rnd_9x19_M9SD";
    player addMagazine "FoodSteakCooked";
    player addMagazine "ItemWaterbottle";
    player addMagazine "ItemMorphine";
    player addMagazine "ItemAntibiotic";
    //tools
    player addWeapon "ItemCompass";
    player addWeapon "ItemMatchbox";
    player addWeapon "ItemKnife";
    player addWeapon "ItemMap";
    player addWeapon "ItemToolbox";
    //backpack
    removeBackpack player;
    player addBackpack "DZ_Patrol_Pack_EP1";
    };
    //Custom New Spawn Loadout End//
  6. ok, in your mission.pbo. open the mission.sqm.

     

    find the class markers around line 1177 and will look like this ( the number will varie depending on what map your running)

     

    class Markers

        {

            items=24;

     

    up the number by 1. so in this example is will now be   items=25 after you up yours;

     

    go to the end of this section and add

     

    class Item23                                                          // change the number here so it is 1 less than the number you have just adjusted at the start (reason for this is it counts 0 as a number)             

            {

                position[]={529.322,0.001,373.941};         // add your coords here,  your have to swap the last 2 axis around. this coord was oringally 529.322,373.941,0.001

                name="survivorcity";                              // add marker name here (this is not the name shown on the map)

                text="Survivor City";                              // map text here

                type="mil_circle";                                  // type of marker, only 2 i use are mil_circle and mil_dot

                colorName="Colorred";                       // colour here  colorred colorblack  (not sure what other colours work

            };

     

     

    make sure the end of this section if finished correctly like this

     

            class Item22

            {

                position[]={2247.085,35.5191,9473.3262};

                name="IslandVehiclePartsVendors";

                text="Mello Vehicle/Parts Vendors";

                type="mil_circle";

                colorName="ColorBrown";

            };

            class Item23

            {

                position[]={529.322,0.001,373.941};                                    //your added map marker

                name="survivorcity";

                text="Survivor City";

                type="mil_circle";

                colorName="Colorred";

            };

        };

        class Sensors

     

     

     

     

    repack and upload

     

    Yep. I have both of them lines of code, and did this exactly. However like when I have done the same before, I get stuck on Wait For Host. :/

  7. Thats the problem. You need to edit the .sqf and change it so you remove the ai, center, group. and then you add this at the top:

    if (isServer) then {

    and then at the bottom, remove the last three lines and add this:

    };

    Then in the init near the bottom add this:

    [] execVM "Buildings\(Name Goes Here).sqf";

    And then make a folder called "Buildings" and add the .sqf into that folder

    Thank you - I will try this out.

  8. Hello,

     

     

    I currently own a DayZ Overwatch server. I have played on several servers with added or modified towns/compounds, and loved them. So I decided to make some and put them in my server.

     

    I have followed MANY tutorials on it, and it just doesn't seem to work. I have the code converted from a .biedi but when I put it into my mission.sqm it breaks my server.

     

    Any tutorials or help would be great.

     

    Also, I have the exact code from a friend who is a scripter on another Overwatch server and his Custom Map Waypoints/Markers do not work on my server - any help on that too?

     

     

    Thank you.

×
×
  • Create New...