View Full Version : displaying a BM image
lgwb0b
11-23-2003, 10:13 PM
what's the line of code for displaying a BM image on screen, aside from setting the corrosponding inventory item to active?
------------------
www.lastgreatwar.com (http://www.lastgreatwar.com)
[SF]pjb
11-24-2003, 04:03 AM
ill tae this one, as i had LOTS of trouble working out what did what.
if your dealing wiht a item (that most people are!) then to make the BMicon appear in the corner of the screen the line of code to turn on and off is.
SetInvActivated(player, bin, boolean);
incase you dont know the boolean is 0 for off, 1 for on
------------------
I am pjb.
Another post......
another moment of my life wasted.....
at least i made a level.
PJB's JK page's (http://www.geocities.com/SF_PJB1)
-the PJB jedi rule book-
rule one, "never trust a bartender with bad grammar"-kyle katarn in JO
Rule Two, "Gravity is a crule misstress" -kyle katarn in MotS, and the alternatior MK I in AJTD
rule three, "asprines good, but it hasent got the kick of morphine. and its not gonna stop the hurting in my arm, the ones thats on the otherside of the room i mean" -the alternatior
lucky_jackpot
11-24-2003, 04:38 AM
What PJB said http://forums.massassi.net/html/smile.gif
Also make sure that you have the BMs placed in the correct folder of your GOB/GOO file ([root]/UI/BM) I think is the directory hierarchy, off the top of my head...).
Oh - just another thought - make sure (if they're custom BM icons that you name them appropriately in accordance to how the naming conventions work with items in the "items.dat" file; I think it's something like "ic<<next 5 digits of BM name here>>". The naming structure is detailed in the actual "items.dat" file, so you don't have to worry if you didn't understand what I just wrote - just follow their example http://forums.massassi.net/html/smile.gif
Hope this helps http://forums.massassi.net/html/biggrin.gif
-Jackpot
------------------
Are you feeling lucky, cuz if you are, get your hands off me... ;p
Initiator of the "Bring Back Jan Ors" Campaign!
"Life is mostly froth and bubble,
But two things stand in stone,
Kindness in another's trouble,
Courage in your own"
("Ye Wearie Wayfarer" - by Adam Lindsay Gordon)
EH_AceCSF
11-24-2003, 07:05 AM
hmm.. i was working on such project (displaing symbol code on screen), but i ever done it. I .. dont know how to display BM ..
------------------
The miners of Kiith Somtaaw sacificed much, and risked all. For their efforts they were brought into the inner most circle of Hiigaren power. Naabal, S'jet, and Sobanii bowed before them. And from that day to this, Somtaaw's children have been known to one and all as Beastslayers..
lgwb0b
11-24-2003, 08:28 AM
problem with using it as an inventory item is i have another icon set for the inventory item, and all the item COG is supposed to do is display the BM when activated. no worries though, i'll figure something out.
------------------
www.lastgreatwar.com (http://www.lastgreatwar.com)
[SF]pjb
11-25-2003, 06:02 AM
um, i ahte to tell you this. but thats what we jsut told you how to do...
------------------
I am pjb.
Another post......
another moment of my life wasted.....
at least i made a level.
PJB's JK page's (http://www.geocities.com/SF_PJB1)
-the PJB jedi rule book-
rule one, "never trust a bartender with bad grammar"-kyle katarn in JO
Rule Two, "Gravity is a crule misstress" -kyle katarn in MotS, and the alternatior MK I in AJTD
rule three, "asprines good, but it hasent got the kick of morphine. and its not gonna stop the hurting in my arm, the ones thats on the otherside of the room i mean" -the alternatior
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.