Announcement

Collapse
No announcement yet.

Diplogame Mod Ideas

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

  • #61
    Ok, we got the mod working and tested it.

    We could trade techs we didn't invent, and we could trade techs more than twice. So that part of the mod definitely isn't working.

    Plus we both saw copper without bronze working.
    Captain of Team Apolyton - ISDG 2012

    When I was younger I thought curfews were silly, but now as the daughter of a young woman, I appreciate them. - Rah

    Comment


    • #62
      Ozzy and I just tested it, we could still trade techs we got through trading (and thus didn't invent ourselves) to other civs unfortunately.

      There were no strange side effects or bugs, asfaics.
      Formerly known as "CyberShy"
      Carpe Diem tamen Memento Mori

      Comment


      • #63
        OK, it seems I may need to go back to the drawing board but-before I do-I need to ask if you guys set bFirstTrade for these techs from 0 to 1 and-most importantly-bTrade from 1 to 0? If yes, then it clearly isn't working as it should. If no, then it means that tech trades are operating under normal rules. Just FYI.
        Seeing copper without bronze working is part of the change in the "Resource Research Bonus mod". You get it with mining, hook it up, and it should reduce the research time for bronze working (Again, though, you may need to set the bonus in BonusInfos). Hope this helps.
        I am most looking forward to finding out whether TechLeak and TechConquest are working.

        Aussie_Lurker.

        Comment


        • #64
          Ah, ok, we didn't notice that file. I'll make some changes and check it out.
          Captain of Team Apolyton - ISDG 2012

          When I was younger I thought curfews were silly, but now as the daughter of a young woman, I appreciate them. - Rah

          Comment


          • #65
            How do I set bFirstTrade from 0 to 1? Do I do that in the game? How?

            We didn't do that indeed. I can test it tomorrow immediately again if you explain me how. (tomorrow = dutch tomorrow, 8-10 hours from now)
            Formerly known as "CyberShy"
            Carpe Diem tamen Memento Mori

            Comment


            • #66
              OK, the file you will need to alter is TechInfos.xml which is in the Technologies folder of the XML section of Assets.
              Hope that helps, and I will keep my fingers crossed .

              Aussie_Lurker.

              Comment


              • #67
                Damn, we have to alter it for every single tech individually?

                Can't you put the triggers into New Tech Function Config.ini with the rest of them? Whatever tech restrictions we have will be universal.
                Captain of Team Apolyton - ISDG 2012

                When I was younger I thought curfews were silly, but now as the daughter of a young woman, I appreciate them. - Rah

                Comment


                • #68
                  Well, if you can start with a few key techs-just for testing purposes-then I will look into setting up a config file for it. I guess I just wanted to be sure it worked first. If you would prefer it set up in a config file from the get-go, then it will take me a little longer to do that. Just let me know which way you want to go.

                  Aussie_Lurker.

                  Comment


                  • #69
                    We can try testing it first.
                    Captain of Team Apolyton - ISDG 2012

                    When I was younger I thought curfews were silly, but now as the daughter of a young woman, I appreciate them. - Rah

                    Comment


                    • #70
                      Originally posted by CyberShy
                      How do I set bFirstTrade from 0 to 1? Do I do that in the game? How?

                      We didn't do that indeed. I can test it tomorrow immediately again if you explain me how. (tomorrow = dutch tomorrow, 8-10 hours from now)
                      I'll set up the file and just send it to you.
                      Captain of Team Apolyton - ISDG 2012

                      When I was younger I thought curfews were silly, but now as the daughter of a young woman, I appreciate them. - Rah

                      Comment


                      • #71
                        Originally posted by The_Aussie_Lurker
                        FirstCanTrade (SDK): new bFirstTrade tag, the one you guys wanted most. If it works, it will prevent anyone but the original discoverer of a tech from trading said tech.
                        Ok, I re-read this and I don't think this is what we are looking for.

                        We want it so you can't trade techs you got from someone else. Only if you invented it yourself. Others should be able to invent that tech later and trade it.

                        So India invents iron working, and 10 turns later America invents iron working. BOTH civs should be able to trade it.

                        If India trades iron working to Egypt. Egypt should NOT be able to trade it.
                        Captain of Team Apolyton - ISDG 2012

                        When I was younger I thought curfews were silly, but now as the daughter of a young woman, I appreciate them. - Rah

                        Comment


                        • #72
                          OK, there are two tags which are important bTrade and bFirstTrade. If bTrade is set to 1, then you can trade the tech normally, but if you set it to 0 it should make the tech untradable. bFirstTrade uses the same 'bonus' concept as when you get Music or Liberalism first, but applying it to trading that tech instead. If you set this to 1, whilst setting bTrade to 0, it SHOULD make the tech untradable by anyone except the discoverer. At least this is my hope.

                          Aussie_Lurker.

                          Comment


                          • #73
                            Oh hang on, I see what you mean now. Bugger-my apologies, I completely misunderstood what you meant. I thought you wanted to limit tech trades to the first person who discovered it. In some ways, what you are asking for might be easier to achieve. If I can find a way of limiting TechTrade to TechDiscovery. Would you mind testing this one anyway? I am curious to see if it works .

                            Aussie_Lurker.

                            Comment


                            • #74
                              I'll test it anyway!
                              It's an interesting concept that may work in some diplogames as well.

                              To make it clear what we want (in case it's not clear yet)
                              India invents Paper (either by a hut/great person/city beaker production)
                              India can trade Paper
                              India trades Paper to America for Astronomy
                              America can't trade Paper to anyone
                              India can't trade Astronomy to anyone
                              Formerly known as "CyberShy"
                              Carpe Diem tamen Memento Mori

                              Comment


                              • #75
                                Yep, I do understand now. There is a TradeTech section of CvPlayer which controls the circumstances under which you can trade techs. It might be possible to add a new boolean-like bResearchTrade-that can limit trading to tech discoverers only. The question is the specifics. I may need to add something to the processTech section of CvTeam as well. You may need to give me a few days to work on this one though guys !

                                Aussie_Lurker.

                                Comment

                                Working...
                                X