Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Fri Apr 19, 2024 1:06 am
All times are UTC + 0
Individual Unit coloring
Moderators: Global Moderators
Post new topic   Reply to topic Page 1 of 1 [5 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Tetra Xiphos
Soldier


Joined: 05 Mar 2008

PostPosted: Sat Oct 31, 2009 4:57 pm    Post subject:  Individual Unit coloring Reply with quote  Mark this post and the followings unread

I don't have access to a modelling program such as 3DSMax. Instead, I was wondering if there was a way to color a unit a bit different. Maybe the hue or tint has a control somewhere?

I have created giant units for my mod, you see and I'd like it if they were graphically dissimilar from their normal counterparts in an immediately noticeable way. Doesn't have to be much... Maybe a bit of a highlight like the surface of the ground under the buzzers. Maybe for the body though...

Any ideas are greatly appreciated.

Back to top
View user's profile Send private message
Mighty BOB!
AA Infantry


Joined: 05 Oct 2005
Location: USA

PostPosted: Sun Nov 01, 2009 9:02 pm    Post subject: Reply with quote  Mark this post and the followings unread

You don't need Max. Do you have Photoshop or something that can open .dds images (gimp + dds plugin for example)? Just extract the texture file from the game and make whatever mods you want and recompile it. In the unit's xml file just tell it to use the new texture. Here's an example of swapping out the texture on the Tiberium:

Use the texture element to replace the original textures with the edited ones. This is done in the draw element (the very first child element of the gameobject) and must be done on every conditionstate that has a model specified that you want to change its color.
The texture code is used like this: (note: exchanged < > with [ ] to avoid the forum messing up the code)

[ModelConditionState
ParseCondStateType=" PARSE_NORMAL"
ConditionsYes=" TIBERIUM_CRYSTAL_TYPE1"]
[Model
Name=" TibCell01" /]
[Texture
Original=" TiberiumCrystal01"
New="TiberiumCrysPink" /]

[ParticleSysBone
BoneName="NONE"
FXParticleSystemTemplate="TibCellAura"
FollowBone="true" /]
[/ModelConditionState]

_________________
WOL nick: migtybob
Wesforce wrote:
We are living in a post-common sense society.

Back to top
View user's profile Send private message Visit poster's website
Tetra Xiphos
Soldier


Joined: 05 Mar 2008

PostPosted: Mon Nov 02, 2009 10:44 am    Post subject: Reply with quote  Mark this post and the followings unread

I don't really have the capital to spend on an image editor like that. I suppose I could try to find a compatible freeware counterpart....

I did notice a tag in the veterancy portion about 'level up tint' or something like that. I modified those attributes in all kinds of ways to no avail.

Editing the texture files is the only way, huh?

Back to top
View user's profile Send private message
Mighty BOB!
AA Infantry


Joined: 05 Oct 2005
Location: USA

PostPosted: Tue Nov 03, 2009 7:56 am    Post subject: Reply with quote  Mark this post and the followings unread

Tetra Xiphos wrote:
Editing the texture files is the only way, huh?

Yes.

Tetra Xiphos wrote:
I suppose I could try to find a compatible freeware counterpart....

Mighty BOB! wrote:
(gimp + dds plugin for example)

_________________
WOL nick: migtybob
Wesforce wrote:
We are living in a post-common sense society.

Back to top
View user's profile Send private message Visit poster's website
Orac
President


Joined: 11 Jul 2008
Location: New Zealand

PostPosted: Tue Nov 03, 2009 8:19 am    Post subject: Reply with quote  Mark this post and the followings unread

yar, GIMP is free and works just fine (maybe a little less powerful than PS, but imo "FREE!" makes up for that #Tongue)

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1415s ][ Queries: 11 (0.0065s) ][ Debug on ]