kuplion

[Tweak] Customise spawn uniform (and loadout).

58 posts in this topic

Posted (edited)

Seeing as the previous version of this has been removed by the OP, I've decided to upload my updated files for Sweet Potato, 1.0.1 (and Potato, 1.0.0).

Extract the files to your mission file, so that they are as follows:

Exile.MapName\Custom\CustomLoadout\***files***.sqf

Now add this to CfgExileCustomCode:

// Custom Loadout
	ExileServer_object_player_network_createPlayerRequest = "Custom\CustomLoadout\ExileServer_object_player_network_createPlayerRequest.sqf";
	ExileServer_object_player_createBambi = "Custom\CustomLoadout\ExileServer_object_player_createBambi.sqf";

Below are the edits made to the Exile files. Both files already contain these edits. Please ensure you make any changes to both files and that the custom loadout sections match.

// Custom Loadout Starts Here. Uncomment the lines you want your players to have..
	
	// Clothing
	_bambiPlayer forceAddUniform "Exile_Uniform_ExileCustoms"; // Black Exile Overalls
	//_bambiPlayer addVest "V_TacVest_gen_F"; // Change Vest Class Here
	//_bambiPlayer addHeadgear "H_Beret_gen_F"; // Change Headgear Class Here
	//_bambiPlayer addBackpack "B_ViperHarness_blk_F"; // Change Backpack Class Here
	
	// Navigation Items
	//_bambiPlayer linkItem "ItemGPS"; // This Puts The GPS Into The Correct Slot
	_bambiPlayer linkItem "Exile_Item_XM8"; // This Puts The XM8 Into The Correct Slot 
	//_bambiPlayer linkItem "ItemCompass"; //This Puts The Compass Into The Correct Slot
	_bambiPlayer linkItem "ItemMap"; //This Puts The Map Into The Correct Slot
	//_bambiPlayer linkItem "ItemRadio"; //This Puts The Radio Into The Correct Slot
	
	// Food and Drink Items
	_bambiPlayer addItem "Exile_Item_PlasticBottleCoffee"; // Change Drink Class Here
	_bambiPlayer addItem "Exile_Item_EMRE"; // Change Food Class Here
	
	// Medical Items
	_bambiPlayer addItem "Exile_Item_Bandage"; // Change Meds Class Here
	//_bambiPlayer addItem "Exile_Item_Bandage"; // Change Meds Class Here
	//_bambiPlayer addItem "Exile_Item_InstaDoc"; // Change Meds Class Here
	
	// Ammo
	//_bambiPlayer addItemToVest "11Rnd_45ACP_Mag"; // Ammo For Weapon Listed Below
	//_bambiPlayer addItemToVest "11Rnd_45ACP_Mag"; // Ammo For Weapon Listed Below
	//_bambiPlayer addItemToVest "11Rnd_45ACP_Mag"; // Ammo For Weapon Listed Below
	
	// Weapons
	//_bambiPlayer addWeapon "hgun_Pistol_heavy_01_F"; // Weapon
	
	// Weapons Attachments
	//_bambiPlayer addHandgunItem "optic_MRD"; // Adds Attachment to Handgun | Change Attachment Class Here
	//_bambiPlayer addHandgunItem "muzzle_snds_acp"; // Adds Attachment to Handgun | Change Attachment Class Here
	//_bambiPlayer addPrimaryWeaponItem "optic_AMS_khk"; // Adds Attachment to Primary Weapon | Change Attachment Class Here
	//_bambiPlayer addPrimaryWeaponItem "bipod_03_F_oli";// Adds Attachment to Primary Weapon | Change Attachment Class Here
	//_bambiPlayer addPrimaryWeaponItem "muzzle_snds_B_khk_F"; // Adds Attachment to Primary Weapon | Change Attachment Class Here
	
// Custom Loadout Ends Here. Uncomment the lines you want your players to have..

Download Link for 1.0.1 (Sweet Potato) and 1.0.2 (Kohlrabi)

Download Link for 1.0.0 (Potato)

Edited by kuplion
4 people like this

Share this post


Link to post
Share on other sites
Advertisement

Posted (edited)

Ok added both files to Custom folder, :)

Added text to CfgExileCustomCode

 

But I still spawn as a normal bambi :)

Edited by TheSh1tGamer

Share this post


Link to post
Share on other sites
Spoiler

 

class Exile_Item_FlagStolen10      { quality = 1; price = 50000; sellPrice = 50000; };
};
 
 
 
class CfgExileCustomCode {
  
  ExileClient_object_player_death_startBleedingOut = "Custom\EnigmaRevive\ExileClient_object_player_death_startBleedingOut.sqf"; //Happys Revive
  ExileClient_object_player_event_onInventoryOpened = "Custom\EnigmaRevive\ExileClient_object_player_event_onInventoryOpened.sqf"; //Happys Revive AntiDupe ---NEW with v0.65
        // Custom Loadout
  ExileServer_object_player_network_createPlayerRequest = "Custom\CustomLoadout\ExileServer_object_player_network_createPlayerRequest.sqf";
     ExileServer_object_player_createBambi =
  "Custom\CustomLoadout\ExileServer_object_player_createBambi.sqf"; 
 
  };
  
 
class CfgExileEnvironment
{
 class Altis

 

there you go, thx for replying

Share this post


Link to post
Share on other sites

And where did you put the files? Which folder(s)?

Share this post


Link to post
Share on other sites

SERVER - mpmissions/exile.altis\Custom\CustomLoadout\ExileServer_object_player_createBambi.sqf

mpmissions/exile.altis\Custom\CustomLoadout\ExileServer_object_player_network_createPlayerRequest.sqf

 

You have a extra S on your first post  = Exile.MapName\Custom\CustomLoadouts\***files***.sqf

 

Share this post


Link to post
Share on other sites
9 minutes ago, TheSh1tGamer said:

SERVER - mpmissions/exile.altis\Custom\CustomLoadout\ExileServer_object_player_createBambi.sqf

mpmissions/exile.altis\Custom\CustomLoadout\ExileServer_object_player_network_createPlayerRequest.sqf

 

You have a extra S on your first post  = Exile.MapName\Custom\CustomLoadouts\***files***.sqf

 

Nicely spotted. Post updated.

1 person likes this

Share this post


Link to post
Share on other sites

from .rpt

Quote

20:19:08 Warning Message: Script Custom\CustomLoadout\ExileServer_object_player_createBambi.sqf not found
20:19:08 Warning Message: Script Custom\CustomLoadout\ExileServer_object_player_network_createPlayerRequest.sqf not found

They are in that location

Share this post


Link to post
Share on other sites

They should be working then as the files and CfgCustomCode is directly copied from my working server. Can you post a picture of the files in location?

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.