• Our friends from AlphaCentauri2.info are in need of technical assistance. If you have experience with the LAMP stack and some hours to spare, please help them out and post here.

Changing a unit's name.

LuvToBuild said:
You need something that performs like Mod Buddy does with color coded text, indentation, highlighting of matching open close tags, etc.

Nutty said:
@LuvToBuild,
Bergerperson is using a Mac with the Mac App Store version of CiV, so he's not using ModBuddy.

There is nothing even close to ModBuddy that I can use. I use the Mac App Store version of Civilization 5, not the Steam version so that strikes out many modding tools that I can use.
 
The most important bit of ModBuddy you need to use is its XML aware syntax highlighting and checking - and there are many XML editors (both free and paid for) available for Macs
 
I thought I figured out how to get the Avro Arrow to be able to rebase of carriers, but I don't know. The Avro Arrow can't seen to rebase period. Does anyone know why this is? I thought that I figured it out, but I didn't.
 
There is nothing even close to ModBuddy that I can use. I use the Mac App Store version of Civilization 5, not the Steam version so that strikes out many modding tools that I can use.

The most important bit of ModBuddy you need to use is its XML aware syntax highlighting and checking - and there are many XML editors (both free and paid for) available for Macs

I think you missed the point of my post. As whoward69 has said, you need a Mac based XML friendly text editor to help you catch most of these "easy" errors. As you have discovered, they aren't so easy to fix when you have eye strain from looking over the code for hours on end. An XML friendly editor will help you catch these things quickly in the same way that Notepad++ made your missing hyphens glaringly obvious to me in a few short seconds. Other things like the missing closing tag that whoward69 found might not be as obvious, depending on how well the editor matches opening tags with closing tags. Notepad++ didn't point that one out to me. Ideally, you should try to find one which will point those things out as well the way Mod Buddy does.

As for your current problem, I'm not much help at the moment. I haven't tried creating a carrier based unit yet and I'm not currently able to look through the XML to help you figure it out. I would probably just be speculating anyway.
 
I thought I figured out how to get the Avro Arrow to be able to rebase of carriers, but I don't know. The Avro Arrow can't seen to rebase period. Does anyone know why this is? I thought that I figured it out, but I didn't.

I could tell you, but you won't learn anything from it.

If you compare the <Unit> entry in your mod for Avro Arrow (which is of UNITCLASS_FIGHTER) with the <Unit> entry for the standard Fighter, carefully line by line, you will find one typo ("True" instead of "true") and several missing <tags>.

Given that the Fighter can rebase to carriers, it's probably a good bet that your problem lies in one of those lines.
 
Yeah, any mistakes in the original unique units or the original mod weren't done by me. As I said, this mod was released really half finished.

mabelair said:
Hi all,

Apologies for the radio silence on this. I was a fool thinking I could manage work, med school and working on a mod. Anyway, you'll find attached the whole modbuddy project which you're welcome to modify in any way. I'm throwing this open to the whole community.

Again, I'm really sorry that I haven't had the time to maintain this. You all have excellent suggestions and I'd love to see some of your mods based on this. Also, you're all welcome to use the contents in any other mods that you might be working on (such as total conversions, etc.).

Sincerely,

MAB

So, as you can see, the mistakes with the Arrow aren't mine.
 
Ok, so yet another problem I have encountered. I've just researched telegraph and I can't seem to make the Joffre Class carrier. There is nothing wrong with the mod as I just checked the Database.log and there were no problems reported. This gets me worried because if this happened with the Joffre Class, could this happen with the Leopard 1A3 and the M109 Paladin?

If someone can look at this version and find out why exactly I can't make the unit in question, that'll be great.
 
No <Civilization_UnitClassOverrides> entries for the Joffre Class carrier, Leopard 1A3 or M109 Paladin
 
The line for those would be like

<Row>
<Civilization_UnitClassOverrides>
<CivilizationType>CIVILIZATION_CANADA</CivilizationType>
<UnitClassType>UNITCLASS_MODERNARMOR</UnitClassType>
<UnitType>UNIT_LEOPARD_1A3</UnitType>
</Row>
</Civilization_UnitClassOverrides>

And the same for the Joffre Class Carrier and the M109 Paladin? And it'll be safe to put them in CIV5Units.xml?

Ok, it works, but CIV5Units.xml has the usual corrupted icon to it so I'm not sure if it will be like this forever.. But it works.
 
And as I suspected, the mod is not yet fixed. Adding the overrides somehow disabled the unique graphics. ie. the Joffre Class does not look like a Joffre Class carrier, but the regular default carrier for the game. I have a suspicion that the other two units don't have their graphics either.
 
You know, this thread is quickly becoming more of a "please do this mod for me so I don't need to learn XML" rather than "I'm stuck and want to learn, please help"

A this point I think it might be time to take a break, read through Kael's modding guide again, read through pretty much all of whoward69's tutorials again, and maybe start from scratch with one of whoward69's civilization templates rather than somebody else's poorly constructed and half finished civilization mod, although I'm not sure I buy the "it's somebody else's fault". A lot of these syntax errors were created by changes that you made. It's not my intent to get you to stop asking questions. I think you just need to reconsider posting every single problem that you run into rather than working to figure it out on your own. Eventually, people will grow tired of helping and you won't get any more answers. You'll be stuck still not having a clue about how to make it all work right.

My guess is that you don't have the correct art define, seeing as you have this in your last posted mod file (post #47).
Code:
<UnitArtInfo>ART_DEF_UNIT_JET_FIGHTER</UnitArtInfo>
and yes, you will get the same with the Leopard and M109.
Code:
<UnitArtInfo>ART_DEF_UNIT_MODERN_ARMOR</UnitArtInfo>
<UnitArtInfo>ART_DEF_UNIT_ROCKET_ARTILLERY</UnitArtInfo>

You need to have art defines for these that point to the new graphics instead of the Firaxis graphics that already exist in the game. Read the tutorials. Too much to explain here.
 
You know, this thread is quickly becoming more of a "please do this mod for me so I don't need to learn XML" rather than "I'm stuck and want to learn, please help"

I don't think it's fair to say that. If you look through the two threads I've had related to this problem, I was only give a non-corrupted version of CIV5Units.xml. All the rest I have manually done myself like add the three units, edit the current units. If you look at when I started, it has been that I was stuck and learnt to mod it (albeit a little that is, but substantial given my previous modding knowledge). I may not be a master modder, and I really don't have time to read through hours of modding tutorials due to university exams. But from what I have gotten through, I think it says a lot in relation to my computer game modding skills.

The problems I have, I haven't posted them unless I looked through the mod and checked for problems. Those simple spelling mistakes is not on purpose, but it's only my ADHD and ADD in action.

But this problem makes little to no sense to me because my past modding experience has been just changing textures, which I know best in relations to other modding things I have done already. What confuses me is that the Avro Arrow unit has its intended MiG29 model, but the other units don't. I've checked through the mod several times already and saw no mistakes, I have also checked the Database.log file and saw no problems there. So yes, I am stuck right now and potential solutions solutions offered by more veteran modders will help me learn how to mod on my own.

I'm not asking you to build me a new mod, I'm just asking on/for directions to fixing one that needs fixing.
 
OK, I went and looked at your civ5artdefines_unitmembers.xml file. It appears that you or someone else did change the model filename for the standard modern armor and rocket artillery art defines. However, if this were working, you would be getting it for all of the civilizations and not just Canada by doing it this way. It is also my understanding that you can't use the civ5artdefines_unitmembers.xml file post patch .674. You have to create a new art defines file separately for the units you are adding. There are tutorials for doing this. Your models and textures will have to be in the mod and normally you have to set VFS to true. I have no idea how you do that when you aren't using Mod Buddy and you are modding on a Mac. I have to tell you, this ain't gonna be as easy as you thought, especially if you aren't willing to invest the proper amount of time in learning how to do it.
 
and I really don't have time to read through hours of modding tutorials due to ...

Every time I read a lame excuse of "due to time constraints" it makes me so mad that I want to throw things at my screen! If you really don't have the time to read the tutorials then, QED, you also don't have the time to play the game. What is really being said in such statements is "I don't have the inclination to spend what time I do have on reading how to do something I just want the something so I want someone else to make it for me"

I'm outta here :mad:
 
Every time I read a lame excuse of "due to time constraints" it makes me so mad that I want to throw things at my screen! If you really don't have the time to read the tutorials then, QED, you also don't have the time to play the game. What is really being said in such statements is "I don't have the inclination to spend what time I do have on reading how to do something I just want the something so I want someone else to make it for me"

I'm outta here :mad:

I don't have the time... right now. There's an order of importance at this time and that is

1)University exams
2)Getting work for the summer and going to my Spring class
3)Helping my father around the house
4)Video games

So once they are done, (1) being done Friday, I'm sure I can put some time into learning more about doing XML files.
 
Back
Top Bottom