Official Map Blueprint/Container - Page 2

Official Map Blueprint/Container

Tutorials & Resources For Mappers

Moderators: Moderators, Moderators

User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14636
Joined: 17 Nov 2005, 02:43

Re: Official Map Blueprint/Container

Post by Forboding Angel »

And why not?
0 x

User avatar
smoth
Posts: 22300
Joined: 13 Jan 2005, 00:46

Re: Official Map Blueprint/Container

Post by smoth »

because. Any other reason would get you angry.
0 x

User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14636
Joined: 17 Nov 2005, 02:43

Re: Official Map Blueprint/Container

Post by Forboding Angel »

Why don't you let me be the judge of that? Also, that's a pretty big assumption.
0 x

User avatar
KaiserJ
Community Representative
Posts: 3113
Joined: 08 Sep 2008, 22:59

Re: Official Map Blueprint/Container

Post by KaiserJ »

why shouldn't it be default? because many maps do not use features, or use a small set of map specific features rather than the features package
0 x

User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14636
Joined: 17 Nov 2005, 02:43

Re: Official Map Blueprint/Container

Post by Forboding Angel »

Yet it makes more sense to have a non-existent package as the default: depend = {"Map Helper v1"},

I fail to see how.
0 x

User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6139
Joined: 29 Apr 2005, 01:14

Re: Official Map Blueprint/Container

Post by FLOZi »

Map helper exists (it is base content):

https://github.com/spring/spring/blob/m ... odinfo.lua
0 x

User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14636
Joined: 17 Nov 2005, 02:43

Re: Official Map Blueprint/Container

Post by Forboding Angel »

oh ok, well then nm. I don;t give a shit about this depend shit, fix the fog gadget and tell me how to make snow slow down and not be fugly!
0 x

User avatar
Beherith
Moderator
Posts: 4937
Joined: 26 Oct 2007, 16:21

Re: Official Map Blueprint/Container

Post by Beherith »

Cool, but fog fails to load:

Code: Select all

local engv = tonumber("0." .. Game.version:gsub("[%.%+]",""):sub(2))
engv = engv + (Game.version:find("+") and 0.01 or 0)
post83 = (engv >= 0.83) --line 133

Code: Select all

Failed to load: gui_dualfog_gadget.lua  ([string "LuaGaia/Gadgets/gui_dualfog_gadget.lua"]:133: attempt to perform arithmetic on local 'engv' (a nil value))
0 x

User avatar
smoth
Posts: 22300
Joined: 13 Jan 2005, 00:46

Re: Official Map Blueprint/Container

Post by smoth »

Forboding Angel wrote:Yet it makes more sense to have a non-existent package as the default: depend = {"Map Helper v1"},
*SNICKER*
0 x

User avatar
smoth
Posts: 22300
Joined: 13 Jan 2005, 00:46

Re: Official Map Blueprint/Container

Post by smoth »

Beherith wrote:Cool, but fog fails to load:

Code: Select all

local engv = tonumber("0." .. Game.version:gsub("[%.%+]",""):sub(2))
engv = engv + (Game.version:find("+") and 0.01 or 0)
post83 = (engv >= 0.83) --line 133

Code: Select all

Failed to load: gui_dualfog_gadget.lua  ([string "LuaGaia/Gadgets/gui_dualfog_gadget.lua"]:133: attempt to perform arithmetic on local 'engv' (a nil value))
weee fun. Ok, I'll add that to my list of shit to track down :\.
0 x

User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14636
Joined: 17 Nov 2005, 02:43

Re: Official Map Blueprint/Container

Post by Forboding Angel »

Thanks for all the help earlier Behe, muchly muchly appreciated.

Next issue:

Code: Select all

		cloudDensity = 0.1,
		cloudColor   = {1.0, 1.0, 1.0},
Doesn't work :-<
0 x

User avatar
Beherith
Moderator
Posts: 4937
Joined: 26 Oct 2007, 16:21

Re: Official Map Blueprint/Container

Post by Beherith »

Which one doesnt? density, color, or both?
0 x

User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14636
Joined: 17 Nov 2005, 02:43

Re: Official Map Blueprint/Container

Post by Forboding Angel »

Both
0 x

User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14636
Joined: 17 Nov 2005, 02:43

Re: Official Map Blueprint/Container

Post by Forboding Angel »

Sooo... Jk? Care to weigh in?
0 x

User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Official Map Blueprint/Container

Post by jK »

Beherith wrote:Cool, but fog fails to load:

Code: Select all

local engv = tonumber("0." .. Game.version:gsub("[%.%+]",""):sub(2))
engv = engv + (Game.version:find("+") and 0.01 or 0)
post83 = (engv >= 0.83) --line 133

Code: Select all

Failed to load: gui_dualfog_gadget.lua  ([string "LuaGaia/Gadgets/gui_dualfog_gadget.lua"]:133: attempt to perform arithmetic on local 'engv' (a nil value))
Ahh I assume the "*-gblahblah" stuff breakes it. Thx for mentioning.
0 x

User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Official Map Blueprint/Container

Post by jK »

Forboding Angel wrote:Next issue:

Code: Select all

		cloudDensity = 0.1,
		cloudColor   = {1.0, 1.0, 1.0},
Doesn't work :-<
should tell me what?
0 x

User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14636
Joined: 17 Nov 2005, 02:43

Re: Official Map Blueprint/Container

Post by Forboding Angel »

Changing those settings in mapinfo has no effect.
0 x

User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Official Map Blueprint/Container

Post by jK »

dualfog gadget fixed (sorry that it took a bit longer).

and Forb, it works fine. And when you want help with problems you got you may need to give a bit more information than "Doesn't work :-<" ...
0 x

User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14636
Joined: 17 Nov 2005, 02:43

Re: Official Map Blueprint/Container

Post by Forboding Angel »

Dude... what do you want? I change the values and it doesn't work?

Would I be saying it didn't work if I had not changed the values first? Come on...

Edit: No, it does not work fine. Otherwise, gray clouds would not result from a setting of 111, and I would not have a full cloud bank with a density of 0.1
0 x

User avatar
smoth
Posts: 22300
Joined: 13 Jan 2005, 00:46

Re: Official Map Blueprint/Container

Post by smoth »

hey jk, what did you update?

did you do the level 0 for fog also? I would like to go ahead and update my maps this weekend.
0 x

Post Reply

Return to “Map Tutorials & Resources”

cron