portuguese

portuguese

« posted: Apr 16, 2018, 06:31 AM »
I need to know edit as to translate the name of missions to portuguese and to give more loot to player when he starts the game.

TKS.
  • Offline ShineDwarf
  • First Blood
  • ***
  • Posts: 79
  • Co-Owner, Fractured Gaming

Re: portuguese

« Reply #1 posted: Apr 17, 2018, 04:18 PM »
As long as your mission.sqf names match whats in setupmissionarrays.sqf you can name them whateglver you want.

Player spawn gear is under client>functions>playersetupgear.sqf

Re: portuguese

« Reply #2 posted: Apr 18, 2018, 04:09 AM »
Hi. TKS.

Tomorrow I'll try It.

Have a nice day.

Enviado de meu SM-P555M usando Tapatalk

Re: portuguese

« Reply #3 posted: Apr 20, 2018, 04:29 PM »
Hi, I did translate missions, but I am with troubles to put on script my idea about players when they start.

I'd like in this way oficial players

Medic
- Helmet: defensor
- Gun 1: Lim-80 5.56/kahlia/supressor/laser IV (2 amno)
- Gun 2: Common pistol
- Gun 3: Luncher: Alamut
- bag: good bag less bergen
- Thermal vision: BLOCKED

Sniper
- Full guillie arid
- Gun 1: Cyrus 9.3/LRPS/supressor/thermal vision (5 amno)
- Luncher: BLOCKED
- bag: good bag less bergen

Dive:
- Similar to Medic

Engineer
- Helmet: defensor
- Gun 1: GM6 Lynx 12.7/Kahlia (6 amno)
- Luncher: Titan MPRL (2 AT)
- Bag: Bergen
- explosives, detector ir Mine,
- Thermal vision: BLOCKED


Excuse me. I know that os several things to do

Belos follows the playerSetupGear.sqf code.

// ******************************************************************************************

// * This project is licensed under the GNU Affero GPL v3. Copyright  2014 A3Wasteland.com *

// ******************************************************************************************

//   @file Name: playerSetupGear.sqf

//   @file Author: [GoT] JoSchaap, AgentRev


private ["_player", "_uniform", "_vest", "_headgear", "_goggles"];

_player = _this;


// Clothing is now defined in "client\functions\getDefaultClothing.sqf"


_uniform = [_player, "uniform"] call getDefaultClothing;

_vest = [_player, "vest"] call getDefaultClothing;

_headgear = [_player, "headgear"] call getDefaultClothing;

_goggles = [_player, "goggles"] call getDefaultClothing;


if (_uniform != "") then { _player addUniform _uniform };

if (_vest != "") then { _player addVest _vest };

if (_headgear != "") then { _player addHeadgear _headgear };

if (_goggles != "") then { _player addGoggles _goggles };


sleep 0.1;


// Remove GPS

//_player unlinkItem "ItemGPS";


// Remove radio

//_player unlinkItem "ItemRadio";


// Remove NVG

if (hmd _player != "") then { _player unlinkItem hmd _player };


// Add NVG

_player linkItem "NVGoggles";


_player addBackpack "B_AssaultPack_rgr";


_player addMagazine "9Rnd_45ACP_Mag";

_player addWeapon "hgun_ACPC2_F";

_player addMagazine "9Rnd_45ACP_Mag";

_player addMagazine "9Rnd_45ACP_Mag";

_player addMagazine "9Rnd_45ACP_Mag";

_player addItem "FirstAidKit";

_player selectWeapon "hgun_ACPC2_F";


switch (true) do

{

   case (["_medic_", typeOf _player] call fn_findString != -1):

   {

      _player removeItem "FirstAidKit";

      _player addItem "Medikit";

   };

   case (["_engineer_", typeOf _player] call fn_findString != -1):

   {

      _player addItem "MineDetector";

      _player addItem "Toolkit";

   };

   case (["_sniper_", typeOf _player] call fn_findString != -1):

   {

      _player addWeapon "Rangefinder";

   };

};


if (_player == player) then

{

   thirstLevel = 100;

   hungerLevel = 100;

};




Enviado de meu SM-P555M usando Tapatalk

  • Offline Mokey
  • Fractured Wasteland
  • Elite
  • ******
  • Posts: 606
  • Https://Fractured-Gaming.com

Re: portuguese

« Reply #4 posted: Apr 24, 2018, 06:18 AM »
use Code button (#) in menu :P

What exactly are you trying to do?

If you're trying to block thermals, you can call it from the client/init.sqf.
https://github.com/Fractured-Gaming-Official/Frac_v1.4.Stratis/blob/master/client/init.sqf#L164
&&
https://github.com/Fractured-Gaming-Official/Frac_v1.4.Stratis/blob/master/addons/disableThermal/disableThermal.sqf

Hope it helps
Cheers!
Posts once, edits post 40 times in 60 seconds. STUPID FAT FINGERS!

Re: portuguese

« Reply #5 posted: Apr 28, 2018, 11:18 PM »
use Code button (#) in menu

What exactly are you trying to do?

If you're trying to block thermals, you can call it from the client/init.sqf.
https://github.com/Fractured-Gaming-Official/Frac_v1.4.Stratis/blob/master/client/init.sqf#L164
&&
https://github.com/Fractured-Gaming-Official/Frac_v1.4.Stratis/blob/master/addons/disableThermal/disableThermal.sqf

Hope it helps
Cheers!
Tks

Enviado de meu SM-P555M usando Tapatalk