celery 8 Posted June 20, 2007 What is the procedure to set the default terrain level to very low on a dedicated server, so that the clients don't have grass when playing on the server unless the map has a command that does otherwise? Share this post Link to post Share on other sites
firecontrol 0 Posted June 21, 2007 A quote from Ghost644, slightly edited (original here.) Quote[/b] ]...This is for anyone who wants to configure their dedicated servers(people renting a server, interface through a control panel). Everyone should know that the server needs a server.cfg (name not important) file inside the main ArmA directory. This file is for setting server passwords, motd(message of the day), missions to play automatically and difficulty level, and a few more options. You can find more information about this file here server.cfg. Now that may be fine for most people but what about all those other settings like tracers on/off or 3rd person? Basically all those settings you make in your settings/difficulty window ingame you can have for your server. The thing is they do not go in the server.cfg file. If you look the single player settings are located under c:.....\my documents\ArmA\ Inside the file gamename.armaprofile. You can open the file using notepad and see under the difficulties part different settings with 1 or 0 after them. 1=true/on and 0=false/off. Also in the folder you see arma.cfg and this file is used to tune your dedicated server. So to get the .armaprofile and arma.cfg file on your dedicated server put this command in the command line..... -profiles=server. Then all you do is save the command line, make sure it is selected and then start the dedicated sever. Once that happens a folder named server with subfolder users should be created in the arma directory. And the two files will be in there. Either edit them through the control panel if it lets you or download them to your computer, edit them, then upload them back to the folder and overwrite the originals. The .armaprofile file just needs this version=2; blood=2; viewDistance=2528; terrainGrid=6.250000; volumeCD=8; volumeFX=10; <SNIP> }; }; change terrainGrid=whatever; to terrainGrid=50; and you're set. Like you said, the mission will override the server setting if it's in there. Share this post Link to post Share on other sites
deady 0 Posted June 21, 2007 So much confusion on how to turn grass off, why can't they just make it a simple "grass=off" option :/ Share this post Link to post Share on other sites
KorppiX 0 Posted July 23, 2007 So much confusion on how to turn grass off, why can't they just make it a simple "grass=off" option :/ Very well said. I've been waiting for this "grass=off"-option to be included, but patch after patch comes out and nothing...  I can't imagine it to be that hard to implement  Share this post Link to post Share on other sites
Synide 0 Posted July 23, 2007 why do people persist in promoting the 'terrianGrid=50;' setting in the dedi servers default userprofile as being the means to setting 'no grass' on a dedi server? make a mission that does not mention anywhere in it's scripting to turn 'grass off', upload it to your dedi, set your game's grass to anything but 'low', set your dedi's userprofile with the 'terrainGrid=50;', start your dedi, connect to it and play the test mission - result = you will 'see grass'. there was at one point a 'know occurence' that when a mission that had 'no grass' setting was selected and played then from that point on all subsequent missions were 'no grass' as well, unless they specifically altered the grass setting again - i'm not sure if this still applies in v1.08. grass is 'client-side' and can be changed 'on-the-fly' by mission scripting. setting the terrainGrid on a dedi via the profile helps the dedi performance but does not actually 'set' a clients grass level when they connect too it, the mission does, and if the mission doesn't set it then your game instance uses your grass setting. Share this post Link to post Share on other sites
fish44 0 Posted August 7, 2007 Well ive tried to add the terraingrid=50; thingy, on both the server userprofile file, and in the description.ext for the mission script. Both had no effect. Grass is still on on the client. Also my profile settings on the client, are set to very low (and this shows up as terraingrid=50- in the client profile, but im still getting grass on. I know that the server is dishing out the settings in the server profile file, cause im able to enable/disable 3d views etc. So what gives here? Where is my game getting the setting for the grass? Share this post Link to post Share on other sites
Synide 0 Posted August 7, 2007 try looking in the mission itself... one of the sqs or sqf scripts is probably altering the terrain grid with the scripting command 'setTerrainGrid <somevalue>;'. Quote[/b] ]I know that the server is dishing out the settings in the server profile file, cause im able to enable/disable 3d views etc. yes, you're right the server does 'dish out' values from it's userprofile.... But, not all values, only some. 'terrainGrid' setting is not one of them. Share this post Link to post Share on other sites
fish44 0 Posted August 7, 2007 Thanks for reply, yes I will look there. As you said 'it must be there'. (Ps, like your large compass addon  however you could get away with a little smaller.....) Share this post Link to post Share on other sites
Synide 0 Posted August 8, 2007 lol, probably... but it was done in a rush... just a quickie , so to speak... Share this post Link to post Share on other sites
fish44 0 Posted August 9, 2007 Well, i a have opened all the files relating to the mission im editing, and no ive not found anything which remotely resembles the terraingrid parameter. Mind u i havent checked all the non english briefings. But there's one file which is encrypted in some way, so i dont know if its in there. Its a paa file. So im gonna delete it a see is it re-created with the mission editor. Im kinda out of ideas as to how this grass is set by the game/mission? Share this post Link to post Share on other sites
Sentry 0 Posted August 9, 2007 look in DVD's crCTI, there is a script for the grass, and there it is disabled. Sentry Share this post Link to post Share on other sites
-DirTyDeeDs--Ziggy- 0 Posted August 9, 2007 So it appears as though the grass is ultimately controlled by each individual mission. put <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">setterraingrid 50 in the init.sqf it works for me Celery, theres your answer bud, simply edit each and every map on your server, and voila! no more grass on MCY server are you done yet Share this post Link to post Share on other sites
fish44 0 Posted August 10, 2007 -Ziggy- @ Aug. 09 2007,23:22)]in the init.sqf.....................it works for me  And for me. I was putting it into the description.ext file. Thats why it was'nt working.. Share this post Link to post Share on other sites
celery 8 Posted August 10, 2007 I kind of knew about the map command since I made my first maps, but I can't be fussed to modify every masterpiece on the Gay Bar, that's why I wanted to know the server setting. Share this post Link to post Share on other sites
-DirTyDeeDs--Ziggy- 0 Posted August 10, 2007 yeah, I know it seems like a pain in the ass....but if you DO happen to change the grass setting in the maps, let me know so I can copy them instead of editing all the maps on our server. I plan to turn grass off on maps that are appropriate going forward from now on. Share this post Link to post Share on other sites
Synide 0 Posted August 10, 2007 have a look at sickboy's stuff with sixthsense, i'm sure he/they implemented something that turned of grass for missions, embodied in the form of an addon... dunno. Share this post Link to post Share on other sites
bravo 6 0 Posted August 10, 2007 mission makers can set this option aswell on their own missions. using the comand: setterraingrid grid setterraingrid grid; grid: Number <ul>* 50 - smoothest, less lag * 25 - default in multiplayer * 12.5 - default in singleplayer * 6.25 * 3.125 - bumpiest, higher lag i normally use these, but i prefer the 50 one: * 50 - smoothest, less lag * 25 - default in multiplayer Share this post Link to post Share on other sites
-DirTyDeeDs--Ziggy- 0 Posted August 10, 2007 mission makers can set this option aswell on their own missions.using the comand: setterraingrid grid setterraingrid grid; grid: Number <ul>* 50 - smoothest, less lag * 25 - default in multiplayer * 12.5 - default in singleplayer * 6.25 * 3.125 - bumpiest, higher lag i normally use these, but i prefer the 50 one: * 50 - smoothest, less lag * 25 - default in multiplayer we have already established that, but thanks for your contribution -Ziggy- @ Aug. 09 2007,22:22)]So it appears as though the grass is ultimately controlled by each individual mission.put <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">setterraingrid 50 in the init.sqfit works for me Celery, theres your answer bud, simply edit each and every map on your server, and voila! no more grass on MCY server are you done yet Share this post Link to post Share on other sites
celery 8 Posted August 10, 2007 Anyone with expendable spare time and a desire to help the community, report your presence here: http://www.flashpoint1985.com/cgi-bin....t=66670 That topic is there to boost the presence of the mission naming standard and remove grass for the gaming enjoyment of non-turbo PC owners. Hopefully the project bears fruit and we can kill two flies with one swift swat! Share this post Link to post Share on other sites