Trying to add player model to Nexuiz. Also, hi!

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators


  • Hi, I'm Styx.

    I've been playing Nexuiz for about a week and really enjoying it, I found it fun and well put together. I noticed it needs a bit of a face lift in the art department and I'd be happy to help out as a developer when I have free time.

    I'm a freelance artist and modeler by trade, but in the past I've worked on various games including Spyro and Hellboy. I can concept, model, texture, rig and animate. I can also do sprites and particles. (My online portfolio.)

    I had a free weekend and put together some ideas, including this generic marine type player model-

    Image

    (I tag all my pictures lately... who knows where these things end up....)

    Image

    He is using a 512 texture and is sitting on under 2500 polys. I could probably knock some more out if necessary.

    I've been trying to get him in-game for a while but I'm not having much luck. I'm getting my information from here and here, it could be an incomplete method for all I know... Maybe someone can help me out, here's what I've done so far-

    I'm using the half-life 2 sdk to export the smds. I've exported the model an animations as smds, making sure mesh.smd has mesh and skeletal information and the other files have only the skeletal animations. I made sure the smd animations in the folder have the same names as all the other models. When I export the smds and make a config-zym.txt and run compile-zym.bat it builds successfully and I get a zym file that is about 1.4mb (so the size seems right, judging by the other models). I put the model in data/models/player/modelname.zym and the texture with it. When I run the game and type playermodel data/models/player/modelname.zym, the player model switches to the default marine and it gives me no error message as to why it didn't work. Is there a way that I can enable debug or developer messages in the console, so I can see what is failing when I try to load the model?

    Once I have a player model working, I'm intending to do some custom animations and then maybe do a few more models, such as these-

    Image

    Image

    I'm also happy to help with art on the To Do list, but I read several times that it's not current. What's the situation with the ammo boxes?
    User avatar
    -styx-
    Newbie
     
    Posts: 2
    Joined: Sat Apr 11, 2009 12:04 am
    Location: Melbourne, Australia

Sat Apr 18, 2009 8:57 am

  • Wow. Those concepts looks awesome. And the finished models can be included into Nexuiz for sure. They must have GPL v2 license to be included.
    What Nexuiz has always needed is new modern looking player models and these looks very nice. The monster-bunny might be too weird but dunno :P

    I can't help with getting them into the game. I know ai is currently getting a model into the game. And he uses Maya also.

    So don't go anywhere :P

    What's the situation with the ammo boxes?
    Most ammo boxes are new in 2.5. Only the Cell ammo is unchanged, I'm sure it can be improved somehow, it's an energy/plasma based ammo.
    User avatar
    morfar
    Site Admin
     
    Posts: 938
    Joined: Tue Feb 28, 2006 6:08 pm
    Location: The Island

