Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
center

 
Post new topic   Reply to topic Printable version
    :: Post arena properties  View next topic  
Author Message
minor59er
Newbie


Age:35
Gender:Gender:Male
Joined: Dec 14 2002
Posts: 11
Offline

PostPosted: Sat Dec 14, 2002 9:37 pm    Post subject: center Reply to topic Reply with quote

what is the number for the center on the screen for lvz and how do u find out the coords for the mapobject?
Back to top
View users profile Send private message Add User to Ignore List
Dr Brain
Flip-flopping like a wind surfer


Age:38
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Sat Dec 14, 2002 10:54 pm    Post subject: Reply to topic Reply with quote

512(tiles)*16(pixels) = 8192(pixels)
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:40
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3614
Location: Las Vegas
Offline

PostPosted: Sat Dec 14, 2002 11:15 pm    Post subject: Reply to topic Reply with quote

For the center of the screen, you need to get the image's height and width, divide both by two, and do C-#. Say you have a 50x30 image. You would put C-25,C-15

For center of map, see above post.
Back to top
View users profile Send private message Add User to Ignore List Send email
Dr Brain
Flip-flopping like a wind surfer


Age:38
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Sat Dec 14, 2002 11:30 pm    Post subject: Reply to topic Reply with quote

oh, whoops! sorry if i confuzed anyone!
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
SuSE
Me measures good


Joined: Dec 02 2002
Posts: 2307
Offline

PostPosted: Sat Dec 14, 2002 11:31 pm    Post subject: Reply to topic Reply with quote

Note that to center an image on the map, you'll have to do the li'l dividing by half thing Mine mentioned, but from 8192, as the coords 8192, 8192 will place only the very top left corner pixel of your image at the center, so a sizeable image will actually appear off-center if you don't subtract some.

Also, for screen images, if you're using what many call a "banner" a good idea is to make the Y value C-250, this will place the banner well above a ship so players do not yell about it, but low enough to be viewed by silly punks with 800 x 600 resolution.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
SuSE
Me measures good


Joined: Dec 02 2002
Posts: 2307
Offline

PostPosted: Sat Dec 14, 2002 11:34 pm    Post subject: Reply to topic Reply with quote

Oh...hrmmm
For map objects, a simple way is to you open up your map in SSME, find the coords (displayed in the bottom bar) and multiply them both by 16 (lvz uses every pixel as a coord instead of every tile [16 x 16 pixel squares]).
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
minor59er
Newbie


Age:35
Gender:Gender:Male
Joined: Dec 14 2002
Posts: 11
Offline

PostPosted: Sun Dec 15, 2002 12:35 am    Post subject: Reply to topic Reply with quote

Thanx for your help everyone
Back to top
View users profile Send private message Add User to Ignore List
SuSE
Me measures good


Joined: Dec 02 2002
Posts: 2307
Offline

PostPosted: Sun Dec 15, 2002 12:58 am    Post subject: Reply to topic Reply with quote

That'll be $3.00 sa_tongue.gif
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> LVZ/LVL Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 667 page(s) served in previous 5 minutes.

phpBB Created this page in 0.426024 seconds : 33 queries executed (94.0%): GZIP compression disabled