GithubHelp home page GithubHelp logo

Comments (4)

FIr3baL avatar FIr3baL commented on July 17, 2024

Which settings are meant ?
Is this about mod options ?

from byar-chobby.

daufinsyd avatar daufinsyd commented on July 17, 2024

Yes, for example when you configure the chicken settings or when you set how much resources player get at the start of the party and so on :)

from byar-chobby.

peanutsrevenge avatar peanutsrevenge commented on July 17, 2024

Any kind of game. If the settings could be saved [which aren't default] to a *.xxx file locally, then [as boss] when selected in the lobby, it posts them all, one by one. Would be tripped up, if lobby not set to a preset (as for example if undeformable map had been enabled in the lobby, but it's not defined in the saved config, but water level is, it wouldn't disable undeformable map, which would stop water level change working), but it's better than at present.
It could become even more pressing as tweakdef mods grow, requiring multiple entries.

But, if it's already gonna be a part of chobby's successor, then, I'm sure we can soldier on.

from byar-chobby.

FIr3baL avatar FIr3baL commented on July 17, 2024

Ok, good to know that new lobby takes this request already.
I don't know how they save it, but here is my suggestion:

Having 2 levels of presets inside chobby config:

  1. classPresets for each group of presets
  2. globalPresets, where each is a set of classPresets
{
	"classPresets": {
		"modPresets": {
			"nameOfMy1stPreset": {
				"optionX": "valueforX",
				"optionY": "valueforY"
			},
			"nameOfMy2ndPreset": "..."
		},
		"mapPresets": {
			"mapName1": {
				"my1stPresetForMapName1": {
					"mapOptionX": "valueforX",
					"mapOptionY": "valuefoxY"
				},
				"my2ndPresetForMapName1": "..."
			},
			"mapName2": "..."
		},
		"AiPresets": {
			"BarbarianAI": {
				"MyOpBarbPreset": {
					"AiOption1": "ValueForOption1",
					"AiOption2": "..."
				},
				"TweakedBarbPreset": "..."
			}
		},
		"AutohostPresets": "..."
	},
	"globalPresets" :{
		"myDefaultConfig" : {
			"modPreset" : "nameOfMy1stPreset",
			"AIPresets" : {
				"BarbarianAI" : "MyOpBarbPreset"
			}
		}
	}
}

I imagine:

  1. a dropdown menu inside Battle Window for choosing the global preset
  2. a dropdown menu on each class of options like in modOptions window, autohost settings panel,...

Maybe that concept helps as a first step for anybody willing to code this :)

from byar-chobby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.