Jump to content
Sign in to follow this  
BLSmith2112

What to temporarily remove to edit the map?

Recommended Posts

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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"]

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 smile_o.gif

Share this post


Link to post
Share on other sites

the vote time is in the InitMission.sqf. open with notepad, click edit find votetime.

Share this post


Link to post
Share on other sites

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.)

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Guess I'll just stick to creating a fast base and flying over there at x4.000 time.

Share this post


Link to post
Share on other sites

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 + [1200]

_t = _t + [50]

_i = _i + ["\Warfare\Images\con_heavy.paa"]

_p = _p + [10]

_s = _s + ["MediumSite"]

_a = _a + ["Client\Action\Action_HeavyFactory.sqs"]

_dis = _dis + [0]

_dir = _dir + [0]

_h = _h + [4]

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..

Share this post


Link to post
Share on other sites

I knew about all the price changes and everything. Hence why I didn't ask about it 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.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×