Jump to content

Custom Spawn Dialog with Gear & HALO Selection, moving Map, Credits, Custom spawns and more ...


Halvhjearne

Recommended Posts

8 hours ago, FloAtompilz said:

got some one positions for tanoa ?

    case "tanoa":{
        [
            [[8938.76,10192.8],0,"Tanouka"],
            [[9524.8,13587.4],0,"La Rochelle"],
            [[5769.75,11175.4],0,"Saint Julien"],
            [[1843.12,12028.6],0,"Tuvanaka"],
            [[2593.05,7389.09],0,"Balavu"],
            [[5486.18,4045.46],0,"Katkoula"],
            [[9356.75,4053.51],0,"Moddergat"],
            [[10913.2,6305.68],0,"Kotomo"],
            [[13419.1,12091.4],0,"Blue Pearl"],
            [[12283.2,13978.9],0,"Ipota"]
        ]
    };

 

but when i include this "Custom Spawn Dialog with Gear & HALO Selection, moving Map, Credits, Custom spawns and more ..." Script my game dont save any more.

Link to comment
Share on other sites

I'm trying to set up Tanoa spawn points but I can't get it to work.

Here's my Coords setup:

Spoiler

//Tanoa
    case "Tanoa":{
        [
            [[3860.89,13964.2],0,"Camp Remnants"],    // 'Camp Remnants'
            [[1792.38,12238.5],0,"Tuvanaka"],    // 'Tuvanaka'
            [[3157.58,11329.7],0,"Belfort"],    // 'Belfort'
            [[1002.28,7634.93],0,"Tavu"],        // 'Tavu'
            [[3394.23,6604.26],0,"Rautake"],    // 'Rautake'
            [[1515.4,2971.62],0,"Koumac"],        // 'Koumac'
            [[3122.69,3234.24],0,"Yanukka"],    // 'Yanukka'
            [[5514.14,4286.31],0,"Katkoula"],    // 'Katkoula'
            [[9439.48,3871.89],0,"Moddergat"],    // 'Moddergat'
            [[11267.3,5092.58],0,"Harcourt"],    // 'Harcourt'
            [[11408.7,2779.01],0,"Lijnhaven"],    // 'Lijnhaven'
            [[12883.5,4824.87],0,"Doodstil"],    // 'Doodstil'
            [[6463.21,12740.6],0,"Nicolet"],    // 'Nicolet'
            [[9838.26,13236.4],0,"La Rochelle"],    // 'La Rochelle'
            [[13452,11593.8],0,"Blue Pearl Industrial Port"],        // 'Blue Pearl Industrial Port'
            [[6155.92,10094.6],0,"Georgetown"],    // 'Georgetown'
            [[8611.23,10220],0,"Tanouka"],        // 'Tanouka'
            [[14125.1,8475.34],0,"Luganville"],    // 'Luganville'
            [[10936.8,9718.88],0,"Vagalala"],    // 'Vagalala'
            [[10957,6460.7],0,"Kotomo"],        //'Kotomo'
            [[7006.92,7685.67],0,"Aeroport de Tanoa"]        //'Aeroport de Tanoa'
        ]
    };

My server hangs up and I get this error in RPT:

"[halv_spawn] waiting for default 'Debug_static_F' to be build in Tanoa @ (099121) [9969.21,12166.7,0]"

 

What am I doing wrong?

 

Thanks.

Link to comment
Share on other sites

On 7/24/2016 at 2:32 PM, Tarabas said:

works fine for me like that, but without using names beside coordinates for example:

    [[11722.1,13089.8]],    // 'Panagia'"

That's strange I tried it that way too.

Could you please post your spawn location file?

 

Thanks for the reply.

Link to comment
Share on other sites

 


 

/*
    spawn dialog location settings
    By Halv
    
    Copyright (C) 2015  Halvhjearne > README.md
*/

