im using the dayz editor and went to export but noticed there was nothing more that was linked with my bldr_rail_concreteamp to change scale size. is this even possible?
static Object SpawnObject(string type, vector position, vector orientation)
{
Object obj = GetGame().CreateObjectEx(type, position, ECE_SETUP | ECE_UPDATEPATHGRAPH | ECE_CREATEPHYSICS);
if (!obj) {
Error("Failed to create object " + type);
return null;
}
obj.SetPosition(position);
obj.SetOrientation(orientation);
obj.SetOrientation(obj.GetOrientation());
obj.SetFlags(EntityFlags.STATIC, false);
obj.Update();
obj.SetAffectPathgraph(true, false);
if (obj.CanAffectPathgraph()) {
GetGame().GetCallQueue(CALL_CATEGORY_SYSTEM).CallLater(GetGame().UpdatePathgraphRegionByObject, 100, false, obj);
}
return obj;
}
// Paste anything below this line into the bottom of your 'void main()' function
// Created Objects
SpawnObject("Land_Village_store", "10057.557617 215.145706 9341.333008", "-64.982765 0.000000 0.000000");
SpawnObject("Land_Slum_House1", "10067.722656 214.298996 9358.890625", "117.268402 0.000000 0.000000");
SpawnObject("Land_FuelStation_Build_Enoch", "10096.472656 213.938065 9364.459961", "116.094833 0.000000 -0.000000");
SpawnObject("Land_FuelStation_Feed_Enoch", "10097.285156 213.068954 9369.202148", "-60.996979 -0.000000 -0.000000");
SpawnObject("Land_Mil_Guardhouse1", "10079.599609 214.309006 9333.059570", "25.439497 0.000000 0.000000");
SpawnObject("bldr_rail_concreteramp", "10081.460938 208.158493 9355.922852", "27.174732 0.000000 0.000000");
SpawnObject("Land_Mil_Tent_Big4", "10087.573242 213.499725 9348.935547", "-154.353394 -0.000000 -0.000000");
SpawnObject("Land_Misc_Well_Pump_Yellow", "10062.786133 212.947586 9337.263672", "17.489599 -0.000000 -0.000000");
SpawnObject("Land_Castle_Wall1_20", "10039.045898 219.432312 9329.556641", "117.000000 0.000000 -0.000000");
SpawnObject("Land_Castle_Wall1_20", "10048.853516 219.125153 9347.966797", "118.292000 -0.000000 -0.000000");
SpawnObject("Land_Castle_Wall1_20", "10058.104492 218.983444 9365.603516", "116.999916 0.000000 -0.000000");
SpawnObject("Land_Castle_Wall1_20", "10067.160156 218.974030 9383.450195", "117.000000 0.000000 -0.000000");
SpawnObject("Land_Castle_Wall1_20", "10076.444336 219.017792 9401.720703", "116.999893 0.000000 -0.000000");
SpawnObject("Land_Castle_Wall1_20", "10075.205078 216.326920 9301.995117", "-63.000000 0.000000 0.000000");
SpawnObject("Land_Castle_Wall1_20", "10084.556641 215.995865 9320.085938", "-62.999947 0.000000 0.000000");
SpawnObject("Land_Castle_Wall1_20", "10094.063477 215.776611 9338.106445", "-63.000000 0.000000 0.000000");
SpawnObject("Land_Castle_Wall1_20", "10103.076172 215.590668 9355.999023", "-62.999973 0.000000 0.000000");
SpawnObject("Land_Castle_Wall1_20", "10111.863281 215.573135 9373.553711", "-63.000000 0.000000 0.000000");
SpawnObject("Land_Castle_Wall1_20", "10121.262695 215.678772 9391.844727", "-62.999973 0.000000 0.000000");
SpawnObject("bldr_stone4", "10111.563477 207.515244 9364.555664", "0.000000 -0.000000 -0.000000");
SpawnObject("bldr_stone3", "10113.790039 207.371567 9368.073242", "0.000000 0.000000 0.000000");
SpawnObject("bldr_stone5", "10110.799805 208.824005 9366.150391", "0.000000 0.000000 0.000000");
SpawnObject("bldr_stone3", "10088.799805 208.024994 9321.570313", "0.000000 0.000000 0.000000");
SpawnObject("bldr_stone2", "10090.628906 207.998917 9324.597656", "-30.600021 0.000000 0.000000");
SpawnObject("bldr_stone1", "10088.900391 209.757996 9323.809570", "105.369003 0.000000 0.000000");
SpawnObject("SurvivorM_Denis", "10097.799805 212.000000 9365.889648", "-89.999954 0.000000 -0.000000");
SpawnObject("SurvivorM_Seth", "10091.000000 212.339996 9353.400391", "-140.000000 0.000000 -0.000000");
SpawnObject("SurvivorM_Jose", "10087.700195 212.300003 9347.700195", "0.000000 0.000000 0.000000");
SpawnObject("SurvivorF_Irena", "10067.200195 213.389999 9356.559570", "0.000000 0.000000 -0.000000");
SpawnObject("SurvivorF_Naomi", "10056.500000 212.910004 9343.299805", "113.999992 0.000000 0.000000");
SpawnObject("SurvivorM_Quinn", "10081.599609 212.442993 9329.549805", "-90.000000 0.000000 0.000000");
// Uncomment if you want to export loot from newly added buildings
// Position, Radius (increase if you have a larger map than Chernarus)
// GetCEApi().ExportProxyData(Vector(7500, GetGame().SurfaceY(7500, 7500), 7500), 20000);