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 Wed Apr 24, 2024 11:55 am
All times are UTC + 0
Shields
Moderators: Global Moderators
Post new topic   Reply to topic Page 1 of 1 [10 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Darkwander
Medic


Joined: 18 Jan 2005
Location: Australia

PostPosted: Thu Mar 27, 2008 3:37 am    Post subject:  Shields
Subject description: Adjusting them
Reply with quote  Mark this post and the followings unread

Greetings,

This is a two part question, )

1). I know that if you turn the option off
Quote:
"UseHouseColor="false"
Then it makes the shields a clear white colour, and i know that if you use house colours it changes the colour. However what i want to know is how to set the colour of the shields to "For example" goldy colour when the house colour is different. There must be something you add to th bottom of

Code:
         <!-- Shield Generator -->
         <ScriptedModelDraw
            id="ModuleTag_DrawForcefield"
            OkToChangeModelColor="true">
            <ModelConditionState
               ParseCondStateType="PARSE_DEFAULT"></ModelConditionState>
            <ModelConditionState
               ParseCondStateType="PARSE_NORMAL"
               ConditionsYes="USER_1">
               <Model
                  Name="FXShldCarrier" />
               <ShadowInfo
                  Type="ADDITIVE_DECAL"
                  SizeX="150"
                  SizeY="100"
                  OverrideLODVisibility="true"
                  MaxHeight="300"
                  UseHouseColor="false"
                  Texture="AUDronShipDecalIdle" />      
            </ModelConditionState>


To Change the colour..

2). Is there a way of adjusting the shields, i have added Shields to my Harvester but the Shield is below the Harvester, it looks funny, and so wrong, is there a way of adjusting it using the command's simular to

Code:
         <QueueProductionExitUpdate
            id="ModuleTag_Exit">
            <UnitCreatePoint
               x="37.5"
               y="-18.9"
               z="0.0" />
            <NaturalRallyPoint
               x="104.0"
               y="-18.9"
               z="0.0" />
         </QueueProductionExitUpdate>


But make it so that it is offset and not QueueProduction?

Back to top
View user's profile Send private message Skype Account
Golan
Flamethrower


Joined: 21 Nov 2007

PostPosted: Thu Mar 27, 2008 9:42 am    Post subject: Reply with quote  Mark this post and the followings unread

For shields with other colors, make a new shield texture with the color you want.
For the second problem, place the model correctly. The code you posted can not be adjusted for what you want it to do. :[

Back to top
View user's profile Send private message
Darkwander
Medic


Joined: 18 Jan 2005
Location: Australia

PostPosted: Thu Mar 27, 2008 11:29 am    Post subject: Reply with quote  Mark this post and the followings unread

Golan wrote:
For shields with other colors, make a new shield texture with the color you want.


I looked at the Texture file, there is nothing in it;
File: AUDronShipDecalIdle.xml

Code:
 <?xml version='1.0' encoding='UTF-8'?>
<AssetDeclaration xmlns="uri:ea.com:eala:asset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
</AssetDeclaration>


That is all that is in the file....


Golan wrote:
For the second problem, place the model correctly. The code you posted can not be adjusted for what you want it to do.


The model i am using is the Alien Harvester, i think it is because the Alien Harvester dosnt have the markers for the Shield to align too. There must be something that lets the shield know where to be placed. Something like the Box that goes around the Harvester.

Back to top
View user's profile Send private message Skype Account
Stygs
Cyborg Cannon


Joined: 27 Nov 2005
Location: Germany

PostPosted: Thu Mar 27, 2008 12:40 pm    Post subject: Reply with quote  Mark this post and the followings unread

The ShadowInfo ist just for the texture on the ground (this ugly colour under harvesters, buzzers und shielded PAcs). No matter how you change it, it will never affect the shield #Tongue
If you want a different shield, you need to edit FXShldCarrier and use a different texture there.

The position problem is simple: the shield models are made for special units hence the shield only fits with them. If you use an other unit, the shield wont fit.

_________________

Back to top
View user's profile Send private message Skype Account
Darkwander
Medic


Joined: 18 Jan 2005
Location: Australia

PostPosted: Thu Mar 27, 2008 1:14 pm    Post subject: Reply with quote  Mark this post and the followings unread

Stygs wrote:
The ShadowInfo ist just for the texture on the ground (this ugly colour under harvesters, buzzers und shielded PAcs). No matter how you change it, it will never affect the shield #Tongue
If you want a different shield, you need to edit FXShldCarrier and use a different texture there.

The position problem is simple: the shield models are made for special units hence the shield only fits with them. If you use an other unit, the shield wont fit.


I have managed to add shields to Orca fighters and all, without any problems with alignment.

Back to top
View user's profile Send private message Skype Account
Darkwander
Medic


Joined: 18 Jan 2005
Location: Australia

PostPosted: Thu Mar 27, 2008 1:21 pm    Post subject: Reply with quote  Mark this post and the followings unread

Stygs wrote:
The ShadowInfo ist just for the texture on the ground (this ugly colour under harvesters, buzzers und shielded PAcs). No matter how you change it, it will never affect the shield #Tongue
If you want a different shield, you need to edit FXShldCarrier and use a different texture there.


Any Tips on how to edit a .w3x file, maybe a place i can find a Tutoral.

Back to top
View user's profile Send private message Skype Account
Darkwander
Medic


Joined: 18 Jan 2005
Location: Australia

PostPosted: Tue Jul 21, 2009 6:52 pm    Post subject: Reply with quote  Mark this post and the followings unread

[quote="Stygs"] If you want a different shield, you need to edit FXShldCarrier and use a different texture there. quote]

Don't suppose you would know where to get that file, or how to get the file by any chance....

Thanks
D

Back to top
View user's profile Send private message Skype Account
Golan
Flamethrower


Joined: 21 Nov 2007

PostPosted: Wed Jul 22, 2009 5:36 pm    Post subject: Reply with quote  Mark this post and the followings unread

You can use JonWil's SDK Extras to extract textures from the game. Its documentation will tell you how. The file you are looking for is located in the static stream.

_________________
Off Duty.

Back to top
View user's profile Send private message
Darkwander
Medic


Joined: 18 Jan 2005
Location: Australia

PostPosted: Thu Jul 23, 2009 4:32 am    Post subject: Reply with quote  Mark this post and the followings unread

Golan wrote:
You can use JonWil's SDK Extras to extract textures from the game. Its documentation will tell you how. The file you are looking for is located in the static stream.


There is no documentation that comes with the mod, not as far as i can see...

Back to top
View user's profile Send private message Skype Account
Madin
Plasma Trooper


Joined: 05 Apr 2009

PostPosted: Sun Jul 26, 2009 6:42 pm    Post subject: Reply with quote  Mark this post and the followings unread


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [10 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.1642s ][ Queries: 11 (0.0075s) ][ Debug on ]