ItsMods

Full Version: how to set custom team icons|SOLVED
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
hey guys hopeing someone could help me im trying to make cutsom team icons
i follow this tut http://www.itsmods.com/forum/Thread-Maki...aders.html and made one icon call icon_victims and it works fine
i can see it in game and it looks good i then tried to do the other icon called icon_myers and it failed the game just use's the default icon for that team Confused
i've re-done it afew times now however it keeps failing im not sure what i could have done wrong or more to the point what i did right makeing the first one! lol its crazy it works for one team but not the other please let me know if you know whats happening here thanks

,hector

edit just seen like SetDvar( "g_TeamIcon_Axis isnt working for me Confused
Sad noone
No one knows.. Big Grin

level.hardcoreMode = true;

and make your own goddamn hud you lazy
Sad but its half working

i get my picture make it 128x128 pixels save as tga and add it in as you would but only one works
this is in my init
Code:
    PreCacheShader( "icon_victims" );
    
    PreCacheShader( "icon_myers" );
    
    SetDvar( "g_TeamIcon_Axis", "icon_myers" );
    SetDvar( "g_TeamIcon_Allies", "icon_victims" );
    
    game[ "entity_headicon_allies" ] = "icon_victims";
    game[ "entity_headicon_axis" ] = "icon_myers";
    game[ "headicon_allies" ] = "icon_victims";
    game[ "headicon_axis" ] = "icon_myers";
    

    game[ "icons" ][ "allies" ] = "icon_victims";
    game[ "icons" ][ "Axis" ] = "icon_myers";
screen shot
[Image: 2011-07-11_00001.jpg]
Wait your problem is with adding a custom team or just custom icons?
just icons , sorry for the confusion but yea im just trying to get icon_myers to show but its not
omg im going crazy i swaped my "non-working" icon with the working one and its show's up Confused, so i tried setting the first one that worked for the other team and what do you know it isnt working ,,,wtf , so is there something todo with setting two icon's ? or is there something i have to do to the axis team to make it work
(07-11-2011, 10:33)rotceh_dnih Wrote: [ -> ]Sad but its half working

i get my picture make it 128x128 pixels save as tga and add it in as you would but only one works
this is in my init
Code:
    PreCacheShader( "icon_victims" );
    
    PreCacheShader( "icon_myers" );
    
    SetDvar( "g_TeamIcon_Axis", "icon_myers" );
    SetDvar( "g_TeamIcon_Allies", "icon_victims" );
    
    game[ "entity_headicon_allies" ] = "icon_victims";
    game[ "entity_headicon_axis" ] = "icon_myers";
    game[ "headicon_allies" ] = "icon_victims";
    game[ "headicon_axis" ] = "icon_myers";
    

    game[ "icons" ][ "allies" ] = "icon_victims";
    game[ "icons" ][ "Axis" ] = "icon_myers";
screen shot
[Image: 2011-07-11_00001.jpg]


how do you make the text in the top of the screenshot? can i use that in my mod? Big Grin
(07-11-2011, 14:03)birdplane Wrote: [ -> ]how do you make the text in the top of the screenshot? can i use that in my mod? Big Grin

Many mods have that.
yea but not mine Sad, i tryed my working icon on the other team and it didnt work Confused

@birdplane look for scrolling text its here somewhere
Pages: 1 2