Jump to content

Violt

Member
  • Content Count

    49
  • Joined

  • Last visited

  • Medals

Everything posted by Violt

  1. Hey guys, When i join my server via de A3Launcher i get the message: Battleye not initialized. I then get kicked straight away. I reinstalled Battleye a couple of times already. It's running on an Windows 10 Desktop.
  2. Hey guys, i'm working on a mission. But i want to have multiple types of roles and types of loadouts that you can choose within the roles. I am using the standard Arma 3 Respawn Menu. Anyone knows how to do this? Thanks!
  3. Hello, On my missions i have several spawn points. But what i want is if you spawn you spawn in a trigger. and you get spawn gear because you are in the trigger with the spawn gear code in it. I already have tried this but it is not working. I have pasted the following in the On Activation space removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; comment "Add containers"; this forceAddUniform "rhs_uniform_acu_ucp"; this addItemToUniform "ACE_EarPlugs"; for "_i" from 1 to 7 do {this addItemToUniform "rhsusf_mag_7x45acp_MHP";}; this addHeadgear "rhsusf_patrolcap_ucp"; comment "Add weapons"; this addWeapon "rhsusf_weap_m1911a1"; comment "Add items"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "tf_microdagr"; this linkItem "tf_anprc152_5"; this linkItem "ItemGPS"; comment "Set identity"; this setFace "WhiteHead_20"; this setSpeaker "ace_novoice"; What am i doing wrong?
  4. Hmm never had a problem doing it my way. Anyways i've removed it.
  5. Hello everyone! I have created a script for people that have a Mil-Sim unit or a Mil-Sim RP mission. This is the first script i have ever created! I couldn't find a script like this myself so i decided to make one. This script is for you if you would like to set a specific rank for a specific player on log in. And if you are not that specific player you will get kicked back to the lobby. I got a little help from the people of the Bohemia Arma 3 Forums. Credits to them! How to install: - Go to your Mission folder - Open your Init.sqf and at the bottom of your init.sqf add: //ranklist.sqf by Violt []execVM "Scripts\ranklist.sqf"; - Create a folder called Scripts in your mission folder. - Create a new .sqf file called ranklist - Open the folder and add: //ranklist.sqf by Violt initially made for www.american-tactics.com //This Script gives every player their rank and kicks players that are not in the rank list. if (isServer) exitWith {}; // Do not delete this sleep 2; //Delay to make sure that the script works. //Rank and SteamID64 list AMTAC_PRIVATE = [ // Private Rank "765**************", // Your Friend "765**************", // Your Friend "765**************", // Your Friend "765**************" // Your Friend ]; AMTAC_CORPORAL = [ // Corporal Rank "765**************", // Your Friend "765**************", // Your Friend "765**************", // Your Friend "765**************" // Your Friend ]; AMTAC_SERGEANT = [ // Sergeant Rank "765**************", // Your Friend "765**************", // Your Friend "765**************" // Your Friend ]; AMTAC_LIEUTENANT = [ // Lieutenant Rank "765**************", // Your Friend "765**************" // Your Friend ]; AMTAC_CAPTAIN = [ // Captain Rank "765**************" // Your Friend ]; AMTAC_MAJOR = [ // Major Rank "765**************" // Your Friend ]; AMTAC_COLONEL = [ // Colonel Rank "765**************" // You ]; _playerUID = getPlayerUID player; //Get Player UID //check to see if the PlayerUID matches switch (true) do { case (_playerUID in AMTAC_PRIVATE) : { player setRank "PRIVATE"; }; case (_playerUID in AMTAC_CORPORAL) : { player setRank "CORPORAL"; }; case (_playerUID in AMTAC_SERGEANT) : { player setRank "SERGEANT"; }; case (_playerUID in AMTAC_LIEUTENANT) : { player setRank "LIEUTENANT"; }; case (_playerUID in AMTAC_CAPTAIN) : { player setRank "CAPTAIN"; }; case (_playerUID in AMTAC_MAJOR) : { player setRank "MAJOR"; }; case (_playerUID in AMTAC_COLONEL) : { player setRank "COLONEL"; }; default { disableUserInput true; hint "You are not whitelisted... \nYou will be kicked back to the lobby in 30 seconds. \nIf you want to become a member visit our website for more information: \n wwww.yourwebsite.com \n \nIf you already are a member but you are getting this message then contact a staff member on TeamSpeak."; sleep 30; disableUserInput false; failMission "end1"; }; }; Enjoy the script! If you have any questions feel free to ask them!
  6. Hello, I am working on a script. And i have got it working pretty much. I have only got one problem. This Script gives every player their rank and kicks players that are not in the rank list. It gives the players that have their SteamID in here their rank but it does not kick players who don't. But i can't figure it out. Here's my script /* Rank.sqf This Script gives every player their rank and kicks players that are not in the rank list. */ sleep 2; //Delay to make sure that the script is beign executed // Rank and SteamID List PRIVATE = [ "765**************" // SteamID64 here ]; CORPORAL = [ "765**************" // SteamID64 here ]; SERGEANT = [ "765**************" // SteamID64 here ]; LIEUTENANT = [ "765**************" // SteamID64 here ]; CAPTAIN = [ "765**************" // SteamID64 Here ]; MAJOR = [ "765**************" // SteamID64 Here ]; COLONEL = [ "765**************" // SteamID64 Here ]; //========================================================================================================================================================= _playerUID = getPlayerUID player; //Checks PlayerUID _found = false; while {!_found} do { if (_playerUID in CORPORAL) then { player setRank "CORPORAL"; // This sets the ingame Rank _found = true; // Stops Searching if the playerUID was found }else{ if (_playerUID in SERGEANT) then { player setRank "SERGEANT"; _found = true; }else{ if (_playerUID in LIEUTENANT) then { player setRank "LIEUTENANT"; _found = true; }else{ if (_playerUID in CAPTAIN) then { player setRank "CAPTAIN"; _found = true; }else{ if (_playerUID in MAJOR) then { player setRank "MAJOR"; _found = true; }else{ if (_playerUID in COLONEL) then { player setRank "COLONEL"; _found = true; }else{ if (_playerUID in PRIVATE) then { player setRank "PRIVATE"; _found = true; }else{ // If you are not in the Rank List you will get kicked back to the lobby disableUserInput true; hint "You are not whitelisted! You will be kicked to the lobby in 5 seconds!"; sleep 5; disableUserInput false; failMission "end1"; _found = true; }; }; }; }; }; }; }; };
  7. Hello again, i found out that if i add the case case (_playerUID in PRIVATE) : { player setRank "PRIVATE"; }; It will not work so i commented it out and it works now. But the script has to have Private's to be able to be "whitelisted" //Ranks.sqf by Violt Created for American-Tactics.com //This Script gives every player their rank and kicks players that are not in the rank list. sleep 2; //Delay to make sure that the script is beign executed //Rank and SteamID list //PRIVATE = ["76561198157925156"]; CORPORAL = []; SERGEANT = []; LIEUTENANT = []; CAPTAIN = ["76561198137045416"]; MAJOR = ["76561198155447330"]; COLONEL = ["76561198122914475"]; _playerUID = getPlayerUID player; //Get Player UID //check to see if the player matches switch (true) do { // case (_playerUID in PRIVATE) : { player setRank "PRIVATE"; }; case (_playerUID in CORPORAL) : { player setRank "CORPORAL"; }; case (_playerUID in SERGEANT) : { player setRank "SERGEANT"; }; case (_playerUID in LIEUTENANT) : { player setRank "LIEUTENANT"; }; case (_playerUID in CAPTAIN) : { player setRank "CAPTAIN"; }; case (_playerUID in MAJOR) : { player setRank "MAJOR"; }; case (_playerUID in COLONEL) : { player setRank "COLONEL"; }; default { hint "Test"; }; //setting default rank for all others };
  8. Anyways, i will try to rework the script. After i get home. As it worked before i added the switches. I’ll let you know when it’s working or if i’m totally lost.
  9. I do not understand this fullt yet. If you mean by executing the script. The executing code is in the init.sqf
  10. For some reason the script is not working at all right now. Here's my script What am i doing wrong? //Ranks.sqf by Violt Created for American-Tactics.com //This Script gives every player their rank and kicks players that are not in the rank list. sleep 5; //Delay to make sure that the script is beign executed // Rank and SteamID list PRIVATE = ["76561198157925156"]; CORPORAL = []; SERGEANT = []; LIEUTENANT = []; CAPTAIN = ["76561198137045416"]; MAJOR = ["76561198155447330"]; COLONEL = ["76561198122914475"]; _playerUID = getPlayerUID player; //Checks Player ID //check to see if the player matches switch (true) do { case (_playerUID in PRIVATE) : { player setRank "PRIVATE"; }; case (_playerUID in CORPORAL) : { player setRank "CORPORAL"; }; case (_playerUID in SERGEANT) : { player setRank "SERGEANT"; }; case (_playerUID in LIEUTENANT) : { player setRank "LIEUTENANT"; }; case (_playerUID in CAPTAIN) : { player setRank "CAPTAIN"; }; case (_playerUID in MAJOR) : { player setRank "MAJOR"; }; case (_playerUID in COLONEL) : { player setRank "COLONEL"; }; default { disableUserInput true; hint "You are not whitelisted! You will be kicked to the lobby in 5 seconds!"; sleep 5; disableUserInput false; failMission "end1";; }; };
  11. Hey guys, I'm working on my Mil-Sim mission and i'm working on the respawns now. But like very unit has is that there's many types of ranks. I'm using the Standard Arma 3 Respawn menu with the role and loadout but in roles i want to have the name of the Arma 3 Ranks so Private, Corporal, Sergeant, Lieutenant, Captain, Major, Colonel. And if you select that role you actually become that rank. So you are not the standard private rank. How do you do this? I hope you guys know what i mean. (here's a screenshot of the respawn menu i mean with the roles menu: https://imgur.com/a/kxbY7B4)
  12. Found out for this to work. It took me about 1 hour searching on google and it finally worked. I'm pretty new to scripting so i do not understand everything.
  13. Sorry the post was duplicatd for a reason. Admin's please delete this one
  14. No it's not the same. It's another way of doing so. As i am not using a trigger in the Respawn Menu.
  15. Hello, I am working on a mission and i want to learn from the standard Apex missions as in coding. Where do i find these files exactly? With the Apex missions i mean the Campaign Missions off of the Apex DLC. Thanks for the help!
  16. Hello, I am using the Vanilla Respawn Menu for my Arma 3 Mil-Sim Mission. But i can't seem to get the roles and loadouts to work. I just need someone to help me with this. I already have a loadout setup with the following items: (It's exported from the arsenal) comment "Add containers"; this forceAddUniform "rhs_uniform_acu_ucp"; this addItemToUniform "ACE_EarPlugs"; for "_i" from 1 to 7 do {this addItemToUniform "rhsusf_mag_7x45acp_MHP";}; this addHeadgear "rhsusf_patrolcap_ucp"; comment "Add weapons"; this addWeapon "rhsusf_weap_m1911a1"; comment "Add items"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "tf_microdagr"; this linkItem "tf_anprc152_5"; this linkItem "ItemGPS"; I will send you my mission file through pm if you can help. Many Thanks!
  17. Nevermind found them thanks again!
  18. Hello again, I have my respawn points back. And i have 1 loadout but thats the standard units loadout and not the one that is in my class CfgRespawnInventory Could you please help me?
  19. Thank you very much! But i can't seem to find the .tanoa missions
  20. Hey i got it to work atleast the loadout. But now i can't choose where to spawn. What do i do? I was able to choose to respawn at first.
  21. With not implemented yet i mean not working yet. So that feature is not in the mission yet. I just need to know step by step what i need to do. As the link you sended me isn't giving me enough help.
  22. The reason why i need the respawn menu with the loadout is for the player to select their rank. And if you are an let say an lt you are able to call in attilery strikes. You won’t as a recruit. The code to select a rank depending on the loadout role you select is already made and should work. If this doesn’t work i need to find another wat for the player to be able to select their rank.
  23. i only haven't implemented the Respawn loadouts yet. Thats why i bumped. i have no idea of what i am doing wrong
×