Modmodding Q&A Thread

is there anyone who know attack submarine can bring missiles ?

there s xml error about unit infors

just original bts game started well but

i dont know only this mod can't load :(

if i change even little about civ4unitinfos.xml file

then there s xml error i can't load this mod

is there any special program ? can change xml error ?

can u please someone upload files ? after change that part
Please don't spam every thread with this, there is a modmodding questions thread just for this purpose. And it looks like your problem can be solved by reading the error messages, and then fixing what they complain about.
 
this is my xml load error message

FAiled Loading XML file xml\units/civ4unitinfors.xml
[.\FLml.cpp:133] Error parsing XML File -
File : xml\units/civ4unitinfos.xml
Reason : ???????????????

Line: 1,1
Source : ?? xml version="1.0"
encoding = "UTF-8"?>
 
Moderator Action: Moved the discussion here. Please don't use the main threads for modding questions. Especially don't ask the same question in multiple threads at once.

And in the interest in getting helpful replies, include complete error messages in your questions.
 
Line: 1,1
Source : ?? xml version="1.0"
encoding = "UTF-8"?>

Line: 1,1: the file is not even read. It is probably a question of encoding.

Our online encyclopaedia God-Emperor is talking to you here.
 
Good point, using a better editor than Notepad could already solve this problem. For example Notepad++.
 
I don't understand the context of this question. I never deliberately disabled this option.
 
Sorry, had some errors during installation. Thought you removed it for new version, but it turned out several other things didn't work as well. Reinstallation helped :)
 
Okay, good to know :)
 
Hi, yeah, so I am in the process of familiarizing myself with Git, and hit a roadblock, or several in fact, but let's just start with this one:

Spoiler :
6. Edit your local copy in whatever way you want.


Does that mean the one that's uploaded to Git or the one on my local machine?

Also I have made two forks (I think?) but can only see one on Git, even though both are on my computer. Basically I want two have two forks for myself, one exclusively for my modmod and the other for general fixes that I would offer up the main mod as pull requests, like correcting typos. (looking at you, Victoria and Mohawks!)

Sorry for bothering you, but I am oh so very confused, and my IT skills aren't what they used to be. Three years of studying a soft science does that for you. :lol:
 
Hi, yeah, so I am in the process of familiarizing myself with Git, and hit a roadblock, or several in fact, but let's just start with this one:

Spoiler :
6. Edit your local copy in whatever way you want.


Does that mean the one that's uploaded to Git or the one on my local machine?
The copy on your local machine.

Also I have made two forks (I think?) but can only see one on Git, even though both are on my computer. Basically I want two have two forks for myself, one exclusively for my modmod and the other for general fixes that I would offer up the main mod as pull requests, like correcting typos. (looking at you, Victoria and Mohawks!)
Good question, I have never forked a repo twice. I think since the fork necessarily shares the name of the source, you can't have the same fork twice. Or maybe it is possible to rename the first before forking again?

Sorry for bothering you, but I am oh so very confused, and my IT skills aren't what they used to be. Three years of studying a soft science does that for you. :lol:
You say you don't want to bother me, and then you equate CS with IT :mad:
 
Good question, I have never forked a repo twice. I think since the fork necessarily shares the name of the source, you can't have the same fork twice. Or maybe it is possible to rename the first before forking again?

Wait a minute... Did I fork? I think I only created a git clone. Whoops, I'm stupid, never mind me.

You say you don't want to bother me, and then you equate CS with IT :mad:

If I say that I don't know what CS means (I did play plenty of Counter Strike back in high school during IT class though!), does that make it better or worse?
 
Oh okay, just fork the DoC repo on Github first, then clone that. Maybe forking twice does work after all.

CS = Computer Science.
 
Oh okay, just fork the DoC repo on Github first, then clone that. Maybe forking twice does work after all.

CS = Computer Science.

I'll do that after I come up with Unique Ideological Victories.

In my Austrian high school equivalent (Gymnasium) we just called the subject "Informatik".
 
Hm, it seems this doesn't work as I thought it would. Clicking Fork on my own repo doesn't seem to achieve anything. Maybe I should use branches?

I will now try to create a branch named "Knoedel Fixes", and fix those two spelling mistakes I have fresh on my mind, then make a pull request to see if that works like I think it does.
 
In my Austrian high school equivalent (Gymnasium) we just called the subject "Informatik".
Yeah that's what it's called in Germany too, CS is the equivalent in the English speaking world.

Hm, it seems this doesn't work as I thought it would. Clicking Fork on my own repo doesn't seem to achieve anything. Maybe I should use branches?
You definitely cannot fork your own repo, if you can't fork my repo again it looks like it won't work.

You can either use branches, or create a new repository of your own for your modmod. Maybe it's possible to initialize it from an existing repo. Staying up to date with the main mod should still be possible.

I will now try to create a branch named "Knoedel Fixes", and fix those two spelling mistakes I have fresh on my mind, then make a pull request to see if that works like I think it does.
Alright!
 
Yeah that's what it's called in Germany too, CS is the equivalent in the English speaking world.

Huh, you learn something new every day.

You definitely cannot fork your own repo, if you can't fork my repo again it looks like it won't work.

You can either use branches, or create a new repository of your own for your modmod. Maybe it's possible to initialize it from an existing repo. Staying up to date with the main mod should still be possible.

Okay I'll see about that.


I couldn't find Victoria, presumably because she is a vanilla leader and thus doesn't have any files in DoC. I did find, fix and (I hope) pull request the Mohawk entry though. Let me know if it got through to you like it was supposed to.
 
Back
Top Bottom