//allow spawn near players jammer? only one is registered, so no point in multiple jammers
//I have had reports about players not loading when using this, so if you have problems, try to set this to false
_spawnNearJammer = true;
//this is the area to search for jammers, reduce if you do not want players spawning on the edge of the map
//Increas with care as it can increase load times with high numbers default: 10000
_jamarea = 10000;

//This will allow spawn near group leader, but group system in epoch is bugged
_spawnNearGroup = true;

//adds the default spawns locations
_adddefaultspawns = true;

Halv_spawns = switch(toLower worldName)do{
//altis spawns
    case "altis":{
        [
/*
        [
            [20548.4,8888.25],
            2,
            "My custom spawn name for panagia"
        ],    // 'Panagia' donor lvl 2 required to spawn here
        [
            [20548.4,8888.25]
        ],    //minimal array for 'Panagia', name is found by the script and no donor / lvl requirements to spawn here
*/
            [[20548.4,8888.25],2],    // 'Panagia'" //donor
            [[20788.2,6733.91]],    // 'Selakano'
            [[20241.1,11659.6],1],    // 'Chalkeia' //reg
            [[16786.2,12619.4]],    // 'Pyrgos'
            [[18111.2,15242.3]],    // 'Charkia'
            [[21358.5,16361],2],    // 'Kalochori'" //donor
            [[23211.4,19957.7]],    // 'Ioannina'
            [[25696.9,21348.6],2],    // 'Sofia' //donor
            [[26990.8,23202.2]],    // 'Molos'
            [[16278.7,17267.4],1],    // 'Telos' //reg
            [[14039.2,18730.9]],    // 'Athira'
            [[14602.8,20791.3]],    // 'Frini'
            [[9436.79,20304.4]],    // 'Abdera'
            [[4559.19,21406.7],2],    // 'Oreokastro' //donor
            [[4040.33,17281.3]],    // 'Agios Konstantinos'
            [[9275.09,15899.8],1],    // 'Agios Dionysios' //reg
            [[12477.4,14316.7]],    // 'Neochori'
            [[3529.11,13054.8]],    // 'Kavala'
            [[9045.54,11960.8]],    // 'Zaros'
            [[9259.52,8062.07],1]    //'Sfaka' //reg

        ]
    };
//stratis spawns
    case "stratis":{
        [
            [[1949.69,5522.03]],
            [[3024.14,5973.37]],
            [[3725.39,7114.48]],
            [[5008.42,5907.77]],
            [[6429.73,5395.64]],
            [[5356.9,3792.62]],
            [[4362.02,3831.27]],
            [[3292.59,2934.25]],
            [[2778.96,1746.92]],
            [[2625.43,608.782]],
            [[2424.63,1142.45]],
            [[2120.67,1920.52]],
            [[2005.55,2702.73]],
            [[1922.96,3569.01]],
            [[1983.26,4178.85]]
        ]
    };
    case "chernarus":
    {
        [
//these are old a2 positions taken directly from ebays essv2 (thanks ebay)
//... Richie says they will work, so ill leave them here for now ...
            //Chernarus
            [[4932,1989]],        //"Balota",
            [[12048,8352]],        //"Berezino",
            [[6901,2509]],        //"Chernogorsk",
            [[10294,2191]],        //"Elektrozavodsk",
            [[2236,1923]],        //"Kamenka",
            [[12071,3591]],        //"Kamyshovo",
            [[3608,2152]],        //"Komarovo",
            [[7952,3205]],        //"Prigorodky",
            [[9153,3901]],        //"Pusta",
            [[13510,5249]],        //"Solnichny",
            // Above are defaults
            [[7068,11221],1],    //"Devil's Castle",
            [[9711,8962],1],    //"Gorka",
            [[5939,10195],2],    //"Grishino",
            [[8421,6643],2],    //"Guglovo",
            [[8812,11642],2],    //"Gvozdno",
            [[5301,8548],2],    //"Kabanino",
            [[11053,12361],2],    //"Krasnostav",
            [[13407,4175],2],    //"Krutoy",
            [[2718,10094],1],    //"Lopatino",
            [[4984,12492],2],    //"Petrovka",
            [[4582,6457],2],    //"Pogorevka",
            [[3626,8976],2],    //"Vybor",
            [[6587,6026],2],    //"Vyshnoye",
            [[2692,5284],1],    //"Zelenogorsk",
            // still viable?
            [[1607,7804,0],2,"Bandit Base"],    //"Bandit Base",
            [[12944,12767,0],2,"Hero Hideout"]//"Hero Hideout",
        ]
    };
    case "bornholm":{
        [
            [[4238.39,19928.1]],    //Sandvig
            [[6320.51,17166.1],2],    //Tejn
            [[11500,14697.5],1],    //Gudhjem
            [[17798.6,9953]],        //Svaneke
            [[17989.7,7962.99]],    //Aarsdale
            [[17380.4,5070.29],1],    //Nexøe
            [[16711.7,2652.2]],        //Snogebæk
//            [[15368.7,390.873]],    //Dueodde
            [[11191.5,1591.41]],    //Sømarken
            [[4251.74,4553.86]],    //Arnager
            [[1521.58,7508.99]],    //Rønne
            [[1634,12926.4]],        //Hasle
//            [[19687.1,22105],2],        //Christians ø, not working, player will most likely spawn in map center.
            [[2884.57,17167.5],1]    //Vang
        ]
    };
        case "tanoa":{
        [
/*
        [
            [20548.4,8888.25],
            2,
            "My custom spawn name for panagia"
        ],    // 'Panagia' donor lvl 2 required to spawn here
        [
            [20548.4,8888.25]
        ],
*/
            [[6899.25,7438.27]],    //'Airoporter'
            [[11738.82,2991.05]],    //'Airportion'
            [[11722.1,13089.8]],    // 'Panagia'
            [[2205.9,13450.14]],    // 'Selakano'
            [[2105.12,3444.69]]        //Tanoa Airport Spawns by Tarabas  (http://zombielandepoch.clan.su/)

        ]
    };
/* //create new world spawns, use lower case letters only or it will not be detected (only [x,y] needed)
    case "myworldname":{
        [
            [[0,0],2,"customname"],    //spawn locked for everyone but lvl 2, customname is "customname"
            [[0,0],1],                //spawn locked for everyone but lvl 1
            [[0,0],0,"customname"],    //spawn open for all, customname is "customname"
            [[0,0]]                    //minimal spawn, open for all
        ]
    };
*/
    default{[]};
};

 

