Welcome to the Iron Front Fan Forums!
Sign up Latest Topics
 
 
 


Reply
  Author   Comment   Page 1 of 2      1   2   Next
Joarius

Avatar / Picture

IFR Team
Registered:
Posts: 290
Reply with quote  #1 
I open this topic to explain that we can use textures without placing them in the missions. So it avoid to have too big missions (20 Mo or bigger), and you have your textures always placed at the same repertory.

I give to the community the solution, because the game is dead, and i think that now i can say how to make it : AWAR allowed me to make it for my team ; but now, why could it not be shared ?



The solution is very simple :
(1) You create a repertory, in which you places the files of the textures that you use.
(2) In your missions, you use the command this setObjectTexture [Number,"@GEIST\Sub-repertory\Texture.paa"]; that you place in the Initialization of your character or your vehicle :
     - Number is the number of the part of your man or vehicle that you want to retexture ;
     - @GEIST\Sub-repertory\ is the name of the path where you have placed your files ;
     - Texture.paa is the name of your file ;
Nota : GEIST is the name of the "mod" (A) that i've worked on.



Example with a Fallschirmjäger :


this disableAI "move"; RemoveAllWeapons this; this setObjectTexture [5,"@GEIST\Uniformes\GER_Luftwaffe-Camo_14V1P0_FSJ-Stabsgefreiter_2048.paa"]; this setObjectTexture [((getArray (configFile/"cfgVehicles"/(typeOf this)/"hiddenSelections")) find "eqip_helmet_camo"),""]; this setObjectTexture [((getArray (configFile/"cfgVehicles"/(typeOf this)/"hiddenSelections")) find "eqip_helmet"),"lib\LIB_GER_infantry\data\ger_eqipment_2_co.paa"]; this setObjectTexture [7,"GER_Casque_2522048xxLWFSJ1_1024.paa"];

In blue, the camo of the uniform, simply added with the command this setObjectTexture.
In green, the command this setObjectTexture for the helmet, preceded by the necessaries commands that change the helmet
(we change the camo helmet for the "feldgrau" helmet).



It is not more complicated than that...
You can see the textures that i've realized for my clan in this page : Mod Geist d'I.F.L 1944.
I'm sorry for the non-french speakers, but it's in french, as it's my native language that is easier for me that english which is a bit hard for me, as you can read with my poor writing... :\


PS :
(A) : GEIST is not a real mod because it works only with the textures and the command this setObjectTexture. I don't pretend to call it a real mod.

__________________
0
BRS

Captain
Registered:
Posts: 195
Reply with quote  #2 
Joarius, Merci! for sharing this one.
Do I understand it right?
Me and each other player must have a folder like -GEIST\Sub-repertory\- saved on the hard disk ?
If, where did you placed this folder? Inside the IF Game Folder?
Quote:
because the game is dead,

it's first dead the time we will not playing it anymore
0
Joarius

Avatar / Picture

IFR Team
Registered:
Posts: 290
Reply with quote  #3 
Yes, each player must have @GEIST (for example, but if you make your own "mod", you call it as you want ) in the root folder ; for me, it's E:\__Games\Iron Front - Liberation 1944\@GEIST.
After i have E:\__Games\Iron Front - Liberation 1944\@GEIST\Uniformes, E:\__Games\Iron Front - Liberation 1944\@GEIST\Vehicules, etc.
BUT in the command you write for example only @GEIST\Uniformes and @GEIST\Vehicules.


If you want, i can prepare an archive with repertories including the Fallschirmjäger.

__________________
0
BRS

Captain
Registered:
Posts: 195
Reply with quote  #4 
Quote:
If you want, i can prepare an archive with repertories including the Fallschirmjäger.

that would be fine!
0
Gunter Severloh

Avatar / Picture

Admin
Registered:
Posts: 2,757
Reply with quote  #5 
Quote:
BUT in the command you write for example only @GEIST\Uniformes and @GEIST\Vehicules.

Should just combined the two folders into one
For mods it would be in the command like this:
-mod=@GEIST
the game already sees the directory all you need is to make sure all required files are in that one folder, for it to load into the game.

__________________
0
Joarius

Avatar / Picture

IFR Team
Registered:
Posts: 290
Reply with quote  #6 
This is the archive .rar with the Fallschirmjäger : @GEIST-Fallschirmjagers_v2-1.rar.
It should be correct, BUT as my own folder is the same folder for the game and the work on GEIST, i can't be sure that all is good. Indicate me the message of errors, and i will be able to revise it.



@Gunter :
I had made tries, but it had not worked. However, i'm not a great worker on the data processing, so say me how it works with your own tries, please.

__________________
0
Gunter Severloh

Avatar / Picture

Admin
Registered:
Posts: 2,757
Reply with quote  #7 
That file is just a pack of paa files, game cannot do anything with it until it setup to be used by soldiers.

However you set it up in your mission where you had soldiers with the FallshirmJaeger uniform probably will be your best bet.
What you can do is like you did before create a mission template of all the solders for the Fallshirmjaeger, and apply all the textures, from there if folks would add
the template to their usermissions then they can access the mission and copy and paste the soldiers to their mission, however they will need the paa files that
are in the template for that to work for them.

Unless you know how to make an addon where you can take a soldier model and have it where the textures are already in it and establish a class for them
in the editor, so you can place the units, then i think the mission template will work, as it did before but just a couple of textures were missing which is np,
just make sure all paa files are there and it will work.

your thoughts.

__________________
0
Gunter Severloh

Avatar / Picture

