Lua Typemap Control

Lua Typemap Control

Requests for features in the spring code.

Moderator: Moderators

Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Lua Typemap Control

Post by Google_Frog »

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.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Re: Lua Typemap Control

Post by KDR_11k »

+1
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: Lua Typemap Control

Post by CarRepairer »

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!
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: Lua Typemap Control

Post by Pxtl »

Oooh, users building roads would be farking awesome. You could even make units that can only move on roads. So many possibilities.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Lua Typemap Control

Post by lurker »

Car, do you make the same post every time this topic comes up? Once is enough.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Lua Typemap Control

Post by smoth »

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.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: Lua Typemap Control

Post by zwzsg »

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!
User avatar
Tribulexrenamed
Posts: 775
Joined: 22 Apr 2008, 19:06

Re: Lua Typemap Control

Post by Tribulexrenamed »

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!
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.
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: Lua Typemap Control

Post by CarRepairer »

I am in no way responsible for terraforming, only wind value overrides.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Lua Typemap Control

Post by smoth »

@ z, ah I thought he was just looking at assigning the values.
User avatar
Acidd_UK
Posts: 963
Joined: 23 Apr 2006, 02:15

Re: Lua Typemap Control

Post by Acidd_UK »

@Car: LOL

@OP: Agreed
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Re: Lua Typemap Control

Post by Neddie »

Car appears to be inaccurately lampooning my general response to heavy-handed map manipulation by modders and game designers. Points for effort.
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: Lua Typemap Control

Post by CarRepairer »

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.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Lua Typemap Control

Post by Forboding Angel »

Washington D.C. Should have a movespeed for everything of 0.01 kthxbai
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Re: Lua Typemap Control

Post by Neddie »

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.
User avatar
Pressure Line
Posts: 2283
Joined: 21 May 2007, 02:09

Re: Lua Typemap Control

Post by Pressure Line »

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?
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Lua Typemap Control

Post by Forboding Angel »

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.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Lua Typemap Control

Post by smoth »

Forboding 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.
easy
User avatar
Otherside
Posts: 2296
Joined: 21 Feb 2006, 14:09

Re: Lua Typemap Control

Post by Otherside »

random metal map generator would be lolsome to :P
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Lua Typemap Control

Post by lurker »

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.
Post Reply

Return to “Feature Requests”