View Full Version : What to temporarily remove to edit the map?
For quick editing, there are a few things I'd like to know in order to ensure the ability to quickly load into the mission, test something, then hop out of it.
Answered 1. How can I remove the intro scenes?
Answered 2. How can I slow the commander vote time to 5 seconds?
Not Answered 3. How can I not have a random respawn, but instead start the mission exactly where I want?
Answered Unrelated question:
When editing the configs and such for the map, sometimes I find that I ether:
A. Cannot have the wordpad(s) open while the mission is running (even if the wordpad is saved).
B. Cannot preview the mission, go into the editor, edit a config, save it, go back into the mission and preview it.
C. I usually have to exit the config wordpads, turn the entire game off, and reload the mission in order for the new wordpad changes to take effect.
Now what can and what can't be changed in the config's while Arma is open in order to ensure the changes take effect when previewing the mission?
Jun 29 2008, 17:20
When the mission is loaded in the editor, you should be free to change any file except mission.sqm.
To remove the splash screen, edit Init.sqs and put a // in front of the only line there. When you want it back, remove the //.
To change the commander vote time, I believe that's in Common/Init/Init_CommonConstants.sqs. Search for the string "vote" and it should take you to the line.
When I access the file and find the vote area:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">messageType = messageType + ["VoteForCommander"]
messageText = messageText + [Localize "STRWFVOTEFORCOMMANDERINPROGRESS"][/QUOTE]
I'm searching all these init files for something of that effect and cannot find anything that gives me the time allowed for voting to take place. I'll keep looking but if anyone finds it before I do, lemme know http://forums.bistudio.com/oldsmileys/smile_o.gif
Jun 30 2008, 06:13
the vote time is in the InitMission.sqf. open with notepad, click edit find votetime.
Ahh, I was looking in the common >> init files area.
The only question remaining: How can I start the mission at the place of my choosing and still have access to purchase units etc? (Example: I want to start the preview near the airport so I can quickly test units built from there.)
Jun 30 2008, 15:40
Open the mission in the editor and memorize the starting place number of the starting place (blue marker) near the airport. Then go into mission.sqm and comment out every single starting place object except for the one you memorized and another one for the other team. Now you have a 50% probability of starting where you want to start. That's my quick solution, there may be a better way, but I'm not sure.
Guess I'll just stick to creating a fast base and flying over there at x4.000 time.
Jul 1 2008, 19:38
Just put a new unit near the things you wanne check and make it player.. So you will start there when you go preview it.. Than you won't respawn with the MHQ..
And if you wanne make a quick base just decrease the prices of the factory's for testing purposes...
Go to you'r edited warfare folder than go to the folder COMMON and than go to the folder CONFIG.
Open the file CONFIG_STRUCTURES.. and edit the prices at the _c = _c command line.
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_v = _v + ["Heavy"]
_n = _n + ["WarfareBWestHeavyFactory"]
_ng = _ng + ["WarfareBWestHeavyFactoryGreen"]
_nr = _nr + ["WarfareBWestHeavyFactoryRed"]
_d = _d + [Localize "STRWFBHEAVYFACTORY"]
_c = _c + 
_t = _t + 
_i = _i + ["\Warfare\Images\con_heavy.paa"]
_p = _p + 
_s = _s + ["MediumSite"]
_a = _a + ["Client\Action\Action_HeavyFactory.sqs"]
_dis = _dis + 
_dir = _dir + 
_h = _h + 
there is a more eassy way that you just give yourself a huge amount of money so you on't have to edit the factory's and units itself and can buy evrything from the start.
But i couden't find the script where that is executed yet..
I knew about all the price changes and everything. Hence why I didn't ask about it http://forums.bistudio.com/oldsmileys/wink_o.gif
But as for just "plopping a new unit down" on the map, I have no option(s) to access the aircraft factories in ether Pita or the Airport if I do it that way.
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.