Jump to content

[Release] Taxi script v0.2


5nine

Recommended Posts

Nothing the new pbo to addons, Taxis in mpmission. Important for me was publicvariableval.txt line 1 "call" to 1 for logging. 

 

Other BE Filter: 

 

Scripts.txt 

Line 41:  !"deletemarkerLocal _name1;" !"deletemarkerLocal _name2;" !"deletemarkerLocal _"

Line 42 : !"_mrkr setMarkerShapeLocal "ICON";" !"_mrkr setMarkerTypeLocal "mil_dot";" !"_mrkr"

Line 42:  !"fnc_marker = " !"_mrkr = createMarkerLocal [(_this select 0),(_this select 1)];" !"_mrkr setMarker"

 

I think it was all

Link to comment
Share on other sites

Nothing the new pbo to addons, Taxis in mpmission. Important for me was publicvariableval.txt line 1 "call" to 1 for logging. 

 

Other BE Filter: 

 

Scripts.txt 

Line 41:  !"deletemarkerLocal _name1;" !"deletemarkerLocal _name2;" !"deletemarkerLocal _"

Line 42 : !"_mrkr setMarkerShapeLocal "ICON";" !"_mrkr setMarkerTypeLocal "mil_dot";" !"_mrkr"

Line 42:  !"fnc_marker = " !"_mrkr = createMarkerLocal [(_this select 0),(_this select 1)];" !"_mrkr setMarker"

 

I think it was all

ty so much

Link to comment
Share on other sites

Nothing the new pbo to addons, Taxis in mpmission. Important for me was publicvariableval.txt line 1 "call" to 1 for logging. 

 

Other BE Filter: 

 

Scripts.txt 

Line 41:  !"deletemarkerLocal _name1;" !"deletemarkerLocal _name2;" !"deletemarkerLocal _"

Line 42 : !"_mrkr setMarkerShapeLocal "ICON";" !"_mrkr setMarkerTypeLocal "mil_dot";" !"_mrkr"

Line 42:  !"fnc_marker = " !"_mrkr = createMarkerLocal [(_this select 0),(_this select 1)];" !"_mrkr setMarker"

 

I think it was all

 

i have this:

 

7 deleteMarker !"deletemarkerlocal"

7 setMarker !"Local"

7 createMarker !"createmarkerlocal"

 

edit: 

also 

7 "BIS_fnc_" !"call bis_fnc_showNotification" 

Link to comment
Share on other sites

hi,
I have a problem when I want to get on the vehicul I made me kick BE
 
06.03.2015 08:59:55: TaLiBaN (xxxxxx) xxxxxxxxxxxxxxxxxxxxxx - #30 "ituntil {_cab getvariable ["cabdest",0]>0} or {gotout};
removeAllActions _cab;
deletemarkerLocal _name1;
deletemarkerLocal _name"
06.03.2015 08:59:55: [ATR]BOB (xxxxxx) xxxxxxxxxxxxxxxxxxxxxxxx - #30 "ituntil {_cab getvariable ["cabdest",0]>0} or {gotout};
removeAllActions _cab;
deletemarkerLocal _name1;
deletemarkerLocal _name"
 
thank you for sharing
 
 
 
Link to comment
Share on other sites

 

hi,
I have a problem when I want to get on the vehicul I made me kick BE
 
06.03.2015 08:59:55: TaLiBaN (xxxxxx) xxxxxxxxxxxxxxxxxxxxxx - #30 "ituntil {_cab getvariable ["cabdest",0]>0} or {gotout};
removeAllActions _cab;
deletemarkerLocal _name1;
deletemarkerLocal _name"
06.03.2015 08:59:55: [ATR]BOB (xxxxxx) xxxxxxxxxxxxxxxxxxxxxxxx - #30 "ituntil {_cab getvariable ["cabdest",0]>0} or {gotout};
removeAllActions _cab;
deletemarkerLocal _name1;
deletemarkerLocal _name"
 
