Lua Typemap Control
Moderator: Moderators
-
- Moderator
- Posts: 2464
- Joined: 12 Oct 2007, 09:24
Lua Typemap Control
I'd like to be able to set map hardness and speed bonus with lua. Some uses of this could be road-creating by using speed bonus, creating softer/harder ground when terraforming or overriding map based typemaps.
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: Lua Typemap Control
How DARE YOU! Your insolence knows no bounds. You just don't know when you quit do you? Trampling over common decency to defecate all over a mapper's hard work. First you wish to change gravity itself, now this?! Do you know how much blood, sweat and tears go into making typemaps? I suspect you don't because if you did, you'd have an inkling of what kind of heavy heartache you place on the little people around here just waving around your requests like they are trivial and have no effect on anyone's lives. For shame!
Re: Lua Typemap Control
Oooh, users building roads would be farking awesome. You could even make units that can only move on roads. So many possibilities.
Re: Lua Typemap Control
Car, do you make the same post every time this topic comes up? Once is enough.
Re: Lua Typemap Control
if it can be set in the smd it can be set in the map... example coming in about 5 hours. I had to recompile the map due to a texture issue.
Re: Lua Typemap Control
Smoth: You can change the speed bonus given by each terrain type, you cannot change the shape of the zone of each type.
Lurker: I still want the Lua tile control!
Lurker: I still want the Lua tile control!
- Tribulexrenamed
- Posts: 775
- Joined: 22 Apr 2008, 19:06
Re: Lua Typemap Control
Shuttup noob, I think you are in part responsible for the way CA enables one to tear the heightmap to pieces, and personally, this is the part I spend the most time on when i make maps.CarRepairer wrote:How DARE YOU! Your insolence knows no bounds. You just don't know when you quit do you? Trampling over common decency to defecate all over a mapper's hard work. First you wish to change gravity itself, now this?! Do you know how much blood, sweat and tears go into making typemaps? I suspect you don't because if you did, you'd have an inkling of what kind of heavy heartache you place on the little people around here just waving around your requests like they are trivial and have no effect on anyone's lives. For shame!
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: Lua Typemap Control
I am in no way responsible for terraforming, only wind value overrides.
Re: Lua Typemap Control
@ z, ah I thought he was just looking at assigning the values.
Re: Lua Typemap Control
Car appears to be inaccurately lampooning my general response to heavy-handed map manipulation by modders and game designers. Points for effort.
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: Lua Typemap Control
Thanks neddie.
Ironically, I probably spent more work on typemaps than anyone else. I once spent days working on setting up 75 typemaps in my Europe map, one for each country and major city. Same for the states in USA.
Ironically, I probably spent more work on typemaps than anyone else. I once spent days working on setting up 75 typemaps in my Europe map, one for each country and major city. Same for the states in USA.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Lua Typemap Control
Washington D.C. Should have a movespeed for everything of 0.01 kthxbai
Re: Lua Typemap Control
My point being that as map makers deserve the same respect and the same rights to the realization of their content as other content creators. Not that game developers should not be able to manipulate maps, given respect for the map maker and reasonable permission.
- Pressure Line
- Posts: 2283
- Joined: 21 May 2007, 02:09
Re: Lua Typemap Control
That all assumes that the mapper knows how the stats they make their map with affects the games to be played on the map. There are maps which have a blanket 2x speed modifier, are a great map (texture, map layout, metal layout etc) but are ruined by the speed modifier. Surely its not unreasonable to change the typemap values to stop the map from destroying the balance of the game.
Same can apply for gravity. If someone makes a map with 4x normal gravity, it can adversely effect the way certain (ballistic) weapons work, if a game has a side that relies mostly on ballistic weapons, and one that relies mostly on lasers, it essentialy turns the map into a map that can only be played by one side. is it not reasonable that the developer of this mod be able to control the gravity and bring it back into line with what is the 'expected' normal?
Same can apply for gravity. If someone makes a map with 4x normal gravity, it can adversely effect the way certain (ballistic) weapons work, if a game has a side that relies mostly on ballistic weapons, and one that relies mostly on lasers, it essentialy turns the map into a map that can only be played by one side. is it not reasonable that the developer of this mod be able to control the gravity and bring it back into line with what is the 'expected' normal?
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Lua Typemap Control
I must say it would be nice to have a piece of lua that would automagically set gravity to 130 and typemaps to 1/1/1/1 for me.
Re: Lua Typemap Control
easyForboding Angel wrote:I must say it would be nice to have a piece of lua that would automagically set gravity to 130 and typemaps to 1/1/1/1 for me.
Re: Lua Typemap Control
random metal map generator would be lolsome to 

Re: Lua Typemap Control
You should really be setting mygravity on the weapons where it matters.
Blanket 2x speed is probably bad, yes, but if you set all typemaps automatically to 1/1/1/1 you're completely ignoring the map maker; that's not right.
Blanket 2x speed is probably bad, yes, but if you set all typemaps automatically to 1/1/1/1 you're completely ignoring the map maker; that's not right.