-
Posts
66 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Posts posted by iCEtIMed
-
-
This is the Custom Gem Trader that I use on my server.
//iCEtIMed's Gem Trader
if (isServer) then {
_vehicle_21 = objNull;
if (true) then
{
_this = createVehicle ["MAP_Ind_SawMill", [2229.1509, 6218.125, -0.037697155], [], 0, "CAN_COLLIDE"];
_vehicle_21 = _this;
_this setDir -209.08572;
_this setPos [2229.1509, 6218.125, -0.037697155];
};
_vehicle_27 = objNull;
if (true) then
{
_this = createVehicle ["MAP_Misc_Cargo1B", [2205.1836, 6216.6533, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
_vehicle_27 = _this;
_this setDir 81.001747;
_this setPos [2205.1836, 6216.6533, 3.0517578e-005];
};
_vehicle_28 = objNull;
if (true) then
{
_this = createVehicle ["MAP_Misc_Cargo1Ao", [2210.4585, 6223.1133, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
_vehicle_28 = _this;
_this setDir 144.75107;
_this setPos [2210.4585, 6223.1133, 3.0517578e-005];
};
_vehicle_32 = objNull;
if (true) then
{
_this = createVehicle ["MAP_SeaCrate", [2234.8938, 6235.9673, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
_vehicle_32 = _this;
_this setDir -64.409439;
_this setPos [2234.8938, 6235.9673, 6.1035156e-005];
};
_vehicle_39 = objNull;
if (true) then
{
_this = createVehicle ["MAP_hut_old02", [2249.4753, 6245.0464, -0.077868775], [], 0, "CAN_COLLIDE"];
_vehicle_39 = _this;
_this setDir -48.271824;
_this setPos [2249.4753, 6245.0464, -0.077868775];
};
_vehicle_47 = objNull;
if (true) then
{
_this = createVehicle ["MAP_Misc_WoodPile", [2248.9331, 6250.0996, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
_vehicle_47 = _this;
_this setDir -51.878941;
_this setPos [2248.9331, 6250.0996, 3.0517578e-005];
};
_vehicle_49 = objNull;
if (true) then
{
_this = createVehicle ["MAP_Barel5", [2250.4495, 6239.9116], [], 0, "CAN_COLLIDE"];
_vehicle_49 = _this;
_this setDir -124.45641;
_this setPos [2250.4495, 6239.9116];
};
_vehicle_50 = objNull;
if (true) then
{
_this = createVehicle ["MAP_Misc_cargo_cont_net2", [2256.0615, 6240.6421, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
_vehicle_50 = _this;
_this setPos [2256.0615, 6240.6421, -3.0517578e-005];
};
_vehicle_53 = objNull;
if (true) then
{
_this = createVehicle ["MAP_Misc_cargo_cont_net3", [2241.0068, 6245.2554, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
_vehicle_53 = _this;
_this setDir -42.474304;
_this setPos [2241.0068, 6245.2554, 3.0517578e-005];
};
_vehicle_55 = objNull;
if (true) then
{
_this = createVehicle ["MAP_Misc_cargo_cont_tiny", [2249.7356, 6241.1914], [], 0, "CAN_COLLIDE"];
_vehicle_55 = _this;
_this setDir -49.607712;
_this setPos [2249.7356, 6241.1914];
};
_vehicle_58 = objNull;
if (true) then
{
_this = createVehicle ["UralWreck", [2232.4817, 6199.8584], [], 0, "CAN_COLLIDE"];
_vehicle_58 = _this;
_this setDir 25.72739;
_this setPos [2232.4817, 6199.8584];
};
_vehicle_70 = objNull;
if (true) then
{
_this = createVehicle ["Land_Campfire_burning", [2246.7434, 6248.9956, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
_vehicle_70 = _this;
_this setPos [2246.7434, 6248.9956, 3.0517578e-005];
};
_vehicle_73 = objNull;
if (true) then
{
_this = createVehicle ["Land_Toilet", [2238.76, 6242.2173, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
_vehicle_73 = _this;
_this setDir -234.94443;
_this setPos [2238.76, 6242.2173, 3.0517578e-005];
};
_vehicle_74 = objNull;
if (true) then
{
_this = createVehicle ["Garbage_container", [2240.1777, 6241.0864], [], 0, "CAN_COLLIDE"];
_vehicle_74 = _this;
_this setDir 130.19897;
_this setPos [2240.1777, 6241.0864];
};
_vehicle_77 = objNull;
if (true) then
{
_this = createVehicle ["Land_bags_stack_EP1", [2242.3713, 6241.8296, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
_vehicle_77 = _this;
_this setPos [2242.3713, 6241.8296, 3.0517578e-005];
};
_vehicle_79 = objNull;
if (true) then
{
_this = createVehicle ["Land_cages_EP1", [2247.5393, 6253.9971], [], 0, "CAN_COLLIDE"];
_vehicle_79 = _this;
_this setDir -41.521793;
_this setPos [2247.5393, 6253.9971];
};
_vehicle_82 = objNull;
if (true) then
{
_this = createVehicle ["Land_Ind_Timbers", [2197.4182, 6229.4194, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
_vehicle_82 = _this;
_this setDir 114.25323;
_this setPos [2197.4182, 6229.4194, 3.0517578e-005];
};
_vehicle_83 = objNull;
if (true) then
{
_this = createVehicle ["Land_Ind_Timbers", [2205.2268, 6239.6006, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
_vehicle_83 = _this;
_this setDir -103.09561;
_this setPos [2205.2268, 6239.6006, 3.0517578e-005];
};
_vehicle_86 = objNull;
if (true) then
{
_this = createVehicle ["FoldChair", [2245.0618, 6250.145, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
_vehicle_86 = _this;
_this setDir -46.336502;
_this setPos [2245.0618, 6250.145, 3.0517578e-005];
};
_vehicle_87 = objNull;
if (true) then
{
_this = createVehicle ["FoldChair", [2246.8831, 6250.8867, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
_vehicle_87 = _this;
_this setPos [2246.8831, 6250.8867, 3.0517578e-005];
};
_vehicle_88 = objNull;
if (true) then
{
_this = createVehicle ["FoldTable", [2249.0601, 6245.5815], [], 0, "CAN_COLLIDE"];
_vehicle_88 = _this;
_this setDir -50.17762;
_this setPos [2249.0601, 6245.5815];
};
_vehicle_89 = objNull;
if (true) then
{
_this = createVehicle ["Land_Chair_EP1", [2251.4189, 6246.4521, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
_vehicle_89 = _this;
_this setDir 166.26764;
_this setPos [2251.4189, 6246.4521, -3.0517578e-005];
};
_vehicle_94 = objNull;
if (true) then
{
_this = createVehicle ["Land_Bench_EP1", [2245.783, 6238.1895], [], 0, "CAN_COLLIDE"];
_vehicle_94 = _this;
_this setDir -48.872044;
_this setPos [2245.783, 6238.1895];
};
_vehicle_97 = objNull;
if (true) then
{
_this = createVehicle ["Camp", [2250.4131, 6236.2881, 0.0040482357], [], 0, "CAN_COLLIDE"];
_vehicle_97 = _this;
_this setDir -49.084095;
_this setPos [2250.4131, 6236.2881, 0.0040482357];
};
_vehicle_100 = objNull;
if (true) then
{
_this = createVehicle ["MAP_HBarrier5_round15", [2252.0518, 6232.7222, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
_vehicle_100 = _this;
_this setDir -38.169319;
_this setPos [2252.0518, 6232.7222, 3.0517578e-005];
};
_vehicle_109 = objNull;
if (true) then
{
_this = createVehicle ["HeliHCivil", [2230.6826, 6261.3271, 0], [], 0, "CAN_COLLIDE"];
_vehicle_109 = _this;
_this setPos [2230.6826, 6261.3271, 0];
};
};Save the script in the spoiler as a .sqf file named Gem_Trader and add it to the root of your server.
Open your init.sqf and add to the very bottom,
[] ExecVM "Gem_Trader.sqf"; //iCEtIMeds GemTrader
(Or if you keep your custom edits somewhere else, adjust the address.)
You will need to add the trader to your database. A guide to doing this, written by mysticviperx is here. (In the tutorial when he talks about the mission.sqm, he is talking of the one in the @DayZ_Epoch_Server, addons, pbo file.
To add the marker, open your mission.sqm (mine is here - C:\Servers\Arma2Epoch_Server\MPMissions\DayZ_Epoch_11.Chernarusand) and search for;
class Markers
{
items=17;
class Item0
{
position[]={7839.6055,381.33774,8414.7324};
name="center";
type="Empty";
};Add one more to the items= number (You will have a different number of items, mine is 17 so I would change it to 18.(it needs always be 1more than the number of items you have)
then scroll down untill you reach the last item and add this;
class Item17
{
position[]={2249.6472,289.70795,6245.127};
name="GemTrader";
text="Gem Trader";
type="mil_dot";
colorName="ColorGreen";
};(Remember to change the class item number to the number you have, my last item was 16 so for me it is 17)
Screenshots:
I hope you like it, enjoy! :)
-
-
The 2nd Bridge is from post.
Scipt is this;
if (isServer) then {
_bldObj = objNull;
if (true) then
{
_bldObj = createVehicle ["MAP_bridge_asf1_25", [13718.973, 3368.9934, 2.0], [], 0, "CAN_COLLIDE"];
_bldObj setDir 3.3463643;
_bldObj setPos [13718.973, 3368.9934, 2.0];
_bldObj setVectorUp [0, 0, 1];
};
_bldObj = objNull;
if (true) then
{
_bldObj = createVehicle ["MAP_bridge_asf1_25", [13717.181, 3344.4163, 2.01], [], 0, "CAN_COLLIDE"];
_bldObj setDir 5.0739827;
_bldObj setPos [13717.181, 3344.4163, 2.01];
_bldObj setVectorUp [0, 0, 1];
};
_bldObj = objNull;
if (true) then
{
_bldObj = createVehicle ["MAP_bridge_asf1_25", [13714.58, 3320.1558, 2.0], [], 0, "CAN_COLLIDE"];
_bldObj setDir -172.91692;
_bldObj setPos [13714.58, 3320.1558, 2.0];
_bldObj setVectorUp [0, 0, 1];
};
_bldObj = objNull;
if (true) then
{
_bldObj = createVehicle ["MAP_bridge_asf1_25", [13710.959, 3296.1443, 2.01], [], 0, "CAN_COLLIDE"];
_bldObj setDir 9.9466639;
_bldObj setPos [13710.959, 3296.1443, 2.01];
_bldObj setVectorUp [0, 0, 1];
};
_bldObj = objNull;
if (true) then
{
_bldObj = createVehicle ["MAP_bridge_asf1_25", [13708.3, 3273.7942, -0.652], [], 0, "CAN_COLLIDE"];
_bldObj setDir 20.276444;
_bldObj setPos [13708.3, 3273.7942, -0.652];
_bldObj setVectorUp [0, 0, 1];
};
_bldObj = objNull;
if (true) then
{
_bldObj = createVehicle ["MAP_bridge_asf1_25", [13535.238, 3876.2686, 2.01], [], 0, "CAN_COLLIDE"];
_bldObj setDir -0.89266175;
_bldObj setPos [13535.238, 3876.2686, 2.01];
_bldObj setVectorUp [0, 0, 1];
};
_bldObj = objNull;
if (true) then
{
_bldObj = createVehicle ["MAP_bridge_asf1_25", [13535.563, 3852.2295, 2.0], [], 0, "CAN_COLLIDE"];
_bldObj setPos [13535.563, 3852.2295, 2.0];
_bldObj setVectorUp [0, 0, 1];
};
_bldObj = objNull;
if (true) then
{
_bldObj = createVehicle ["MAP_bridge_asf1_25", [13536.438, 3828.1692, 2.01], [], 0, "CAN_COLLIDE"];
_bldObj setDir -3.9450908;
_bldObj setPos [13536.438, 3828.1692, 2.01];
_bldObj setVectorUp [0, 0, 1];
};
_bldObj = objNull;
if (true) then
{
_bldObj = createVehicle ["MAP_bridge_asf1_25", [13539.563, 3804.8772, 2.0], [], 0, "CAN_COLLIDE"];
_bldObj setDir -11.258271;
_bldObj setPos [13539.563, 3804.8772, 2.0];
_bldObj setVectorUp [0, 0, 1];
};
_bldObj = objNull;
if (true) then
{
_bldObj = createVehicle ["MAP_bridge_asf1_25", [13545.68, 3781.7183, 2.01], [], 0, "CAN_COLLIDE"];
_bldObj setDir -18.445009;
_bldObj setPos [13545.68, 3781.7183, 2.01];
_bldObj setVectorUp [0, 0, 1];
};
_bldObj = objNull;
if (true) then
{
_bldObj = createVehicle ["MAP_bridge_asf1_25", [13554.436, 3758.9407, 2.0], [], 0, "CAN_COLLIDE"];
_bldObj setDir -23.64596;
_bldObj setPos [13554.436, 3758.9407, 2.0];
_bldObj setVectorUp [0, 0, 1];
};
_bldObj = objNull;
if (true) then
{
_bldObj = createVehicle ["MAP_bridge_asf1_25", [13565.128, 3737.2363, 2.01], [], 0, "CAN_COLLIDE"];
_bldObj setDir -28.878498;
_bldObj setPos [13565.128, 3737.2363, 2.01];
_bldObj setVectorUp [0, 0, 1];
};
_bldObj = objNull;
if (true) then
{
_bldObj = createVehicle ["MAP_bridge_asf1_25", [13577.157, 3715.4272, 2.0], [], 0, "CAN_COLLIDE"];
_bldObj setDir -29.006411;
_bldObj setPos [13577.157, 3715.4272, 2.0];
_bldObj setVectorUp [0, 0, 1];
};
_bldObj = objNull;
if (true) then
{
_bldObj = createVehicle ["MAP_bridge_asf1_25", [13589.325, 3693.7878, 2.01], [], 0, "CAN_COLLIDE"];
_bldObj setDir -209.83965;
_bldObj setPos [13589.325, 3693.7878, 2.01];
_bldObj setVectorUp [0, 0, 1];
};
_bldObj = objNull;
if (true) then
{
_bldObj = createVehicle ["MAP_bridge_asf1_25", [13601.692, 3672.23, 2.0], [], 0, "CAN_COLLIDE"];
_bldObj setDir -29.814951;
_bldObj setPos [13601.692, 3672.23, 2.0];
_bldObj setVectorUp [0, 0, 1];
};
_bldObj = objNull;
if (true) then
{
_bldObj = createVehicle ["MAP_bridge_asf1_25", [13614.522, 3651.9612, 2.01], [], 0, "CAN_COLLIDE"];
_bldObj setDir -34.625931;
_bldObj setPos [13614.522, 3651.9612, 2.01];
_bldObj setVectorUp [0, 0, 1];
};
_bldObj = objNull;
if (true) then
{
_bldObj = createVehicle ["MAP_bridge_asf1_25", [13629.11, 3632.3455, 2.0], [], 0, "CAN_COLLIDE"];
_bldObj setDir -38.668156;
_bldObj setPos [13629.11, 3632.3455, 2.0];
_bldObj setVectorUp [0, 0, 1];
};
_bldObj = objNull;
if (true) then
{
_bldObj = createVehicle ["MAP_bridge_asf1_25", [13644.771, 3612.9971, 2.01], [], 0, "CAN_COLLIDE"];
_bldObj setDir -39.296799;
_bldObj setPos [13644.771, 3612.9971, 2.01];
_bldObj setVectorUp [0, 0, 1];
};
_bldObj = objNull;
if (true) then
{
_bldObj = createVehicle ["MAP_bridge_asf1_25", [13660.49, 3593.8728, 2.0], [], 0, "CAN_COLLIDE"];
_bldObj setDir -39.518562;
_bldObj setPos [13660.49, 3593.8728, 2.0];
_bldObj setVectorUp [0, 0, 1];
};
_bldObj = objNull;
if (true) then
{
_bldObj = createVehicle ["MAP_bridge_asf1_25", [13676.41, 3574.6606, 2.01], [], 0, "CAN_COLLIDE"];
_bldObj setDir -39.86631;
_bldObj setPos [13676.41, 3574.6606, 2.01];
_bldObj setVectorUp [0, 0, 1];
};
_bldObj = objNull;
if (true) then
{
_bldObj = createVehicle ["MAP_bridge_asf1_25", [13692.482, 3555.677, 2.0], [], 0, "CAN_COLLIDE"];
_bldObj setDir -40.694519;
_bldObj setPos [13692.482, 3555.677, 2.0];
_bldObj setVectorUp [0, 0, 1];
};
_bldObj = objNull;
if (true) then
{
_bldObj = createVehicle ["MAP_bridge_asf1_25", [13705.514, 3536.6353, 2.01], [], 0, "CAN_COLLIDE"];
_bldObj setDir -27.351328;
_bldObj setPos [13705.514, 3536.6353, 2.01];
_bldObj setVectorUp [0, 0, 1];
};
_bldObj = objNull;
if (true) then
{
_bldObj = createVehicle ["MAP_bridge_asf1_25", [13714.066, 3514.7532, 2.0], [], 0, "CAN_COLLIDE"];
_bldObj setDir -15.730154;
_bldObj setPos [13714.066, 3514.7532, 2.0];
_bldObj setVectorUp [0, 0, 1];
};
_bldObj = objNull;
if (true) then
{
_bldObj = createVehicle ["MAP_bridge_asf1_25", [13719.165, 3491.0972, 2.01], [], 0, "CAN_COLLIDE"];
_bldObj setDir -8.9279337;
_bldObj setPos [13719.165, 3491.0972, 2.01];
_bldObj setVectorUp [0, 0, 1];
};
_bldObj = objNull;
if (true) then
{
_bldObj = createVehicle ["MAP_bridge_asf1_25", [13721.553, 3467.2986, 2.0], [], 0, "CAN_COLLIDE"];
_bldObj setDir -2.5554588;
_bldObj setPos [13721.553, 3467.2986, 2.0];
_bldObj setVectorUp [0, 0, 1];
};
_bldObj = objNull;
if (true) then
{
_bldObj = createVehicle ["MAP_bridge_asf1_25", [13721.82, 3443.2573, 2.01], [], 0, "CAN_COLLIDE"];
_bldObj setDir 1.2040678;
_bldObj setPos [13721.82, 3443.2573, 2.01];
_bldObj setVectorUp [0, 0, 1];
};
_bldObj = objNull;
if (true) then
{
_bldObj = createVehicle ["MAP_bridge_asf1_25", [13721.238, 3418.2808, 2.0], [], 0, "CAN_COLLIDE"];
_bldObj setDir 1.4159043;
_bldObj setPos [13721.238, 3418.2808, 2.0];
_bldObj setVectorUp [0, 0, 1];
};
_bldObj = objNull;
if (true) then
{
_bldObj = createVehicle ["MAP_bridge_asf1_25", [13720.31, 3393.7627, 2.01], [], 0, "CAN_COLLIDE"];
_bldObj setDir 2.904952;
_bldObj setPos [13720.31, 3393.7627, 2.01];
_bldObj setVectorUp [0, 0, 1];
};
};Its from 'Thug', he made a static mission on the island and the bridge is one of the structures he made for it.
The bridge is pretty awsome although it comes to a sharp end so im using the road aswell!
2nd bridge is nice
Do you have that code?
//START// if (isNil "oneTime") then { oneTime = true; fnc_bridgeA3 = { private ["_start","_obj"]; _start = createVehicle [ _this select 2, _this select 0, [], 0, " CAN_COLLIDE" ]; _start setVectorUp [0,0,1]; _start setDir (_this select 1); _start setPosATL (_this select 0); for "_i" from 1 to (_this select 3) do { _obj = createVehicle [ _this select 2, _this select 0, [], 0, "CAN_COLLIDE" ]; _obj attachTo [_start, [ _i*(_this select 4), _i*(_this select 5), _i*(_this select 6) ]]; }; }; //END// //Placement of objects// //[startingPosition, direction, objectClass, repeats, offsetX, offsetY, offsetZ] [ [13640.5,3862.64,-1], 105, "Land_nav_pier_m_2", 11, 40, 0, 0 ] call fnc_bridgeA3; [ [13556,3836,2.5], 192, "Land_Nav_Boathouse_PierT", 11, 3.5, 30.65, 0 ] call fnc_bridgeA3; [ [13057.858,3764.8315,-3.7], 70, "Land_nav_pier_m_2", 11, 40, 0, 0 ] call fnc_bridgeA3; [ [12402.359,3503.8438,-4.3], 180, "Land_Nav_Boathouse_PierT", 5, 3.5, 30.65, 0 ] call fnc_bridgeA3; [ [12333.089,3254.707,-2], -127.72684, "Land_Nav_Boathouse_PierT", 3, 3.5, 30.65, 0 ] call fnc_bridgeA3; [ [11946.711,3096.6877,-2], -69.292145, "Land_Nav_Boathouse_PierT", 5, 3.5, 30.65, 0 ] call fnc_bridgeA3; [ [11497.502,3197.7043,-2], -24.819931, "Land_Nav_Boathouse_PierT", 4, 3.5, 30.65, 0 ] call fnc_bridgeA3; };
Yes that second one is very nice, I like curves :wub:
where to insert this code??Hey Fully :) I'd love your code for the 2nd bridge, looks so much better than the straight repeating bridge.
Does anyone have an answer for this?
I would also like the code for that 2nd bridge.:)
-
I believe this is Excelsior's bridge script;
// Excelsior Bridge
// The land_nav_pier_m_2 is the double fenced bridge floor. These can be changed to land_nav_pier_m_1 and spun 180 if you wanted only 1 fence.
// Installation
// Make sure to make a folder inside the mission file called "buildings" and save this file in there as "excbridge.sqf"
// Then add the following line as the VERY LAST line in in the "init.sqf" file.
// [] execVM "buildings\excbridge.sqf";
// Props to Rossymond for pointing out the new install method.
// Excelsior
// Server: Death DealerZ - DayzChernarus
if (isServer) then {
_vehicle_0 = objNull;
if (true) then
{
_this = createVehicle ["land_nav_pier_m_2", [13225.278, 3431.5159, -6.0489159], [], 0, "CAN_COLLIDE"];
_vehicle_0 = _this;
_this setDir 56.571701;
_this setVehicleLock "LOCKED";
_this setVehicleInit "this setPosASL [getposASL this select 0, getposASL this select 1, -2.5]";
_this setPos [13225.278, 3431.5159, -6.0489159];
};
_vehicle_2 = objNull;
if (true) then
{
_this = createVehicle ["land_nav_pier_m_2", [13247.008, 3398.5906, -6.1535072], [], 0, "CAN_COLLIDE"];
_vehicle_2 = _this;
_this setDir 56.571701;
_this setVehicleLock "LOCKED";
_this setVehicleInit "this setPosASL [getposASL this select 0, getposASL this select 1, -2.5]";
_this setPos [13247.008, 3398.5906, -6.1535072];
};
_vehicle_4 = objNull;
if (true) then
{
_this = createVehicle ["land_nav_pier_m_1", [13203.401, 3464.7751, -6.2994447], [], 0, "CAN_COLLIDE"];
_vehicle_4 = _this;
_this setDir 236.571701;
_this setVehicleLock "LOCKED";
_this setVehicleInit "this setPosASL [getposASL this select 0, getposASL this select 1, -2.5]";
_this setPos [13203.401, 3464.7751, -6.2994447];
};
_vehicle_6 = objNull;
if (true) then
{
_this = createVehicle ["land_nav_pier_m_2", [13181.671, 3497.7451, -6.1785541], [], 0, "CAN_COLLIDE"];
_vehicle_6 = _this;
_this setDir 56.571701;
_this setVehicleInit "this setPosASL [getposASL this select 0, getposASL this select 1, -2.5]";
_this setPos [13181.671, 3497.7451, -6.1785541];
};
_vehicle_8 = objNull;
if (true) then
{
_this = createVehicle ["land_nav_pier_m_2", [13159.978, 3530.6299, -6.3031154], [], 0, "CAN_COLLIDE"];
_vehicle_8 = _this;
_this setDir 56.571701;
_this setVehicleInit "this setPosASL [getposASL this select 0, getposASL this select 1, -2.5]";
_this setPos [13159.978, 3530.6299, -6.3031154];
};
_vehicle_10 = objNull;
if (true) then
{
_this = createVehicle ["land_nav_pier_m_2", [13138.261, 3563.5496, -5.9914126], [], 0, "CAN_COLLIDE"];
_vehicle_10 = _this;
_this setDir 56.571701;
_this setVehicleInit "this setPosASL [getposASL this select 0, getposASL this select 1, -2.5]";
_this setPos [13138.261, 3563.5496, -5.9914126];
};
_vehicle_12 = objNull;
if (true) then
{
_this = createVehicle ["land_nav_pier_m_2", [13116.587, 3596.4583, -6.1611514], [], 0, "CAN_COLLIDE"];
_vehicle_12 = _this;
_this setDir 56.571701;
_this setVehicleInit "this setPosASL [getposASL this select 0, getposASL this select 1, -2.5]";
_this setPos [13116.587, 3596.4583, -6.1611514];
};
_vehicle_14 = objNull;
if (true) then
{
_this = createVehicle ["land_nav_pier_m_2", [13094.851, 3629.364, -6.0637994], [], 0, "CAN_COLLIDE"];
_vehicle_14 = _this;
_this setDir 56.571701;
_this setVehicleInit "this setPosASL [getposASL this select 0, getposASL this select 1, -2.5]";
_this setPos [13094.851, 3629.364, -6.0637994];
};
_vehicle_16 = objNull;
if (true) then
{
_this = createVehicle ["land_nav_pier_m_1", [13073.158, 3662.2742, -6.1899328], [], 0, "CAN_COLLIDE"];
_vehicle_16 = _this;
_this setDir 56.571701;
_this setVehicleLock "LOCKED";
_this setVehicleInit "this setPosASL [getposASL this select 0, getposASL this select 1, -2.5]";
_this setPos [13073.158, 3662.2742, -6.1899328];
};
_vehicle_18 = objNull;
if (true) then
{
_this = createVehicle ["land_nav_pier_m_2", [13051.535, 3695.0833, -6.376471], [], 0, "CAN_COLLIDE"];
_vehicle_18 = _this;
_this setDir 56.571701;
_this setVehicleLock "LOCKED";
_this setVehicleInit "this setPosASL [getposASL this select 0, getposASL this select 1, -2.5]";
_this setPos [13051.535, 3695.0833, -6.376471];
};
_vehicle_20 = objNull;
if (true) then
{
_this = createVehicle ["land_nav_pier_m_2", [13029.813, 3728.052, -6.1521502], [], 0, "CAN_COLLIDE"];
_vehicle_20 = _this;
_this setDir 56.571701;
_this setVehicleLock "LOCKED";
_this setVehicleInit "this setPosASL [getposASL this select 0, getposASL this select 1, -2.5]";
_this setPos [13029.813, 3728.052, -6.1521502];
};
// Control Tower near land (non-lootable) (blinking light). Zombies and loot will not spawn over water.
_vehicle_86 = objNull;
if (true) then
{
_this = createVehicle ["Land_Mil_ControlTower_EP1", [13067.721, 3647.5923, 4.2818656], [], 0, "CAN_COLLIDE"];
_vehicle_86 = _this;
_this setDir -303.12695;
_this setVehicleInit "this setPosASL [getposASL this select 0, getposASL this select 1, 3.8]";
_this setPos [13067.721, 3647.5923, 4.2818656];
};
// Cement block under Control Tower near coast
_vehicle_87 = objNull;
if (true) then
{
_this = createVehicle ["land_nav_pier_c", [13061.675, 3654.853, 0.13833603], [], 0, "CAN_COLLIDE"];
_vehicle_87 = _this;
_this setDir -33.287552;
_this setVehicleInit "this setPosASL [getposASL this select 0, getposASL this select 1, -2.5]";
_this setPos [13061.675, 3654.853, 0.13833603];
};
// Grocery on land (lootable)
_vehicle_107 = objNull;
if (true) then
{
_this = createVehicle ["Land_A_GeneralStore_01", [13062.828, 3825.6414, 0.34161228], [], 0, "CAN_COLLIDE"];
_vehicle_107 = _this;
_this setDir -32.551853;
_this setPos [13062.828, 3825.6414, 0.34161228];
};
_vehicle_113 = objNull;
if (true) then
{
_this = createVehicle ["land_nav_pier_m_2", [13260.079, 3378.8081, -3.0727394], [], 0, "CAN_COLLIDE"];
_vehicle_113 = _this;
_this setDir 56.571701;
_this setVehicleLock "LOCKED";
_this setVehicleInit "this setPosASL [getposASL this select 0, getposASL this select 1, -2.5]";
_this setPos [13260.079, 3378.8081, -3.0727394];
};
// Industrial Hangar on land
_vehicle_133 = objNull;
if (true) then
{
_this = createVehicle ["Land_Hangar_2", [13013.877, 3793.1804, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
_vehicle_133 = _this;
_this setDir -33.153507;
_this setPos [13013.877, 3793.1804, 3.8146973e-006];
};
// Control Tower near Island (non-lootable) (blinking light at night). Zombies and loot will not spawn over water.
_vehicle_136 = objNull;
if (true) then
{
_this = createVehicle ["Land_Mil_ControlTower_EP1", [13209.424, 3478.5696, 2.103996], [], 0, "CAN_COLLIDE"];
_vehicle_136 = _this;
_this setDir -484.14117;
_this setVehicleInit "this setPosASL [getposASL this select 0, getposASL this select 1, 3.8]";
_this setPos [13209.424, 3478.5696, 2.103996];
};
// Cement block under Control Tower near Island
_vehicle_137 = objNull;
if (true) then
{
_this = createVehicle ["land_nav_pier_c", [13214.373, 3472.0823, -3.8479133], [], 0, "CAN_COLLIDE"];
_vehicle_137 = _this;
_this setDir -213.288;
_this setVehicleInit "this setPosASL [getposASL this select 0, getposASL this select 1, -2.5]";
_this setPos [13214.373, 3472.0823, -3.8479133];
};
// Spinning Radar on coast
_vehicle_150 = objNull;
if (true) then
{
_this = createVehicle ["TK_GUE_WarfareBAntiAirRadar_Base_EP1", [13293.171, 3955.2397, 0.016692447], [], 0, "CAN_COLLIDE"];
_vehicle_150 = _this;
_this setDir -323.84015;
_this setPos [13293.171, 3955.2397, 0.016692447];
};
// Pallet of boards on bridge (mid way protection)
_vehicle_163 = objNull;
if (true) then
{
_this = createVehicle ["Land_Ind_BoardsPack1", [13158.683, 3537.4517, 3.5], [], 0, "CAN_COLLIDE"];
_vehicle_163 = _this;
_this setDir -35.139294;
_this setVehicleInit "this setPosASL [getposASL this select 0, getposASL this select 1, 3.5]";
_this setPos [13158.683, 3537.4517, 3.5];
};
// Pallet of boards on bridge (mid way protection)
_vehicle_165 = objNull;
if (true) then
{
_this = createVehicle ["Land_Ind_BoardsPack1", [13111.459, 3599.3118, 3.5], [], 0, "CAN_COLLIDE"];
_vehicle_165 = _this;
_this setDir -215.18845;
_this setVehicleInit "this setPosASL [getposASL this select 0, getposASL this select 1, 3.5]";
_this setPos [13111.459, 3599.3118, 3.5];
};
};
TheGreenRooms Custom Stary Trader
in A2: Custom Bases (1.0.5.1)
Posted
Hi all, this is the custom Stary Trader I use on my server. It is quite simple and not OTT IMO.
Save the script in the spoiler as a .sqf file named StaryTrader and add it to the root of your server.
Open your init.sqf and add to the very bottom,
[] ExecVM "StaryTrader.sqf"; //iCEtIMeds Stary Trader
(Or if you keep your custom edits somewhere else, adjust the address.)
Screenshots
Enjoy! :)