Posted by: R.I.P - Monday, August 31, 2015 3:32:08 AM
does anyone know [b]how to change the guard logos[/b] that appears when a player try to select a place to guard In c&c Generals/Zero hour[grin]
[h]Thanks[/h] [blush] [+1] [sunglasses]
Posted by: king - Tuesday, September 1, 2015 11:39:22 AM
Check under commandbutton see what image name configures under guard button. Find that name under mappedimages, put in a new picture but when you do enter the coordinates of the pic size. I use 128*128 size for those medium to small pics ingame. Ex.:
MappedImages
MappedImage XXX
Texture = XXX.tga
TextureWidth = 50
TextureHeight = 50
Coords = Left:0 Top:0 Right:50 Bottom:50
Status = NONE
End
1. If your pic is 128*128 then:
MappedImage XXX
Texture = XXX.tga
TextureWidth = 128
TextureHeight = 128
Coords = Left:0 Top:0 Right:128 Bottom:128
Status = NONE
End
2. XXX=name under commandbutton
3. XXX.tga=texture name under Art/Textures.
4. profit.
Posted by: R.I.P - Wednesday, September 2, 2015 10:28:20 AM
Imean the texture that appear when you try to select an ground or air to guard not the button image
Posted by: acidbrain - Wednesday, September 2, 2015 3:34:18 PM
If i am not mistaking this has something to do with it
[i]InGameUI.ini[/i]
[code=plain]
GuardAreaRadiusCursor
Texture = SCCGuard_Generic
Style = SHADOW_ALPHA_DECAL
OpacityMin = 50%
OpacityMax = 100%
OpacityThrobTime = 1000
Color = R:240 G:240 B:240 A:255
OnlyVisibleToOwningPlayer = Yes
End
[/code]
Posted by: R.I.P - Wednesday, September 2, 2015 8:50:06 PM
I will try it !!!
Posted by: R.I.P - Friday, September 4, 2015 8:07:00 PM
[quote=acidbrain;138405]If i am not mistaking this has something to do with it
[i]InGameUI.ini[/i]
[code=plain]
GuardAreaRadiusCursor
Texture = SCCGuard_Generic
Style = SHADOW_ALPHA_DECAL
OpacityMin = 50%
OpacityMax = 100%
OpacityThrobTime = 1000
Color = R:240 G:240 B:240 A:255
OnlyVisibleToOwningPlayer = Yes
End
[/code][/quote]
didnt worked ughhhh
Posted by: CommieDog - Saturday, September 5, 2015 2:28:29 AM
[quote=R.I.P;138419][quote=acidbrain;138405]If i am not mistaking this has something to do with it
[i]InGameUI.ini[/i]
[code=plain]
GuardAreaRadiusCursor
Texture = SCCGuard_Generic
Style = SHADOW_ALPHA_DECAL
OpacityMin = 50%
OpacityMax = 100%
OpacityThrobTime = 1000
Color = R:240 G:240 B:240 A:255
OnlyVisibleToOwningPlayer = Yes
End
[/code][/quote]
didnt worked ughhhh
[/quote]
That's because you didn't change anything. [skull]
What you need to do is create a new texture (either as a TGA or DDS file), name it SCCGuard_Generic, and then place it in [Generals]\Art\Textures\. (You may have to create that directory if it doesn't exist.)
Posted by: R.I.P - Saturday, September 5, 2015 10:08:24 PM
I Changed Things Actually I just Quoted AcidBrain Reply Anyway Im Going To Try It And Please If It Worked How Do I Make N unique Image For Every Faction
Thanks
Posted by: acidbrain - Sunday, September 6, 2015 2:48:21 AM
I dont think you can assign more than one texture to an enum.
If you check the 'Command Guard' button you will find 'RadiusCursorType = GUARD_AREA', if im not mistaking 'GUARD_AREA' is an enum and hardcoded.
I think the InGameUI 'GuardAreaRadiusCursor' is tied to the enum.
But maybe you can make 2 new guard buttons, 2 RadiusCursorTypes ar not used, NAPALMSTRIKE and FRENZY.
If you make new textures for those two enums you are able to give each faction a guardarea texture and when i say Faction i mean USA, China and GLA, not each general, you can use the original guard area texture for USA and make two new buttons with your newly created guard textures.
Here is some example code...
[code=plain]
;CommandButton.ini
CommandButton Command_Guard
Command = GUARD
Options = OK_FOR_MULTI_SELECT NEED_TARGET_POS
TextLabel = CONTROLBAR:Guard
ButtonImage = SSGuard
ButtonBorderType = SYSTEM
DescriptLabel = CONTROLBAR:ToolTipGuard
RadiusCursorType = GUARD_AREA
InvalidCursorName = GenericInvalid
End
CommandButton Command_Guard_China
Command = GUARD
Options = OK_FOR_MULTI_SELECT NEED_TARGET_POS
TextLabel = CONTROLBAR:Guard
ButtonImage = SSGuard
ButtonBorderType = SYSTEM
DescriptLabel = CONTROLBAR:ToolTipGuard
RadiusCursorType = NAPALMSTRIKE
InvalidCursorName = GenericInvalid
End
CommandButton Command_Guard_GLA
Command = GUARD
Options = OK_FOR_MULTI_SELECT NEED_TARGET_POS
TextLabel = CONTROLBAR:Guard
ButtonImage = SSGuard
ButtonBorderType = SYSTEM
DescriptLabel = CONTROLBAR:ToolTipGuard
RadiusCursorType = FRENZY
InvalidCursorName = GenericInvalid
End
----------------------------------------------------------
;InGameUI.ini
NapalmStrikeRadiusCursor
Texture = YourNewChinaGuardTexture ;SCCNapalmStrike_China
Style = SHADOW_ALPHA_DECAL
OpacityMin = 50%
OpacityMax = 100%
OpacityThrobTime = 1000
Color = R:255 G:156 B:0 A:255
OnlyVisibleToOwningPlayer = Yes
End
FrenzyRadiusCursor
Texture = YourNewGLAGuardTexture ;SCCFrenzy
Style = SHADOW_ALPHA_DECAL
OpacityMin = 50%
OpacityMax = 100%
OpacityThrobTime = 1000
Color = R:255 G:0 B:0 A:255
OnlyVisibleToOwningPlayer = Yes
End
[/code]
You cant use the napalmstrike and frenzy anymore if you use this method or maybe you can if you like a guard texture for a napalmstrike..:P.
Dont know if it works, didnt test it
Greetz
Posted by: R.I.P - Sunday, September 6, 2015 9:05:44 PM