Have questions about CoD2 mapping that aren't covered in the tutorials section? Post here!
Moderator: Core Staff
-
Saint
- CJ Wannabe

- Posts: 5
- Joined: August 2nd, 2009, 2:16 pm
Post
by Saint » August 13th, 2009, 4:21 pm
I would need something like this: user iprintlnbold ("^3C^9ongratulation^3, N^9ice ^3j^9ob^3, m^9an^3! ^3"); to print to the center of the screen when someone ends the map but i want to make it visible to everyone not just the one who ends. How is it possible, pls help me

-
Nightmare
- Core Staff

- Posts: 2688
- Joined: January 12th, 2006, 10:09 pm
-
Contact:
Post
by Nightmare » August 13th, 2009, 4:55 pm
...
Or:
Code: Select all
finished_map()
{
trigger = getent("endtrigger","targetname");
while (1)
{
trigger waittill("trigger",user);
iprintlnbold("^3C^9ongratulation^3, N^9ice ^3j^9ob^3, m^9an^3! ^3");
wait 3;
}
}
-
Nightmare
- Core Staff

- Posts: 2688
- Joined: January 12th, 2006, 10:09 pm
-
Contact:
Post
by Nightmare » August 13th, 2009, 5:15 pm
If you only want it once.
Code: Select all
finished_map()
{
trigger = getent("endtrigger","targetname");
while (1)
{
trigger waittill("trigger",user);
if(!isDefined(user.finished))
iprintlnbold("^3C^9ongratulation^3, N^9ice ^3j^9ob^3, m^9an^3! ^3");
user.finished = true;
wait 1;
}
}
-
Saint
- CJ Wannabe

- Posts: 5
- Joined: August 2nd, 2009, 2:16 pm
Post
by Saint » August 13th, 2009, 5:24 pm
Thanks i'll try
-
Saint
- CJ Wannabe

- Posts: 5
- Joined: August 2nd, 2009, 2:16 pm
Post
by Saint » August 16th, 2009, 8:16 pm
On those maps where is no "end" text, no congratulations or anything, how it is possible to print such?
-
Ykarus
- CJ Fan

- Posts: 133
- Joined: May 14th, 2008, 7:49 pm
- Location: Germany
-
Contact:
Post
by Ykarus » August 16th, 2009, 8:19 pm
If u want to add that to a map u need the .map file. If u got this u can add a trigger or whatever u want and write the script into the .gsc file. But u need the .map file maybe ask the mapper if he gives it to you.
I hope i didnt missunderstand cause im not sure if this is what u wanna hear

-
MasterThomy
- CJ Wannabe

- Posts: 42
- Joined: December 23rd, 2008, 5:14 pm
Post
by MasterThomy » August 17th, 2009, 2:04 am
I've done that, almost a year ago now...

(for CoD2)
Ex CoD2 mapper/modder.
-
waywaaaard
- Core Staff

- Posts: 2214
- Joined: February 6th, 2006, 3:18 pm
- Location: Germany/Bayern
Post
by waywaaaard » August 17th, 2009, 11:26 am
why so complicated you can spawn a trigger at coordinates and voila via mod you have that - As far I remember projumpers mod uses this for their records etc
THAT HANDS WERE NOT TRACED!
visit my blog:
Link
Soviet wrote:Yeah, watch out, Peds will hit you with his +5 D-Battleaxe of homosexuality 
-
MasterThomy
- CJ Wannabe

- Posts: 42
- Joined: December 23rd, 2008, 5:14 pm
Post
by MasterThomy » August 17th, 2009, 6:58 pm
Nah, it works just like Killersam said

- It's more precise IMO...
Ex CoD2 mapper/modder.
Users browsing this forum: No registered users and 1 guest