Results 1 to 18 of 18

Guide: Replacing honour guard squads in the DC/SS campaign

  1. #1
    The flying one corncobman's Avatar
    Join Date
    Dec 2006
    Location
    Norn Iron

    Guide: Replacing honour guard squads in the DC/SS campaign

    For the purposes of this tutorial I will be using Corsix's Mod Studio (mainly because I can't get the Relic Attribute Editor working at all).

    Say you want to replace an honour guard squad in a certain territory with something else.

    I will use Chaos as an example, using the Janus Savannah territory.

    Open up Corsix's Mod Studio and load up your mod.

    In this tutorial I am creating a new honour guard unit for Dark Crusade but for Soulstorm the same process applies.

    The squads that you can requisition once you have conquered a territory are located in *.ter files in the data/scenarios/sp folder. I want to extract the janus_savannah.ter file found in the DXP2Data.sga file located in the DXP2 folder.

    In the left pane, expand the data folder, then the scenarios folder and then the sp folder. Scroll down the file list and you can see janus_savannah.ter. Right click on it and extract it.

    Now if you navigate to your mod folder to the data/scenarios/sp folder you should see this file. Open it using a text editor and scroll down. You should see

    VictoryBonusSquads =
    {

    Inside this bit you can see all the honour squads for each particular race. I am going to replace the boring old aspiring champion (you get three of them) to a super duper horror squad.

    Changing

    Race = "chaos_marine_race",
    Blueprint = "chaos_squad_aspiring_champion_advance_sp",

    to

    Race = "chaos_marine_race",
    Blueprint = "chaos_squad_horror_advance_sp",

    Save it and return to the Mod Studio.

    Expand the data/attrib/ebps/races/chaos/troops folder, right-click on chaos_horror.rgd and make a copy of it. I called it chaos_horror_advance_sp because that is how the other honour guard ones are named.

    I opened it and made a few changes to some of the attributes, like the health and the tooltips so that it will be differentiated from the normal squad. I also made it use a new more powerful version of its daemon fire.

    Now honour squads usually have some kind of aura around the selection circles. Open up chaos_aspiring_champion_advance_sp.rgd and go to the event_manager_ext attribute. Click on event_24 and you can see that it has and entry for

    ability_bonus_unit.

    Expand event_24 and for event_entry_01 you can see it has an entry

    bonus_unit\chaos

    Right-click on event_24 and select copy and paste it to the event_24 for the new horror squad. Now your new horror squad has the aura.

    Now you need to make the aura appear. Reopen chaos_aspiring_champion_advance_sp.rgd and expand the abilitites list. You should see a line that says abilities\sp_dxp_unit_glow.lua. This enables the event aura previously mentioned. Copy the line into your new unit if it has an ability list or copy the ability list itself clearing all lines apart from the line mentioned.

    Save the file.

    Now go to sbps/races/chaos/ and right-click on chaos_squad_horror.rgd and make a copy of it. I called it chaos_squad_horror_advance_sp. This is what was in the janus_savannah.ter file. Now click on squad_loadout_ext and change the entry for trooper_base from

    ebps\races\chaos\troops\chaos_horror.lua

    to

    ebps\races\chaos\troops\chaos_horror_advance_sp.lua

    Now you have a squad of uber horrors. You can change the reinforce attributes so that the max squad size is smaller (like all the other honour guard squads).

    You might also want to change the tooltips for squad_ui_ext as well.

    Save the file.

    Now if you start the campaign and click on the Janus Savanah territory you'll notice that the new squad is in place of the old aspiring champion BUT there's no picture!

    In order to fix this you need a picture of the unit in the data/art/ui/swf/icons folder, One normal one for the territory and smaller pictures but also one large one for when you mouse over the picture in your honour guard once you have it.

    Using Mod Studio expand the data/art/ui/swf/icons folder and you can see icons for a lot of stuff. Scroll down until you can see chaos_squad_horror.dds and chaos_squad_horror_large.dds.

    Luckily enough there is a large version already in the folder so you don't have to create one yourself.

    Copy them both and rename them to chaos_squad_horror_advance_sp.dds and chaos_squad_horror_advance_sp_large.dds respectivly.

    Job done. Now the pictures will work.

    The very last thing you need to do is to make sure the new honour guard unit has a planetary requisition cost when you select them.

    Extract the data/scenarios/sp/races/chaos_marine_race.race file and open it with Notepad.

    Look for

    BonusSquadCosts =
    {

    You should see a list of honour guard squads and the costs.

    Add chaos_squad_horror_advance_sp to this list along with a number to match the other lines, maybe something like 250-300 and now the honour guard horrors will now have a cost.

    Save it and when you next play the campaign, the new honour guard unit you created will have a planetary requisition cost when you purchase it.

    That's all.
    Last edited by corncobman; 19th Jan 10 at 3:25 PM.
    -It's not the fall that kills you, it's the sudden stop at the end (Douglas Adams)-
    -Make something idiot proof and nature will create a better idiot.-
    -Me fail English? That's unpossible!-

  2. #2
    Ajhayter
    Guest
    Hmm...

    Ok make the thought bubble appear....


    MUHAHAHAHAH! GO MY ARMY OF KASRKIN! GO!

  3. #3
    CacoDude
    Guest
    Neat, I always thought chaos's honour gaurd is a bit weak, maybe I'll change it. Thanks for the tutorial.

  4. #4
    Member Makenshi's Avatar
    Join Date
    Mar 2007
    Location
    Salvador, Brazil
    I'm trying to replace "Honor Guardsman" (guard_squad_guardsman_advance_sp), in Pavonian Hearthlands and Morriah Coast, with "Honor Karskin" (guard_squad_karskin_advance_sp), for a total of "4 Honor Karskin". My doubts are:

    1) After I change the lines, this appears:



    So, where and how should I save? Saving as is (Archive name: morriah_coast) has no effect, should I save as DXP2Data.sga ?

    2) I didn't manage to find the data\ui\swf\icons folder that I need to access in order to fix this:

    Now if you start the campaign and click on the Janus Savanah territory you'll notice that the new squad is in place of the old aspiring champion BUT there's no picture!

    In order to fix this you need a picture of the unit in the data/art/ui/swf/icons folder, One normal one for the territory and smaller pictures but also one large one for when you mouse over the picture in your honour guard once you have it.
    Here is a picture, there's no data\ui\swf\icons folder :



    Help is desperately needed, many thanks in advance!


  5. #5
    The flying one corncobman's Avatar
    Join Date
    Dec 2006
    Location
    Norn Iron
    1) What you want to do is to extract the file beforehand, and then open the .ter file using notepad.

    2) The ui/swf folder is located in the engine.sga file inside the engine folder.

  6. #6
    Member Makenshi's Avatar
    Join Date
    Mar 2007
    Location
    Salvador, Brazil
    1) Right, I extracted, edit, and saved. Now what should I do to integrate it into the .sga again?

    I'm choosing the extract single .sga file option when I open the Corsix, is that wrong? Man... modding Warcraft 3 was way easier...

    Edit: I think I should tell this (maybe it matters), my intention is to run this modification along with the Community Patch 1.21 (the one that fixes the no-brainer list).

  7. General Discussions Senior Member Modding Senior Member Dawn of War Senior Member  #7
    Why shout... Octopus Rex's Avatar
    Join Date
    Jul 2006
    Location
    UK
    You don't need to integrate into the sga again.

    You need to create a folder tree for it in *yourmod* folder in the right place, I described all this in my reply to your PM dude.

    Also, it doesn't matter that you're running it with Community patch 1.21
    "Life is not full of successes, it is full of failures from which we learn" - Tony Benn
    Octopus Blog (14.02.10)DOW2 GridKeys
    DOW1 Modding Tutorial ListDOW2 Tactical Primer

  8. #8
    Banned Dot's Avatar
    Join Date
    Oct 2007
    Location
    United Kingdom
    This might seem stupid but I thought it was "Kasrkin" not "Karskin"

  9. #9
    Magistratus Ex
    Guest

    custom units as honor guards

    First of all thanks! just what i´m looking for.

    Can you tell me if it is possible to add custom units as honor guard? say units from another mod like Witch Hunters (Canoness as Honor Guard).

  10. #10
    The flying one corncobman's Avatar
    Join Date
    Dec 2006
    Location
    Norn Iron
    Should be possible, although you might get folder access problems with units from a different race.

  11. #11
    Magistratus Ex
    Guest
    YES!!! it works! like a charm

    Just put a Battle Sister on Morriah Coast for Guard. After corncob suggested problems with path, my first idea was to put the full path in the filename in ter file (Data\attrib\sbps\races\witch_hunters\witch_hunters_squad_battle_sister_advance_sp). That didnt worked.

    So i thought the problem maybe race and changed the name of the race to "Witch_hunters", which of course didnt worked either (the first time game crashed the second you just dont get anything for the map). Of course this makes sense AFTER I tested .

    The solution was very simple. Instead of tryin to bring the mountain to the prophet let this bi... walk there. Just copied the battle sister files under ebps and sbps from witch_hunters race to guard_race and modified the ter file again. Voila! there is your "mercenary" Battle Sister ready to Fight for the Imperial Guard.

    Thanks a WHOLE LOT corncob you just made my day! maybe you could expand your tutorial cause i am sure the idea is not that bad.

    And thanks KRMZ and his whole team for that really astonishing MOD of Yours. Now it makes actual sense conquering the whole map!

    Damn when i am onto it, thanks again Relic for DOW!!! Shit i am so happy that I dont know whose ass to crawl up to

  12. #12
    Shas'O Tau Ike
    Guest
    Is it possible to take other races honor gaurds? Example: I'm playing as the Space Marines, but I want to take the chaos space marines demonkin honor gaurds. (That should be a mod.) I know it is a stupid question, but I want to know. It be so awesome.

  13. #13
    The flying one corncobman's Avatar
    Join Date
    Dec 2006
    Location
    Norn Iron
    See the two posts prior to your post as the same applies.

  14. #14
    Member Shas'O Fenix's Avatar
    Join Date
    Jul 2010
    Location
    City of Tash'n
    This tutorial rocks! Thanks, corncob!

    I've managed to give a Space Marine and a Company Champion (Mod) to the imperials
    but for whatever reason the marine uses Guardsmen voices, even if
    "speech directory" is set to the marine's :S

    EDIT: I was an idiot. Fixed the problem
    Thanks again, this tutorial is awesome!
    Last edited by Shas'O Fenix; 8th Jul 10 at 10:30 AM.

  15. #15
    This tutorial was super-helpful. Does anybody know what to do if some of the unmodded honor guard slots (the second and fourth) turn red and their pictures disappear when I add a modded honor guard slot to a territory that would otherwise only contain a gate? This only happens when I add a modded honor guard, not add a pre-existing honor guard.

  16. #16
    The flying one corncobman's Avatar
    Join Date
    Dec 2006
    Location
    Norn Iron
    If you've added a new unit, it's best that you start a new campaign rather than load a previously saved campaign file. I guess it's something to do with the unit indexes pointing to where they shouldn't but I don't know for sure.

  17. #17
    Damn. Thanks for the tip, corncobman, but does anybody know of any way to redo the HG in the middle of a campaign? Those single-unit Space Marine Veterans really weren't doing it for me.

  18. #18
    You mean you want to turn single soldiers into squads or something? If that is the case just get to sbps of the desired units and change the value of the loadout of the squad, soldier like squads are easy but with commanders you would need just a bit more work, although i do think changing normal HG is enough. pm me if this is what you want and you have doubts. But you would need to restart campaign if you wanted to avoid having some random crash (when modding savegames may get corrupted due to data changing)
    Apparently people don't like me :(
    Is it because i was tainted by Chaos? Cause I already born that way...

    My ongoing Mod for DC
    Veteran Mod

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •