 |
Server Help Community forums for Subgame, ASSS, and bots
|
Author |
Message |
Guest
Offline
|
Posted: Mon Jan 02, 2006 11:28 pm Post subject: floating lvz using clit |
 |
|
|
|
ok what i'm asking has been done before but i'm not sure how to do it. i'm using CLIT and i'm trying to figure out the method to get an lvz to float (ie, if u move ur ship it stays along the top of your screen) to make something similar to that found in hockey zone. i've looked through the setts and i'm not sure which one directly applies to that. also along those lines, how do you get a image to change to another....ie goal scored and the image changes from a 1 to a 2. if you could help me out it'd be greatly appreciated |
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:26 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
Posted: Tue Jan 03, 2006 12:05 am Post subject: |
 |
|
|
|
well CLIT deals with
mapobjects, and what you're looking for are screenobjects. Unfortunately I know of no nice GUI interface for these, so
you'll have to edit the ini file and make the lvz
manually,
using a program
such as X-LvzToolkit.
As for changing the score, you'll need to have lvz images for every number placed on the layer ServerControlled with unique ids. Then, when a goal is scored you turn the zero image off and turn the one image on... unless the score was already one then you turn the one image off and turn the two image on, unless the score was already two, then you turn the two image off and the three image on, unless the score was already three, then you turn the three image off and the four image on, unless the score was already four, then you turn the four image off and the five image on, unless the score was already five, then you turn the five image off and the six image on, unless the score was already six, then you turn the six image off and the seven image on, unless the score was already seven, then you turn the seven image off and the eight image on, unless the score was already eight, in which case you want to turn the eight image off and put the nine image on, unless the score is already nine in which case you have a whole other set of images, 0-9 to the left of your orignal nine with different ids also on the ServerControlled layer. Then you turn off the nine image, turn on the zero image in the ones column and turn on the one image in the tens column. But if your score was already ten then you need to only change the ones column. You do this by turning the image of the zero off and turning the image of the one on, to make it look like an eleven. If the score was already eleven then you would turn the one image off in the ones column and turn the two image in the ones column, that is unless the score is already twelve in which case you're screwed. Just kidding you can turn the two image off and turn the three image on, both in the ones column. If the score is already thirteen you need to turn the three off in the ones column and turn the four in the ones column on. All this time the one is still on in the tens column. Now if your score is already fourteen you must turn off the four in the ones column and turn on the five image in the ones column. If the score is already fifteen you must turn off the five in the ones column and turn on the six. If your score is already sixteen you face a different challenge: turning off the six in the ones column and turning on the seven. This solution only works if the score is sixteen. If the score is seventeen you must turn off the seven in the ones column and turn on the eight. if you're dealing with eighteen you're not fucked either: simply turning off the eight and turning on the nine will accomplish the illusion of nineteen. "But what if the score is already nineteen?", you ask. If the score is nineteen you must turn off the nine in the ones column, turn on the zero in the ones column and then also turn off the one in the tens column and turn on the two in the tens column. As you can imagine this makes the score look like twenty. If the score is already twenty leave the tens column alone. You only need to change the ones column in this case from the zero image to the one image. If the score is already twenty one when the goal is scored (I almost wrote score is goaled, ha), then you must turn off the one image in the ones column from eariler, and turn on the two image in the ones column. There are many way to do this, from an ASSS module to a bot, such as the one I made at http://forums.minegoboom.com/viewtopic.php?t=3134&highlight=scoreboard to a mod sitting and using *objon and *objoff manually, or alternatively *objset. But I digress, if your score is already twenty two, none of the above solutions will work. You must turn the image of the two off and turn the image of the three on. If your score is twenty three already you have to turn the three image off and turn the four image on so it looks like twenty four. Unless your score is already twenty four, in which case all you really need to do is turn the four image in the ones column off and turn the five image on. In the case that your score is twenty five already, you need to turn the five image in the ones place off and the six image in the ones place on. If your score is 26, you must turn the seven image on while remembering to turn the six image off in the ones column. If your score is twenty seven at the time of the goal you must turn the seven image off and turn the eight image on, all in the ones column. If the score at the start is twenty eight you need to turn the eight image off and the nine image should be turned on. Here's the special case: 29. If your score is twenty nine, you need to turn off BOTH the two in the tens place and the nine in the ones place. After you do this you need to turn on the three in the tens place and the zero in the ones place (this can be the same zero from the 20 or 10 case). Thirty is a much easier case to handle as all you need to do is turn off the ones zero image and enable the image of the one. For thirty two it's very similiar, with the exception of turning off the two image in the ones place and turning on the three. Thirty three, here you need to remeber to turn off the three in the ones place and turn on the four in the ones place. Do not be tempted to turn off the three in the tens place, as this would give the illusion of 43 not 34! If your score to start is thirty four, you can turn off the image of the four and turn on the image of the five in the ones column. This works unless your score is thirty five, and then you have to turn off the five image and turn on the six image. The maximum score on any scoreboard is thirty six, so this covers all the cases.
Last edited by Bak on Tue Jan 03, 2006 12:23 am, edited 2 times in total |
|
Back to top |
|
 |
Mine GO BOOM Hunch Hunch What What

Age:41 Gender: Joined: Aug 01 2002 Posts: 3615 Location: Las Vegas Offline
|
Posted: Tue Jan 03, 2006 12:17 am Post subject: |
 |
|
|
|
Someone is going to say it, so it might as well be me. Press enter somewhere in this paragraph, even if it is at random locations. |
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:26 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
Posted: Tue Jan 03, 2006 12:23 am Post subject: |
 |
|
|
|
done |
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Tue Jan 03, 2006 12:30 pm Post subject: |
 |
|
|
|
Good lord. I feel assulted. _________________ Hyperspace Owner
Smong> so long as 99% deaths feel lame it will always be hyperspace to me |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Tue Jan 03, 2006 4:46 pm Post subject: |
 |
|
|
|
That was ridiculous, Bak. How long did it take to type all that?! _________________ This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him. |
|
Back to top |
|
 |
baseball43v3r Seasoned Helper
Joined: Jan 02 2006 Posts: 102 Offline
|
Posted: Tue Jan 03, 2006 11:04 pm Post subject: |
 |
|
|
|
apparantly less then 30 minutes |
|
Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
Software by php BB © php BB Group Server Load: 71 page(s) served in previous 5 minutes.
|