ItsMods
[Request] Need Help - Printable Version

+- ItsMods (https://www.itsmods.com)
+-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html)
+--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html)
+--- Thread: [Request] Need Help (/Thread-Request-Need-Help--2303.html)



Need Help - mac1981 - 06-02-2011

Hi guys i read throu the forum, i need to write a welcome screen in the middle of the hud for about 5 seconds which appears on first spawn could you please help me with that? I know how to insert a text but its permanently...

THX
M@C


RE: Need Help - iAegle - 06-02-2011

(06-02-2011, 09:50)mac1981 Wrote: Hi guys i read throu the forum, i need to write a welcome screen in the middle of the hud for about 5 seconds which appears on first spawn could you please help me with that? I know how to insert a text but its permanently...

THX
M@C

I made this for mw2.. it should work fine
Change the CAPS thing to your text/sound/icon
Ohh and dont forget: If you use for example _rank.gsc then just put
Code:
player thread showMOTD();
after
Code:
level waittill("connected", player);
and delete the init() and onPlayerConnect() part

Code:
init() { level thread onPlayerConnect(); } onPlayerConnect() { while(1) { level waittill("connected", player); player thread showMOTD(); } } showMOTD() { self endon("motd_done"); self waittill("spawned_player"); wait 1; notifyData = spawnstruct(); notifyData.glowColor = (0.8, 0.3, 0.3); notifyData.iconName = ICON HERE ; notifyData.sound = SOUND ALIAS HERE ; notifyData.titleText = HEADER HERE ; notifyData.duration = 10; notifyData.notifyText = LINE ONE HERE ; notifyData.notifyText2 = LINE 2 HERE; wait 1; self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData ); self notify("motd_done"); }



RE: Need Help - mac1981 - 06-03-2011

thx this helps..


RE: Need Help - Arteq - 06-04-2011

its too big code. try this


self thread maps\mp\gametypes\_hud_message::hintMessage("PUT YOUR TEXT HERE");

put it "onPlayerSpawned" just after

self waittill("spawned_player");




RE: Need Help - AZUMIKKEL - 06-04-2011

(06-04-2011, 20:57)G-Man Wrote: its too big code. try this


self thread maps\mp\gametypes\_hud_message::hintMessage("PUT YOUR TEXT HERE");

put it "onPlayerSpawned" just after

self waittill("spawned_player");

Does hintMessage work in Black Ops?


RE: Need Help - rotceh_dnih - 06-05-2011

(06-04-2011, 21:06)AZUMIKKEL Wrote:
(06-04-2011, 20:57)G-Man Wrote: its too big code. try this


self thread maps\mp\gametypes\_hud_message::hintMessage("PUT YOUR TEXT HERE");

put it "onPlayerSpawned" just after

self waittill("spawned_player");

Does hintMessage work in Black Ops?

yea man xD


RE: Need Help - Arteq - 06-10-2011

lol so easy Big Grin fealin' like fuckin pro Nyan Cat