tell em how ta do it !

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

tell em how ta do it !

Post by small_sumo »

I want to have some text come up at the start of every round in my tank battle mp level, telling people how to drive the tanks, or some tips anyway.

Thanks guys.
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

There's a tut on how to do that which is something like Omaha Beach the Starting over at Manstein's page.
Live to map, not map to live.
-mohaa_rox, .map
moderator
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Use a locprint or a huddraw_string below level waittill roundstart.

See g_allclasses.html for syntaxis.
Image
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

Post by small_sumo »

To mohrox I need dat one and while its good its not what I want exactly what I am looking for, thanks for helping. But jv you know what I want and also you know how retarded I am so please could you give me a little more. Thanks my man.

All ya all rock!
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

I think this will do:

level waittill roundstart // <--- this line is (should be ;)) in your script already
locprint 140 80 "Drive the tank you...:twisted: never mind"

The 140 and 80 are the location values for printing. Just mess with them until the text is where you want it.
Image
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

Post by small_sumo »

Thanks mate, how long duz it stay up for? Anyway I will get started with what you showed me and will see how I go.

Thank you.

:)
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

It stays in view for a short while, although it might get interrupted by the 'press fire to join the battle' message.
Image
User avatar
MPowell1944
Moderator
Posts: 287
Joined: Thu Jan 09, 2003 7:06 am
Location: Woodstock, GA
Contact:

Post by MPowell1944 »

Or you can use this to display the text right below the compass, so that it won't be in the main viewing area. Whatever works best for you :

level waittill roundstart
iprintlnbold_noloc (loc_convert_string "Enter Text Here")
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

Sigh...that's so simple, anyone can do it. Even noobs. Sumo is an excellent mapper, do you think he doesn't know that? :P
Live to map, not map to live.
-mohaa_rox, .map
moderator
User avatar
MPowell1944
Moderator
Posts: 287
Joined: Thu Jan 09, 2003 7:06 am
Location: Woodstock, GA
Contact:

Post by MPowell1944 »

lol. Just throwing in my .02 :wink:
Yarik
General
Posts: 1031
Joined: Thu Jan 09, 2003 7:12 pm
Contact:

Post by Yarik »

hey 1944 whats up with the speed test in your signature :?: is that supposed to make us intimitated? :lol:
Yep small sumo you are a great mapper.
Skype: Yarik_usa
www.skype.com <---free pc2pc phone
Image
User avatar
MPowell1944
Moderator
Posts: 287
Joined: Thu Jan 09, 2003 7:06 am
Location: Woodstock, GA
Contact:

Post by MPowell1944 »

Yes, I am trying to spook you all! mwuhahaha. jk :lol:
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

Post by small_sumo »

mohaa_rox wrote:Sigh...that's so simple, anyone can do it. Even noobs. Sumo is an excellent mapper, do you think he doesn't know that? :P
Sigh suno duznt know it :( . Sumo allways struggles with scripting, even simple stuff. At least .map and cool people like you and .map crew are around to help out. :)

Anyway back to spamming the forum with more scripting questions lol.
Post Reply