Jump to content
  1. Welcome

    1. Announcements / News

      The latest. What is happening with 0 A.D. Stay tuned...

      5,3k
      posts
    2. Introductions & Off-Topic Discussion

      Want to discuss something that isn't related to 0 A.D. or Wildfire Games? This is the place. Come on in and introduce yourself. Get to know others who are using 0 A.D.

      38,5k
      posts
    3. Help & Feedback

      Here is where you can get help with your questions. Also be sure to tell us how we are doing. What can we improve? What do you wish we could do better? Your opinion matters to us!

      16,7k
      posts
  2. 0 A.D.

    1. General Discussion

      This is the place to post general stuff concerning the game. Want to express your love for hoplites or find people to play the game with? Want to share your stories about matches you have played or discuss historical connections to the game? These and any other topics which are related to the game, but don't have their own forums belong in this forum.

      51,1k
      posts
    2. Gameplay Discussion

      Discuss the game play of 0 A.D. Want to know why the game plays the way it does or offer suggestions for how to improve the game play experience? Then this is the forum.

      28,1k
      posts
    3. Game Development & Technical Discussion

      A forum for technical discussion about the development of 0 A.D. Feel free to ask questions of the developers and among yourselves.

      47,9k
      posts
    4. Art Development

      Open development for the game's art. Submissions, comments, and suggestions now open.

      30,1k
      posts
    5. Game Modification

      Do you have any questions about modifying the game? What will you need to do what you want to? What are the best techniques? Discuss Modifications, Map Making, AI scripting and Random Map Scripting here.

      44,4k
      posts
    6. Project Governance

      Forums for decision-making on issues where a consensus can't be reached or isn't sufficient. The committees are chosen from among the official team members, but to ensure an open and transparent decision process it's publically viewable.

      148
      posts
    7. 600
      posts
  • Topics

  • Posts

    • But there are text inputs when singing in to the multiplayer lobby. I guess a slider would work though
    • Making it a text input is definitely possible, but not straightforward, unfortunately. In the game settings code there are a lot of layers of abstraction, a lot of wrappers and super classes, to make adding new ones easy. Like the current dropdown. But there are no such classes for text inputs yet, since no game setting actually requires them. I suggest to try to make it a slider instead, this is easier since there are existing game setting controls that are sliders. See https://gitea.wildfiregames.com/0ad/0ad/commit/38eb999ff9d627ab319820a5fc77f332b100e32d
    • I am trying to make a text input box for starting resources. How would I make it text input:  GameSettingControls.StartingResources = class StartingResources extends GameSettingControlDropdown {     constructor(...args)     {         super(...args);         this.dropdown.list = g_StartingResources.Title;         this.dropdown.list_data = g_StartingResources.Resources;         this.sprintfArgs = {};         g_GameSettings.startingResources.watch(() => this.render(), ["resources", "perPlayer"]);         g_GameSettings.map.watch(() => this.render(), ["type"]);         this.render();     } ...
    • I'd like to bump this^ answer as well ...
    • can always try out CWA where these changes take place p[retty quickly. But also if you are playing mostly cav, catas in particular and you put in formation to move,t hey move at the speed of the slowest unit in formation, so then he would stay with the catas and move at their speed.
×
×
  • Create New...