It is currently Sun Nov 29, 2020 2:20 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: XichtEd - How do you add portraits to the original campaign.
PostPosted: Wed Jan 02, 2013 7:02 pm 
Offline
Soldier level 0
Soldier level 0

Joined: Fri Aug 07, 2009 7:13 pm
Posts: 19
Well, as the tittle goes, I'm asking for some help in how to change in campaign portraits.
I aim changing in the actual campaign, and change portraits of secondary or even main characters.
I searched the forums and i didn't find something consistent.
Thanks in advance for reading this!


Top
 Profile  
 
 Post subject: Re: XichtEd - How do you add portraits to the original campa
PostPosted: Wed Jan 02, 2013 10:00 pm 
Offline
Moderator
Moderator
User avatar

Joined: Mon Mar 17, 2008 6:03 pm
Posts: 1130
Location: Denmark
The galleries used are located at data1.owp/Gallery (only the .xgl are valid). Open the gallery with XichtEd and double click a portrait loading the portrait into the editor. When you are finished editing click "Back to gal." Save the gallery and replace the old one. Manipulating the .owp may be a little tricky (haven't tried myself) but try and play around with PakView.

_________________
I have an if that has an else, but that if has another if with an else inside... My question is... If an if has an else, if there is more than one line in that if, should it have a begin and an end?


Top
 Profile  
 
 Post subject: Re: XichtEd - How do you add portraits to the original campa
PostPosted: Thu Jan 03, 2013 9:52 am 
Offline
Soldier level 0
Soldier level 0

Joined: Fri Aug 07, 2009 7:13 pm
Posts: 19
Well, got my way around better than i would have hopped !
Managed to open the campaign files and edit some faces.
Only thing i didn't manage is to replace them back in the pak view.
I can only open view and extract them, but not modify!
Any hints?


Top
 Profile  
 
 Post subject: Re: XichtEd - How do you add portraits to the original campa
PostPosted: Thu Jan 03, 2013 9:34 pm 
Offline
Moderator
Moderator
User avatar

Joined: Mon Mar 17, 2008 6:03 pm
Posts: 1130
Location: Denmark
Extract the whole data1.owp and manipulate the galleries. Then go back to PakView and hit the "Create" button, choose the folder containing the data from data1.owp (including your modified galleries) and save it as "data1". The compression takes a while (the program may seem to have frozen but don't worry - it's working). Then replace the old data1.owp with your own (better take a backup first, though :P).

_________________
I have an if that has an else, but that if has another if with an else inside... My question is... If an if has an else, if there is more than one line in that if, should it have a begin and an end?


Top
 Profile  
 
 Post subject: Re: XichtEd - How do you add portraits to the original campa
PostPosted: Fri Jan 04, 2013 1:28 pm 
Offline
Soldier level 0
Soldier level 0

Joined: Fri Aug 07, 2009 7:13 pm
Posts: 19
Thank you very much McBenn!
That shed some light into my small modification.
But still, i think this should be posted like a main tutorial, i guess lots of people aim to modify their character's faces in campaign.

Also, what does the "rebuild" function in the pakview do?

Much obliged and thank you once more!


Top
 Profile  
 
 Post subject: Re: XichtEd - How do you add portraits to the original campa
PostPosted: Fri Jan 04, 2013 5:12 pm 
Offline
Moderator
Moderator
User avatar

Joined: Mon Mar 17, 2008 6:03 pm
Posts: 1130
Location: Denmark
Any time :)

Hm can't figure out what the rebuild function does. Perhaps it's just some sort of recompilation.

Well, describe what you did step by step in this thread and call it a tutorial :p

_________________
I have an if that has an else, but that if has another if with an else inside... My question is... If an if has an else, if there is more than one line in that if, should it have a begin and an end?


Top
 Profile  
 
 Post subject: Re: XichtEd - How do you add portraits to the original campa
PostPosted: Fri Jan 04, 2013 5:58 pm 
Offline
OW Support Owner
OW Support Owner
User avatar

