help with custom artsyle

korny77

Chieftain
Joined
Apr 25, 2008
Messages
5
created a custom artstyle for my custom civ.
but verything loads perfect...but when i launch the game itself at the end o the loading stage there is a tech advisor screen, and during the game itself there is no interface.......everything appears to work exept theres no minimap, no tech bar on top, no date nothing just the main screen ..... there is an error on the python thingy...but as u can tell by my use of the word "thingy" dont know much about python.

heres my pythonerr

Traceback (most recent call last):

File "CvAppInterface", line 70, in preGameStart

File "CvScreensInterface", line 75, in showTechChooser

File "CvTechChooser", line 124, in interfaceScreen

File "CvTechChooser", line 205, in placeTechs

RuntimeError: unidentifiable C++ exception
ERR: Python function preGameStart failed, module CvAppInterface



HELP!!!! :crazyeye:
thanx
 
I have added the MTA's graphic as unique graphic for the university recently. Nothing else but I am nevertheless familiar with the concept. You need to tell us more about what you did exactly. As far as I can remember there were some entries in the xml's that have a comment saying that entry must be correct according to some .h-file (headerfile, normally C or C++ and as far as I know python has something to do with C++ [see your error message], but I also haven't done anything with python so far). Anyway, I got my artstyle running at almost the first test, so maybe I could help you.
 
Best thing to do is hit "Esc" (when ingame that is) then go into the WB and go to the unit area, and go one by one till you find the error, it will automatically fail once the unit that is failing is touched, then just go into the Artstyle for that unit and correct the name, that is more than likely the culprit.
 
Best thing to do is hit "Esc" (when ingame that is) then go into the WB and go to the unit area, and go one by one till you find the error, it will automatically fail once the unit that is failing is touched, then just go into the Artstyle for that unit and correct the name, that is more than likely the culprit.

ive tried that...everything looks normal.....but not sure since i have no interface.

im sure its something to do with the unique artstyle, because it loads with no probs with any other civ except my custom one.
 
I have added the MTA's graphic as unique graphic for the university recently. Nothing else but I am nevertheless familiar with the concept. You need to tell us more about what you did exactly. As far as I can remember there were some entries in the xml's that have a comment saying that entry must be correct according to some .h-file (headerfile, normally C or C++ and as far as I know python has something to do with C++ [see your error message], but I also haven't done anything with python so far). Anyway, I got my artstyle running at almost the first test, so maybe I could help you.

im thinking i might have forgotten a file or something. ive been building this mod slowly...first i added the custom civ,weeks after custom civ art (flag and such), months after custom unique unit...... so i pretty much know everything else except the artstyle is working. maybe if u could tell me what files u modded, coz i keep thinking i forgot some file.

anyways...thank u guys for the help
 
at the end of the loading stage there is a tech advisor screen, and during the game itself there is no interface

I've face this problem before I know what the solution is...however, first I have to ask you...do you have this file in your mod?

CIV4UnitArtStyleTypeInfos

if you're adding "style units" check the file
CIV4UnitArtStyleTypeInfos because if you make a mistake (for example; you made a typo or an error you will always get a tech advisor screen at the beginning of your game and no interface.)

Hope that solves your problem...
 
Are you guys sure that his problems are related with units? I haven't found anything in his posts that is about units. He writes artstyle, not unit artstyle. I don't know what you have created via artstyle, but I only used it for custom building graphics...

These are the files I have modded:
GlobalTypes.xml
Civ4CityLSystem.xml
Civ4PlotLSystem.xml

smaller changes to:
Civ4CivilizationInfos.xml (maybe the problem is that you have misspelled your custom artstyle so civ4 doesn't know which to use)
Civ4Artdefines_Building.xml

But as I said before it would be helpful, if you would tell us what you wanted to do and what you really did.
 
Are you guys sure that his problems are related with units? I haven't found anything in his posts that is about units. He writes artstyle, not unit artstyle. I don't know what you have created via artstyle, but I only used it for custom building graphics...

These are the files I have modded:
GlobalTypes.xml
Civ4CityLSystem.xml
Civ4PlotLSystem.xml

smaller changes to:
Civ4CivilizationInfos.xml (maybe the problem is that you have misspelled your custom artstyle so civ4 doesn't know which to use)
Civ4Artdefines_Building.xml

But as I said before it would be helpful, if you would tell us what you wanted to do and what you really did.


Oh heck, good point i missed the word Artstyle, i just skimmed over the words, so my advise is for Unit Artstyle only, sorry.:blush:
 
ok people...fixed it....not sure how though lol

think it was a stupid typo

and sorry i forgot the unit as in unitartstyle ....my bad

thank you all for the help!!
 
Back
Top Bottom