Announcement

Collapse
No announcement yet.

Tech Prototype Issues

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    I vote for a global multiplier in an xml file. Not only is it useful for scenarios, it will help adjusting things without having to recompile. I spent some time changing a factor in order to get the correct number of RPs funnelled to Military Tactics, it'd have been simpler by just changing a resource file.
    We also need a way in the technology or scenario file to specify tech levels per-civ. Currently start levels are the same for everyone, but we must be able to change that.
    Clash of Civilization team member
    (a civ-like game whose goal is low micromanagement and good AI)
    web site http://clash.apolyton.net/frame/index.shtml and forum here on apolyton)

    Comment


    • #17
      I had an idea for a quickie way to give the player a way to invest in RPs. That should also accelerate tech testing. What I would do is have an infra class in the econ menu for investing in any tech activity that exists. Then you can put any money resources you have available, generally lots, into activites. (I'd have to work out the price, but that shouldn't be a big deal.) It would also give players something tangible to do with their money. Longer-term of course the tech interface would do this and more, but for the time being it would give some control. At that level, we might be able to even squeeze something more detailed in for tech in D7!

      What does everyone think?

      Originally posted by LDiCesare
      We also need a way in the technology or scenario file to specify tech levels per-civ. Currently start levels are the same for everyone, but we must be able to change that.
      Yeah, we need this one pretty badly. Have to hear from Gary on the time required to implement though... I don't want to slow the D7 release too much.
      Project Lead for The Clash of Civilizations
      A Unique civ-like game that will feature low micromanagement, great AI, and a Detailed Government model including internal power struggles. Demo 8 available Now! (go to D8 thread at top of forum).
      Check it out at the Clash Web Site and Forum right here at Apolyton!

      Comment


      • #18
        Do you mean to add a single box in the menu or one per class? That will get pretty badly cluttered if the econ interface is not reworked. (At least give me a slider then).

        Civ-specific tech is not that urgent for D7. I may try to do civ-specific units instead (Roman elephants attacking Carthage??) as it will be needed anyway, but even that should be scenario-dependant.

        Mark, what about trying to enhance the diminishing returns for food?
        Clash of Civilization team member
        (a civ-like game whose goal is low micromanagement and good AI)
        web site http://clash.apolyton.net/frame/index.shtml and forum here on apolyton)

        Comment


        • #19
          Double post. My computer and Apolyton haven't been getting along well recently.
          Last edited by Richard Bruns; May 22, 2002, 12:31.

          Comment


          • #20
            I posted an earlier reply and I thought it went up, but I now see that it isn't on the thread. I forgot exactly what I said; it addressed some earlier things. I'll try to repeat it as best I can, and then add replies to newer posts.

            I'd prefer that the current production activity be renamed to Manufacturing (making it easier to tell activities from techs) and that the newly-named Manufacturing put its points into production and metallurgy as outlined above.

            Done

            BTW my initial tests are showing that the Farming tech improves very rapidly (when it has enough RPs to improve at all). This is partly because for now Food RPs are generated proportional to population, and as Farming tech grows, so does the population, who become mostly farmers, giving a feedback cycle that explodes.

            This could be a problem. I designed the RP input to be based on labor input and not product output, to prevent this very cycle. But farming seems to be a special case, since product output seems to immediately generate labor input. We may be able to fix this with diminishing returns values and other tweas, or it may require a structural change, perhaps generating RP's a different way in this case.

            Part of it is that Food feeds not only Farming, but also Farming's only helper, Biology. If Biology weren't improved along with farming I'd think diminshing returns might set in.

            It shouldn't work like that. The upkeep for Biology should be greater than the benefit it provides to Farming. I'll have to look into that.

            The immediate problem I see, and this is a gameplay problem, not necessarily a tech one per se, is the difference between a 1-square civ and a large one. Dawn has an initial population of 5k, and Rome in the other scenario has about 2M. For any number of RP generation that has Rome gaining Farming tech at a reasonable rate (maybe .1/turn) the Dawn scenario does absolutely nothing in tech. Not surprising given the math

            This isn't really a problem. Later, tech diffusion will even out the differences between civs. For now, all we have to do is start rome at a higher knowledge level, to reflect its later point in history. That means more effort will be required to increase the tech level.

            Of course one issue is that right now both scenarios start with the same tech levels. Fixing this may put things somewhat back on a more reasonable track. Improving stone age tech by 1 should be Much easier than improving that of classical antiquity. Another factor we could emphasize in dawn is that you really need to expand your population by a factor of 10 or so before expecting to see much of any improvement in tech.

            this is correct.
            Originally posted by Mark_Everson
            Anyone know... does the upkeep tag on an individual technology override the global upkeep value? If so we have a lot of techs with upkeep = 1.

            Any problem with me setting all those to 0.0, or might I cause global destruction I have set them all to 0.0 for the time being.
            As designed, the upkeep for a tech should be the global value times the tech's upkeep value. All values for an individual tech, be they upkeep, multiplier, or diminishing returns, should be a multiplier of the global value. That's why they are all 1 for now; that means they use the default value. That's the whole point of having a global value, so we only have to change one number for a system-wide change. Changing the default to zero should eliminate all upkeep for all techs, without needing to change the individuals.

            Richard, there was a change that was required by the parser that I think Gary mentioned a while ago. You need to change your xml generator so that what used to be called activity "effect" tags are instead a "proportion" tag and the proportions have to be on a scale 0-1.0 so what used to be an effect 70 is now a proportion 0.7 .

            Ok, I'll make the necessary changes. Do you have any ides what that "multiplier" value is supposed to do?

            I have copied over the Military Activity to the xml file with Laurent and my most recent mods. What does the global multiplier tag, and the same one on an activity do? I have commented them out for now, since it is not recognized by the parser. Many of the applications you had , Richard, are not in the current xml. I have not put them in since it might cause Laurent grief. I will email it out when I'm done with the mods, and have a chance to test it a bit.

            The global multiplier value was formerly MV. It and the growth value have to do with the relationship between tech level and knowledge. Each time knowledge is multiplied by the multiplier, tech level rises by the growth value. I don't know what the activity multiplier does; it appesared in the xml file I was given.

            I have already eliminated all activities from the xml file. I will change the editor so it doesn't mess with applications anymore.
            The Simple_Tech_Test output file was time-consuming to work from since the xml codes are all run together. I remember that you didn't have a good fix for that, Richard, when it came up before. I guess maybe we'll just ask your opinions on values, and add things as we go along by hand. Is there any way to put characters into the file that we could then replace with new-line codes and spaces so that the output is easily formattable like the xml we're currently working from?
            I don't know how to do that. But since the editor changes most everything in the file, it hasn't been a problem for me. You should be able to make all the changes online and then download the xml file from the link on the "View with XSL Sheets" page.

            In the code, it [upkeep] does overwrite the default value. (I did that for military tactics and the effect was clear).

            That would be a bug.

            I think the easiest way to deal with the 5k vs 5M population issue for now would be to add a number like the old civ "tech paradigm"

            I responded to this in the post that was lost, and above in this post. All we have to do is start at different knowledge values.

            I vote for a global multiplier in an xml file.

            The tech xml file already has every global multiplier that can affect the tech system. All we have to do is change the global growth rate and global upkeep.

            I am noticing an issue that needs to be worked out. When I designed the tech system, I didn't know that there would be so many scenarios. I thought it would be like the civ games, where there is one tech file designed for the whole game that gets used for all of history. Any new scenario would require a new tech tree, like the civ modpacks.

            But now I realize that we want lots of little scenarios to form a "campaign" like those in RTS games. That's a cool idea, but we need to make sure the tech tree can deal with it.

            What I have been working on is the main tech tree, one that defines how all civs use tech. But (I assume) somewhere in the code you have a listing of what each civ's tech position is. This keeps track of the fact that Rome now has X farming knowledge and Carthage has Y metallurgy knowledge.

            For the scenario files, we should edit these listings, and not the basic tech tree. The basic tech tree is supposed to be a set fo rules for how tech acts, and remain unchanged throughout history. All of the scenarios should be able to use it, since they represent the same world at different points in time.

            But this leads to the fact that I have no way of editing the civ-specific listings. I have been saying "give Rome more knowledge to start with" but my tech editor and xml file can't do that because they aren't designed to. Can someone explain how the civ's levels are tracked over time? Is it a text file or some variable in the code? If we want to be able to make scenarios, it has to be a text file that can be loaded in at the beginning. Otherwise the program seems to assume that all knowledge equals one, like you are starting a new game with nothing there. This text file is what we would have to use to set the tech levels for scenarios.
            ---
            Wow, the server is messed up. I would have lost this too if I hadn't copied it to another program before trying to send it.

            Comment


            • #21
              Originally posted by LDiCesare
              Do you mean to add a single box in the menu or one per class? That will get pretty badly cluttered if the econ interface is not reworked. (At least give me a slider then).
              Hi Laurent, its one per Activity, which would be maybe five or six total for the forseeable future. Do you really need a slider, there is the Reorder button that allows you to flip the choices so that the ones that run off the bottom are now on top. I just don't want to rework the econ thing too much, since it'll be scrapped soon anyway. And I am not that familiar with adding things like that, although I have done it before. But there always seem to be complications... If you can put in a slider quickly and efficiently, I have no trouble with you doing it

              Can you add the bug Richard speculated on to the prioritized list? It is the statement you made

              In the code, it [upkeep] does overwrite the default value. (I did that for military tactics and the effect was clear).
              The desired behavior is for the upkeep value for a tech to be determined by the global upkeep value multiplied by the tech's upkeep value. Can you check first for sure that it is not done correctly? Thanks!


              Hey Richard, sorry to hear the server is messing with you...

              Thanks for all the detailed responses.

              I really don't like the RP = Labor thing. I think it needs to be more complicated, involving education, access to capital, labor availablility in the economy, social climate, and market character of economy. But that is a discussion for a bit later I also would need to reread all the things we said about it a while ago...

              I'm hoping we can fix the farming problem with a tweak for now. Any Biology upkeep tweak that was enough to fix the problem would unfortunately kill the Dawn scenario Biology level. So I don't think that's the answer.

              The tech xml file already has every global multiplier that can affect the tech system. All we have to do is change the global growth rate and global upkeep.
              Disagree. AFAIK Nothing in there will fix the 5k vs 5M population problem. Am I wrong? If we don't need the multiplier later then we can take it out. As you say tech diffusion may take care of the issue in the long run, but I think we need it for now, or the tech in one of those two scenarios will be Very dissatisfying to players.
              Project Lead for The Clash of Civilizations
              A Unique civ-like game that will feature low micromanagement, great AI, and a Detailed Government model including internal power struggles. Demo 8 available Now! (go to D8 thread at top of forum).
              Check it out at the Clash Web Site and Forum right here at Apolyton!

              Comment


              • #22
                Originally posted by Mark_Everson
                I really don't like the RP = Labor thing. I think it needs to be more complicated, involving education, access to capital, labor availablility in the economy, social climate, and market character of economy.
                That is what E and I represented in the tech equations. Putting these factors into RP generation is certainly an option.

                I'm hoping we can fix the farming problem with a tweak for now.

                It could be a good way to experiment with the diminsihing returns in teh equation.
                Disagree. AFAIK Nothing in there will fix the 5k vs 5M population problem. Am I wrong?
                In a word, yes. Changing the global growth rate value and/or the farming growth rate value to a lower level (0.0001) for the Rome scenario and a higher level (0.1) for the Dawn scenario will enable the tech tree to function the way we want it to do, growing at about the same rate in each scenario. This is of course a knudge; a more permanent solution, as I discussed, is to start Rome with a higher knowledge level.

                Comment


                • #23
                  new xml file

                  I have concerns with the xml file I got in the mail:

                  First, the global multiplier value is missing. This is the number that, along with growthfactor, determines the tech levels based on knowledge. If we plan on using tech levels again, that is important.

                  The individual tech upkeeps shouldn't have to be changed to zero. They should have their own values, determined by playtesting. Setting global upkeep to zero should eliminate all upkeep, since they should multiply.

                  Why do we still have a "Warhorses" technology? I thought that was changed to simply "Horses".

                  Why are applications still in there? I thought we got rid of all of those from the tech xml file.

                  Comment


                  • #24
                    Re: new xml file

                    Hiya Richard, on the post two above, I'd figured out about an hour after I posted that your approach would solve the 5k / 5M problem... c'est la vie.

                    On E and I, if they do the same job, or can after tweaking then that's fine. I will have to reread all that stuff when I get a chance, to remember where the model is!

                    Originally posted by Richard Bruns
                    I have concerns with the xml file I got in the mail:

                    First, the global multiplier value is missing. This is the number that, along with growthfactor, determines the tech levels based on knowledge. If we plan on using tech levels again, that is important.
                    Yeah, I took out the global multiplier by accident. But it seems the default is 2 anyways. I've put it back.

                    The individual tech upkeeps shouldn't have to be changed to zero. They should have their own values, determined by playtesting. Setting global upkeep to zero should eliminate all upkeep, since they should multiply.
                    I've verified it works as it should and have reset all the upkeeps other than the global one to 1.0

                    Why do we still have a "Warhorses" technology? I thought that was changed to simply "Horses".
                    Forgot that one. I tried to do it, but I got a crash. At a guess, there is name matching with the military.xml file required. Laurent, can you update Warhorses to horses the next time you change any of the xml files?

                    Why are applications still in there? I thought we got rid of all of those from the tech xml file.
                    I've removed them. Laurent, if its not ok for me to take those out, just put 'em back... Will mail the new version out soon.

                    Thanks for the corrections,

                    Mark
                    Project Lead for The Clash of Civilizations
                    A Unique civ-like game that will feature low micromanagement, great AI, and a Detailed Government model including internal power struggles. Demo 8 available Now! (go to D8 thread at top of forum).
                    Check it out at the Clash Web Site and Forum right here at Apolyton!

                    Comment


                    • #25
                      Mark, I got your xml file in the mail. I'll put it up on the website and make the editor default to it.

                      Comment


                      • #26
                        The editor chokes a little on the new xml file because there is no description for the technologies. Did you intend this? Can I add tech descriptions to help the formatting?

                        Comment


                        • #27
                          Hey Richard, yes, please do add descriptions. I killed a few because they said "null" and I'd recalled Gary saying that was a problem at some point. I wasn't sure if that was still a potential issue. Can you make your code just repeat the tech/activity name or something if no description is entered?
                          Project Lead for The Clash of Civilizations
                          A Unique civ-like game that will feature low micromanagement, great AI, and a Detailed Government model including internal power struggles. Demo 8 available Now! (go to D8 thread at top of forum).
                          Check it out at the Clash Web Site and Forum right here at Apolyton!

                          Comment


                          • #28
                            All values for an individual tech, be they upkeep, multiplier, or diminishing returns, should be a multiplier of the global value. That's why they are all 1 for now; that means they use the default value. That's the whole point of having a global value, so we only have to change one number for a system-wide change. Changing the default to zero should eliminate all upkeep for all techs, without needing to change the individuals.
                            That is why my "overriding" test worked: 0 * anything = 0. Thus there is no bug, as I used 0 to override. btw I like this global values a lot, but I think it should be written in plain in the xml file as a comment, so that modders who edit the file know and understand it. Even though we will provide separate explanations for all the xml files, tags and whatnots.

                            But this leads to the fact that I have no way of editing the civ-specific listings. I have been saying "give Rome more knowledge to start with" but my tech editor and xml file can't do that because they aren't designed to. Can someone explain how the civ's levels are tracked over time? Is it a text file or some variable in the code? If we want to be able to make scenarios, it has to be a text file that can be loaded in at the beginning. Otherwise the program seems to assume that all knowledge equals one, like you are starting a new game with nothing there. This text file is what we would have to use to set the tech levels for scenarios.
                            We need to put that in some xml files, probably the scenario file. The variables (all of them) are in memory when the program runs, but they may have been read from an xml file. Note for better modability we probably need several technology.xml and military.xml files, which bith have the same problem of being designed "once and for all". This is less of a problem for tech as you can keep it the same and just change applications (unless someone wants to add fantasy stuff in it or change a few values for a scenario). Better discussed elsewhere though.

                            Horses:
                            I'll change it when I next send my file.
                            Clash of Civilization team member
                            (a civ-like game whose goal is low micromanagement and good AI)
                            web site http://clash.apolyton.net/frame/index.shtml and forum here on apolyton)

                            Comment


                            • #29
                              Originally posted by Mark_Everson
                              I had an idea for a quickie way to give the player a way to invest in RPs. That should also accelerate tech testing. What I would do is have an infra class in the econ menu for investing in any tech activity that exists. Then you can put any money resources you have available, generally lots, into activites. (I'd have to work out the price, but that shouldn't be a big deal.) It would also give players something tangible to do with their money. Longer-term of course the tech interface would do this and more, but for the time being it would give some control. At that level, we might be able to even squeeze something more detailed in for tech in D7!
                              Hi All:

                              I've gotten this mostly done. I chose a cost scale such that if the player puts 30-50% of tax revenues into a given Activity you can roughly double the rate of tech progression it its techs.

                              Richard, did you get the D6 'testbed' to work? If so we can hopefully send you the code this weekend and you can experiment with what tech does so far. The interface stuff mostly isn't there for tech, but the detailed readouts Gary put in that go to tech.txt should let you see a lot of what's goin on.
                              Last edited by Mark_Everson; May 24, 2002, 08:09.
                              Project Lead for The Clash of Civilizations
                              A Unique civ-like game that will feature low micromanagement, great AI, and a Detailed Government model including internal power struggles. Demo 8 available Now! (go to D8 thread at top of forum).
                              Check it out at the Clash Web Site and Forum right here at Apolyton!

                              Comment


                              • #30
                                The testbed seems to work. Go ahead and send it, but know that I will require at least some operating instructions.

                                Comment

                                Working...
                                X