thank you for sharing
 
 
 

 

 

make sure you have 

7 removeAllActions !="RemoveAllActions _cab;" 

around line 30 in scripts.txt

 

 

and 

7 deleteMarker !"deletemarkerlocal"

around line 40 in scripts.txt

Link to comment
Share on other sites

   can you please help me

 

 

class Sensors
    {
        items=3;
        class Item0
        {
            position[]={13298.605,3.1302538,14597.177};
            a=200;
            b=200;
            angle=-88.355904;
            activationBy="ANY";
            repeating=1;
            interruptable=1;
            type="SWITCH";
            age="UNKNOWN";
            expCond="this && (local player) && (vehicle player in thisList)";
            expActiv="hint parseText format[""<t align=center' size='2.0'>Achtung!</t><br/>______________<br/><br/>Du betritts die sichere Zone!!<br/>"]; player allowDammage false;";
            expDesactiv="hint parseText format[""<t align=center' size='2.0'>Warnung!</t><br/>______________<br/><br/>Du verlässt die sichere Zone,<br/>Schau auf die Map für die Server-Regeln und weitere Informationen<br/>Viel Glück!<br/>"]; player allowDammage true;";
            class Effects
            {
            };
        };
        class Item1
        {
            position[]={6274.3569,100.45873,16873.375};
            a=200;
            b=200;
            angle=-88.355904;
            activationBy="ANY";
            repeating=1;
            interruptable=1;
            type="SWITCH";
            age="UNKNOWN";
            expCond="this && (local player) && (vehicle player in thisList)";
            expActiv="hint parseText format[""<t align=center' size='2.0'>Achtung!</t><br/>______________<br/><br/>Du betritts die sichere Zone!!<br/>"]; player allowDammage false;";
            expDesactiv="hint parseText format[""<t align=center' size='2.0'>Warnung!</t><br/>______________<br/><br/>Du verlässt die sichere Zone,<br/>Schau auf die Map für die Server-Regeln und weitere Informationen<br/>Viel Glück!<br/>"]; player allowDammage true;";
            class Effects
            {
            };
        };
        class Item2
        {
            position[]={18477.682,24.450989,14278.354};
            a=200;
            b=200;
            angle=-88.355904;
            activationBy="ANY";
            repeating=1;
            interruptable=1;
            type="SWITCH";
            age="UNKNOWN";
            expCond="this && (local player) && (vehicle player in thisList)";
            expActiv="hint parseText format[""<t align=center' size='2.0'>Achtung!</t><br/>______________<br/><br/>Du betritts die sichere Zone!!<br/>"]; player allowDammage false;";
            expDesactiv="hint parseText format[""<t align=center' size='2.0'>Warnung!</t><br/>______________<br/><br/>Du verlässt die sichere Zone,<br/>Schau auf die Map für die Server-Regeln und weitere Informaionen<br/>Viel Glück!<br/>"]; player allowDammage true;";
            class Effects
            {
            };
        };
    };
};
class Intro

Link to comment
Share on other sites

   can you please help me

 

 

class Sensors

    {

        items=3;

        class Item0

...

Sure:

 

class Sensors
    {
        items=3;
        class Item0
        {
            position[]={13298.605,3.1302538,14597.177};
            a=200;
            b=200;
            angle=-88.355904;
            activationBy="ANY";
            repeating=1;
            interruptable=1;
            type="SWITCH";
            age="UNKNOWN";
            expCond="this && (local player) && (vehicle player in thisList)";
            expActiv="hint parseText format[""<t align=center' size='2.0'>Achtung!</t><br/>______________<br/><br/>Du betritts die sichere Zone!!<br/>"]; player allowDammage false; 
[]execVM ""Taxis\init_cab1.sqf""; player setcaptive true;";
            expDesactiv="hint parseText format[""<t align=center' size='2.0'>Warnung!</t><br/>______________<br/><br/>Du verlässt die sichere Zone,<br/>Schau auf die Map für die Server-Regeln und weitere Informationen<br/>Viel Glück!<br/>"]; 
player allowDammage true; player removeAction addcab; player setcaptive false;";
            class Effects
            {
            };
        };
        class Item1
        {
            position[]={6274.3569,100.45873,16873.375};
            a=200;
            b=200;
            angle=-88.355904;
            activationBy="ANY";
            repeating=1;
            interruptable=1;
            type="SWITCH";
            age="UNKNOWN";
            expCond="this && (local player) && (vehicle player in thisList)";
            expActiv="hint parseText format[""<t align=center' size='2.0'>Achtung!</t><br/>______________<br/><br/>Du betritts die sichere Zone!!<br/>"]; player allowDammage false; 
