Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 Modding, Customising, Editing » My Modding questions
My Modding questions[message #281986] Thu, 02 June 2011 18:11 Go to next message
Jopo-80 is currently offline Jopo-80

 
Messages:9
Registered:June 2011
Location: Joensuu, Finland
Ok I have a few questions about JA-2 1.13. I already know how to edit .xml files, that part is easy, but some things are still unfamiliar to me.

1. How do I edit .NPC files?
The data about non-player characters is stored in .NPC files, do I need an editor to edit them?

2. How do I edit .EDT files?
This is another format that I encountered. I downloaded an EDT editor but I couldn

Report message to a moderator

Private
Re: My Modding questions[message #282008] Thu, 02 June 2011 19:44 Go to previous messageGo to next message
DepressivesBrot is currently offline DepressivesBrot

 
Messages:3658
Registered:July 2009
No offense intended, but did you even play the game before you're attempting to mod it?
Especially Quote:
Are there vehicles in the game that the mercs can use?
and Quote:
electronics (used to repair electronics and stuff), martial arts ( good martial artists get a damage bonus when hitting or kicking) etc. etc.
appear to indicate otherwise.

Report message to a moderator

Captain

Re: My Modding questions[message #282010] Thu, 02 June 2011 20:06 Go to previous messageGo to next message
Kazuya is currently offline Kazuya

 
Messages:208
Registered:January 2009
3. Sti files can either be manipulated with "STIEdit" or the "Game Resource Viewer". My advice is to get both programs, because the have their own advantages and disadvantages. You'll probably want to use a proper Graphics program for the manipulation itself though. Personally, I recommend GIMP. I use GIMP for 99,9% of all Picture manipulation and contrary to Photoshop it is free.

4. SLF files are container files similar to zip files. There are programs, that can pack and unpack slf files. SLFExplore does this for example. There is no point in repacking the slf files, because the game will read the unpacked files, if they are in their directories.

5. New tiles need a sti file and a jsd entry. Just unpack tilesets.slf and you will see what is needed. I haven't manipulated jsd files yet, because that's not necessary if you only want to add some decals to the walls.

6. A new merc needs certain sti files for his face. The names of the sti files must be the merc index number except for the picture in 90x100. In this case the pictures filename must have a "B" followed by the index number. The unpacked faces are in the faces.slf. What kind of files you'll need depends on what kind of merc you want to create. In any case, you will need at least the bigface picture, which has the format 106x122 in data/faces/bigfaces/, the 48x43 picture, which is in data/faces/ and the 31x27 in data/faces/65face. Just take a look at some faces with sti edit and you will see, what kind of pictures you have to create. In case you want to create an NPC or RPC, you will have to creeate a 90x100 picture as well. Those are like the 48x43 in data/faces/. Your new merc will need his speechlines in one of the edt files (can't remember which one), voice files for his lines (just look at existing files) and .gap files, which are responsible for the mouth animation. If I remember correctly, there is a prgram called gap generator.

7. A weapon needs three pictures, the bigitems picture found in data/bigitems, the interface picture found in data/interface/mdguns.sti and the tileset picture, found in data/tilesets/0/smguns.sti

The picture in bigitems is a single sti file, while the other ones are "pages" in an existing sti file. You can use stiedit to browse through the file and you will see what I mean.
If you have created those pictures, you need to run xml editor and show all items. The easiest way is to duplicate an existing weapon and edit its stats to your liking. Then you take a look at the index number. The name of your bigitems picture has to be GUN.sti In the other files, you have to create a new page in the sti file and paste in your picture. The pagenumber has to be equal with the index number. Save the xml, restart xml editor and you will be able to change the picture of your duplicated gun to your gun pictures. Save the xml and you are done.

Report message to a moderator

Sergeant 1st Class
Re: My Modding questions[message #282011] Thu, 02 June 2011 20:06 Go to previous message
Jopo-80 is currently offline Jopo-80

 
Messages:9
Registered:June 2011
Location: Joensuu, Finland
Oh, I

Report message to a moderator

Private
Previous Topic: How to resize maps?
Next Topic: Xml editor how do you use it?
Goto Forum:
  


Current Time: Sun Apr 28 11:19:27 GMT+3 2024

Total time taken to generate the page: 0.00966 seconds