Mod / Map separation
Moderator: Moderators
Re: Mod / Map separation
Which has already been changed so stop going on about it.
Re: Mod / Map separation
what is the official solution?lurker wrote:Which has already been changed so stop going on about it.
Re: Mod / Map separation
Car: Right, which leaves me confused for calls for override switches and other, non-notification approaches.
Anyways, non-issue.
Anyways, non-issue.
Re: Mod / Map separation
http://springrts.com/phpbb/viewtopic.ph ... 2&start=49smoth wrote:lurker wrote:Which has already been changed so stop going on about it.
Re: Mod / Map separation
As proven by this map-changing mod, as well as lurker reminder about how the Lua of a mod could change back units changed by a map, your point about map archive being higher priority than mod archive is void. But my map-changing mod is lulzier than talks and words.Regret wrote:One thing taking priority over another is hierarchy.
Re: Mod / Map separation
zwzsg wrote:As proven by this map-changing mod, as well as lurker reminder about how the Lua of a mod could change back units changed by a map, your point about map archive being higher priority than mod archive is void. But my map-changing mod is lulzier than talks and words.
Regret wrote:The map can include a custom gadget handler as I said and then the mod cannot do anything to block the map lua.
Re: Mod / Map separation
I am still entirely curious why we're arguing about this.
If you write map Lua that depends on game assets, then it will probably crash and burn if those assets aren't available.
If you write map Lua that is independent of game assets, then it'll either enhance a given game, or ruin the experience.
Looks like the first one is something that's only suitable for projects that are willing to make their own maps to fit their custom gameplay, and the second is more likely to lead to a bad experience for anybody playing something the map's coder didn't plan for.
So... why all the fighting? Both uses are legitimate, and the second case practically guarantees fairly benign use cases, if the mapper wants his / her work used with multiple games. Like... I can see using custom LuaGaia for a spectacular visual effect, or something like that... but meh, the maps that function like Warcraft III "maps", where they're essentially variant gametypes... are a BA phenomena, and will probably remain that way.
If you write map Lua that depends on game assets, then it will probably crash and burn if those assets aren't available.
If you write map Lua that is independent of game assets, then it'll either enhance a given game, or ruin the experience.
Looks like the first one is something that's only suitable for projects that are willing to make their own maps to fit their custom gameplay, and the second is more likely to lead to a bad experience for anybody playing something the map's coder didn't plan for.
So... why all the fighting? Both uses are legitimate, and the second case practically guarantees fairly benign use cases, if the mapper wants his / her work used with multiple games. Like... I can see using custom LuaGaia for a spectacular visual effect, or something like that... but meh, the maps that function like Warcraft III "maps", where they're essentially variant gametypes... are a BA phenomena, and will probably remain that way.
Re: Mod / Map separation
Yes, you can make a map that breaks every mod, or a map that makes Spring.exe plain crash. So?Regret wrote:The map can include a custom gadget handler as I said and then the mod cannot do anything to block the map lua.
Note that it would be possible to make a map break every mod and maybe even crash even if maps archives where restricted to the /maps/'s .smf, .smt.smd..
We even had a few case of maps inadvertandly breaking the mod Lua just with their metal map!
What are you going to do about it? Forbid maps to come with custom heightmaps because having high amplitude noise as heightmap breaks BA gameplay?
Re: Mod / Map separation
Troll harder.zwzsg wrote:Yes, you can make a map that breaks every mod, or a map that makes Spring.exe plain crash. So?
Note that it would be possible to make a map break every mod and maybe even crash even if maps archives where restricted to the /maps/'s .smf, .smt.smd..
We even had a few case of maps inadvertandly breaking the mod Lua just with their metal map!
What are you going to do about it? Forbid maps to come with custom heightmaps because having high amplitude noise as heightmap breaks BA gameplay?
Re: Mod / Map separation
Regret, zwzsg's basically right on this.
Maps aren't universal objects. They're game-specific, and their features are very flexible.
What I hear, from the yelling about this, is that people are scared of this, because it means that many maps aren't fully playable with their games.
That's tough. There cannot be, and will never be, a good way to determine whether any given map Lua is benign or not. And there is no way to "override Lua if it's going to do Something Bad", because Lua doesn't know what "Something Bad" is- that's contextual, and requires human choices.
Game designers can limit their games to particular maps, though, so the choice is there if this is a major issue for you.
Maps aren't universal objects. They're game-specific, and their features are very flexible.
What I hear, from the yelling about this, is that people are scared of this, because it means that many maps aren't fully playable with their games.
That's tough. There cannot be, and will never be, a good way to determine whether any given map Lua is benign or not. And there is no way to "override Lua if it's going to do Something Bad", because Lua doesn't know what "Something Bad" is- that's contextual, and requires human choices.
Game designers can limit their games to particular maps, though, so the choice is there if this is a major issue for you.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Mod / Map separation
He makes a good point. This thread is stupid. Go put some neosporin on your ass and leave this non-issue alone.
Re: Mod / Map separation
Again, when you cannot cope with you being refuted, you resort to calling people "troll". I resent that.Regret wrote:Troll harder.
Re: Mod / Map separation
You did not refute anything. But I agree this thread serves no purpose anymore as what is planned is sufficient to achieve what I requested.zwzsg wrote:Again, when you cannot cope with you being refuted, you resort to calling people "troll". I resent that.
-
- Moderator
- Posts: 2464
- Joined: 12 Oct 2007, 09:24
Re: Mod / Map separation
There already is a way to do that. Play the map and find out.Argh wrote:That's tough. There cannot be, and will never be, a good way to determine whether any given map Lua is benign or not.
Re: Mod / Map separation
I have always imagined the beginning on each match to be something similar to the start of Terminator. You, the weird human/alien/robot/whatever you are "zapped" from your home world to colonise some foreign planet. The planet has it's own environment which could affect you/your equipment in various ways. Your vehicles move slower than normal because the terrain on this planet is extra rough. The planet might be cursed by zombies that make your weapons more powerful than they normally are.
The reverse just doesn't make sense. How could you explain your flash tank travelling at 200km/hr on any sort of environment?
That's your justification for map overriding mods.
The reverse just doesn't make sense. How could you explain your flash tank travelling at 200km/hr on any sort of environment?
That's your justification for map overriding mods.
Re: Mod / Map separation
No, but he raised an entirely valid point. And your tendency to name people as trolls for just disagreeing with you and raising valid points that would invalidate your requests is becoming very apparent.Regret wrote:You did not refute anything.
Re: Mod / Map separation
I unfortunately am the very incarnation of the greatest trolling in springs history. My post count is a testament to this achievement.smoth wrote:I thought what he did was kinda neat and people are over reacting. either this is one of the greatest trollings in all of spring(props) or people are over reacting.
As for you lot, you all seem to be barking up the wrong tree.
In order to completely and utterly devastate any need for further arguing and debate, I put forward the following unarguable unrefutable points which cover pretty much everything:
- If a map changes a mod, and it breaks other games/mods ( e.g. a map that changes BA which crashes kernel panic and gundam ), then there is no reason that the maps lua gadget cannot detect this and conditionally execute the code and load in the units when the conditions needed are met.
So there's no reason a unit cant be loaded/modified via lua IF and only if the right mod is used. All the tools are already available. If the conditions fail then itll be normal playable. if its unrecoverable display an error message using a lua widget bundled - Maps like DSDS will always be possible and we will always have this problem. Anyone who wants to do it will always figure out a way around things to do it. We'll be stuck with this thread again and people will repeat all the same points and argue the same things, epic waste of time.
- The community is capable of filtering out these maps with far less effort than it would take a programmer to be able to write code that figures it all out on tis own and play cat and mouse catchup over time.
- Luagaia and luarules need sorting so maps have full control of gaia, and mods have full control of rules.
- Luarules in maps is considered a bug by the developers, its days are numbered
- There si an archetypal conflict of interests here for which there is no solution that lets you have your cake and eat it unless we learnt o get along and cooperate, or strip features out of maps or mods
Re: Mod / Map separation
wut?AF wrote:[*]Luagaia and luarules need sorting so maps have full control of gaia, and mods have full control of rules.
[*]Luarules in maps is considered a bug by the developers, its days are numbered
Re: Mod / Map separation
hahahahahahahahahah trollStrategia wrote:No, but he raised an entirely valid point. And your tendency to name people as trolls for just disagreeing with you and raising valid points that would invalidate your requests is becoming very apparent.
Re: Mod / Map separation
Maps should use luagaia not luarules to implement trickery. Currently it is possible to use Lua rules in maps however. This is unintended and considered an engine bug as pointed out earlier in the thread by tobi