[]execVM ""Taxis\init_cab3.sqf""; player setcaptive true;";
            expDesactiv="hint parseText format[""<t align=center' size='2.0'>Warnung!</t><br/>______________<br/><br/>Du verlässt die sichere Zone,<br/>Schau auf die Map für die Server-Regeln und weitere Informationen<br/>Viel Glück!<br/>"]; 
player allowDammage true; player removeAction addcab; player setcaptive false;";
            class Effects
            {
            };
        };
        class Item2
        {
            position[]={18477.682,24.450989,14278.354};
            a=200;
            b=200;
            angle=-88.355904;
            activationBy="ANY";
            repeating=1;
            interruptable=1;
            type="SWITCH";
            age="UNKNOWN";
            expCond="this && (local player) && (vehicle player in thisList)";
            expActiv="hint parseText format[""<t align=center' size='2.0'>Achtung!</t><br/>______________<br/><br/>Du betritts die sichere Zone!!<br/>"]; player allowDammage false; 
[]execVM ""Taxis\init_cab2.sqf""; player setcaptive true;";
            expDesactiv="hint parseText format[""<t align=center' size='2.0'>Warnung!</t><br/>______________<br/><br/>Du verlässt die sichere Zone,<br/>Schau auf die Map für die Server-Regeln und weitere Informaionen<br/>Viel Glück!<br/>"]; 
player allowDammage true; player removeAction addcab; player setcaptive false;";
            class Effects
            {
            };
        };
    };
};
class Intro

 
 
I also added the setcaptive option which makes AI ignore you while in traders since I figured that german text was something about a safezone? Remove every "player setcaptive true;" and "player setcaptive false;" if you dont want it.
Also, consider using the spoiler function when posting alot of text
Link to comment
Share on other sites

Hi Dude

 

the Script is very funny Our Player like it ;-)

 

Thx a lot if you whant look on Our Server.

 

One Question can we push the Skill from the Cabdriver and his Friends ?

 

Mfg Burschy

 

I guess you can, have a look inside the pbo under \NibbleGaming_Taxis\compile\spawn_AI.sqf 

That is the part which happens when driver goes mad and spawns his friends. change it to include SetSkill maybe?

 

like:

//spawn_AI.sqf | NibbleGaming Taxis v.1 | by Fivenine
 
_cabdriver = _this select 0;
 
_combatgrp = createGroup RESISTANCE;
_combatgrp setCombatMode "RED";
_combatgrp setBehaviour "COMBAT";
[_cabDriver] joinSilent _combatgrp;
_combatgrp selectLeader _cabdriver;
_cabDriver enableAI "TARGET";
_cabDriver enableAI "AUTOTARGET";
_cabDriver enableAI "MOVE";
_cabDriver enableAI "ANIM";
_cabDriver enableAI "FSM";
_cabDriver setCombatMode "RED";
_cabDriver setBehaviour "COMBAT";
_cabDriver addVest "V_Press_F";
_cabDriver addMagazines ["11Rnd_45ACP_Mag", 3];
_cabDriver addWeapon "hgun_Pistol_heavy_01_F";
_cabDriver addHandgunItem "optic_MRD";
_cabDriver allowDammage true;
_cabDriver setSkill 1;
_cabDriver addEventHandler ["HandleDamage", {true}];
 
unassignVehicle _cabDriver;
_posdriver = getpos _cabDriver;
 
fnc_backupunit = {
(_this select 0) enableAI "TARGET";
(_this select 0) enableAI "AUTOTARGET";
(_this select 0) enableAI "MOVE";
(_this select 0) enableAI "ANIM";
(_this select 0) enableAI "FSM";
(_this select 0) allowDammage true;
(_this select 0) setSkill 1;
removeUniform (_this select 0);
removeHeadgear (_this select 0);
removeBackpack (_this select 0);
removeallitems (_this select 0);
removeAllWeapons (_this select 0);
(_this select 0) forceAddUniform "U_NikosAgedBody";
(_this select 0) addVest "V_Press_F";
(_this select 0) addHeadgear "H_Hat_grey";
(_this select 0) addMagazines ["11Rnd_45ACP_Mag", 3];
(_this select 0) addWeapon "hgun_Pistol_heavy_01_F";
(_this select 0) addHandgunItem "optic_MRD";
};
 
_backupunit1 = _combatgrp createUnit ["I_Soldier_EPOCH", _posdriver, [], 200, "FORM"];
[_backupunit1] call fnc_backupunit;
_backupunit1 addWeapon "arifle_MX_GL_Black_F"; 
_backupunit1 addMagazines ["30Rnd_65x39_caseless_mag_Tracer",3]; 
_backupunit1 addPrimaryWeaponItem "acc_pointer_IR"; 
_backupunit1 selectWeapon "arifle_MX_GL_Black_F";
 
_backupunit2 = _combatgrp createUnit ["I_Soldier_EPOCH", _posdriver, [], 200, "FORM"];
[_backupunit2] call fnc_backupunit;
 
_backupunit2 addWeapon "M14_EPOCH"; 
_backupunit2 addMagazines ["20Rnd_762x51_Mag",3]; 
_backupunit2 addPrimaryWeaponItem "optic_DMS"; 
_backupunit2 selectWeapon "M14_EPOCH";

Link to comment
Share on other sites

I been trying to get this script working and I can see the "Call Taxi" but no truck showing up after the update you did, could you help?

 

make sure you put the NibbleGaming_Taxis.pbo inside your @epochhive\addons\ folder. Also make sure you added everything to your mission folder correctly, (using correct foldernames etc.)

 

otherwise, post both client and server rpt logs. For that, please use either spoiler, or better yet, pastebin.com

Link to comment
Share on other sites

Hi have kick publickvariable #0 

f0f1fdad2fadac3270066d9 - #0 "callcab" = "cab1"

 

mi publick.txt

5 "" call" !"callcab" !="EPOCH_(UP|SAVE|PAINT|MAINT)BUILD" !="EPOCH_(say3D|switchMove|storeCrypto|TEMPOBJ|packJack)_PVS" !="EPOCH_(load|revive|dead|push)Player_PVS" !="EPOCH_(build|equipped)Item_PVS" !="EPOCH_GROUP_(Upgrade|Player|create|Delete|Invite)_PVS" !="EPOCH_(lock|pack)Storage_PVS" !="EPOCH_(unlock|lock|fill|repair)Vehicle_PVS" !="EPOCH_(knockDownTree|destroyTrash|MAKETRADEREQ|MAKETRADE|S_S_VEHICLES|MAKENPCTRADE|oneWayTP)" !="EPOCH_Loot(Animal|Container|Building)"

3 "" !="GlobalAdminHint"

Link to comment
Share on other sites

put this in your publicvariableval.txt on line 1:

 !"callcab" 

btw, your "publick.txt" is formatted incorrectly (I assume by "publick.txt" you mean publicvariable.txt?)

 

remove call" from  5 "" call" !"callcab"

 

also, read this topic about be filters. that should be common knowledge for server owners. 

Link to comment
Share on other sites

  • vbawol unpinned this topic

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
  • Advertisement
×
×
  • Create New...