Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help how to set custom team icons|SOLVED
#11
well i must be going crazy , both of my icons work Fine if i put them on allies one at a time but no icon will work if set to axis team its like SetDvar( "g_TeamIcon_Axis", inst working but SetDvar( "g_TeamIcon_Allies", is!
Reply

#12
Code:
game["icons"][game["attackers"]] = "hudicon_german_war";
    game["icons"][game["defenders"]] = "hudicon_american_war";
    setdvar( "g_TeamIcon_Axis", game["icons"][game["attackers"]] );
    setdvar( "g_TeamIcon_Allies", game["icons"][game["defenders"]] );
replace hudicons with your icons names, and put it on init, hope it works Tongue
[Image: lQDUjba.jpg]
Reply

#13
(07-12-2011, 10:41)OrangePL Wrote:
Code:
game["icons"][game["attackers"]] = "hudicon_german_war";
    game["icons"][game["defenders"]] = "hudicon_american_war";
    setdvar( "g_TeamIcon_Axis", game["icons"][game["attackers"]] );
    setdvar( "g_TeamIcon_Allies", game["icons"][game["defenders"]] );
replace hudicons with your icons names, and put it on init, hope it works Tongue

this was kinda my issue , turned out when i had done it i put in a space some where i should not have Confused

it was

Code:
game[ "icons" ][ "allies" ] = "icon_victims";
    game[ "icons" ][ "Axis" ] = "icon_myers";
then it worked when i changed it to
Code:
    game["icons"]["axis"] = "icon_myers";
    game["icons"]["allies"] = "icon_victims";
just funny that one worked an one didnt till then lol but its working now so im happy
Reply

#14
(07-12-2011, 13:13)rotceh_dnih Wrote: it was

Code:
game[ "icons" ][ "allies" ] = "icon_victims";
    game[ "icons" ][ "Axis" ] = "icon_myers";
then it worked when i changed it to
Code:
    game["icons"]["axis"] = "icon_myers";
    game["icons"]["allies"] = "icon_victims";
just funny that one worked an one didnt till then lol but its working now so im happy
I also notice that you changed Axis to axis, does that matter anything or is this all not case sensitive?
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Call of Duty loser calls in SWAT team hoax on kid who beat him RaZ 3 3,827 04-24-2014, 19:31
Last Post: Casper
  Black Ops 2 Custom background? jotape99 10 11,716 10-29-2013, 07:22
Last Post: xInfinity.
Question Help Team DAMAGE offhand E-losev 0 2,292 09-17-2013, 12:03
Last Post: E-losev
  Help choose 2 random players?(1 each team) 26hz 6 4,361 09-12-2013, 17:32
Last Post: Yamato
  Help [C#] WebClient how to know real url [solved] narkos 21 11,900 09-09-2013, 15:21
Last Post: surtek
  Custom xanims DidUknowiPwn 8 6,712 08-28-2013, 08:17
Last Post: RaZ
Information Help How to edit new derived entry? (Solved) SSonic70 1 2,495 08-20-2013, 15:29
Last Post: Nekochan
  Help Make ac130 shoot custom bullets Ra3shed 0 2,588 07-23-2013, 13:02
Last Post: Ra3shed
  [Tutorial] Custom gametype HUD iAegle 17 14,341 07-14-2013, 01:16
Last Post: Nekochan
Video Custom Facepaints? Cuddlyedits 5 4,188 07-01-2013, 14:58
Last Post: iPaddie

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.