Sat Apr 18, 2009 10:09 am

  • First of, yeah, really amazing concepts I'm so jealous of your talent. >.<
    Secondly, you said Half-Life 2 sdk, is it the same as source sdk? Cause source sdk exports the smd's with incorrect information.
    Basically, this is how you should do it. Nexuiz apparently uses rigid bind style type. But you can use smooth bind if you set Max Influences to 1, no shared vertex information must exist, at least, that's what we have been told.
    So, when exporting the smd (with sourcesdk) it looks something like this:

    Code: Select all
    textures/players/torso
    40   17.102034   -2.793205   51.80814     0.865048    0.032616   -0.500628    0.029942    0.223095    1  22    1       
    40   14.908265   -2.332115   52.000145    0.320904   -0.7225     -0.612384    0.109069    0.156303    1  21    1       
    40   16.32485    -2.254179   50.793995    0.228077   -0.599514   -0.767179    0.014559    0.157157    1  22    1       
    textures/players/torso
    40    4.018598   -1.318007   42.335651    0.951136   -0.306944   -0.033558    0.306625    0.313961    1   1    1       
    40    3.404923    1.091715   42.899494    0.602112    0.782074   -0.16069     0.259275    0.315173    1   1    1       
    40    4.198301   -1.258705   45.901512    0.95106    -0.301144   -0.069267    0.304798    0.268313    1   2    1       
    textures/players/torso
    40    4.198301   -1.258705   45.901512    0.95106    -0.301144   -0.069267    0.304798    0.268313    1   2    1       
    40    3.404923    1.091715   42.899494    0.602112    0.782074   -0.16069     0.259275    0.315173    1   1    1       
    40    3.55256     1.645535   46.170151    0.60231     0.795356   -0.068061    0.259912    0.271753    1   2    1   


    As you can see, the last 3 things you see is something like this '1 22 1'. The middle part is the bone number, this has to be the first number to the left of the file (instead of 40 in this case).
    So you'd have to manually (of scary thing) to change this and delete those two other '1's at the end. But!
    Then, luck came to us and a dude named Joshua popped up in the forums looking to create player models as well. He noticed that this smd information was wrong if you want to use it for Nexuiz.
    He created a perl script that fixed this problem. You had your exported mesh.smd and a .pl file. Then you typed this in the command prompt: perl parsh_mesh.pl mesh.smd (if you had everything directly under C:\). This would create a new file with the correct bone information.
    Then just taking this mesh.smd file and compile it with zym together with the animations and it worked super.

    Now, it this the same problem you have or you maybe using smooth bind with shared vertex information? If you do have the same problem with the incorrect smd bone information (the '1 22 1' in the end) you could try to get a hold of him, sending him a PM here on the forums could work. As he's the one who created this script and gave me a copy I am careful of just posting it up or giving it away. Better talk to him. But he's a nice guy, if you ask him he might give it to you.
    His forum name is 'glennxserge'.

    PS. This is how the smd should look like when it's correct:
    Code: Select all
    textures/players/torso
    22   17.102034   -2.793205   51.80814     0.865048    0.032616   -0.500628    0.029942    0.223095   
    21   14.908265   -2.332115   52.000145    0.320904   -0.7225     -0.612384    0.109069    0.156303   
    22   16.32485    -2.254179   50.793995    0.228077   -0.599514   -0.767179    0.014559    0.157157   
    textures/players/torso
    1    4.018598   -1.318007   42.335651    0.951136   -0.306944   -0.033558    0.306625    0.313961   
    1    3.404923    1.091715   42.899494    0.602112    0.782074   -0.16069     0.259275    0.315173   
    2    4.198301   -1.258705   45.901512    0.95106    -0.301144   -0.069267    0.304798    0.268313   
    textures/players/torso
    2    4.198301   -1.258705   45.901512    0.95106    -0.301144   -0.069267    0.304798    0.268313   
    1    3.404923    1.091715   42.899494    0.602112    0.782074   -0.16069     0.259275    0.315173   
    2    3.55256     1.645535   46.170151    0.60231     0.795356   -0.068061    0.259912    0.271753


    Oh, one last thing, if you change the names of the triangles in the smd to a path like in above examples, that's where it will look for the texture. Could you please try to use the same path as me? I want to have a common place for all the player model textures in one place, and actually _inside_ the /textures folder :P
    A quick 'Search and Replace' should do the trick.
    User avatar
    ai
    Forum addon
     
    Posts: 2131
    Joined: Sun Mar 05, 2006 3:54 pm
    Location: Behind you

Sat Apr 18, 2009 10:18 am

  • Hi and welcome to the forums! I cannot help you, but those ocncepts look real great! :D
    Keep up the good work!
    "One should strive to achieve; not sit in bitter regret."
    WE ARE NEXUIZ.
    Image
    Image
    User avatar
    C.Brutail
    Laidback mapper
     
    Posts: 2357
    Joined: Tue Feb 28, 2006 7:26 pm
    Location: Ironforge

Sat Apr 18, 2009 10:44 am

Sat Apr 18, 2009 10:53 am

Sat Apr 18, 2009 11:02 am

  • Oh my, that is simply amazing! We should delete all the old models (except the new marine :D) and replace them with these, because the playermodels are currently the only ugly thing in the game (IMO)!
    Last edited by FruitieX on Sat Apr 18, 2009 11:10 am, edited 1 time in total.
    User avatar
    FruitieX
    Keyboard killer
     
    Posts: 588
    Joined: Mon Nov 13, 2006 4:47 pm
    Location: Finland

Sat Apr 18, 2009 11:05 am

  • This is awesome.

    Very very impressive. I hope you stick around and contribute more to Nexuiz. :-)
    You could help take it to another level of quality.
    Dokujisan
    Forum addon
     
    Posts: 1199
    Joined: Sat Oct 07, 2006 4:31 pm
    Location: Louisville, Kentucky

Sat Apr 18, 2009 11:07 am

  • Excellent..

    One of N's boggest priblems are the models thats been with us forever, they are somewhat ok, but they have always been a source of great frustration because of the high polycount and following recource hogging.

    If you read back in the forums, you will find that there has been use for new models since.. forever (i should know), so that such an extremely talented, and technically skilled developer is willing to put in some effort is just awesome!



    Ps.
    I'm alive :)
    the spice extend life!
    the spice expand conciousness!
    the spice is vital to space travel!
    sooooo.. tell me what you want, waht you really-really want
    I will proceed directly to the intravenous injection of hard drugs, please.
    User avatar
    tChr
    Forum addon
     
    Posts: 1501
    Joined: Tue Feb 28, 2006 9:11 pm
    Location: Trondheim, Norway

