Server Help

LVZ/LVL Questions - Placing Screen Objects

Deadly - Fri Sep 10, 2004 7:10 pm
Post subject: Placing Screen Objects
I am trying to place screen objects.. But im not sure how to do it fully..

Heres an example of what it should look like later on.. (Screenshot i took, put the image on in Paintshop Pro :P)



So heres the board..



and a 0..



So, i want the board to show all the time, then i will need the numbers to be server controlled, and all i can think of is making 4 different objects for one number.. for like example:

W | L
13 10

I would need to put a 1 in each different slot to line up when its turned on with *objon, dotn worry about how im doing it, its a bot, im making it, i just need help placing all these numbers cuz i SUCK with lvz..

This post is prolly hella confusing and noobish but leave me alone :)

Plz Help

Deadly
Bak - Fri Sep 10, 2004 7:16 pm
Post subject:
you need 40 objects... 10 for each number (0-9) and 4 different positions
Deadly - Fri Sep 10, 2004 7:30 pm
Post subject:
yep.. then i need to find out how to place them in certain places.. help?

i know with map objects its like X Y multiply by 16 like 512 x 16 and 512 x 16 to get center

but i dont understand this screen objects at all
Mr Ekted - Fri Sep 10, 2004 8:18 pm
Post subject:
Screen objects are relative to the top left of the screen. If you look in refpoints.gif, you can see that there are also many other points around which to make objects relative. You can mix and match reference points for X and Y. If you want an object (upper left of object) 100 pixels from the right edge of the screen, and 100 pixels from the top, you would use B-100,100.
CypherJF - Fri Sep 10, 2004 10:27 pm
Post subject:
It was 'refpoints.gif' i was trying to think to tell him to lookup :/... sigh tongue.gif
SuSE - Sat Sep 11, 2004 12:27 am
Post subject:
Bak wrote:
you need 40 objects... 10 for each number (0-9) and 4 different positions

41 sa_tongue.gif
Mr Ekted wrote:
Screen objects are relative to the top left of the screen. If you look in refpoints.gif, you can see that there are also many other points around which to make objects relative. You can mix and match reference points for X and Y. If you want an object (upper left of object) 100 pixels from the right edge of the screen, and 100 pixels from the top, you would use B-100,100.

What he's saying is that you measure in pixels. icon_smile.gif

Just like maps if you only approach it from top left corner. With other reference points you merely start somewhere else.
Mr Ekted - Sat Sep 11, 2004 12:36 am
Post subject:
Yes you can count pixels on a screen because that is what the surface is composed of, but they are not a specific number of inches. Who is this Akai retard?
Cyan~Fire - Sat Sep 11, 2004 9:52 am
Post subject:
No, it's "Whos".
Deadly - Sat Sep 11, 2004 11:44 am
Post subject:
lol.. ill take a look at it, i was told to post on here by Death+ and he said akai would leave a huuuge post for me.. lol
SuSE - Sat Sep 11, 2004 12:13 pm
Post subject:
Mr Ekted wrote:
Yes you can count pixels on a screen because that is what the surface is composed of

that's measuring, champ sa_tongue.gif
Cyan~Fire wrote:
No, it's "Whos".

:/
Deadly wrote:
lol.. ill take a look at it, i was told to post on here by Death+ and he said akai would leave a huuuge post for me.. lol

maybe later, busy lately and right now
Mr Ekted - Sat Sep 11, 2004 12:47 pm
Post subject:
It's measuring an amount (called counting) not a distance, chump.
Deadly - Sat Sep 11, 2004 9:57 pm
Post subject:
Ok this code didnt show anything in game:

Code: Show/Hide
OutFile=sb.lvz

File=board.bmp
File=0.png
File=1.png
File=2.png

[objectimages]
IMAGE14=board.bmp,65,45,100
IMAGE1=0.png
IMAGE2=1.png
IMAGE3=2.png

[mapobjects]
B-84,68,IMAGE14,AfterShips,ShowAlways,0,0
E-0,10,IMAGE1,AfterChat,ServerControlled
E-0,10,IMAGE2,AfterChat,ServerControlled
E-0,10,IMAGE3,AfterChat,ServerControlled


yaya, i know, one in B others are E... i took the code from Gundam Wing's lvz to see if it would make a diff, even made the png image a bmp and nothing happened
Mr Ekted - Sun Sep 12, 2004 2:28 am
Post subject:
I see no object id's there. How are you supposed to turn them on?
SuSE - Sun Sep 12, 2004 8:36 am
Post subject:
Mr Ekted wrote:
It's measuring
icon_razz.gif
Deadly wrote:
Ok this code didnt show anything in game

You should change the image14's to image0's

and what's with those animation numbers for board.bmp - you're seriously using that many frames?
Solo Ace - Sun Sep 12, 2004 9:15 am
Post subject:
I know this is off-topic, but you did it before in this thread so whatever.

Why are you people even caring about what SuSE says about his measuring, he's just messing with you, obviously. icon_smile.gif

I don't like his new user title, though. icon_confused.gif
SuSE - Sun Sep 12, 2004 10:24 am
Post subject:
I just like it when people go apeshit over something and then end up contradicting themselves.
Cyan~Fire - Sun Sep 12, 2004 11:15 am
Post subject:
Argh. Nobody's contradicting anything they previously said. Read the thread over again.

But isn't using IMAGE14 alright? I don't see why you HAVE to go in order...
SuSE - Sun Sep 12, 2004 11:26 am
Post subject:
Cyan~Fire wrote:
Argh. Nobody's contradicting anything they previously said. Read the thread over again.

maybe you should sa_tongue.gif
Cyan~Fire wrote:
But isn't using IMAGE14 alright? I don't see why you HAVE to go in order...

What's wrong with order? sa_tongue.gif
Deadly - Sun Sep 12, 2004 3:04 pm
Post subject:
Can someone just please give me some kind of code instead of asking me all these questions that i dont know answers to? lol
Mr Ekted - Sun Sep 12, 2004 3:58 pm
Post subject:
Did you see my comments? Check your INI syntax. You are missing object id's.
Bak - Sun Sep 12, 2004 5:01 pm
Post subject:
[mapobjects]

should be

[screenobjects]
SuSE - Mon Sep 13, 2004 4:09 am
Post subject:
ahahah
Deadly - Mon Sep 13, 2004 4:49 pm
Post subject:
rofl..
Mr Ekted - Mon Sep 13, 2004 5:03 pm
Post subject:
Sigh. Why doesn't the LVZ builder error on that? You can't have map objects relative to anything.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group