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!

#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]

#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

#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?



Possibly Related Threads…
Thread Author Replies Views Last Post
  Black Ops 2 Custom background? jotape99 10 18,426 10-29-2013, 07:22
Last Post: xInfinity.
Question Help Team DAMAGE offhand E-losev 0 3,412 09-17-2013, 12:03
Last Post: E-losev
  Help choose 2 random players?(1 each team) 26hz 6 6,425 09-12-2013, 17:32
Last Post: Yamato
  Help [C#] WebClient how to know real url [solved] narkos 21 18,268 09-09-2013, 15:21
Last Post: surtek
  Custom xanims DidUknowiPwn 8 9,942 08-28-2013, 08:17
Last Post: RaZ
Information Help How to edit new derived entry? (Solved) SSonic70 1 3,657 08-20-2013, 15:29
Last Post: Nekochan
  Help Make ac130 shoot custom bullets Ra3shed 0 3,698 07-23-2013, 13:02
Last Post: Ra3shed
  [Tutorial] Custom gametype HUD iAegle 17 20,845 07-14-2013, 01:16
Last Post: Nekochan
Video Custom Facepaints? Cuddlyedits 5 7,020 07-01-2013, 14:58
Last Post: iPaddie
  Help dedicated servers and custom dvars mattyman 0 3,416 06-22-2013, 07:33
Last Post: mattyman

Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2026 Melroy van den Berg.