Page 1 of 3

Working map options example.

Posted: 21 May 2009, 07:26
by smoth
Image

Hell I even give you guys some configs.

thanks go to: trepan, lurker, beherith, JK, midknight, braindamage

oh I stole the detail texture from that map named real, I liked it and wanted to use it.

anyway, if you look in the configs dir you can see some .lua files...

day, night, and general lua are the settings files.

here is the day config:

Code: Select all

local daycfg = {
	--------------------------------------------------------------------------------------------------------
	--			Day settongs
	--------------------------------------------------------------------------------------------------------
	weather = {
		clear = {
			skybox 							= "bigdesertbright.dds",
			detailTex						= "detailtexbright.bmp",
			cloudcolor						= { 0, 0, 0 },
			suncolor						= { 1, 1, 1 },
			sundir							= { -0.5, 0.8, -0.5 },			
			clouddensity					= 0.3,
			skycolor						= { 0.0, 0.0, 0.1 },
			fogcolor						= { 0.25, 0.2, 0.1 },
			fogstart						= 0.9,
			groundambientcolor				= { 0.25, 0.2, 0.1 },
			grounddiffusecolor				= { 1.0, 0.9, 0.8 },
			groundshadowdensity				= 0.7,
			unitambientcolor				= { 0.25, 0.2, 0.10 },
			unitdiffusecolor				= { 1.0, 0.9, 0.8 },
			unitshadowdensity				= 0.7,
			specularsuncolor				= { 0.9, 0.7, 0.6 },
		},
			
		snow = {
			detailTex						= "realdet.bmp",
			skybox 							= "",
			cloudcolor						= { 0.5, 0.5, 0.6 },
			suncolor						= { 1, 1, 1 },
			sundir							= { -0.5, 0.8, -0.5 },			
			clouddensity					= 0.8,
			skycolor						= { 0.0, 0.0, 0.1 },
			fogcolor						= { 0.65, 0.65, 0.7 },
			fogstart						= 0.2,
			groundambientcolor				= { 0.1, 0.2, 0.3 },
			grounddiffusecolor				= { 0.5, 0.7, 1.0 },
			groundshadowdensity				= 0.7,
			unitambientcolor				= { 0.1, 0.2, 0.3 },
			unitdiffusecolor				= { 0.7, 0.8, 1.0 },
			unitshadowdensity				= 0.7,
			specularsuncolor				= { 0.6, 0.7, 0.9 },
		},
			
	},
		
	fog = {
		color			= {0.8,0.85,0.95,0.05},
		height			= 0,
		layers			= 10,
		layerspacing	= 50,
		mapsized		= 0.0,
		fogmaxstrength	= 0.3,
		foglowheight	= 100,
		fogatten 		= 0.005,
	},
	
	water =	{
		shorewaves				= true,
		forcerendering			= false,
		absorb					= { 0.0, 0.0, 0.00 },
		ambientfactor			= 0.05,
		basecolor				= { 0.1, 0.2, 0.25 },
		blurbase				= 8.0,
		blurexponent			= 2.0,
		diffusecolor			= { 0.7, 0.70, 0.6 },
		diffusefactor			= 9.8,
		fresnelmin				= 0.45,
		fresnelmax				= 1.0,
		fresnelpower			= 12,
		mincolor				= { 0.1, 0.1, 0.10 },
		perlinstartfreq			= 20,
		perlinlacunarity		= 3.1,
		perlinamplitude			= 0.9,	
		planecolor				= { 0.1, 0.2, 0.25 },
		reflectiondistortion	= 0.7,
		specularcolor			= { 0.8, 0.7, 0.65 },
		specularfactor			= 9.9,
		specularpower			= 270,
		surfacecolor			= { 0.1, 0.2, 0.4 },
		surfacealpha			= 0.1,
	},
}
return daycfg
now bear in mind, i could have added rain if I had a good rain widget to use. anyway, I am tired and this was a royal pain in my ass. Try it and I am sure you will enjoy. The code is all gpl the map isn't.. so feel free to steal all the skyboxes and detail textures. I am tired.

You guys want more options, then add them. I don't care what you lot do with this. I don't care about your code review or options you want to see added, I am not here to grant requests and frankly do not have the time to do them. Take it and run!


HERE IS THE FILE

Re: Working map options example.

Posted: 21 May 2009, 07:44
by Hoi
You just made 64 maps out of one map :-)

*Downloads*

Re: Working map options example.

Posted: 21 May 2009, 07:51
by hunterw
this is pretty much pure win

Re: Working map options example.

Posted: 21 May 2009, 09:05
by Beherith
I cannot even begin to describe how much win this is made out of.

Re: Working map options example.

Posted: 21 May 2009, 10:21
by Warlord Zsinj
win sir, win.

Re: Working map options example.

Posted: 21 May 2009, 10:32
by thesleepless
very cool! but what's up with the metalmap?

Re: Working map options example.

Posted: 21 May 2009, 11:31
by Forboding Angel
This is so much win it makes my balls hurt... NICE JOB!!!

Re: Working map options example.

Posted: 21 May 2009, 11:50
by Otherside
thesleepless wrote:very cool! but what's up with the metalmap?

*brace for smoth rage*

Re: Working map options example.

Posted: 21 May 2009, 11:51
by Beherith
thesleepless wrote:very cool! but what's up with the metalmap?
Its made for gundam.

Re: Working map options example.

Posted: 21 May 2009, 12:34
by overkill
Some one bawwed at him for lack of visable metal spots on a previous gundam map, even though he mad the effort to place them. so now we get this :lol: .

Re: Working map options example.

Posted: 21 May 2009, 13:30
by Gota
Even i must admit this is pretty good.

Re: Working map options example.

Posted: 21 May 2009, 13:46
by Otherside
Image

Re: Working map options example.

Posted: 21 May 2009, 15:01
by aGorm
Makes me wanna map make again... its that much win.

aGorm

Re: Working map options example.

Posted: 21 May 2009, 15:14
by Pxtl
Best metalmap EVAR.

Re: Working map options example.

Posted: 21 May 2009, 16:49
by CarRepairer
Hoi wrote:You just made 64 maps out of one map :-)

*Downloads*
2^8

Edit: well not quite now that I look more carefully at the options such as Day on the left and Night on the Right.

Re: Working map options example.

Posted: 21 May 2009, 17:19
by SirArtturi
Very Impressive! Maybe one of the most impressive works on this scene!

Your skybox is tasty !

Pity that it's made for gundam. Maybe you could do a favour for ba(and others) players and add metal patches so we could enjoy your map too...

Re: Working map options example.

Posted: 21 May 2009, 17:29
by Otherside
Some settings dont seem to work

Fog works fine

But my snow is always night

and my normal is always dry and day regardless of options chosen

Re: Working map options example.

Posted: 21 May 2009, 17:43
by BaNa
Fuckwin. So much fuckwin.

Re: Working map options example.

Posted: 21 May 2009, 17:45
by lurker
Is the mex radius large enough for that to be playable?

Re: Working map options example.

Posted: 21 May 2009, 18:16
by smoth
Otherside wrote:Some settings dont seem to work

Fog works fine

But my snow is always night

and my normal is always dry and day regardless of options chosen
then you must have one of those ati cards...