Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[CS:DE] Character Customization (Gender & Hair)


DJMaxus
 Share

Recommended Posts

  • 2 weeks later...
  • Replies 83
  • Created
  • Last Reply

Top Posters In This Topic

@Dream:

> ```
> x = GUIWindow(GUI_MAINMENU).x + Buttons(i).x
> ```
> Can you help me? ;P

First time I did that, I put it in the wrong sub because some subs have same code in it which slightly differs. Check it again and put it in the right one.
Link to comment
Share on other sites

  • 4 weeks later...
  • 3 weeks later...
Firstly congratulations for the tutorial!
Does not show me any error, but just do not change their hair or sex.
Help me please? I did the tutorial 2 times and still not get it to work properly.

@edit: maybe i need to add something in classes.ini?

@edit2:forget all! I fix it. I'm make some mistakes when i made the tutorial… :embarrassed:
Link to comment
Share on other sites

  • 5 weeks later...
  • 2 weeks later...
I was wondering if someone could help me with this, i've done the tutorial 3times now and it keeps giving me this: Variable not defined when I just finish character creation and it highlights moddirectx8 -> sub drawnpc -> getplayerhair(index)

>! ![](http://dl.dropbox.com/u/38672364/wut.png)
Link to comment
Share on other sites

  • 4 weeks later...
Sorry if this is a bit of a late post, so to speak.
But I was wondering, it seems that the hair doesn't cover the top bit of the sprite's head (it's too low down the screen) - can I move it's position in the code, or will I have to change the hair paperdolls?

Thanks.

EDIT: It would also appear that after doing this tutorial, my player movement is screwed up.. Going down doesn't work. Then going left or right, after a while the sprite will jump to another spot.
I've tried deleting my maps and reloading.. No change.
Any ideas?
Link to comment
Share on other sites

Sorry, me again. I'm still having trouble with the movement, but I've also found that the sprite which was loaded was wrong, I wonder if this is correct?:

Find:

> Find:
> ```
> ' sprite preview
>     sprite = Class(newCharClass).MaleSprite(newCharSprite)
>     'EngineRenderRectangle Tex_Char(sprite), x + 235, y + 123, 32, 0, 32, 32, 32, 32, 32, 32
>     RenderTexture Tex_Char(sprite), x + 235, y + 123, 32, 0, 32, 32, 32, 32
>
> ```
> Replace it with this:
> ```
> RenderChar
>    
>     RenderTexture Tex_Hair(newCharHair), x + 265, y + 120, 32, 0, 32, 32, 32, 32
>
> ```

Should it be "add below" and not "replace"?
Link to comment
Share on other sites

Okay, I've fixed most problems.
Except that the hair paperdoll images are still too low on the sprites. I've tried changing their (the hair images') positions, i.e. moving the pixels up and down in the canvas, but it doesn't make any difference; the top of the image is placed too low on the sprite..

How would I change the position of the hair images over the sprite (I need to move them up by 1px; see attachment).

Thanks.
Link to comment
Share on other sites

  • 4 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share


×
×
  • Create New...