Admin
Registered:
Posts: 2,757
Reply with quote  #8 
Possible Fallshirmjager addon
I got an idea on how to take the textures for the Fallshirmjager you have, and then use them to retexture existing models already in the game,
make a copy of the new models and then add them in like an addon.
I never done this but I have messed with configs and updated them to make them work in Arma2CO for my own mods, so i think i may make an attempt
at trying to get the Fallshirmjager textures to work on existing unit models in the game.

So i will need to do a number of things:
1. Locate the IF files for the German units in the IF addons folder
2. Open the IFA file and then the config, and see how the existing models are setup for using the paa's it does use
3. Make a copy of the file and use that to change (obviously I dont want to alter the current files, as Im trying to create new units to add to the game)
4. Update the config that tells the game to use the current paa's for the German units with the new paa's for the Fallshirmjager
5. save repbo (IFA), then readd using the same method already established in the game.
===========
So that was off the top of my head, but like i said i do have quite a bit of experience opening pbos (they are the same as IFA just different name but for Arma2CO)
reading and updating configs, for files, and even my latest attempt just last year altering a config to have a gun use a different sound then its current one which
I did successfully, that was rather fun tbh, but took a bit to see what was actually happening.

Now what i listed above, is basically the process i would take to make this happen, to me seeing how something existing is setup and then make a copy
of it but with new paa's (texture files) seems easy enough, the thing that will be tricky is determining which paas go where, i think that will be the hardest part.
If this works like Im imagining it then we can say that we will have successfully created an addon for Iron Front and have added new units!

But we got to get it tow ork first, i dont see how it would or cant work if your using the existing setup for the files, i mean why change the bisign,
why change anything, you dont need to just replace a texture with that of another, thats all were doing, then with the new copy you basically have a new file, new content.
Sounds easy enough but their may be more to this IDK at the moment, so i will see what i can do and report back.

I cant get the IFa files to open even after renaming them to pbo, i get the same files to showup, the Ifa file Im trying to open is:
LIB_ger_infantry
any had any success on getting IF files open , i tried with cpbo, elitenes, pboview, nothing, the file extracts but doesn't open any
files beyond the 2 i normally get which dont show me anything, no configs, ect,.




__________________
0
BRS

Captain
Registered:
Posts: 195
Reply with quote  #9 
Gunter, I can open and extract the files with pbo_manager_v14 without problems.
Look here for it: http://forums.bistudio.com/showthread.php?128485-PBO-Manager/page2 Post #14
0
Barto

Avatar / Picture

IFR Team
Registered:
Posts: 216
Reply with quote  #10 
Guys,

This is really interesting, excited to hear how it turns out!(?) 

If it will be possible somehow to create new units with all those "reskins" that appeared in screenshots on the old forum -the game would almost be "half-resurected" so to speak... (in a perfect world we would also have access to improving AI etc)



0
Gunter Severloh

Avatar / Picture

Admin
Registered:
Posts: 2,757
Reply with quote  #11 
Quote:
Gunter, I can open and extract the files with pbo_manager_v14 without problems.
Look here for it: http://forums.bistudio.com/showthread.php?128485-PBO-Manager/page2 Post #14

Thank you BS I been racking my brains all morning and day on this, I'm able to rename the file np, but i have a question which one can i use,
as I have windows xp 32bit, and it says win7 as a requirement?


Quote:
This is really interesting, excited to hear how it turns out!(?) 

If it will be possible somehow to create new units with all those "reskins" that appeared in screenshots on the old forum
-the game would almost be "half-resurected" so to speak

Yes it would be, I'm going to try it, even though I never retextured anything before but if i have to i got a network of friends and a community here to help answer questions if need be, firs thing is to get the file open, then I can see what Im dealing with, if i cant do that then someone else will have to send me the file.

But one step at a time, if this does work, .... and we get new Fallshirmjaeger units ingame, I will take it further.

__________________
0
Joarius

Avatar / Picture

IFR Team
Registered:
Posts: 290
Reply with quote  #12 
I understand a lot of things that you have writen, but somethings are not always clear : my bad english is not usefull for a very good understanding. :\



But i can say that i had watched in order to realize a "real" addon, and i had stopped because it asked to me too knowledge on modding and time that i don't have. So, when i had found that "solution" with this setObjectTexture, i didn't searh further.

However, i had seen that some .rvmat was(were) used for the "control" of the units and the texture management.
But as i don't have tools to open correctly the .rvmat and save it in a format that Iron Front accepts.

__________________
0
Gunter Severloh

Avatar / Picture

Admin
Registered:
Posts: 2,757
Reply with quote  #13 
Somebody just send me the open files, pbo manager wont work as i have winxp 32bit, its requirements are win 7.
Elitness, cpbo, pboview do not work.
I need to look at certain files to see what im dealing with, the files I need and want to look at are:
LIB_ger_characters.ifa
LIB_ger_infantry.ifa
LIB_dta.ifa
LIB_core.ifa

These files can be located here:
C:\Program Files\Iron Front - Liberation 1944\IF\AddOns

__________________
0
BRS

Captain
Registered:
Posts: 195
Reply with quote  #14 
Uhm, I didn't noticed that this program is W7 only

Do you own a place I could upload these files via FTP so you could grab them there?
If, PM me the data I need to connect. Then I will send you these opened ifa's as zip files.
It could be done directly to your computer by the FileZilla Server Interface if you would install that, but I, in your case, would not give others access to my HD
May be tay-uk could help out if he own space on a server I could access by ftp.
If no given way is possible, so I would try to upload file by file to a limited space I own and give you the dl-link via PM for each single one time by time.

Let me know..
0
Tayuk

Avatar / Picture

Retired Admin/IFR
Registered:
Posts: 456
Reply with quote  #15 

What are the file sizes? This site has an option to upload files, but space is limited (it is currently switched off) but If the files sizes are resonable I could open it until you have the files then deleted them again after. Just let me know.

Tay-uk

0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.