Map features set resources gadget

Map features set resources gadget

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

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

Map features set resources gadget

Post by Forboding Angel »

Ok, well this is a little gadget that I'm using in evo to reset all map features to be a value of 10 energy and 0 metal. This is because map features have a tendency to epicly unbalance evo games. I thought it might be useful to others as well.

Plays a positioned sound when anything is reclaimed and also fires off a positioned ceg when something is reclaimed. See evo for examples.

Cobbled together with help from tobi, flozi and s44 and a few other people in #sy.
Attachments
game_featureReclaim.lua
(1.33 KiB) Downloaded 18 times
User avatar
Johannes
Posts: 1265
Joined: 17 Sep 2010, 15:49

Re: Map features set resources gadget

Post by Johannes »

Wouldnt that be better addressed on maps side though?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Map features set resources gadget

Post by smoth »

some mods might want higher or lower global metal/energy values that fit their economy better.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Map features set resources gadget

Post by Forboding Angel »

Johannes wrote:Wouldnt that be better addressed on maps side though?
Not every game is *A. :roll:
User avatar
Johannes
Posts: 1265
Joined: 17 Sep 2010, 15:49

Re: Map features set resources gadget

Post by Johannes »

Forboding Angel wrote:
Johannes wrote:Wouldnt that be better addressed on maps side though?
Not every game is *A. :roll:
So?

It just means you can't make but 1 type of feature for games using this, which limits map variety quite a bit.
Unless you think its more crucial to be able to play maps designed for *A with features like any other map.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Re: Map features set resources gadget

Post by FLOZi »

I don't get your argument?

The point of this gadget is to make maps made for any and all games to be compatible with Evo (and anything else that uses the gadget (S44 sets all features to 0 resources)), it doesn't change what features are on the map so it doesn't change map variety in the slightest, just resource balancing?
User avatar
Johannes
Posts: 1265
Joined: 17 Sep 2010, 15:49

Re: Map features set resources gadget

Post by Johannes »

The fact that you can't design a map for Evo that has some features include metal for example. Or any amount of energy but 10. Or if I wanted some features that be purely cosmetical, even those would get energy.
luckywaldo7
Posts: 1398
Joined: 17 Sep 2008, 04:36

Re: Map features set resources gadget

Post by luckywaldo7 »

A mapper notices a gadget overriding a map setting...

In before 8 page rage discussion and lock.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Map features set resources gadget

Post by Forboding Angel »

Pffft, he's just a *A bitcher when something doesn't happen exactly the way he thinks everything should.

It's BS that you can't reclaim the xel'naga towers in sc2 isn't it? Yeah, life's a bitch.

Heres an effing clue... In evo a single mex brings in 1 metal per 2 seconds. Now what do you think it does to the economy when someone reclaims a rock with 10 metal in it? or 10 rocks, or 1 rock with 350 metal?

Considering that in Evo energy is ammo, 10 energy per feature is a goldmine.

Take your highhorse to the BA subforum, no one here gives a shit.
User avatar
Johannes
Posts: 1265
Joined: 17 Sep 2010, 15:49

Re: Map features set resources gadget

Post by Johannes »

ahhah u mad
SirMaverick
Posts: 834
Joined: 19 May 2009, 21:10

Re: Map features set resources gadget

Post by SirMaverick »

luckywaldo7 wrote:A mapper notices a gadget overriding a map setting...

In before 8 page rage discussion and lock.
In before? While you see a discussion others implemented a defence on certain overrides.
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Map features set resources gadget

Post by Beherith »

Just FYI: I no longer care about that. Feel free to override any part of the map if you feel it fits your mod better.

Also, try SSMF biatch. Youre missing a lot :D
Just make sure to make your Carrara texture softer than usual. I recommend using 'best' anti aliasing settings - but beware, this increases generation time by a lot.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: Map features set resources gadget

Post by zwzsg »

Johannes wrote:Wouldnt that be better addressed on maps side though?
I don't really want ten version of each 70mb map.
Post Reply

Return to “Lua Scripts”