|
#1
|
|||
|
|||
Modding "Tutorials"
Hi everyone
Where I can find information about modding the 7.62. As long as I remember there were some interesting posts on Strategy First forums. But now forum is down and its quite problematic to find information about modding 7.62. I think it will be very helpfull for everyone. Best regards |
#2
|
|||
|
|||
What kind of modding do you have in mind?
There are some manuals for adding and creating weapons made for Brigade E5 and they are still valid. If you're interested in character models and textures there's no actual manual available, but post your Q's here and we'll try to answer you. If it's playing around with the source code there's no manal either. You need some skills and knowledge of programing to be familiar with the syntax and whatnot. I could post a few "examples" to get you started, it will make it easier to figure out how it all works. Just let me know. |
#3
|
|||
|
|||
I've been asked to make a small tutorial about making a new uniform, so here you go:
A uniform has several textures, one for the shop item and a few for the actual model skin, male, female and so forth. The shop item textures can be found in the BMP\Items\ folder while the model textures are in the Media\actors folder, probably inside the Pack0.azp archive. We'll start by creating the shop item and add it to the game. You need to add the uniform to several files in the INI\ folder: \INI\economy.ini Item "My New Uniform" 1000.0 \Ini\Items\ITEMINFO ITEM "My New Uniform" //this is the name the engine uses to keep track of the item RealName "Uniform" // this entry is what you'll see in the shop Add your description here END \Ini\Items\ITEMLEVELS.INI "My New Uniform"0 0 // the first number is the CGL and the second is the %chance of the item turning up in the shops. \Ini\Items\ITEMS "My New Uniform" UniformItem None "Items\carabineeruniform.act""carabinersol.e6b " //these entries calls the pic and model for the shop item Uniform Stalker //Loyalty(can be Algeira, Guerillas, Palinero or something you make up yourself, like I did with the Stalker faction) Stalker //Type (can be Guards, Police, Soldiers and so forth. I made a new type called Stalker) Soldier //Rank (What epaulets will ne used, if any.) 2600 //Weight \Ini\Items\ITEMSROTATION "My New Uniform" X 0 Y 0 Z 0 \ShopINI\LasVacasionesNonLegalTraderShop.INI //this is the trader in Puerto Viejo. Item "My New Uniform" Level 1 Price 5000.0 We now have a new uniform in the game that can be bought at the trader that you added it to in the shopINI file. The character still don't change the model when the uniform is put on, so that's what we'll be fixing next. We need a 3d model that uses the uniform that you plan to change and use, the 236_carabineer_01.azp will be the one we're using today. These are the packs for that model, the first is the pointer file while the second the male and the third the female. Since this model wears gloves there's only one model for the male, others might use two, one white and one black. \Actors\Monsters\236_carabineer_01.azp \Actors\Monsters\236_carabineer_01_body.azp \Actors\Monsters\236_carabiner_bodyW.azp Start by renaming them, something like this: New_Uniform_01.azp New_Uniform_01_body.azp New_Uniform_bodyW.azp Then open up the New_Uniform_01.azp and change the pointer in the ACTOR.ACT.DESCR to this: COPYFROM Body New_Uniform_01_body COPYFROM Head 236_carabineer_Head //this wont be used unless you change some entries in the EQUIPMENT.INI which I wont do for this exercise END Now it's time to find the skins for these models, they are located in the \media\Actors\ folder and the exact name can be found in one of the ACT files inside the New_Uniform_01_body.azp and New_Uniform_bodyW.azp archives. There are several ACT files that calls different parts of that model, and we're looking for the one that is the body textures. in this case they're called 236_bodyblack_s.tga and 236_bodyblack_s_W .tga and can be found in the \Media\Actors\ folder inside the Pack0.azp archive. But we need to rename them so that only the textures for this uniform is changed when wearing it, not the original carabineer textures. To do this you need a hex or binary editor since the ACT files are in a binary format. I use Binedit which is a free prog that makes it very easy for you. There is one thing that is important to keep in mind, the number of letters in the new texture file name must be the same as in the original. 236_bodyblack_s.tga -> 400_bodyblack_s.dds 236_bodyblack_s_W .tga -> 400_bodyblack_s_W .dds You need to change the ACT file as well as the LOD1 and LOD2 files, those LOD files are for viewing the model from a distance and if you don't change them as well the model will still be using the original textures. Notice that I changed the file ending from TGA to DDS. The TGA's are actually renamed DDS files and some texture progs will have a problem if they're not changed back to DDS format and the mipmaps might be lost if you continue to use the TGA format. You can now edit the 400_bodyblack_s.dds and 400_bodyblack_s_W .dds to your liking. The final step is adding the new uniform to the soldier list so that the game engine changes the model when the uniform is worn. This is done in the \ini\SOLDIERS file. Combatant Stalker //Remember this from the ITEMS file? Army Stalker // also connected to the ITEMS file New_Uniform_01 White Man New_Uniform_01_body White_Sebastian Man New_Uniform_bodyW White Woman New_Uniform_01 Nigga Man New_Uniform_01 BigNigga Man Then we have the Epaulets which is controlled by the \ini\SOLDIEREPAULETS file Combatant Stalker Army Stalker Stripe "Media\Actors\nashivka_s.tga" 0 Soldier Epaulet "Media\Actors\epaulet_r_01.tga" You can make new Epaulets if you wanna, just make some new ones and point at them from this file. Place all the new files in your game directory and see if it works by buying it at the trader in Puerto Viejo Good luck R@S Edit: I forgot about the shop model and textures, The ITEMS file points to them so they're easy to find. It's the same procedure with the ACT file as I showed above, but this time they should be in the TGA format Last edited by R@S; 05-16-2010 at 11:53 AM. |
#4
|
|||||||||
|
|||||||||
How to script a mission:
The most important thing to remember is to never alter the original source files. If you need to change something in those files you have to use a Replace Function. There is one exception, the e6q.a file where you activate your mod. At the end of that file, just above the initial part you need to add your mod. Like this: Quote:
Another thing to keep in mind is to have an empty line at the end of every file. If you don't you'll get a bunch of weird error messages when compiling it. // ************************************************** *********************** // Temp_mod (Temp_mod.a) // ************************************************** *********************** Quote:
// ************************************************** *********************** // Creating a quest in the source code (TemplateQuest.a) // ************************************************** *********************** Quote:
// For QuestGiver // This is where the character dialog jumps in // when called from the character object // ************************************************** ************** Quote:
// The initial part where you set up the characters involved and quest name // ************************************************** *********************** Quote:
// Dialogs for QuestGiver NOTE: they are outside the TemplateQuest // object but inside the TemplateQuest room // ************************************************** *********************** Quote:
// ************************************************** *********************** // Creating a character in the source code (QuestGiver.a) // ************************************************** *********************** Quote:
// A small example of Patrol phrases // ************************************************** *********************** Quote:
// A Selection of Uselful User Functions // ************************************************** *********************** Quote:
Last edited by R@S; 05-16-2010 at 12:02 PM. |
#5
|
|||
|
|||
yay!
great, just great
thx for responding to my request as fast as you did. I'll mess around with this and come up with something. |
#6
|
|||
|
|||
allright i followed your instructions and ran into a few probs...
the icon shows up, the item mesh works, the description does as well... but the character model wouldn't show up. so i looked at the sniper camo suit and that had a different setup, linking to the AZP directly in the ITEMS file. it worked this way, no epaulets are showing, but i wanted it to be like that anyway.. additionally i think it should now give a bonus to camo, which only makes sense at night, but hey (its a black retex again)... now i'm pretty satisfied with the thing, but i'd really love to use the carabineer_head as well. i tried adding the lines Head ID 1 "236_carabineer_Head" STD at the bottom, but that didn't do it.. do i have to place the carabineer model into my main char's head.azp and load it under head_armor? i hope theres a better way to do this because this way i'd have to copy the model for each character individually.... edit: tried putting the model inside my head.azp and add the line ID 3 "Nightops uniform" STD under headarmour i guess this would only work if my uniform was in the helmet slot? hmmm... any ideas? |
|
|