Kimimaru Posted May 21, 2009 Author Share Posted May 21, 2009 Hey, everyone! I've been coming along pretty well with my game thanks to all of your help. A few more issues came up, though:1) I have music set on the Main Menu. Is it possible to play a different song when you select, for example, the Login screen? If so, how can I do that?2) I created a spell and tried testing it out. When I reached the level you're supposed to learn it at, I didn't learn it for some reason. I'm not sure why my character isn't learning it. It's for all classes, also. Is there a way to fix this, or am I doing something wrong?3) Where would I go to change the color of the player's text in the chatbox and also in the speechbubble? I looked in Main.txt, but I didn't find an area in it that dealt with the color of the player's text when they type a message. I would like to make it so that players have different colored texts based on their rank.Please try to get back to me on these issues. I greatly appreciate any help! Link to comment Share on other sites More sharing options...
Admiral Refuge Posted May 21, 2009 Share Posted May 21, 2009 1) It would be a source edit2) You need to create an item that has that spell, and let the user "use" that item, to memorize the spell.3) I'm not quite sure where this would be Link to comment Share on other sites More sharing options...
KrakaKrucifix Posted May 21, 2009 Share Posted May 21, 2009 Well, the topic below discusses changing text/chat bubbles but it's from an old version of Eclipse and doesn't work with EE 2.7. Maybe you can ask someone to edit it for you? I'd do it but when I work on a script, the script breaks =p[http://www.touchofdeathforums.com/smf/index.php/topic,8903.0.html](http://www.touchofdeathforums.com/smf/index.php/topic,8903.0.html) Link to comment Share on other sites More sharing options...
Patrick Posted May 21, 2009 Share Posted May 21, 2009 Well for the chatbubble you just edit your gfx to a good colour. Link to comment Share on other sites More sharing options...
Kimimaru Posted May 21, 2009 Author Share Posted May 21, 2009 Thanks for the help guys; I really appreciate it!@üÑÂøчġġεт:> Well for the chatbubble you just edit your gfx to a good colour.Which GFX would I edit? I don't see how changing a GFX would change the text color in the chatbubble based on your rank. Link to comment Share on other sites More sharing options...
Admiral Refuge Posted May 22, 2009 Share Posted May 22, 2009 @Kimimaru:> Thanks for the help guys; I really appreciate it!> > Which GFX would I edit? I don't see how changing a GFX would change the text color in the chatbubble based on your rank.It wouldn't; I think he was referring to changing the speechbubble graphic itself.Regardless, I think changing the color of the text in the speech bubble, would be a source edit. Link to comment Share on other sites More sharing options...
Kimimaru Posted May 22, 2009 Author Share Posted May 22, 2009 I really appreciate the help, but which source file would I edit to change the color of the text in the speech bubble? Same goes for the music on different menus, such as Delete Account.I also have yet another general question. I want to move the HP bar onto the actual game screen where you play. When I do that, it always appears under the game screen no matter what. How can I make it so that it appears above the game screen? Link to comment Share on other sites More sharing options...
Patrick Posted May 22, 2009 Share Posted May 22, 2009 Oh. So you don't want the chat bubble colour changed? (not the text inside) Link to comment Share on other sites More sharing options...
Kimimaru Posted May 22, 2009 Author Share Posted May 22, 2009 I would like to change both, but for the text, I would like the color of it to change depending on your rank. Ex: Moderators would have blue text, and normal players would have grey text, but the chat bubble would remain the same. Link to comment Share on other sites More sharing options...
Kimimaru Posted May 23, 2009 Author Share Posted May 23, 2009 Can anyone help me with my issues, please? Link to comment Share on other sites More sharing options...
manbearpig Posted May 23, 2009 Share Posted May 23, 2009 @Kimimaru:> Can anyone help me with my issues, please?No body will help me with mine either =( Link to comment Share on other sites More sharing options...
Patrick Posted May 23, 2009 Share Posted May 23, 2009 Oh right. The chat bubble gfx is in the tiles10\. It is the grey square. You can make it black so it's see through. That'll probably be the best option. Link to comment Share on other sites More sharing options...
Kimimaru Posted May 23, 2009 Author Share Posted May 23, 2009 Okay, I got it. Thanks a lot!There are still some problems that I'm encountering, though:1) Which source file would I have to edit to play different music on, for example, the Login screen?2) Is there a way to make a character automatically learn a spell when he/she reaches a certain level?3) How do I change the color of the player's text in the main chatbox and also in the chatbubble depending on his/her rank?I've learned more about these features from you guys, and I thank you for that, but I still have yet to find out how to actually implement them into the game. Link to comment Share on other sites More sharing options...
Patrick Posted May 23, 2009 Share Posted May 23, 2009 3) in source It'll be likecheck playerrank If = 4 Set colour to purpleadd that somewhere (edit it to work obviously) in the chatbox.2)On Playerlevelup load tiles (blah blah)If level = 12 (index, Learn spell Rainbow storm)End subThese are just examples of what to do.I'm no superstar at coding but that is basically what you do but with a different code.A better scripte should come and change it to suit your needs.*I think Link to comment Share on other sites More sharing options...
Kimimaru Posted May 24, 2009 Author Share Posted May 24, 2009 Alright, well, I learned a little something from my friend, who is an expert programmer. Unfortunately, I didn't get to talk to him very much because he had to go. I learned that I need to change something in _bltPlayerName_, which is located in the module, **modGameLogic**. I managed to change the color of the player's name depending on his/her rank. I cannot locate the variable for changing text color, otherwise I would probably be able to do it myself. Link to comment Share on other sites More sharing options...
Kimimaru Posted May 24, 2009 Author Share Posted May 24, 2009 @üÑÂøчġġεт:> 3) in source It'll be like> > check playerrank If = 4 Set colour to purple> > add that somewhere (edit it to work obviously) in the chatbox.> > 2)> On Playerlevelup load tiles (blah blah)> If level = 12 (index, Learn spell Rainbow storm)> End sub> > These are just examples of what to do.> I'm no superstar at coding but that is basically what you do but with a different code.> A better scripte should come and change it to suit your needs.> > *I thinkI managed to change the color of the player's text on broadcast based on his/her rank. I also found out how to change the color of the text that's displayed under the character, but I can't seem to get it to work correctly.. Link to comment Share on other sites More sharing options...
Kimimaru Posted May 26, 2009 Author Share Posted May 26, 2009 Okay, I've managed to figure out how to change all the text, with the help of my expert-programmer friend.I have one question, though. How can I change this Sub and statement to make the message a different color?```Sub MapMsg2(ByVal MapNum As Long, ByVal Msg As String, ByVal Index As Long)Call SendDataToMap(MapNum, "MAPMSG2" & SEP_CHAR & Msg & SEP_CHAR & Index & END_CHAR)End SubCall MapMsg2(GetPlayerMap(Index), Message, Index)```This is the original code, found in _modHandleData_ in the Server source files. The Sub is found in _modServerTCP_. I'd like the "Message" to appear in a different color.I'm sorry for troubling you all with my numerous questions on this topic, but if I get help with this, it will eliminate one of my main concerns for the game. Thanks again, and I greatly appreciate any help! Link to comment Share on other sites More sharing options...
Kimimaru Posted May 28, 2009 Author Share Posted May 28, 2009 Can anyone please help me? Link to comment Share on other sites More sharing options...
Admiral Refuge Posted May 28, 2009 Share Posted May 28, 2009 I'm going to move this to the Source Questions board, as it should get a better response there. Link to comment Share on other sites More sharing options...
Kimimaru Posted May 28, 2009 Author Share Posted May 28, 2009 Thank you! =) Link to comment Share on other sites More sharing options...
Kimimaru Posted May 30, 2009 Author Share Posted May 30, 2009 I'm pretty sure someone here knows how to do this. I really need this help. Link to comment Share on other sites More sharing options...
Kimimaru Posted June 5, 2009 Author Share Posted June 5, 2009 Anyone? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now