Hello, lately i have been working on a server trying to figure out this and that, since im pretty new to the whole "arma 2 server" thing, with my basic knowledge in c# :/ Sometimes it tough but i feel like i understand enough to install mods and such, maybe not write my own script yet. But hopefully eventually when i start to read about it. Sooo, heres my issue that i would like to have some help with. I have been trying to figure out how to change around in the trader cities with both NPC's and the buildings, which i gave up on but then i ran into this code snippet by and accident when i was browsing around in my init.sqf
And i got so excited so i grabbed the sqf in pbomanager and got hands on the biedi file also, so i started editing the map. And now after a couple of hours of work im trying to load the new mission so. I went into my documents opens the .sqf in notepad++ grab the important stuff that i have there, fires up my PBOmanager and opens "D:\arma 2 server\Arma 2 Overpoch Server\@DayZ_Overpoch_Server\addons\dayz_server.pbo" (I still run my server on my personal pc for testing before i rent a server to sort everything out)
And then i open "\missions\DayZ_Epoch_11.Chernarus\mission.sqf" and remove the current code and replaces it with my own, ofcourse i make sure they look the same at the end.
_vehicle_1352 = objNull;
if (true) then
{
_this = createVehicle ["MAP_R2_Rock1", [13817.806, 11746.111, -27.215347], [], 0, "CAN_COLLIDE"];
_vehicle_1352 = _this;
_this setDir 68.549126;
_this setPos [13817.806, 11746.111, -27.215347];
};
processInitCommands; // This is what im refering too
And saves, but still it loads the old trader cities that came from the original version of the mission.sqf.. Am i missing something here? Maybe someone could help me out with this issue.
Well hopefully i explained good enough tried to be as detailed as possible and sorry if some words are spelt wrong or grammar is screwed, english isn't my native language.
Question
doofmachine1
Hello, lately i have been working on a server trying to figure out this and that, since im pretty new to the whole "arma 2 server" thing, with my basic knowledge in c# :/ Sometimes it tough but i feel like i understand enough to install mods and such, maybe not write my own script yet. But hopefully eventually when i start to read about it. Sooo, heres my issue that i would like to have some help with. I have been trying to figure out how to change around in the trader cities with both NPC's and the buildings, which i gave up on but then i ran into this code snippet by and accident when i was browsing around in my init.sqf
And i got so excited so i grabbed the sqf in pbomanager and got hands on the biedi file also, so i started editing the map. And now after a couple of hours of work im trying to load the new mission so. I went into my documents opens the .sqf in notepad++ grab the important stuff that i have there, fires up my PBOmanager and opens "D:\arma 2 server\Arma 2 Overpoch Server\@DayZ_Overpoch_Server\addons\dayz_server.pbo" (I still run my server on my personal pc for testing before i rent a server to sort everything out)
And then i open "\missions\DayZ_Epoch_11.Chernarus\mission.sqf" and remove the current code and replaces it with my own, ofcourse i make sure they look the same at the end.
And saves, but still it loads the old trader cities that came from the original version of the mission.sqf.. Am i missing something here? Maybe someone could help me out with this issue.
Well hopefully i explained good enough tried to be as detailed as possible and sorry if some words are spelt wrong or grammar is screwed, english isn't my native language.
Thanks!
*FIX IN COMMENTS*
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now