[/code"] [ /spoiler"]

Link to comment
Share on other sites

  • 2 weeks later...

how to remove this error? bde821dbcb7e.jpg

description.ext

#include "addons\halv_spawn\Halv_defines.hpp"

// Epoch Survival Gamemode

#include "epoch_config\sandbox_config.hpp"

class RscTitles
{

#include "addons\Status_Bar\statusBar.hpp"


};

#include "addons\halv_spawn\spawndialog.hpp"

 

init.sqf

[] execVM "addons\halv_spawn\init.sqf";

if(hasInterface)then{execVM "semClient.sqf"};

//Status Bar
if(hasInterface) then{[] execVM "addons\Status_Bar\init_statusBar.sqf"};

 

 

Link to comment
Share on other sites

  • 4 weeks later...
On 9/4/2016 at 1:02 PM, heisenbergko2p said:

Hello sorry for my english I 'm french here is my problem I have the same problem as freemazavr by cons I do not find the solution in the other post has HALV_RscMapControl this : I do not know where to put those Linemarker class if you can help me thank you very much

bde821dbcb7e.jpg

In your halv_spawn folder open your spawndialog.hpp and put this in it:

Spoiler

class LineMarker

        {

        lineDistanceMin = 3e-005;

        lineLengthMin = 2;

        lineWidthThick = 0.013;

        lineWidthThin = 0.005;

        textureComboBoxColor = "#(argb,8,8,3)color(1,1,1,1)";

Here is my spawndialog.hpp:

Spoiler


class Halv_spawn_dialog
{
    idd=7777;
    moveingenabled=false;
    class controls
    {
        class HALV_spawn_backtext: HALV_IGUIBack
        {
            idc = -1;
            x = 0.195876 * safezoneW + safezoneX;
            y = 0.840914 * safezoneH + safezoneY;
            w = 0.159794 * safezoneW;
            h = 0.0219945 * safezoneH;
        };
        class HALV_spawn_frametext: HALV_RscFrame
        {
            idc = -1;
            x = 0.195876 * safezoneW + safezoneX;
            y = 0.840914 * safezoneH + safezoneY;
            w = 0.159794 * safezoneW;
            h = 0.0219945 * safezoneH;
        };
        class HALV_spawn_back: HALV_IGUIBack
        {
            idc = -1;
            x = 0.180412 * safezoneW + safezoneX;
            y = 0.115097 * safezoneH + safezoneY;
            w = 0.628866 * safezoneW;
            h = 0.769807 * safezoneH;
        };
        class HALV_spawn_frame: HALV_RscFrame
        {
            idc = -1;
            text = "Spawn Menu by Halv";
            x = 0.180412 * safezoneW + safezoneX;
            y = 0.115097 * safezoneH + safezoneY;
            w = 0.628866 * safezoneW;
            h = 0.769807 * safezoneH;
        };
        class HALV_spawn_mapframe: HALV_RscFrame
        {
            idc = -1;
            x = 0.35567 * safezoneW + safezoneX;
            y = 0.137091 * safezoneH + safezoneY;
            w = 0.438144 * safezoneW;
            h = 0.725818 * safezoneH;
        };
        class HALV_spawn_map: HALV_RscMapControl
        {
            idc = 7775;
            text = "";
            x = 0.35567 * safezoneW + safezoneX;
            y = 0.137091 * safezoneH + safezoneY;
            w = 0.438144 * safezoneW;
            h = 0.725818 * safezoneH;
        class LineMarker

        {

        lineDistanceMin = 3e-005;

        lineLengthMin = 2;

        lineWidthThick = 0.013;

        lineWidthThin = 0.005;

        textureComboBoxColor = "#(argb,8,8,3)color(1,1,1,1)";

}
        };
        class HALV_spawn_listboxframe: HALV_RscFrame
        {
            idc = -1;
            x = 0.195876 * safezoneW + safezoneX;
            y = 0.18108 * safezoneH + safezoneY;
            w = 0.159794 * safezoneW;
            h = 0.659834 * safezoneH;
        };
        class HALV_spawn_list: HALV_RscListBox
        {
            idc = 7776;
            x = 0.195876 * safezoneW + safezoneX;
            y = 0.18108 * safezoneH + safezoneY;
            w = 0.159794 * safezoneW;
            h = 0.659834 * safezoneH;
            onLBSelChanged = "if(HALV_SELECTSPAWN)then{_this call Halv_moveMap}; false";
            onLBDblClick = "if(HALV_SELECTSPAWN)then{_this call Halv_spawn_player}else{_this call HALV_player_removelisteditem;}; false";
        };
        class HALV_spawn_haloframe: HALV_RscFrame
        {
            idc = -1;
            x = 0.195876 * safezoneW + safezoneX;
            y = 0.137091 * safezoneH + safezoneY;
            w = 0.0773196 * safezoneW;
            h = 0.043989 * safezoneH;
        };
        class HALV_spawn_butframe: HALV_RscFrame
        {
            idc = -1;
            x = 0.273196 * safezoneW + safezoneX;
            y = 0.137091 * safezoneH + safezoneY;
            w = 0.0824742 * safezoneW;
            h = 0.043989 * safezoneH;
        };
        class HALV_spawn_butselectspawn: HALV_RscCheckbox
        {
            idc = 7781;
            x = 0.273196 * safezoneW + safezoneX;
            y = 0.137091 * safezoneH + safezoneY;
            w = 0.0824742 * safezoneW;
            h = 0.043989 * safezoneH;
//\A3\Air_F_Beta\Parachute_01\Data\UI\Portrait_Parachute_01_CA.paa
            strings[] = {"$STR_HALV_HALO"};
//\a3\soft_f_beta\Truck_01\Data\UI\Truck_01_covered_CA.paa
            checked_strings[] = {"$STR_HALV_GROUND"};
            onCheckBoxesSelChanged = "if(_this select 2 == 0)then{HALV_HALO = true;systemChat localize ""STR_HALV_HALO_SELECTED"";}else{HALV_HALO = false;systemChat localize ""STR_HALV_GROUND_SELECTED"";};false";
            tooltip = "$STR_HALV_PRESSSELECT_HALO_OR_GROUND";
            colorTextSelect[] = {0.6,0.298,0,1};
        };//102,51,0 - 0.4,0.2,0 //153,76,0 - 0.6,0.298,0
        class HALV_spawn_halocheck: HALV_RscCheckbox
        {
            idc = 7780;
            x = 0.195876 * safezoneW + safezoneX;
            y = 0.137091 * safezoneH + safezoneY;
            w = 0.0773196 * safezoneW;
            h = 0.043989 * safezoneH;
            strings[] = {"$STR_HALV_SELECT_GEAR"};
            checked_strings[] = {"$STR_HALV_SELECT_SPAWN"};
            onCheckBoxesSelChanged = "_this call HALV_switch_spawngear;false";
            colorText[] = {0.8,0,0,0.8};
            tooltip = "$STR_HALV_SELECT_GEAR_OR_SPAWN";
        };
        class HALV_spawn_text: HALV_RscStructuredText
        {
            idc = -1;
            text = "$STR_HALV_TS3";
            x = 0.195876 * safezoneW + safezoneX;
            y = 0.840914 * safezoneH + safezoneY;
            w = 0.159794 * safezoneW;
            h = 0.0219945 * safezoneH;
        };

        class HALV_gear_list: HALV_CT_TREE
        {
            idc = 7779;
            x = 0.35567 * safezoneW + safezoneX;
            y = 0.137091 * safezoneH + safezoneY;
            w = 0.438144 * safezoneW;
            h = 0.725818 * safezoneH;
            onTreeDblClick = "_this call Halv_ontreedoubleclick; false";
            onTreeSelChanged = "_this call Halv_ontreeselected; false";
            colorPicture[] = {0,0,0,0.4};
            colorPictureSelected[] = {0,0,0,0.4};
            colorPictureDisabled[] = {0,0,0,0.4};
            colorPictureRight[] = {0,0,0,0.4};
            colorPictureRightSelected[] = {0,0,0,0.4};
            colorPictureRightDisabled[] = {0,0,0,0.4};
        };
    };
};

 

 

Link to comment
Share on other sites

  • 2 months later...
  • 1 month later...
On 8/3/2015 at 10:29 AM, Halvhjearne said:

Does anyone know where securityfunctions.sqf is so I can edit it? I want to see if this fixes the halo boucing back in air.

Thanks

T

On 8/3/2015 at 10:29 AM, Halvhjearne said:
 

 

 

i belive it is possible to edit the default antihack file yourself now and fix the halo problem, in server securityfunctions.sqf try find this line (should be 951):


if (((_distance/(_curTime-_lastTime)) > 10) && _notNearbySpawn && (player == vehicle player)) then {

change it to this:


if (((_distance/(_curTime-_lastTime)) > 10) && _notNearbySpawn && (player == vehicle player) && animationState player != 'halofreefall_non') then {

if it works, pls report back here.

 

regards

Halv

 

Link to comment
Share on other sites

epoch_server\init

would be nice if it works that easy... will try it also

Edit : Looks like it worked... my friend (player not admin) nomore get teleported in the air again... will let it run at the public server to soublecheck and feedback to epoch github if it works..

Wow, thank you, you are great Sneer..

You think there will be an idea like that for the blackfish teleport too ?

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...