Announcement

Collapse
No announcement yet.

In depth look at the WBS file

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

  • #16
    The analysis is now complete. BeginPlot section fully updated with a complete unit and city definition.

    Dale

    Comment


    • #17
      Originally posted by Dale
      Maq try this:

      1. Create a new tech in CIV4TechInfos.xml
      2. Disable the tech (1 line in the new tech).
      3. Redefine any religions in CIV4ReligionInfos.xml to be founded by the tech you just created.

      It's the same as creating hidden techs in CTP2. I think we did it via python in Desert War (not 100% sure Locutus could confirm that).

      Dale
      Thanks Dale it worked

      BTW the one line is

      bDisable1/bDisable

      with brackets in, you just cant see it Dales post (except in the quote screen) because of the forum formatting i think.
      Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
      CtP2 AE Wiki & Modding Reference
      One way to compile the CtP2 Source Code.

      Comment


      • #18
        Is there a way to prevent civs (AI and human) from changing their civics? I tried the ones in beginplayer but that just sets the starting civics as you say, and the ones in CIV4CivilizationInfos.xml seems to have at least the same effect.
        Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
        CtP2 AE Wiki & Modding Reference
        One way to compile the CtP2 Source Code.

        Comment


        • #19
          Originally posted by Maquiladora
          Got another question, kinda related to the WBS.

          When i load up the short scenario i made and play i think 3 or 4 turns they always found a religion.

          I even placed the city with WB and gave it a religion, for example id start the scen (no cities placed), place Moscow with the WB then give it Christianity religion, then 3 or 4 turns in itll say ive founded Taoism for example.

          All civs have techs upto and including some from the modern era, but they all found different religions a few turns in.

          Ive looked at your Desert War scen which i notice removes religion but i ideally want to keep religion in for now, but avoid the above somehow. Even the ones where i set the state religion in the WBS itll still found a new different religion a few turns in.
          You already found a way but the easiest way to fix this is to open CvGameUtils.py and to replace:

          Code:
          	def doHolyCity(self):
          		return False
          with

          Code:
          	def doHolyCity(self):
          		return True
          Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery

          Comment


          • #20
            I guess you were giving me a hint to the answer to my civic question too?

            Well i changed

            Code:
            	def cannotDoCivic(self,argsList):
            		ePlayer = argsList[0]
            		eCivic = argsList[1]
            		return False
            to true and it seems to be working so thanks
            Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
            CtP2 AE Wiki & Modding Reference
            One way to compile the CtP2 Source Code.

            Comment


            • #21
              Sorry, missed the civics question. Yeah, you found the answer alright That CvGameUtils.py is a real life-saver. It's the SLIC mod_* functions on serious steroids...
              Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery

              Comment


              • #22
                hello!

                Dear Dale,

                can u help please in something?

                *can u make changes on units?attack,move,blitz,etc?

                *if yes how can u do this?do i need python or the manual?

                *can u change technology that a unit appears?

                i m not interseting increating maps,just some cganges in the units and their strength i want to make.
                completely unacceptable for a destroyer cant sink 2 galleys at the same time,and some other tragedy things!
                please reply my frind cause i m desperate.

                Comment


                • #23
                  Oupss lol i just find how to make that i want.
                  Option=GAMEOPTION_NO_CHEATING

                  Sorry
                  Last edited by Soph; January 8, 2006, 09:17.

                  Comment


                  • #24
                    So...

                    A) Can you use a specified map that has already been created?

                    B) Can you use World Builder to place stuff?

                    C) How do you delete techs/ slow down science?
                    I don't know what I've been told!
                    Deirdre's got a Network Node!
                    Love to press the Buster Switch!
                    Gonna nuke that crazy witch!

                    Comment


                    • #25
                      A) Yes. Just copy the WBS file of your favoured map and start editing it.

                      B) Yes. I do all my terrain/item placement through would builder, and all the team/civ definitions through editing the WBS file manually.

                      C) Deleting techs and changing their cost (slow them down) is done through an XML file. If you open \assets\xml\technologies\Civ4TechInfos.xml in notepad you will see their definitions.

                      Comment


                      • #26
                        Thank you much.
                        I don't know what I've been told!
                        Deirdre's got a Network Node!
                        Love to press the Buster Switch!
                        Gonna nuke that crazy witch!

                        Comment


                        • #27
                          Okay. New question.

                          WHERE is the WBS file?

                          I've found a lot of other stuff, and I've found an icon that starts that scenario directly, but I can't find the WBS file itself.
                          I don't know what I've been told!
                          Deirdre's got a Network Node!
                          Love to press the Buster Switch!
                          Gonna nuke that crazy witch!

                          Comment


                          • #28
                            The WBS file is the actual saved file from the world builder. In vanilla it was called a *.WorldBuilderSave (hence WBS file) and in Warlords it was a *.WarlordsBuilderSave. I can't remember what it's called for BTS but it'll be something along those lines.

                            It'll be where ever you saved it to from the world builder.

                            Comment


                            • #29
                              I haven't saved anything yet. I'm trying to use the Earth 1000AD map, and I can open it, but I can't find a WBS file for it.

                              Do I need to open it and save it?
                              I don't know what I've been told!
                              Deirdre's got a Network Node!
                              Love to press the Buster Switch!
                              Gonna nuke that crazy witch!

                              Comment


                              • #30
                                For me it's here: ..\Sid Meier's Civilization 4\PublicMaps\Earth1000AD.Civ4WorldBuilderSave

                                It's a vanilla Civ map.

                                Comment

                                Working...
                                X