Quick Modding Questions Thread

Ok so I'm trying to merge these 2 mods and both of them have AudioDefines. Is there something special about this .xml? I can't even have the lines below added or the game will crash.

<!-- Start Next War -->
<!-- End Next War -->
 
Ok so I'm trying to merge these 2 mods and both of them have AudioDefines. Is there something special about this .xml? I can't even have the lines below added or the game will crash.

<!-- Start Next War -->
<!-- End Next War -->

Comments forbidden in nested tags. This file is known to be itchy with comments, so just delete them.
 
I only got 2 XML's and a PY in the download. My instructions for them were

Spoiler :
installation instructions:

put "Basic Tech Conquest.xml" in "config" folder of BUG

extract BasicTechConquest python file to "python/contrib" folder of BUG

alter BUG "init.xml" by adding the line in the appropriate section:

<load mod="Basic Tech Conquest"/>

add XML game text to /XML/text/

description by Bhruic:

Yes that should do it.
 
Comments forbidden in nested tags. This file is known to be itchy with comments, so just delete them.

Oh I thought that was a neat little trick I could use everywhere

Yes that should do it.

Thanks


How do I get my Religion Screen to stretch like the tech screen or the Civic screen below. pics below I couldn't find the right PY maybe? I was thinking it was as simple as the tech screen and changing the 1024 to 1280 but I haven't found anything like that for the religion.

How do I change the colour of the background in the tech boxes(iron working, sailing, robotics, etc) in the tech screen.

how do I change my civic window to match the one below(scrolling) I would like to be able to do it to the religion and corp ones too.

I downloaded Religion and Corporation Screens by johny smith but it has no instructions or pics so I don't even know if that is what I am looking for.
 

Attachments

  • DumbReligionScreen.JPG
    DumbReligionScreen.JPG
    129.7 KB · Views: 55
  • Civic screen.JPG
    Civic screen.JPG
    151 KB · Views: 55
  • TechTreeScreen.JPG
    TechTreeScreen.JPG
    258.1 KB · Views: 66
I think you just take the Religion (CvReligionScreen.py) and Corporation (CvCorporationScreen.py) screens from Johny Smith's version and put them into your python/screens folder. Make a back up just in case I am wrong. That should give you the new screens.

The next bit is a bit harder as you need to merge the versions of CvMainInterface.py. I think the bits of code have a comment about extra religions or extra corporations around it. Sorry if I am a bit vague, this cold has "knocked me for 6" as we say in countries that play cricket.
 
out of curiosity jaxx, what mods are you using as a base, if you are looking to 'upgrade' your UI, using something like platy's UI mod might be a good idea, as it will give you a 'standardised' feel to all your screens, and give you things like space for corps and religions in your city screen etc. take a look at it, you might like what you find.
 
Hey guys, does anyone know of some python that uses/activates the can found on water callback, I just want to be able to found cities on the water.

Ok 30 seconds after posting I figured it out... I just had to change it to true in the CvGameUtils.py

I have another problem though..

When I found a city on water It does not give me any yields from the city or the water tiles.

I can't remember, do you have to unlock water tile yields with a tech like fishing??

Also does anyone have any ideas or solutions around the no city yield issue.. oh wait, for the city yields I could just add a building that gives the missing yields.. that would solve that.

So I just need to figure out why no water yields, and also I need a way to set some sort of building art on the water, as currently it doesn't place anything on the water (except oddly a road), but it does if it is next to some land (it places a few houses on the land) This is a completely new area for me so I have no knowledge of it.
 
I think you just take the Religion (CvReligionScreen.py) and Corporation (CvCorporationScreen.py) screens from Johny Smith's version and put them into your python/screens folder. Make a back up just in case I am wrong. That should give you the new screens.

The next bit is a bit harder as you need to merge the versions of CvMainInterface.py. I think the bits of code have a comment about extra religions or extra corporations around it. Sorry if I am a bit vague, this cold has "knocked me for 6" as we say in countries that play cricket.

I put the py files in a new mod called tester and dropped the related files in. MainInterface.py was there too, only my dom screen changed. Should that have shown me results or should I have thrown them in the Next War for a test. I seen the bits that say extra/limit religion in my BUG .pys i'll look at those. I don't get the cricket reference. lol Maybe a Hockey would be better;) I'm happy with any help no matter how vague as I try not to post unless I'm completely in the dark. So even pointing and saing its somewhere in that direction is a lot of help.


out of curiosity jaxx, what mods are you using as a base, if you are looking to 'upgrade' your UI, using something like platy's UI mod might be a good idea, as it will give you a 'standardised' feel to all your screens, and give you things like space for corps and religions in your city screen etc. take a look at it, you might like what you find.

I'm using VD 9.2 and Better BUG AI as my base and finally completed a successful Next War add in after 3 times... <!--Start Next War --> <!-- End Next War--> tags in the AudioDefines.xml was my problem.

I have downloaded it and I'm looking at it now. Both BUG and Platy have there pros and cons. I really like the domestic, religion and corp screens. The colours are what I want for a tech adviser screen. I don't like the shadowed add in colours that bug does on the tech screen but I miss the great person iron that comes to the left side of the BUG one. I like the cevo but I miss the unit upgrade connect lines that sevo has. I've only had a couple mins with it so that's just a brief assessment.
 
When adding things to BUG it is a bit more complicated, and I have varying levels of success...

And when it comes to displays I have even less success, with a python 'rule change' you have to create a mod file and add the name of that file to one of the bug files...

I can never remember which and someone who has better understanding of BUG would be able to explain it better...

I am currently trying to switch from BUG to platy without success.

QUESTION:
Can anyone think of causes for a crash to desktop without any specific error message, right after choosing your game options and right before the loading box/bar screen appears for a new game.

I have looked at so many things, but I can't find anything that would suggest a crash. Hints for looking anywhere would be a help now..
 
When adding things to BUG it is a bit more complicated, and I have varying levels of success...

And when it comes to displays I have even less success, with a python 'rule change' you have to create a mod file and add the name of that file to one of the bug files...

I can never remember which and someone who has better understanding of BUG would be able to explain it better...

I am currently trying to switch from BUG to platy without success.

QUESTION:
Can anyone think of causes for a crash to desktop without any specific error message, right after choosing your game options and right before the loading box/bar screen appears for a new game.

I have looked at so many things, but I can't find anything that would suggest a crash. Hints for looking anywhere would be a help now..

I've had that happen when I tried to play a mod that required 3.19 and I was only 3.17. it always let me get through all the options and always crashed before the loading started. Not sure if that helps you though
 
attachment.php


Anyone know if this popup can be disabled completely or if it can modified? If so, where should I be looking?
 

Attachments

  • Popup.png
    Popup.png
    78 KB · Views: 196
So I went from Win8.1 back to Win7 because of problems with it but now I don't know what program I had that showed me the buttons and atlas.dds just while browsing in the folders. Yes I know DxtBmp can open them but they show a plane image until I double click on button or atlas and I had it before when the image was already the dds image before double clicking for it and DxtBmp would open. I thought it was dds viewer but it doesn't seem to work and before I install a 101 programs trying to figure it I could use a little help
 
endPlayerTurn, CvEventManager for turn 1 :D

Actually that was the "Do you want to review your civic options?" popup, not the one I posted. Any other ideas? It's not in onTechAcquired.
 
attachment.php


Anyone know if this popup can be disabled completely or if it can modified? If so, where should I be looking?

I'm afraid it is in the dll: CvDLLButtonPopup::launchChangeCivicsPopup
 
Back
Top Bottom