1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

[TUTORIAL] Video Tutorials on Modding Civ4

Discussion in 'Civ4 - Modding Tutorials & Reference' started by topsecret, Sep 3, 2020.

  1. topsecret

    topsecret Believer

    Joined:
    Feb 11, 2010
    Messages:
    5,625
    Gender:
    Male
    Location:
    At the Foot of the Cross
    Video Tutorials on Modding Civ4

    Overexplained
    Welcome to Overexplained, a new video tutorial series I am creating that explains different topics on modding Civ4. I over-explain things to the point where I hope everyone who wants to learn how to mod can comprehend things. Video tutorials will hopefully confer the clarity needed.

    As I create more tutorials for this series, I will be adding them here. My goal is one or more a week.

    Melee Weapon Swap Tutorial


    Expertise Required:
    Basic XML Knowledge, Basic File Structure Knowledge

    Relevant Files

    NifSkope 1.2.0 Alpha 2 Download
    Files Used in Video

    File Structure Tutorial

    Expertise Required: None

    Relevant Files and Programs
    Notepad++

    How to Create a Mod


    Expertise Required: None

    Relevant Files and Programs
    Notepad++

    Ballista

    Credits:
    Kathy - Ballista

    How to Add a Leaderhead



    Expertise Required: How to Create a Mod

    Relevant Files and Programs
    Notepad++

    Henry the VIII

    Credits:

    Midnight-Blue766 - Henry the VIII LH

    How to Add a Custom Button


    Expertise Required: How to Add a Leaderhead

    Relevant Files and Programs
    Notepad++
    GIMP 2.8

    DDS Plugin
    Henry the VIII
    Button Outline

    Credits:

    Midnight-Blue766 - Henry the VIII LH

    Basic NifSwap Tutorial

    Expertise Required:
    Basic XML Knowledge, Basic File Structure Knowledge, Weapon Swap (recommended)

    Relevant Files

    NifSkope 1.2.0 Alpha 2 Download
    Files Used in Video

    Credits:
    mechaerik - Original Militia
    Bakuel - Arabic Worker


    How to Create a DECAL Flag

    Expertise Required: How to Add a Button (recommended)

    Relevant Files and Programs
    Notepad++
    GIMP 2.8

    DDS Plugin

    -----
    Know Your Tools

    Know Your Tools is a tutorial series where we take an in-depth look at the tools for Civ4 modding. I convey the tips and tricks I know to make things work, and I hope you learn something from these.

    Know Your Tools: GIMP Basics



    Expertise Required: How to Add a Button (recommended)

    Relevant Files and Programs
    Papal Spearman
    GIMP 2.8

    DDS Plugin

    If you'd like a tutorial on a specific thing that I know how to do, please let me know and I might be able to do it.
     

    Attached Files:

    Last edited: Oct 29, 2020 at 9:25 PM
  2. tantanmen

    tantanmen Chieftain

    Joined:
    Sep 25, 2019
    Messages:
    98
    These tutorials are perfect, topsecret. Thank you so much for creating them!

    I also had a good laugh at the title - I don't think anyone can overexplain things to me when it comes to nifskope :D

    I'll make my first attempt at weapon-swapping this weekend. Thanks again :thumbsup:
     
    topsecret likes this.
  3. MalayanGamer

    MalayanGamer Warlord

    Joined:
    Sep 30, 2018
    Messages:
    182
    Gender:
    Male
    Is the swaped tutorial worked with a Ranged units weapon?
     
  4. topsecret

    topsecret Believer

    Joined:
    Feb 11, 2010
    Messages:
    5,625
    Gender:
    Male
    Location:
    At the Foot of the Cross
    I will be doing one of those later. To some extent, but sometimes you will encounter graphical glitches. The basic method is the same but sometimes the effects for the gun or bow will look funny until you fix them.

    Also sometimes a weapon's visibility needs to be changed. For example, the Archer needs to hide his bow when fighting melee. I will make a tutorial explaining it all later.
     
  5. tantanmen

    tantanmen Chieftain

    Joined:
    Sep 25, 2019
    Messages:
    98
    Hello topsecret!

    So I finally tried my hand at weapon-swapping and (I'd like to think) it was a resounding success! Thank you for the tutorial. The video format not only helped me go through it step by step, but it was especially useful to watch you move and rotate the weapon. And I also got a sense of ‘estimated time to complete’ ;)
    Spoiler :

    Maybe I missed something, but the only problem I ran into is that the DDS files didn’t load for the version of NifSkope 1.2.0 Alpha 2 DDS files not loading.png As you can see, I simply got the blank white NIF model (I’m using Windows 10, if that matters). I found it a little tricky to work without the ‘coloring-in’ provided by the DDS.

    But I was able to follow your tutorial using a more recent version of NifSkope, so the knowledge has clearly been well-transmitted :thumbsup:


    For my first attempt, I’ve swapped a short-sword from a unit file titled ‘guide’ (from C2C maybe?) I’ve included this file along with the finished product and a backup of the GondorScout before the branch remove NifSkope 2.0 Dev 7.png

    Thank you, thank you, topsecret! Overexplained has opened up a world of possibilities for me :goodjob:
     

    Attached Files:

    Last edited: Sep 13, 2020
    topsecret likes this.
  6. topsecret

    topsecret Believer

    Joined:
    Feb 11, 2010
    Messages:
    5,625
    Gender:
    Male
    Location:
    At the Foot of the Cross
    Great job @tantanmen!

    For the error with displaying textures, did you open the file directly from the folder, or did you open it after opening NifSkope?

    NifSkope uses the current file directory for textures usually.
     
  7. topsecret

    topsecret Believer

    Joined:
    Feb 11, 2010
    Messages:
    5,625
    Gender:
    Male
    Location:
    At the Foot of the Cross
    I've added How to Create a Mod to the first post. Check it out if you are just getting started and need to see some basic XML modding. :)
     
    tantanmen likes this.
  8. tantanmen

    tantanmen Chieftain

    Joined:
    Sep 25, 2019
    Messages:
    98
    Hello topsecret,

    I tried what you suggested, but I still haven't been able to load the dds in the older version of nifskope. It's a bummer, but not a major problem for now. I'll just keep my fingers crossed that the version I'm using won't fail me further down the road...:borg:

    When you have time, I've also been trying to understand what is in the realm of possibilities for swapping a unit's kfm files. For example:

    1) Would it be (reasonably) possible to create a worker unit from the GondorScout?

    2) Would it be (reasonably) possible to create a chariot unit from the Gondor Axeman?

    Thank you for the guidance and encouragement :thumbsup:
     
    topsecret likes this.
  9. topsecret

    topsecret Believer

    Joined:
    Feb 11, 2010
    Messages:
    5,625
    Gender:
    Male
    Location:
    At the Foot of the Cross
    Both of the above are likely possible using a NifSwap. You actually don't change the KFM at all - you copy the body and paste it on the unit you want to use the animations of.

    I can do that tutorial next. :)
     
    tantanmen likes this.
  10. topsecret

    topsecret Believer

    Joined:
    Feb 11, 2010
    Messages:
    5,625
    Gender:
    Male
    Location:
    At the Foot of the Cross
    And I have no idea why old NifSkope isn't working. Hmm. Maybe I can scour the old NifSkope threads and see.

    Because the new NifSkope gave me trouble when I tried to do... a NifSwap. :lol:
     
    tantanmen likes this.
  11. tantanmen

    tantanmen Chieftain

    Joined:
    Sep 25, 2019
    Messages:
    98
    You just totally blew my mind :crazyeye:
    So simple, and yet I never would have guessed that was possible :smug:

    :lol: Well, I do tend to learn better from my mistakes... :popcorn:
     
    topsecret likes this.
  12. tantanmen

    tantanmen Chieftain

    Joined:
    Sep 25, 2019
    Messages:
    98
    Hello again topsecret!

    I'm proud to say that thanks to your tutorial, I've completed my first shield swap:D Thank you again. I'm going to try to re-skin the shield, but I wanted to ask: What program would you recommend I use for dds art?

    Thank you :thumbsup:

    Unit requests thread
     
  13. topsecret

    topsecret Believer

    Joined:
    Feb 11, 2010
    Messages:
    5,625
    Gender:
    Male
    Location:
    At the Foot of the Cross
    I use GIMP. It's free.

    You need dds extension to export... I can't remember where I got it so let me try to find it. :lol:
     
  14. topsecret

    topsecret Believer

    Joined:
    Feb 11, 2010
    Messages:
    5,625
    Gender:
    Male
    Location:
    At the Foot of the Cross
    Alright you have to use GIMP 2.8, because they haven't updated the DDS plugins to the newest version. That can be found here by scrolling down to "previous 2.8 installers".



    Then follow the instructions below, downloading the DDS plugins from Google Code Archive.

     
  15. topsecret

    topsecret Believer

    Joined:
    Feb 11, 2010
    Messages:
    5,625
    Gender:
    Male
    Location:
    At the Foot of the Cross
    If you're not used to drawing programs, it may be overwhelming at first. The colors tab at the top has some tools that are easy to recolor with. GIMP has great documentation online, and... who knows...? I might do a video with it this week. ;)
     
    tantanmen likes this.
  16. tantanmen

    tantanmen Chieftain

    Joined:
    Sep 25, 2019
    Messages:
    98
    Great, thanks so much for the quick and thorough response :goodjob: I'll get everything downloaded and set up.

    *whelp* I get overwhelmed with MS Paint :cry:

    Thank you topsecret for everything you're doing on Overexplained !! :banana:
     
    topsecret likes this.
  17. topsecret

    topsecret Believer

    Joined:
    Feb 11, 2010
    Messages:
    5,625
    Gender:
    Male
    Location:
    At the Foot of the Cross
    A new video was just released! How to Add a Leaderhead teaches you the basics of adding one via XML. We add a really nice Henry the VIII leaderhead.

    And a tutorial on GIMP is forthcoming next. When, I don't know, but perhaps tomorrow...
     
    Last edited: Sep 17, 2020
    tantanmen likes this.
  18. tantanmen

    tantanmen Chieftain

    Joined:
    Sep 25, 2019
    Messages:
    98
    From the latest tutorial, quoting topsecret: “I made a new mod, called Overexplained” => more dancing!! :dance:

    A lot of these things took me a l-o-n-g time to figure out on my own, so I’m sure other newcomers will benefit from this. Also, it never hurts to review the basics – I’ve picked up a few new things from each tutorial so far. Thanks again for another great video :goodjob:
     
    topsecret likes this.
  19. tantanmen

    tantanmen Chieftain

    Joined:
    Sep 25, 2019
    Messages:
    98
    Oh, something I’d like to ask, if you ever have some time for it:

    Sooo, to combine what you have shown us about NifSkope and how to add a new LH, I wanted to try to modify cfkane’s Xerxes (from the movie 300) and create a new Sumerian LH, Eannatum
    The Great.

    I know how to ‘Block>Remove’ and ‘Block>Remove Branch’, but what I am still struggling to understand is how I can separate and remove only a select part of an object.

    Specifically, what I would like to attempt is to remove Xerxes’ facial piercings, but keep his collar and bracelets.
    Xerxes 300 to Eannatum.png
    I can locate all of these things as a single object, in this case listed as 215 NiTriShape (Name/Value ‘Cylinder.008) and I don’t even know if that’s the right start, all I can say is that I have no idea what to do next… but I get the impression that this might be the next gate I need to clear in NifSkoping. Please, take me with you :assimilate:

    p.s.: And if it’s a really complicated operation I apologize in advance :dunno:

    Thank you topsecret :w00t:
     

    Attached Files:

  20. topsecret

    topsecret Believer

    Joined:
    Feb 11, 2010
    Messages:
    5,625
    Gender:
    Male
    Location:
    At the Foot of the Cross
    Well, you have reached a critical part - there's no way to do that in NifSkope (afaik). Objects stuck together can't be removed easily. We'll have to graduate to Blender for that to happen. I'll do that after we mess around in GIMP some. :)
     
    tantanmen likes this.

Share This Page