Author |
Message |
Deadly Seasoned Helper
Age:34 Gender: Joined: Oct 15 2003 Posts: 148 Location: Ontario Canada Offline
|
Posted: 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 _________________ Known as DeadlySoldier!! in-game..
http://deadly.sscentral.com -- My Bots |
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:26 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
Posted: Fri Sep 10, 2004 7:16 pm Post subject: |
 |
|
|
|
you need 40 objects... 10 for each number (0-9) and 4 different positions |
|
Back to top |
|
 |
Deadly Seasoned Helper
Age:34 Gender: Joined: Oct 15 2003 Posts: 148 Location: Ontario Canada Offline
|
Posted: 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 |
|
Back to top |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: 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. _________________ 4,691 irradiated haggis! |
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Fri Sep 10, 2004 10:27 pm Post subject: |
 |
|
|
|
It was 'refpoints.gif' i was trying to think to tell him to lookup :/... sigh  _________________ Performance is often the art of cheating carefully. - James Gosling |
|
Back to top |
|
 |
SuSE Me measures good

Joined: Dec 02 2002 Posts: 2307 Offline
|
Posted: 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
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.
Just like maps if you only approach it from top left corner. With other reference points you merely start somewhere else. |
|
Back to top |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: 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? |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Sat Sep 11, 2004 9:52 am Post subject: |
 |
|
|
|
No, it's "Whos". _________________ 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 |
|
 |
Deadly Seasoned Helper
Age:34 Gender: Joined: Oct 15 2003 Posts: 148 Location: Ontario Canada Offline
|
Posted: 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 |
|
Back to top |
|
 |
SuSE Me measures good

Joined: Dec 02 2002 Posts: 2307 Offline
|
Posted: 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
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 |
|
Back to top |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: Sat Sep 11, 2004 12:47 pm Post subject: |
 |
|
|
|
It's measuring an amount (called counting) not a distance, chump. |
|
Back to top |
|
 |
Deadly Seasoned Helper
Age:34 Gender: Joined: Oct 15 2003 Posts: 148 Location: Ontario Canada Offline
|
Posted: Sat Sep 11, 2004 9:57 pm Post subject: |
 |
|
|
|
Ok this code didnt show anything in game:
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 |
|
Back to top |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: Sun Sep 12, 2004 2:28 am Post subject: |
 |
|
|
|
I see no object id's there. How are you supposed to turn them on? |
|
Back to top |
|
 |
SuSE Me measures good

Joined: Dec 02 2002 Posts: 2307 Offline
|
Posted: Sun Sep 12, 2004 8:36 am Post subject: |
 |
|
|
|
Mr Ekted wrote: | It's measuring |
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? |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:37 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: 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.
I don't like his new user title, though.  |
|
Back to top |
|
 |
SuSE Me measures good

Joined: Dec 02 2002 Posts: 2307 Offline
|
Posted: 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. |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: 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... |
|
Back to top |
|
 |
SuSE Me measures good

Joined: Dec 02 2002 Posts: 2307 Offline
|
Posted: 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
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?  |
|
Back to top |
|
 |
Deadly Seasoned Helper
Age:34 Gender: Joined: Oct 15 2003 Posts: 148 Location: Ontario Canada Offline
|
Posted: 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 |
|
Back to top |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: Sun Sep 12, 2004 3:58 pm Post subject: |
 |
|
|
|
Did you see my comments? Check your INI syntax. You are missing object id's. |
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:26 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
Posted: Sun Sep 12, 2004 5:01 pm Post subject: |
 |
|
|
|
[mapobjects]
should be
[screenobjects] |
|
Back to top |
|
 |
SuSE Me measures good

Joined: Dec 02 2002 Posts: 2307 Offline
|
Posted: Mon Sep 13, 2004 4:09 am Post subject: |
 |
|
|
|
ahahah |
|
Back to top |
|
 |
Deadly Seasoned Helper
Age:34 Gender: Joined: Oct 15 2003 Posts: 148 Location: Ontario Canada Offline
|
Posted: Mon Sep 13, 2004 4:49 pm Post subject: |
 |
|
|
|
rofl.. |
|
Back to top |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: 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. |
|
Back to top |
|
 |
|