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
upgrading screen object positioning code for new buildlevel

 
Post new topic   Reply to topic Printable version
 View previous topic  Making A Penatrable Wall? Post :: Post Spawning area  View next topic  
Author Message
Kill9mm
Newbie


Age:46
Gender:Gender:Male
Joined: Feb 23 2003
Posts: 19
Location: San Francisco, CA
Offline

PostPosted: Fri Apr 09, 2004 7:27 pm    Post subject: upgrading screen object positioning code for new buildlevel Reply to topic Reply with quote

The last time these screen objects were compiled were on an old buildlevel. They are positioned to the left of the energy menu in the top right corner. Here are a few of those coords:

-373,6,IMAGE154,TopMost,ServerControlled,600,1550
-279,6,IMAGE154,TopMost,ServerControlled,600,1551
-185,6,IMAGE154,TopMost,ServerControlled,600,1552

Apparently in the new lvz format you have to preclude it with a letter that signifies the relative positioning of elements. There's C (which rolled over from previous buildlevel releases), W, etc.

My question is... how do I position screen objects to the left of the energy menu in the top-right corner?
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger
k0zy
Server Help Squatter


Gender:Gender:Male
Joined: Jan 11 2003
Posts: 571
Location: Germany
Offline

PostPosted: Fri Apr 09, 2004 8:14 pm    Post subject: Reply to topic Reply with quote

Now that's a good question...
I'd like to know the answer, too... icon_smile.gif

There is no constant (C,W, aso) to do this.
See attached image from lvztoolkit
_________________
It's a shark! Oh my god! Unbelievable!




refpoints.gif - 31.62 KB
File downloaded or viewed 31 time(s)
Back to top
View users profile Send private message Add User to Ignore List
Mr Ekted
Movie Geek


Gender:Gender:Male
Joined: Feb 09 2004
Posts: 1379
Offline

PostPosted: Fri Apr 09, 2004 9:09 pm    Post subject: Reply to topic Reply with quote

X,-Y...

The "panel" is not a variable size, so you can place stuff using absolute values relative to top and right edges of screen.
_________________
4,691 irradiated haggis!
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: Sat Apr 10, 2004 12:02 am    Post subject: Reply to topic Reply with quote

the format has not changed, there were merely more predefined points added

should recompile with the latest buildlevel.exe, though, of course

(-x,y sa_tongue.gif)
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
Mr Ekted
Movie Geek


Gender:Gender:Male
Joined: Feb 09 2004
Posts: 1379
Offline

PostPosted: Sat Apr 10, 2004 7:20 am    Post subject: Reply to topic Reply with quote

I used to be that a negative number was relative to right/bottom of screen. That is not consistent. To do that now you need to use B...

B-X,Y
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: Sat Apr 10, 2004 7:19 pm    Post subject: Reply to topic Reply with quote

afaik it still works fine
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: 33 page(s) served in previous 5 minutes.

phpBB Created this page in 0.449745 seconds : 32 queries executed (93.7%): GZIP compression disabled