Map Lua

Map Lua

Discuss maps & map creation - from concept to execution to the ever elusive release.

Moderator: Moderators

Post Reply
User avatar
oksnoop2
Posts: 1207
Joined: 29 Aug 2009, 20:12

Map Lua

Post by oksnoop2 »

Is there a wiki page or a tutorial about how to do map lua? I can't seem to find the info.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Map Lua

Post by smoth »

Not really, what do you want to do?
User avatar
oksnoop2
Posts: 1207
Joined: 29 Aug 2009, 20:12

Re: Map Lua

Post by oksnoop2 »

I would like to be able to:

Adjust Water Level.
Create Weather Conditions such as fog,rain, snow.
Adjust metal out put per patch.
And anything else really that i could have as map options.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Map Lua

Post by smoth »

Adjust Water Level.
- got you covered

Create Weather Conditions such as fog,rain, snow.
- fog and snow, got ya covered
- rain, the rain widget sucks bad.

Adjust metal out put per patch.
- should be doable but i have not really tested it. Honestly you should set metal/energy/wind as a mod option. That way you can control it mod side instead of having the map do it.

>And anything else really that i could have as map options.
That is a large infinite pool of possibilities.
User avatar
Wombat
Posts: 3379
Joined: 15 Dec 2008, 15:53

Re: Map Lua

Post by Wombat »

smoth didnt say that his maps got snow and fog, quoth got rain. so u may check these

plz notice that weather features hate some hardware ( i think ati)
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Map Lua

Post by knorke »

put in a luarules\gadgets\lol.lua and it works like any other lua.
the metal map or type map can not be manipulated by lua last time i checked.
only heightmap.
User avatar
oksnoop2
Posts: 1207
Joined: 29 Aug 2009, 20:12

Re: Map Lua

Post by oksnoop2 »

smoth wrote:Adjust Water Level.
- got you covered

Create Weather Conditions such as fog,rain, snow.
- fog and snow, got ya covered
- rain, the rain widget sucks bad.

Adjust metal out put per patch.
- should be doable but i have not really tested it. Honestly you should set metal/energy/wind as a mod option. That way you can control it mod side instead of having the map do it.

>And anything else really that i could have as map options.
That is a large infinite pool of possibilities.

I guess PM me in the lobby or post the code up here when you get some time. Thanks.
User avatar
SirArtturi
Posts: 1164
Joined: 23 Jan 2008, 18:29

Re: Map Lua

Post by SirArtturi »

Check out the FolsomDamDeluxe. It has the metal/wind/tidal mapside option you mentioned plus many other.
User avatar
oksnoop2
Posts: 1207
Joined: 29 Aug 2009, 20:12

Re: Map Lua

Post by oksnoop2 »

Cool thanks for the suggestion.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Map Lua

Post by smoth »

Wombat wrote:smoth didnt say that his maps got snow and fog, quoth got rain. so u may check these
the quoth rain moves with your camera that is why it fails.

I do have fog/snow in my maps as options where appropriate.
Post Reply

Return to “Map Creation”