Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
staticx

Domi TvT help making a GUER spawn point

Recommended Posts

Hey guys im an admin on a server now for 5yrs and im starting to get burnt out playing the game. So to keep me hanging around on the server some more i wanted to add my own faction on our DOMI edits. mainly TvT with like 2-3 GUER slots. I know theres a west and east spawn point. base_spawn_1, base_spawn_2. I've been digging around in the x_setupplayer.sqf and found...(see below) what would i have to do to make my own respawn marker to play as guerrilla and play with the GUER in the AO's and beable to shoot both West and EAST. I just want my own spawn point out in the middle of nowhere and beable to parajump into the AO if i die to play with the GUER AI. Dont know if this has been done before. My thoughts are to make a base_spawn_3 and adding that marker on the map, but im sure theres a lot more to do. anyways you master editors let me know and point me in the right direction or bounce some ideas off me. thx

_respawn_marker = "";

#define __dml_w deleteMarkerLocal #respawn_west

#define __dml_e deleteMarkerLocal #respawn_east

#define __dml_g deleteMarkerLocal #respawn_guerrila

switch (GVAR(own_side)) do {

case "GUER": {

_respawn_marker = "respawn_guerrila";

__dml_w;

__dml_e;

};

case "WEST": {

_respawn_marker = "respawn_west";

__dml_g;

__dml_e;

};

case "EAST": {

_respawn_marker = "respawn_east";

__dml_w;

__dml_g;

};

};

#define __rmsmpl _respawn_marker setMarkerPosLocal

if (__TTVer) then {

if (GVAR(player_side) == west) then {

__rmsmpl markerPos "base_spawn_1";

} else {

__rmsmpl markerPos "base_spawn_2";

};

Share this post


Link to post
Share on other sites
make a base_spawn_3

and replace last if-statement to

switch (GVAR(player_side)) do {
case west: {__rmsmpl markerPos "base_spawn_1"};
case east: {__rmsmpl markerPos "base_spawn_2"};
case resistance: {__rmsmpl markerPos "base_spawn_3"};
};

Share this post


Link to post
Share on other sites

Didn't work for me. still no rotating green clickable respawn playing as guer (resistance)

Share this post


Link to post
Share on other sites
Sign in to follow this  

×