Joined: Wed Dec 28, 2005 11:13 pm
Posts: 5014
Location: UK, Scotland
It would be better to create a mod than to edit data1.owp .

Rebuild will create a copy of the OWP and then replace the current one with the copy once its finished creating it. The idea is to remove the wasted space in the file which is a by product of updating the OWP's with each patch. Though you need enough hard drive space for the copy to be created(There will only be one OWP at the end of the rebuild, but during it there will be two).

_________________
Image
Free Map Editor - Game Requirements - Stucuk.Net
-Stu


Top
 Profile  
 
 Post subject: Re: XichtEd - How do you add portraits to the original campa
PostPosted: Fri Jan 04, 2013 8:24 pm 
Offline
Soldier level 0
Soldier level 0

Joined: Fri Aug 07, 2009 7:13 pm
Posts: 19
Also, i've noticed that if you right click on portraits in xichted (in gallery if i recall) you can set the voice of the character through numbers, they all have a base of 0 at start (?)

Question is, what number corresponds to what voice?
I would try it myself to find out but compiling the data1 file all the time is too tiresome, maybe somebody knows?


Top
 Profile  
 
 Post subject: Re: XichtEd - How do you add portraits to the original campa
PostPosted: Sat Jan 05, 2013 1:18 am 
Offline
Moderator
Moderator
User avatar

Joined: Mon Mar 17, 2008 6:03 pm
Posts: 1130
Location: Denmark
Ofc yes, making a mod with the custom gallery is much easier and doesn't frack up patching.

Voices here: Data1\Data\GameInit\Voices.txt

_________________
I have an if that has an else, but that if has another if with an else inside... My question is... If an if has an else, if there is more than one line in that if, should it have a begin and an end?


Top
 Profile  
 
 Post subject: Re: XichtEd - How do you add portraits to the original campa
PostPosted: Sun Jan 06, 2013 12:57 pm 
Offline
Soldier level 0
Soldier level 0

Joined: Fri Aug 07, 2009 7:13 pm
Posts: 19
This is confusing as heck!
I moddified us1, or us portraits, did them right and when i started the campaign still didn't show them right...


Top
 Profile  
 
 Post subject: Re: XichtEd - How do you add portraits to the original campa
PostPosted: Sun Jan 06, 2013 2:32 pm 
Offline
Soldier level 0
Soldier level 0

Joined: Fri Aug 07, 2009 7:13 pm
Posts: 19
Ok, update - i think i know what it is - checked the new compiled files to see at least if the portraits are there. Turns out the portraits are unchanged, and i think i know why. When i modify portraits and save them in Xichted i don't rename them different from the original file name, and i think think that the program overwrittes the original, thus not saving the file...

So what i must do is first rename the original file, modify the orignial then save it with the name of the original. My luck!

Will report back with status report.


Top
 Profile  
 
 Post subject: Re: XichtEd - How do you add portraits to the original campa
PostPosted: Tue Jan 08, 2013 10:45 pm 
Offline
Soldier level 0
Soldier level 0

Joined: Fri Aug 07, 2009 7:13 pm
Posts: 19
For some reason the US files did not save properly.
Made sure it did this time and they worked.
Wonder what's the us1, us2 for ?


Top
 Profile  
 
 Post subject: Re: XichtEd - How do you add portraits to the original campa
PostPosted: Tue Jan 08, 2013 11:36 pm 
Offline
Moderator
Moderator
User avatar

Joined: Mon Mar 17, 2008 6:03 pm
Posts: 1130
Location: Denmark
It's primarily us.xgl and ru.xgl which are used. Exactly which protrait from which gallery is used for a specific person can be seen in Start.txt (Data1/campaigns/[Am or Ru]/Start.txt).

_________________
I have an if that has an else, but that if has another if with an else inside... My question is... If an if has an else, if there is more than one line in that if, should it have a begin and an end?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Original War is an RTS / RPG game by Altar Games
Original War Support is not part of Altar Games but is maintaining Original War for Altar Games

Privacy Policy