Sat Apr 18, 2009 11:15 am

  • tChr wrote:One of N's boggest priblems ...

    :lol:

    tChr wrote:they have always been a source of great frustration because of the high polycount and following recource hogging.

    Yes, they are very high-poly compared to what they look like in the end.
    User avatar
    FruitieX
    Keyboard killer
     
    Posts: 588
    Joined: Mon Nov 13, 2006 4:47 pm
    Location: Finland

Sat Apr 18, 2009 11:49 am

  • Thanks everyone :)

    @ ai: It sounds like one or more of those things will be the problem. I'm using Smooth bind but with only one weight... I think the textures also be the problem. I'll chase up glennxserge and see if he can help me out.
    I'm happy to use your conventions, thanks for all your help. I'll let you know how I go.....
    User avatar
    -styx-
    Newbie
     
    Posts: 2
    Joined: Sat Apr 11, 2009 12:04 am
    Location: Melbourne, Australia

Sat Apr 18, 2009 1:31 pm

  • impressive..
    Welcome :)
    can rework the Shock Trooper model maybe? :P great work , i hope they will be included into nexuiz soon
    ginseng
    User avatar
    Mirio
    Forum addon
     
    Posts: 1170
    Joined: Sun Apr 15, 2007 3:05 pm
    Location: Aneurysm

Sat Apr 18, 2009 3:22 pm

  • You sir, are awesome. :D
    HOF:
    <Diablo> the nex is a "game modification"
    <Diablo> quake1 never had a weapon like that.
    <Vordreller> there was no need for anything over 4GB untill Vista came along
    <Samua>]Idea: Fix it? :D
    <Samua>Lies, that only applies to other people.
    User avatar
    tZork
    tZite Admin
     
    Posts: 1337
    Joined: Tue Feb 28, 2006 6:16 pm
    Location: Halfway to somwhere else

Sat Apr 18, 2009 3:36 pm

  • Just what we needed! Those look brilliant! The bunny reminds me of Donnie Darko...
    Possibly not the worst mapper in the world.

    A blog of random pish:
    http://xeno.planetnexuiz.com/blog/?author=5
    User avatar
    Sepelio
    Forum addon
     
    Posts: 1101
    Joined: Tue Jun 27, 2006 7:57 pm
    Location: Scotland

Sat Apr 18, 2009 5:19 pm

  • Welcome. Nice to see such a talent here :)
    User avatar
    Fisume!
    Alien trapper
     
    Posts: 467
    Joined: Sun Jan 27, 2008 8:55 am
    Location: Saarbruecken, Germany

Sat Apr 18, 2009 5:21 pm

  • wraith...

    do... want.

    now.
    quit for good
    alpha
    Alien trapper
     
    Posts: 492
    Joined: Tue Jun 17, 2008 7:18 pm

Sat Apr 18, 2009 5:58 pm

  • amazing! im excited to see these in game :)
    Icarus
     

Sat Apr 18, 2009 7:38 pm

  • Just wanted to throw my compliments in here as well; they are amazing. I would actually switch from the default model/colours if doombunny gets in!
    Every government interference in the economy consists of giving an unearned benefit, extorted by force, to some men at the expense of others. -Ayn Rand
    Komier
    Advanced member
     
    Posts: 79
    Joined: Fri Sep 28, 2007 2:24 am
    Location: USA

Sat Apr 18, 2009 10:41 pm

  • tZork wrote:You sir, are awesome. :D


    Seconded and thirded.

    Doombunny is Nexuiz Klesk. :)
    Alien
    Forum addon
     
    Posts: 1212
    Joined: Tue Apr 22, 2008 7:12 am

Sat Apr 18, 2009 10:53 pm

  • Those concepts are amazing, very good job. I can't wait to see that marine model in game, and also hope you will eventually model those other 2, Nexuiz would definitely benefit having a few new player models as good as this!
    nifrek
    Alien
     
    Posts: 208
    Joined: Fri Sep 22, 2006 6:43 am

Sat Apr 18, 2009 11:52 pm

  • Like ...... yeah! , what they said! xD
    fishsticks
    User avatar
    Rad Ished
    Keyboard killer
     
    Posts: 609
    Joined: Wed Jun 27, 2007 8:00 am
    Location: Not the Netherlands

