did you use the right action id?dukez30 wrote:Ok is it possible to use the Menu icon without using the callback to 'alternate_scoretable.php' as i dont use it..
thx
Code: Select all
<action_id>3830000</action_id>
did you use the right action id?dukez30 wrote:Ok is it possible to use the Menu icon without using the callback to 'alternate_scoretable.php' as i dont use it..
thx
Code: Select all
<action_id>3830000</action_id>
no thats the wrong filedukez30 wrote:Yea, action ID is correct, also i pasted the code into placement_examples.xml with the updated eyepiece plugin , is this the right file?
You're lucky ! that doesn't works for me.Everything soehest wrote out is exactly how to do it. I've copied this exactly (only changing position and display) and it works perfectly on my server.
Code: Select all
<styles>
<menubutton style='Bgs1InRace' substyle='NavButton'/>
<menubackground style='Bgs1' substyle='BgTitle3'/>
<menuicon style='Icons128x128_1' substyle='United'/>
<menuentry style='BgsPlayerCard' substyle='BgCardSystem'/>
<menuentryactive style='BgsPlayerCard' substyle='BgMediaTracker'/>
<menugroupicon style='Icons128x128_1' substyle='Browse'/>
<menuhelpicon style='Icons64x64_1' substyle='TrackInfo'/>
<menuactionicon style='Icons64x64_1' substyle='ToolLeague1'/>
<separator style='Bgs1InRace' substyle='NavButton'/>
<indicatorfalse style='Icons64x64_1' substyle='LvlRed'/>
<indicatortrue style='Icons64x64_1' substyle='LvlGreen'/>
<indicatoronhold style='Icons64x64_1' substyle='LvlYellow'/>
</styles>
Code: Select all
10 //Aseco::registerEvent('onPlayerConnect', 'fufiMenu_playerConnect');
890 //$fufiMenu->sendMenuButtonToLogin('');
Code: Select all
(894) function fufiMenu_startup($aseco){
global $fufiMenu;
if (!$fufiMenu->Aseco) $fufiMenu->Aseco = $aseco;
$aseco->releaseEvent('onMenuLoaded', $fufiMenu);
}
(900) function fufiMenu_newChallenge($aseco){
global $fufiMenu;
(902) $fufiMenu->sendMenuButtonToLogin('');
}
//indicator functions - return 0 for a red icon, 1 for green, 2 for yellow and -1 for none
(907) function fufi_getCPSIndicator($aseco, $login){
Code: Select all
<!--upper left preset-->
<position>-65 47.8</position>
<horizontalorientation>1</horizontalorientation> <!-- 1.. left-to-right, 2...right-to-left-->
<verticalorientation>1</verticalorientation> <!-- 1.. top-to-bottom, 2.. bottom-to-top-->
I have tried to do this for a few hours now, and I can't find out what to change. I read the thread like 5 times and i'm about to give op.TheBigG wrote:hello
how i change the menu button from
to a button like this
if it is not possible can somebody do it pls?
thanks for help
AKK wrote:I have tried to do this for a few hours now, and I can't find out what to change. I read the thread like 5 times and i'm about to give op.TheBigG wrote:hello
how i change the menu button from
to a button like this
if it is not possible can somebody do it pls?
thanks for help
Can anyone explain a noob how to do this?
Code: Select all
<!--
The next five <placement>'s entries display a Button for the Fufi.Menu
//-->
<placement>
<enabled>true</enabled>
<description>Fufi.Menu Button (displayed only at Race)</description>
<display>race</display>
<pos_x>44.3</pos_x>
<pos_y>25.9</pos_y>
<width>4.6</width>
<height>6.5</height>
<background_style>BgsPlayerCard</background_style>
<background_substyle>ProgressBar</background_substyle>
<action_id>3830000</action_id>
</placement>
<placement>
<enabled>true</enabled>
<description>Fufi.Menu Button: Text 'MENU'</description>
<display>race</display>
<pos_x>46.6</pos_x>
<pos_y>22.4</pos_y>
<width>6.35</width>
<height>2</height>
<halign>center</halign>
<text>$FFFSERVER</text>
<textsize>1</textsize>
<textscale>0.9</textscale>
</placement>
<placement>
<enabled>true</enabled>
<description>Fufi.Menu Button: Text 'SERVER'</description>
<display>race</display>
<pos_x>46.6</pos_x>
<pos_y>21</pos_y>
<width>6.35</width>
<height>2</height>
<halign>center</halign>
<text>$FC0MENU</text>
<textsize>1</textsize>
<textscale>0.6</textscale>
</placement>
<placement>
<enabled>true</enabled>
<description>Fufi.Menu Button: Icon</description>
<display>race</display>
<pos_x>45.2</pos_x>
<pos_y>25.4</pos_y>
<width>2.8</width>
<height>2.8</height>
<icon_style>Icons128x128_1</icon_style>
<icon_substyle>United</icon_substyle>
</placement>
<placement>
<enabled>true</enabled>
<description>Fufi.Menu Button: Image indicator that this is clickable</description>
<display>race</display>
<pos_x>44.12</pos_x>
<pos_y>21.3</pos_y>
<width>2.1</width>
<height>2.1</height>
<image>http://static.undef.name/ingame/records-eyepiece/edge-open-ld-light.png</image>
</placement>