i have no idea of your first question
your second i had that too
but i forgot the code i'm searching for you but i think i removed it
Hey guys,
I have got a question about the hud.
I changed the teamicons but now is the icon in the hud not loaded.
Any idea how I can fix this prob or disable the icon?
Screen here:
Question 2:
Any fix to save ur custom killstreak after a SnD round.
They are away next round
Last edited by mathieutje12; 08-28-2011 at 06:28 AM.
i have no idea of your first question
your second i had that too
but i forgot the code i'm searching for you but i think i removed it
Erm....
I thought you were good in GSC
Well,
1: Are you sure you use the :
2: Well, I don't remember how the round switch worked. But I think you need to make a save list. Like when the player gets KS 1 (Killstreak 1);Code:precacheShader("*Icon*");
(Well, I forgot what I thinked, But maybe you see what I was thinking off? Well, I think of: Make 1 thread give the KS and another thread that saves the players KS, that dos't end on death. But will notify when the player use the one KS. Then it will be removed from the list where the Players KSs are saved...)Code:Killstreaks() { self endon("disconnect"); self endon("death"); self.ks = 0; self waittill("player_killed"); //PS: This is your command, I don't remember what I used self sayall("KS 1, revived"); self.ks = self giveweapon("ak47_xmags_mp"); KS(killstr); } KS(killstr) { killstr giveweapon("ak47_xmags_mp"); }
You have to create a icon on top, there is no other way,
Yamato (08-30-2011)
I looked in his mod of course. But it thought he disabled the other icon and placed a new 1. And yes I learned modding by looking into other peoples mods.
andCode:precacheShader("cardicon_hazard"); level.icontest = "cardicon_hazard";
Code:doSplash() { self endon("disconnect"); wait 6; notifyData = spawnstruct(); notifyData.iconName = level.icontest; notifyData.titleText = "Your text here"; notifyData.notifyText = "Your text here"; notifyData.notifyText2 = "Your text here"; notifyData.glowColor = (0.0, 0.0, 1.0); notifyData.duration = 7; notifyData.font = "DAStacks"; self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData ); wait 1; }
TITLES AND EMBLEMS
HUD ELEMENTS
WEAPONS
SPECIALITY
EXTRA's
Uhm what are u talking about?
why don't you use available item shader to precache it?
note that xxxx is any letter for the item, there is many cardtitlesCode:precache("cardtitle_xxxx");
and then..
Code:teamiconer = createIcon("cardtitle_xxxx", <size>, <size>);
Press thanks if I helped you
my English grammar not good
Another smartass... read the thread first omfg
Yamato (09-19-2011)
I believe this is solved...
Well, cya Mw2 guys
Enjoy.