Fri Apr 24, 2009 6:55 pm

  • morfar wrote:Wow. Those concepts looks awesome. And the finished models can be included into Nexuiz for sure. They must have GPL v2 license to be included.
    What Nexuiz has always needed is new modern looking player models and these looks very nice. The monster-bunny might be too weird but dunno :P


    That's what they said about UT99's nali warcow model.

    @ -styx- looks like some frickin' awesome concepts. The only thing I see that I wouldn't want to happen is for the current marine (I guess the current one can be renamed to grunt or something) to be REPLACED I think your concept looks too radically different and should be serve as it's own model, not a replacement. HOLYSHIT MAN! I just took a look at your portfolio and about pissed myself! That's pretty impressive.
    User avatar
    Lee_Stricklin
    Alien trapper
     
    Posts: 404
    Joined: Sat Jun 21, 2008 8:42 pm
    Location: Midwest

Fri Apr 24, 2009 7:21 pm

  • Im also available on irc (#nexuiz.editing @ irc.quakenet.org) if you need info -styx-. player models are not my strong side, but ill do what i can to help. also i can give you info abt how the game code works or change it if need be.

    morfar wrote:...
    The monster-bunny might be too weird but dunno :P
    ...


    Wtf are you talking abt you silly old man? :D The Doombunny is totally awesome, easy my fav of these :)
    HOF:
    <Diablo> the nex is a "game modification"
    <Diablo> quake1 never had a weapon like that.
    <Vordreller> there was no need for anything over 4GB untill Vista came along
    <Samua>]Idea: Fix it? :D
    <Samua>Lies, that only applies to other people.
    User avatar
    tZork
    tZite Admin
     
    Posts: 1337
    Joined: Tue Feb 28, 2006 6:16 pm
    Location: Halfway to somwhere else

Sat Apr 25, 2009 6:20 am

  • I like the wraith concept (the one with the white mask, not the one without: the one without seems mean in character, the one with the mask seems nicer... nice is good).
    tundramagi
    Forum addon
     
    Posts: 974
    Joined: Sun Jan 04, 2009 4:53 pm

Sat Apr 25, 2009 6:42 am

  • tZork wrote:
    morfar wrote:...
    The monster-bunny might be too weird but dunno :P
    ...


    Wtf are you talking abt you silly old man? :D The Doombunny is totally awesome, easy my fav of these :)


    I agree, it's the best :)
    User avatar
    Fisume!
    Alien trapper
     
    Posts: 467
    Joined: Sun Jan 27, 2008 8:55 am
    Location: Saarbruecken, Germany

Sat Apr 25, 2009 6:53 am

  • Whoa, excellent!

    Fisume! wrote:
    tZork wrote:
    morfar wrote:...
    The monster-bunny might be too weird but dunno :P
    ...


    Wtf are you talking abt you silly old man? :D The Doombunny is totally awesome, easy my fav of these :)


    I agree, it's the best :)


    I agree too!
    Meh.
    User avatar
    Mr. Bougo
    Keyboard killer
     
    Posts: 760
    Joined: Mon Sep 10, 2007 3:29 pm

Sat Apr 25, 2009 5:46 pm

  • omg that looks cool.

    Please keep up the great work, your are a godsend for the nexuiz community. As somebody pointed out, nexuiz needs new and good playermodels for a long time now.

    So nexuiz devs, don't let him go away, and give him the help needed :-) sadly i can't, because i have no idea how to do nexuiz models :-(
    Asraniel
    Alien
     
    Posts: 112
    Joined: Tue Feb 28, 2006 9:15 pm

Sun Apr 26, 2009 5:17 am

  • Wraith girl!
    (one w/ mask thing)
    tundramagi
    Forum addon
     
    Posts: 974
    Joined: Sun Jan 04, 2009 4:53 pm

Sun Apr 26, 2009 9:47 am

Tue Apr 28, 2009 1:21 pm

  • *Does the new character model dance* A big mofo in a mecha suit, a priestess and a cute.. little... dead bunny thing. This is screaming Nexuiz already.

    :twisted:


    O hai btw.


    morfar wrote:...
    The monster-bunny might be too weird but dunno
    ...

    Uhm... Considering the current playermodels include a variety of mutants and a werewolf, I don't think that a mutant-zombie-rabbit-of-death-type-thing is out of place at all.
    Taiyo.uk
    Alien trapper
     
    Posts: 436
    Joined: Mon Apr 17, 2006 8:48 pm
    Location: Reading, IN-GER-LUND!!!

Next


Return to Nexuiz - Development




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest