HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Making threads to link to banned members content grants an automatic ban
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 Rise and Fall?

View previous topic View next topic Go down 
AuthorMessage
KovuST

avatar

Game username : Kovu/Spoopy
Server : Zolðis (Owner/Creator)
Male Posts : 54
Join date : 2015-02-08
Location : Zolðis

PostSubject: Rise and Fall?   Sun Jul 05, 2015 7:05 pm

So I can't seem to find where you can change the PageUp and PageDown to R and F. I also wanted to make the fight stance on maybe E if that's not used for anything as of now... which I don't think it does. I also wanted to possibly make a hotkey for Stash as I myself would really enjoy that, but I should know the file first obviously.

I also have a second question:
Where do you change the colour of the Username in-game? I know how to change everything else including speech bubbles.

Thanks,
Kovu


Last edited by Kovu on Sun Jul 05, 2015 8:02 pm; edited 1 time in total
Back to top Go down
KiaraTDK

avatar

Game username : KiaraTDk
Server : Soul Kingdom (In progress)
Female Posts : 15
Join date : 2013-03-10
Age : 22

PostSubject: Re: Rise and Fall?   Sun Jul 05, 2015 7:39 pm

E is used for lock on when hunting.
In ogremagix.h there are button hotkeys.
F is used for emote changing between 'normal' and 'angry stance'.

But you can see in the file
Spoiler:
 
Find a letter that isnt used like Z and X and make a case for this too, including all the necessary defines. Just look at the codes for pgup
Back to top Go down
KovuST

avatar

Game username : Kovu/Spoopy
Server : Zolðis (Owner/Creator)
Male Posts : 54
Join date : 2015-02-08
Location : Zolðis

PostSubject: Re: Rise and Fall?   Sun Jul 05, 2015 8:04 pm

I know what F is for (I call it Fight Stance). And yeah I guess I did forget about E.
Thank you so much, though.
Back to top Go down
ShadoWolfozo

avatar

Game username : ShadoWolfozo
Server : GROWL: Spirits
Male Posts : 875
Join date : 2012-01-22
Age : 21
Location : Australia

PostSubject: Re: Rise and Fall?   Mon Jul 06, 2015 1:39 pm

Iirc changing username colours is done in gui.overlay- but it's late and I haven't messed with colours for a long while, so I could be wrong. In which case it'll be in the gui section of the source code.


Do a search for 'username' or 'name' or 'username colour' or something along those lines.
I'd give you a more accurate term to search but I have neither an IT game nor my server's source code on this computer at the moment. Either way, one of those and a little back-tracking should get you to where you want.

Reminder that the oIT creator, KovuLKD, used the UK/Australian spelling of words such as 'colour'. If you search 'color' nothing will come up.
Back to top Go down
KovuST

avatar

Game username : Kovu/Spoopy
Server : Zolðis (Owner/Creator)
Male Posts : 54
Join date : 2015-02-08
Location : Zolðis

PostSubject: Re: Rise and Fall?   Sun Jul 19, 2015 3:24 am

Yeah I was stupid I got it now.
But another question: How do you change the names for the Local, Party and General chats? I did like one of them but the other one I changed didn't show up.
Back to top Go down

Very Helpful
Very Helpful


Male Posts : 314
Join date : 2013-07-21
Age : 16

PostSubject: Re: Rise and Fall?   Sun Jul 19, 2015 11:38 pm

MagixGUI:
Code:
   void setChatChannel(const unsigned char &channel)
   {
      mChatManager->setChannel(channel);
      if(mChatManager->getChannel()==0)
      {
         mButtonText[BUTTON_TEXTINPUT3]->setCaption("Local");
         mBoxText[GUI_TEXTOUTPUT]->setParameter("colour_top",CHAT_LOCAL_COLOUR_TOP);
         mBoxText[GUI_TEXTOUTPUT]->setParameter("colour_bottom",CHAT_LOCAL_COLOUR_BOTTOM);
         mBoxText[GUI_TEXTINPUT]->setParameter("colour_top",CHAT_LOCAL_COLOUR_TOP);
         mBoxText[GUI_TEXTINPUT]->setParameter("colour_bottom",CHAT_LOCAL_COLOUR_BOTTOM);

         mMiniMap->setMapTagUseCharName(!mChatManager->doLocalUsername);
      }
      else if(mChatManager->getChannel()==1)
      {
         mButtonText[BUTTON_TEXTINPUT3]->setCaption("General");
         mBoxText[GUI_TEXTOUTPUT]->setParameter("colour_top",CHAT_GENERAL_COLOUR_TOP);
         mBoxText[GUI_TEXTOUTPUT]->setParameter("colour_bottom",CHAT_GENERAL_COLOUR_BOTTOM);
         mBoxText[GUI_TEXTINPUT]->setParameter("colour_top",CHAT_GENERAL_COLOUR_TOP);
         mBoxText[GUI_TEXTINPUT]->setParameter("colour_bottom",CHAT_GENERAL_COLOUR_BOTTOM);

         mMiniMap->setMapTagUseCharName(mChatManager->doGeneralCharname);
      }
      else
      {
         mButtonText[BUTTON_TEXTINPUT3]->setCaption("Party");
         mBoxText[GUI_TEXTOUTPUT]->setParameter("colour_top",CHAT_PARTY_COLOUR_TOP);
         mBoxText[GUI_TEXTOUTPUT]->setParameter("colour_bottom",CHAT_PARTY_COLOUR_BOTTOM);
         mBoxText[GUI_TEXTINPUT]->setParameter("colour_top",CHAT_PARTY_COLOUR_TOP);
         mBoxText[GUI_TEXTINPUT]->setParameter("colour_bottom",CHAT_PARTY_COLOUR_BOTTOM);

         mMiniMap->setMapTagUseCharName(!mChatManager->doLocalUsername);
      }
      if(mButton[BUTTON_TEXTINPUT3]->getMaterialName()=="GUIMat/ButtonHighlight")mButton[BUTTON_TEXTINPUT3]->setMaterialName("GUIMat/ButtonUp");
   }
change the ->setCaptation("Party/Local/General/").
Back to top Go down
KovuST

avatar

Game username : Kovu/Spoopy
Server : Zolðis (Owner/Creator)
Male Posts : 54
Join date : 2015-02-08
Location : Zolðis

PostSubject: Re: Rise and Fall?   Mon Aug 03, 2015 3:22 am

no I mean the buttons of them not the chat colours.
Back to top Go down
 
Rise and Fall?
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: SUPPORT :: Support-
Jump to: