Jump to content

Dirk Verite

Members
  • Posts

    21
  • Joined

  • Last visited

About Dirk Verite

Recent Profile Visitors

394 profile views

Dirk Verite's Achievements

Devoted Member

Devoted Member (3/6)

0

Reputation

  1. Then can you help me? I know it's probably easy for some, but not me. I am a quick study though.
  2. 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.
  3. 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?
  4. 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...
  5. Ok I tried to make another button for air garage and changed it to button 5 but that one doesn't come up. Am I missing something? Here is the filefn_houseMenu.sqf And that was another great step to the tanks... It all works great.
  6. 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!
  7. I looked at that line you put in quite a few times. Can't see any coordinates on it? Looked at the rest of item 82 and just can't see where I put the coordinates, or check the car ones for that matter. Thanks again man!
  8. 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
  9. ok Cool, it says true. Funny cars say car, heli and jet say Air, Tanks say true... Should I put everywhere it says tanks to true?
  10. Would it have to do with this file? My database? my mission file? Help? fn_vehicleCreate.sqf
  11. Hello, Well I got the scroll menu to show up at the garage but still can only put them in but not take them out. They don't show up in that garage neither. But at least the menu is there. There is no errors that come up either. Thanks man for the time. Not sure why they make this so difficult.
  12. 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; }; };
  13. 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
  14. 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; }; };
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.