GalacticGlum Posted April 7, 2015 Author Share Posted April 7, 2015 Hello, Tutorial I used: [http://www.eclipseorigins.com/community/index.php?/topic/132296-eo-30-character-customization-hair-hair-color/](http://www.eclipseorigins.com/community/index.php?/topic/132296-eo-30-character-customization-hair-hair-color/)I was adding character customization into my game and I got a "Variable not defined" error for "Player(Index).Hair = Hair" and "Player(Index).HairTint = HairTint" so I added "Dim Hair as Long" and "Dim HairTint as Long" and it fixed the issue but when I tested it out the hair didn't show up in game so I am guessing this is the reason why. Can someone help me out?.Hair is the highlighted object right beside "Player(Index)"EDIT:I was able to fix this by making a global variable so all code has it, I'm not sure if that will work but if I go ingame the hair is still not showing up.Here is how one hair file looks like:![](http://i57.tinypic.com/315ok5u.png)Format: .PNG–-------------------------------![](http://i57.tinypic.com/2ia7h42.png) Link to comment Share on other sites More sharing options...
Daneta Posted April 7, 2015 Share Posted April 7, 2015 give some screen shots too, it will helpEDIT: k good Link to comment Share on other sites More sharing options...
GalacticGlum Posted April 7, 2015 Author Share Posted April 7, 2015 BUMP: updated topic Link to comment Share on other sites More sharing options...
PD Posted April 7, 2015 Share Posted April 7, 2015 The error was telling you that the **Player** type didn't have the variables **Hair, HairTint** so what you have to do is go into **modTypes**, scroll till you find **PlayerRec** and add:**Hair As Long****HairTint As Long**to the bottom of **PlayerRec** before the **End Type**. Then create a new account and try it out. Link to comment Share on other sites More sharing options...
Daneta Posted April 7, 2015 Share Posted April 7, 2015 Hope that works, I'm working with him and really like this feature Link to comment Share on other sites More sharing options...
GalacticGlum Posted April 7, 2015 Author Share Posted April 7, 2015 I have already tried that and I'm still getting the same error :( Would you like my source so you can take a look at it?I have declared the variable inside the function by doing "Dim Hair as Long" and doing "Dim HairTint as Long" and it works but when I go ingame and make a new account and customize the hair the hair doesn't show up when I'm actually playing. Link to comment Share on other sites More sharing options...
Daneta Posted April 7, 2015 Share Posted April 7, 2015 @[member="Zesh"] Link to comment Share on other sites More sharing options...
BeNjO Posted April 7, 2015 Share Posted April 7, 2015 No, Read what Zesh said…It has to be in the playerrec not in the sub.... Link to comment Share on other sites More sharing options...
BeNjO Posted April 7, 2015 Share Posted April 7, 2015 > The error was telling you that the **Player** type didn't have the variables **Hair, HairTint** so what you have to do is go into **modTypes**, scroll till you find **PlayerRec** and add:> > > > **Hair As Long**> > **HairTint As Long**> > > > to the bottom of **PlayerRec** before the **End Type**. Then create a new account and try it out.Read what he said… PlayerRec Link to comment Share on other sites More sharing options...
GalacticGlum Posted April 7, 2015 Author Share Posted April 7, 2015 I did that already and it hasn't worked I have read the post a couple times I am talking about how to fix the issue with "Payer(Index).Hair" and to fix "Player(Index).HairTint" Link to comment Share on other sites More sharing options...
BeNjO Posted April 7, 2015 Share Posted April 7, 2015 Send me your source… Link to comment Share on other sites More sharing options...
GalacticGlum Posted April 7, 2015 Author Share Posted April 7, 2015 Okay I will pm you by the way I'm gonna be gone from 5:40 PM EST to 6:40 PM EST so if anything PM me or comment on here it doesn't really matter. Link to comment Share on other sites More sharing options...
BeNjO Posted April 7, 2015 Share Posted April 7, 2015 Re-do the tutorial, I can see a part you have missed and to help you learn instead of telling you what you missed, I'm going to help you more by getting you to re-check you added everything. Link to comment Share on other sites More sharing options...
GalacticGlum Posted April 7, 2015 Author Share Posted April 7, 2015 I will redo tutorial at 7:00 PM EST but thank you for helping me! I will notify you once I have finished the tutorial again it should be around 7:30 PM EST Link to comment Share on other sites More sharing options...
BeNjO Posted April 7, 2015 Share Posted April 7, 2015 You really should of made sure you added it correctly, If you just went over the tutorial and made sure each bit was added correctly then it would of saved 3 people trying to help you when you could of done this your self. Link to comment Share on other sites More sharing options...
Daneta Posted April 7, 2015 Share Posted April 7, 2015 lol kind of told u to do that in skype, guess it takes a pro for u to listen XDDD Link to comment Share on other sites More sharing options...
GalacticGlum Posted April 8, 2015 Author Share Posted April 8, 2015 fixed! Link to comment Share on other sites More sharing options...
BeNjO Posted April 8, 2015 Share Posted April 8, 2015 Mark topic as resolved and check you have added stuff correctly.. Link to comment Share on other sites More sharing options...
GalacticGlum Posted April 8, 2015 Author Share Posted April 8, 2015 How do I mark it as resolved and it works fully! Link to comment Share on other sites More sharing options...
Gwen Posted April 8, 2015 Share Posted April 8, 2015 Not sure exactly how you do it since i see more options than you… but i marked it resolved for you. Link to comment Share on other sites More sharing options...
GalacticGlum Posted April 8, 2015 Author Share Posted April 8, 2015 Thanks! 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