-
Posts
21 -
Joined
-
Last visited
About Dirk Verite

Recent Profile Visitors
394 profile views
Dirk Verite's Achievements

Devoted Member (3/6)
0
Reputation
-
How to add a town from Editor
Dirk Verite replied to Dirk Verite's topic in Server & Scripting Help Desk
Then can you help me? I know it's probably easy for some, but not me. I am a quick study though. -
Dirk Verite started following How to add a town from Editor and Placing custom buildings in Altis Life
-
Placing custom buildings in Altis Life
Dirk Verite replied to Johnny Grog's topic in Server & Scripting Help Desk
yeah -
I have tried to look this up, but there is not much for info on this. I would like to know how I would make a town in editor and add it to my Altis life server. Thanks in advance.
-
Placing custom buildings in Altis Life
Dirk Verite replied to Johnny Grog's topic in Server & Scripting Help Desk
So all I need to do is go into editor for Altis, make a new town, then save is as a pbo, Then add the pbo as a mod? -
Lol, I did a search for tank, but I guess I must have missed it. I even looked it over to see if anything else was there. But like coding can be, you can miss anything. So there this is the only way I have found to get tanks working on life. Good stuff man, I hope this helps others out like me. Thanks so much and many thanks...
-
Well dude, you done what I thought impossible. Cheers to you! Now for the next endeavor, that is if you wanna go on? Hope so How do you get the tank to work at the house garages too? Even if I don't learn that, I can live with it this way, but would be more fun with the houses too. Thanks again for it, you rock!
-
yeah dude that was the one I sent a few posts up. I thought there should be a line there for Tank. So here it is with the added Tank line. YAY we got progress the Tank now goes in and out of the garage and shows up in the Tank garage. But it's not in front of the garage, and I have no idea where it spawns. How do I make it spawn in front of the guy with the garage? Here is the file after I put in that linefn_vehicleCreate.sqf
-
I reverted back to the older mission.sqm. Here it is before I put that line in. class Item82 { dataType="Object"; class PositionInfo { position[]={14473.48,19.166288,17753.941}; angles[]={6.2765183,2.6579969,0.022654373}; }; side="Civilian"; flags=4; class Attributes { skill=0.60000002; init="this enableSimulation false; this allowDamage false; this addAction[localize""STR_Garage_Title"", { if (life_HC_isActive) then { [getPlayerUID player,playerSide,""Car"",player] remoteExecCall [""HC_fnc_getVehicles"",HC_Life]; } else { [getPlayerUID player,playerSide,""Car"",player] remoteExecCall [""TON_fnc_getVehicles"",2];}; life_garage_type = ""Car""; createDialog ""Life_impound_menu""; disableSerialization; ctrlSetText[2802,""Fetching Vehicles....""]; life_garage_sp = ""car_g_3""; },"""",1.5,true,true,"""",""true"",5]; this addAction[localize""STR_MAR_Store_vehicle_in_Garage"",life_fnc_storeVehicle,"""",0,false,false,"""",'!life_garage_store',5];"; disableSimulation=1; }; id=1027; type="C_man_1"; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { class type { type[]= { "BOOL" }; }; value=0; }; }; }; class Attribute1 { property="speaker"; expression="_this setspeaker _value;"; class Value { class data { class type { type[]= { "STRING" }; }; value="Male01GRE"; }; }; }; class Attribute2 { property="pitch"; expression="_this setpitch _value;"; class Value { class data { class type { type[]= { "SCALAR" }; }; value=0.95999998; }; }; }; nAttributes=3; }; }; class Item83 { dataType="Object"; class PositionInfo { position[]={3739.4629,12.758859,13267.433}; angles[]={0.022654373,0.90746647,6.2618575}; }; side="Civilian"; flags=4; class Attributes { skill=0.60000002; init="this enableSimulation false; this allowDamage false; this addAction[localize""STR_Garage_Title"", { if (life_HC_isActive) then { [getPlayerUID player,playerSide,""Car"",player] remoteExecCall [""HC_fnc_getVehicles"",HC_Life]; } else { [getPlayerUID player,playerSide,""Car"",player] remoteExecCall [""TON_fnc_getVehicles"",2];}; life_garage_type = ""Car""; createDialog ""Life_impound_menu""; disableSerialization; ctrlSetText[2802,""Fetching Vehicles....""]; life_garage_sp = ""car_g_1""; },"""",1.5,true,true,"""",""true"",5]; this addAction[localize""STR_MAR_Store_vehicle_in_Garage"",life_fnc_storeVehicle,"""",0,false,false,"""",'!life_garage_store',5];"; disableSimulation=1; }; id=1028; type="C_man_1"; atlOffset=-1.9073486e-006; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { class type { type[]= { "BOOL" }; }; value=0; }; }; }; class Attribute1 { property="speaker"; expression="_this setspeaker _value;"; class Value { class data { class type { type[]= { "STRING" }; }; value="Male02GRE"; }; }; }; class Attribute2 { property="pitch"; expression="_this setpitch _value;"; class Value { class data { class type { type[]= { "SCALAR" }; }; value=1.02; }; }; }; nAttributes=3; }; }; Here it is after class Item82 { dataType="Object"; class PositionInfo { position[]={14473.48,19.166288,17753.941}; angles[]={6.2765183,2.6579969,0.022654373}; }; side="Civilian"; flags=4; class Attributes { skill=0.60000002; init="this enableSimulation false; this allowDamage false; this addAction[localize""STR_Garage_Title"", { if (life_HC_isActive) then { [getPlayerUID player,playerSide,""Car"",player] remoteExecCall [""HC_fnc_getVehicles"",HC_Life]; } else { [getPlayerUID player,playerSide,""Car"",player] remoteExecCall [""TON_fnc_getVehicles"",2];}; life_garage_type = ""Car""; createDialog ""Life_impound_menu""; disableSerialization; ctrlSetText[2802,""Fetching Vehicles....""]; life_garage_sp = ""car_g_3""; },"""",1.5,true,true,"""",""true"",5]; this addAction[localize""STR_MAR_Store_vehicle_in_Garage"",life_fnc_storeVehicle,"""",0,false,false,"""",'!life_garage_store',5];"; this addAction[""Tank Garage"", { if (life_HC_isActive) then { [getPlayerUID player,playerSide,""Tank"",player] remoteExecCall [""HC_fnc_getVehicles"",HC_Life]; } else { [getPlayerUID player,playerSide,""Tank"",player] remoteExecCall [""TON_fnc_getVehicles"",2];}; life_garage_type = ""Tank""; createDialog ""Life_impound_menu""; disableSerialization; ctrlSetText[2802,""Fetching Vehicles....""]; life_garage_sp = ""car_g_1""; },"""",1.5,true,true,"""",""true"",5];"; disableSimulation=1; }; id=1027; type="C_man_1"; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { class type { type[]= { "BOOL" }; }; value=0; }; }; }; class Attribute1 { property="speaker"; expression="_this setspeaker _value;"; class Value { class data { class type { type[]= { "STRING" }; }; value="Male01GRE"; }; }; }; class Attribute2 { property="pitch"; expression="_this setpitch _value;"; class Value { class data { class type { type[]= { "SCALAR" }; }; value=0.95999998; }; }; }; nAttributes=3; }; }; class Item83 { dataType="Object"; class PositionInfo { position[]={3739.4629,12.758859,13267.433}; angles[]={0.022654373,0.90746647,6.2618575}; }; side="Civilian"; flags=4; class Attributes { skill=0.60000002; init="this enableSimulation false; this allowDamage false; this addAction[localize""STR_Garage_Title"", { if (life_HC_isActive) then { [getPlayerUID player,playerSide,""Car"",player] remoteExecCall [""HC_fnc_getVehicles"",HC_Life]; } else { [getPlayerUID player,playerSide,""Car"",player] remoteExecCall [""TON_fnc_getVehicles"",2];}; life_garage_type = ""Car""; createDialog ""Life_impound_menu""; disableSerialization; ctrlSetText[2802,""Fetching Vehicles....""]; life_garage_sp = ""car_g_1""; },"""",1.5,true,true,"""",""true"",5]; this addAction[localize""STR_MAR_Store_vehicle_in_Garage"",life_fnc_storeVehicle,"""",0,false,false,"""",'!life_garage_store',5];"; this addAction[""Tank Garage"", { if (life_HC_isActive) then { [getPlayerUID player,playerSide,""Tank"",player] remoteExecCall [""HC_fnc_getVehicles"",HC_Life]; } else { [getPlayerUID player,playerSide,""Tank"",player] remoteExecCall [""TON_fnc_getVehicles"",2];}; life_garage_type = ""Tank""; createDialog ""Life_impound_menu""; disableSerialization; ctrlSetText[2802,""Fetching Vehicles....""]; life_garage_sp = ""car_g_1""; },"""",1.5,true,true,"""",""true"",5];"; disableSimulation=1; }; id=1028; type="C_man_1"; atlOffset=-1.9073486e-006; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { class type { type[]= { "BOOL" }; }; value=0; }; }; }; class Attribute1 { property="speaker"; expression="_this setspeaker _value;"; class Value { class data { class type { type[]= { "STRING" }; }; value="Male02GRE"; }; }; }; class Attribute2 { property="pitch"; expression="_this setpitch _value;"; class Value { class data { class type { type[]= { "SCALAR" }; }; value=1.02; }; }; }; nAttributes=3; }; };
-
Hey there thanks for the help. I seem to be getting this error. Not sure how to fix it? 12:07:27 Error context ddAction[""Tank Garage"", { if (life_HC_isActive) then { [getPlayerUID player,playerSide,""Tank"",player] remoteExecCall [""HC_fnc_getVehicles"",HC_Life]; } else { [getPlayerUID player,playerSide,""Tank"",player] remoteExecCall [""TON_fnc_getVehicles"",2];}; life_garage_type = ""Tank""; createDialog ""Life_impound_menu""; disableSerialization; ctrlSetText[2802,""Fetching Vehicles....""]; life_garage_sp = ""car_g_1""; },"""",1.5,true,true,"""",""true"",5];"; 12:07:27 ErrorMessage: File mpmissions\__cur_mp.Altis\mission.sqm, line 36196: '/Mission/Entities/Item841/Entities/Item82/Attributes.this': 'a' encountered instead of '=' 12:07:27 Application terminated intentionally
-
So add this to the bottom and change the item number to the next one? You can see were I changed a Car to Tank in the first part of the init/ class Item83 { dataType="Object"; class PositionInfo { position[]={3739.4629,12.758859,13267.433}; angles[]={0.022654373,0.90746647,6.2618575}; }; side="Civilian"; flags=4; class Attributes { skill=0.60000002; init="this enableSimulation false; this allowDamage false; this addAction[localize""STR_Garage_Title"", { if (life_HC_isActive) then { [getPlayerUID player,playerSide,""Tank"",player] remoteExecCall [""HC_fnc_getVehicles"",HC_Life]; } else { [getPlayerUID player,playerSide,""Car"",player] remoteExecCall [""TON_fnc_getVehicles"",2];}; life_garage_type = ""Car""; createDialog ""Life_impound_menu""; disableSerialization; ctrlSetText[2802,""Fetching Vehicles....""]; life_garage_sp = ""car_g_1""; },"""",1.5,true,true,"""",""true"",5]; this addAction[localize""STR_MAR_Store_vehicle_in_Garage"",life_fnc_storeVehicle,"""",0,false,false,"""",'!life_garage_store',5];"; disableSimulation=1; }; id=1028; type="C_man_1"; atlOffset=-1.9073486e-006; class CustomAttributes { class Attribute0 { property="allowDamage"; expression="_this allowdamage _value;"; class Value { class data { class type { type[]= { "BOOL" }; }; value=0; }; }; }; class Attribute1 { property="speaker"; expression="_this setspeaker _value;"; class Value { class data { class type { type[]= { "STRING" }; }; value="Male02GRE"; }; }; }; class Attribute2 { property="pitch"; expression="_this setpitch _value;"; class Value { class data { class type { type[]= { "SCALAR" }; }; value=1.02; }; }; }; nAttributes=3; }; };