Asmaedus
15th Jan 08, 5:26 PM
Ok people. Im not sure if there is a tutorial on how to do this already or not, but guessing by the amount of people on the dawn of war filefront forums, and with people pointing them towards this site, i thought i'd give it it a crack. today we are going to learn how to make a mod AND add a "lone sniper" to the space marines, using the scout model.
Step 1: Tools
First and foremost you are going to need corsix's mod studio, because thats the only modding tool i know how to work, and attribute editor crashes every time i run it.
thats about all you need.
Step 2: Setting up the mod
Since modding vanilla DC would screw up out multiplayer, we are going to make a mod. doing this is quite simple. firstly, go in to your dark crusade folder. standard directory for this is C:\Program Files\THQ\Dawn of War - Dark Crusade. now look a folder called My_mod. copy and paste that into your dark crusade directory. rename it sniper_mod. now look for another file thats called My_mod, but its not a folder, it a file, and the filetype is .MODULE. once you've found that, copy paste it and call it sniper_mod. now go into your sniper_mod.MODULE (from now reffered to as the "module file") and every time it says My_mod, replace it with sniper_mod. an easy way to do this is by pressing CTRL+F and typing in My_mod.
Step 3: Making the Entity
Now for the juicy part.
Open up Corsix's mod studio and click on Open DC mod. itll come up with a window asking you to look for a module file. click on sniper_mod. choose your language, then wait for it to load up.
now, click on data (NOT GENERIC), click on attrib, then on ebps, then on races, then on space_marines, then on troops. look at all the units that pop up. now, look for scout_marine.rgd. right click, and select "Make a Copy of This File". rename it sniper.rgd ***IMPORTANT*** REMEMBER TO PUT.RGD ON THE END, OTHERWISE IT WILL SCREW UP!***. now that you have copied it, lets make it into a sniper. (ebps stands for entity blueprints , sbps for squad blueprints. the difference is that, for example, one scout marine is one entity, however a scout marine [I]squad , is one squad (duuh). now that we've got that out of the way, lets get working on making the sniper squads entity, the actual sniper, into a sniper. first things first, renaming. now, look for a extension called ui_ext. in that is everything that is visual about the sniper, and, save for the actual model, everything is in there, from the icon, to the name. now to change the name, double click on ui_ext, then double click on ui_info. look for an entry called screen_name_id. click on it, then look on the right side of the screen, there will be something saying $97110. what does this mean? well the number is reffering to a text entry in a different folder somewhere. how do we find this file? go to your dark crusade folder, look for a folder called W40K, (NOT THE MODULE FILE!!!) go into it, there should be another folder called "Locale". go into that, and click on your respective language, for me, english. now there shouldbe a file called W40K, the filetype is .ucs, open that up with a text editor, e.g notepad, and you will see the magical treasure trove of words. scroll way the hell to the bottom, and add a new line under the very bottom one, that goes like this (without quote marks) "503528 Sniper Squad". i think you can see where we are going with this! now, save that, and return to corsix's mod studio. in the sniper.rgd, go back to ui_ext, the to ui_info, then at screen_name_id change $97710 to $503528. now your sniper is called what hes meant to be. save (in the bottom right corner)
Part 4: Making the Squad
now, return to the attrib menu, and look for an entry called sbps, open it and go into races, and from there Space_Marines. look for space_marine_squad_scout.rgd, do the same procedure we did in ebps. now you should have a file in sbps also called sniper.rgd. double click on that, and look for an entry called squad_loadout_ext. open that. now, we are going to do 2 things in here. first things first look for unit_min. select it, and on the right side of the screen , change it from 2 to 1. do the same with unit_max. now, onto the second thing. look for trooper_base in the same directory (squad_loadout_ext), and open it up. now, you see how it says type, well select that, and look on the right of your screen. it should say:
ebps\races\space_marines\troops\scout_marine.lua
well we want it to say
ebps\races\space_marines\troops\sniper.lua.
One last thing to do in the sbps file. changing the name for the squad. but hold on, didnt we just do that? no, we didnt. what we did was change the ENTITYS name, the name that pops up as help text when you hover your mouse over them ingame. now, look for squad_ui_ext, then ui_info. look for screen_name_id. 3 guesses what we are going to do here. do that. one last part i forgot. return to our sniper.rgd in the >EBPS< Folder. go into ui_ext. then look for ui_index_hint. change that from 2 to 9.
we are done with that part.
Part 5: Making the squad requisitionable.
this is the easiest part of the process, but vital nonetheless.
we are going to make our sniper team deployable from the listening post. go to our ebps folder, then into races, then Space_Marines. BUT instead of going into troops we are going into structures. now, what we want is space_marine_listening_post.rgd - go into that, then look for that, then go into spawner_ext, from there go into squad_table. double click on squad_02. on the right hand side there should be an empty box. put into that box:
sbps\races\space_marines\sniper.lua
bam done. now, at the moment, our sniper is just a regular scout, with a bolter. the serious modding, changing what weapon he has into a sniper rifle, making him have more health, more sight etc etc coming in part 2.
now, launch dark crusade, then go to game manager. there should be a mod there called sniper_mod. select it, then restart.
if youve done everything right, the game should load up (if you've done something wrong, it wont work). load up a skirmish game as space marines. now you should be able to requisition our friend the sniper! (with a bolter :agree: )
have fun and thanks for reading!
Step 1: Tools
First and foremost you are going to need corsix's mod studio, because thats the only modding tool i know how to work, and attribute editor crashes every time i run it.
thats about all you need.
Step 2: Setting up the mod
Since modding vanilla DC would screw up out multiplayer, we are going to make a mod. doing this is quite simple. firstly, go in to your dark crusade folder. standard directory for this is C:\Program Files\THQ\Dawn of War - Dark Crusade. now look a folder called My_mod. copy and paste that into your dark crusade directory. rename it sniper_mod. now look for another file thats called My_mod, but its not a folder, it a file, and the filetype is .MODULE. once you've found that, copy paste it and call it sniper_mod. now go into your sniper_mod.MODULE (from now reffered to as the "module file") and every time it says My_mod, replace it with sniper_mod. an easy way to do this is by pressing CTRL+F and typing in My_mod.
Step 3: Making the Entity
Now for the juicy part.
Open up Corsix's mod studio and click on Open DC mod. itll come up with a window asking you to look for a module file. click on sniper_mod. choose your language, then wait for it to load up.
now, click on data (NOT GENERIC), click on attrib, then on ebps, then on races, then on space_marines, then on troops. look at all the units that pop up. now, look for scout_marine.rgd. right click, and select "Make a Copy of This File". rename it sniper.rgd ***IMPORTANT*** REMEMBER TO PUT.RGD ON THE END, OTHERWISE IT WILL SCREW UP!***. now that you have copied it, lets make it into a sniper. (ebps stands for entity blueprints , sbps for squad blueprints. the difference is that, for example, one scout marine is one entity, however a scout marine [I]squad , is one squad (duuh). now that we've got that out of the way, lets get working on making the sniper squads entity, the actual sniper, into a sniper. first things first, renaming. now, look for a extension called ui_ext. in that is everything that is visual about the sniper, and, save for the actual model, everything is in there, from the icon, to the name. now to change the name, double click on ui_ext, then double click on ui_info. look for an entry called screen_name_id. click on it, then look on the right side of the screen, there will be something saying $97110. what does this mean? well the number is reffering to a text entry in a different folder somewhere. how do we find this file? go to your dark crusade folder, look for a folder called W40K, (NOT THE MODULE FILE!!!) go into it, there should be another folder called "Locale". go into that, and click on your respective language, for me, english. now there shouldbe a file called W40K, the filetype is .ucs, open that up with a text editor, e.g notepad, and you will see the magical treasure trove of words. scroll way the hell to the bottom, and add a new line under the very bottom one, that goes like this (without quote marks) "503528 Sniper Squad". i think you can see where we are going with this! now, save that, and return to corsix's mod studio. in the sniper.rgd, go back to ui_ext, the to ui_info, then at screen_name_id change $97710 to $503528. now your sniper is called what hes meant to be. save (in the bottom right corner)
Part 4: Making the Squad
now, return to the attrib menu, and look for an entry called sbps, open it and go into races, and from there Space_Marines. look for space_marine_squad_scout.rgd, do the same procedure we did in ebps. now you should have a file in sbps also called sniper.rgd. double click on that, and look for an entry called squad_loadout_ext. open that. now, we are going to do 2 things in here. first things first look for unit_min. select it, and on the right side of the screen , change it from 2 to 1. do the same with unit_max. now, onto the second thing. look for trooper_base in the same directory (squad_loadout_ext), and open it up. now, you see how it says type, well select that, and look on the right of your screen. it should say:
ebps\races\space_marines\troops\scout_marine.lua
well we want it to say
ebps\races\space_marines\troops\sniper.lua.
One last thing to do in the sbps file. changing the name for the squad. but hold on, didnt we just do that? no, we didnt. what we did was change the ENTITYS name, the name that pops up as help text when you hover your mouse over them ingame. now, look for squad_ui_ext, then ui_info. look for screen_name_id. 3 guesses what we are going to do here. do that. one last part i forgot. return to our sniper.rgd in the >EBPS< Folder. go into ui_ext. then look for ui_index_hint. change that from 2 to 9.
we are done with that part.
Part 5: Making the squad requisitionable.
this is the easiest part of the process, but vital nonetheless.
we are going to make our sniper team deployable from the listening post. go to our ebps folder, then into races, then Space_Marines. BUT instead of going into troops we are going into structures. now, what we want is space_marine_listening_post.rgd - go into that, then look for that, then go into spawner_ext, from there go into squad_table. double click on squad_02. on the right hand side there should be an empty box. put into that box:
sbps\races\space_marines\sniper.lua
bam done. now, at the moment, our sniper is just a regular scout, with a bolter. the serious modding, changing what weapon he has into a sniper rifle, making him have more health, more sight etc etc coming in part 2.
now, launch dark crusade, then go to game manager. there should be a mod there called sniper_mod. select it, then restart.
if youve done everything right, the game should load up (if you've done something wrong, it wont work). load up a skirmish game as space marines. now you should be able to requisition our friend the sniper! (with a bolter :agree: )
have fun and thanks for reading!