[TUTORIAL] Video Tutorials on Modding Civ4

Weird it like reset itself. looks like it's working now. So if I want one than 1 prereq tech it has to be in that bracket ?
<TechTypes> </TechTypes>
Yep
 
Hmm, are you editing the main entry or the WWI Tank?
I Am having a problem where the armors don't seem to want to upgrade to Heavys. They will upgrade to my new light tank and regular tank. No option to upgrade to Heavy. Heavys are also not available to even be built in the game. Even though they are in the Pedia.
i'm guessing this is the reason?
 

Attachments

  • Armor3.png
    Armor3.png
    41.4 KB · Views: 31
That's where upgrades are set. It looks like it should work, but it won't let you upgrade unless you can build the Heavy. I'd go see what requirements it says you need to build Heavy Tanks. Solve that problem and it will fix the upgrade.
 
That's where upgrades are set. It looks like it should work, but it won't let you upgrade unless you can build the Heavy. I'd go see what requirements it says you need to build Heavy Tanks. Solve that problem and it will fix the upgrade.
So it has always worked before. And in the playthrough no civ seems to be able to build a heavy. The only difference I made was adding the Light_Tank
 

Attachments

  • CIV4UnitInfos.xml
    1.5 MB · Views: 26
Well according to your file, regular Tanks can't upgrade to Heavy Tanks. I don't know if that was intended or not...
 
topseeeeecret! It's great to see you doing more tutorials. Thank you for taking on xml - I hope this opens the gateway for new modders.

Speaking of, we've got a 2nd gen civ4er who'd like to learn to xml. @CyprusTree123, this is exactly what you've been looking for. Come and say hi, you're in the hands of the best with TS ;)

Line by Line

Civilization Infos
 
Last edited:
Well according to your file, regular Tanks can't upgrade to Heavy Tanks. I don't know if that was intended or not...
Right that's correct. Soo in LOR Armors can upgrade to Tanks & Heavy Tanks. I just wanted to add the Armors could upgrade to Light Tanks As well Since the Light_Tank is the new unit class I added. And all 3 of those WWII units upgrading Modern Armor (Main Battle Tank).
 
Right that's correct. Soo in LOR Armors can upgrade to Tanks & Heavy Tanks. I just wanted to add the Armors could upgrade to Light Tanks As well Since the Light_Tank is the new unit class I added. And all 3 of those WWII units upgrading Modern Armor (Main Battle Tank).
I'll try to sniff out the issue by Monday but no promises. Bump the thread if I forget lol.
 
@topsecret
The crash after about 15-20 turn in game is back. For the life of me I cannot find the issue. I went through and checked all the units in my game
<class>
<type>
Because that seemed to fix the issue last time with the tank destroyer but I don't see any issues this time.
 
@topsecret
The crash after about 15-20 turn in game is back. For the life of me I cannot find the issue. I went through and checked all the units in my game
<class>
<type>
Because that seemed to fix the issue last time with the tank destroyer but I don't see any issues this time.
It's almost definitely an XML crash where something is wrong but what it is could be difficult to determine if you have made a lot of changes. Try to spawn each unit into the game with Worldbuilder and see if any of them crashes just by spawning them in.

If that doesn't work, then one by one put in units you edited or added, and end one turn.
 
Hey topsecret! I know it's that time of year where you're probably ready to get bunkered down for some serious Middle-earth modding - but I wanted to ask you beg you, if you could pretty please create an advanced tutorial on Rigging in Blender. I'm reasonably familiar with Blender now, so by 'advanced' I mean you can bypass Blender setups and all that boring stuff and simply jump into rigging. Because I am chomping at the bit and just want to get started somewhere, somehow with rigging.

I'm also volunteering @tangjinfeng to learn how to rig too :D He and I have been converting heaps & bunches of super shiny awesome SE Asia equipment, but we're bottlenecked with how we can implement them.

So if you ever have the free time and motivation, and can show us how to start to rig (unit armor, units, LH armor - whatever's quickest and easiest), he and I would greatly appreciate it.

Thanks for considering this, I hope you're doing well and enjoying the autumn foliage (do you still have leaves out by you?). Have a great weekend :cool:
 
Dear topsecret, we have some static armor models, but unfortunately we don't know how to take advantage of them ... If you have the time and energy, I hope you can help us a little.
 
Hey topsecret! I know it's that time of year where you're probably ready to get bunkered down for some serious Middle-earth modding - but I wanted to ask you beg you, if you could pretty please create an advanced tutorial on Rigging in Blender. I'm reasonably familiar with Blender now, so by 'advanced' I mean you can bypass Blender setups and all that boring stuff and simply jump into rigging. Because I am chomping at the bit and just want to get started somewhere, somehow with rigging.

I'm also volunteering @tangjinfeng to learn how to rig too :D He and I have been converting heaps & bunches of super shiny awesome SE Asia equipment, but we're bottlenecked with how we can implement them.

So if you ever have the free time and motivation, and can show us how to start to rig (unit armor, units, LH armor - whatever's quickest and easiest), he and I would greatly appreciate it.

Thanks for considering this, I hope you're doing well and enjoying the autumn foliage (do you still have leaves out by you?). Have a great weekend :cool:
I barely remember how to rig but I might be able to "rig" one of the old tutorials to jog my memory. Honestly right now I don't remember anything about it, but I have done it in the past. :hide:

Thanks for the well wishes, I will see what I can do. Working extra these days, so I make no promises but I'm not refusing either. ;)
 
So it has always worked before. And in the playthrough no civ seems to be able to build a heavy. The only difference I made was adding the Light_Tank
Alright for the life of me I can not figure out what's wrong with this entry: it looks fine.

1) Go into Worldbuilder, give yourself the techs and oil, and see if it works.

2) Check the city and scroll over the Heavy Tank to see if it says what you're "missing" to build it.

After that... :dunno:

May have to upload the whole mod if you can't figure it out. It's difficult to determine from here.
 
It's almost definitely an XML crash where something is wrong but what it is could be difficult to determine if you have made a lot of changes. Try to spawn each unit into the game with Worldbuilder and see if any of them crashes just by spawning them in.

If that doesn't work, then one by one put in units you edited or added, and end one turn.
Soooo fingers crossed, I think I fixed it. I created a new class called 'Advanced Infantry' but the default unit was set to just regular Infantry. Once I switched the default unit to Advanced Infantry I played threw 50 turns of a random game twice and there has been no crash.
 
Top Bottom