Weapon animating: help needed (making crossbow)

Post anything to do with editing Nexuiz here. Whether its problems you've had, questions, or if you just want to show off your work.

Moderators: Nexuiz Moderators, Moderators


  • I'm making a crossbow. It sucessfully is improted into nex (player model, ground model, HUD, the hud is textured too ( the pmodel and ground model have a texture bug where they want to display textures/Material.tga (or png, or whatever :)) as their texture... due to buggy exporter...)

    Anyway in attempting to animate the firing sequence of the crossbow in the HUD I made 2 blend files and converted them both to smd files. One file is crossbow_cocked.smd and the other is crossbow_fired.smd.

    I copy crossbow_fired.smd to fire.smd and fire2.smd
    I copy crossbow_cocked.smd to the rest of the smd and run zmodel config.txt (yes it's a linux binary, I compiled zmodel from source).

    ~/.blender/scripts/nexwe$ ls
    config.txt fire.smd idle.smd ref.smd source winexes zymexport.bat
    fire2.smd gmon.out modtool.exe run.smd temp.smd zmodel.exe

    The problem is when I'm firing, it never shows an animation, the crossbow is always cocked.

    I have done wrong.
    Show me the path.
    take_this_cup_of_poison
    Banned
     
    Posts: 198
    Joined: Sun Jan 20, 2008 2:25 am

Sun Jan 20, 2008 6:00 am

  • if you don't mind posting the smd's and stating which blender import script u used (looks like the one i put together) then i maybe can be more help.
    User avatar
    ihsan
    Alien trapper
     
    Posts: 305
    Joined: Fri Mar 03, 2006 3:33 pm
    Location: Trinidad (Where Obama met Chavez)

Sun Jan 20, 2008 6:37 am

  • I have nowhere to put them and I don't think that would help. I need to know the proper procedure for animating nexuiz weapons using blender. I am using that nexuiz weapon exporter script bundle that was mentioned in the forum. Once the crossbow is done it will be under the GPL (well it allready is actually :) just not released yet as it doesn't work).
    take_this_cup_of_poison
    Banned
     
    Posts: 198
    Joined: Sun Jan 20, 2008 2:25 am

Sun Jan 20, 2008 1:04 pm

  • A few quick things:
    1. The material name is used as the filename for the texture. Rename your material to crossbow.tga or something like that.
    2. EVERYTHING in that exporter is hard coded. It was not designed to create custom animations. It's just a couple exporters i sewed together to get models in easily. The whole mesh is weighted to 'bone01' at the origin. :oops:
    User avatar
    ihsan
    Alien trapper
     
    Posts: 305
    Joined: Fri Mar 03, 2006 3:33 pm
    Location: Trinidad (Where Obama met Chavez)

Sun Jan 20, 2008 5:33 pm

  • How do I rename a material?

    Also how do I animate the crossbow in blender, this is what I really need to know.
    What are the steps. I tried making 2 smds, one with the bowstring cocked, one with it forward. The 2nd never showed when firing even though it was copied to fire.smd and fire2.smd.

    Does anyone else know anything about animating weapons in blender?
    take_this_cup_of_poison
    Banned
     
    Posts: 198
    Joined: Sun Jan 20, 2008 2:25 am

Mon Jan 21, 2008 2:38 am

  • I renamed the material. I animated in blender now and the effect is: still no animation but when I export and bring the weapon in game, though the hud weapon is fine, the ground and player weapon is TINY!

    Can anyone help me with this? I am using blender. Please help.
    Don't people make weapons for this game?

    I used this tutorial:
    http://en.wikibooks.org/wiki/Blender_3D ... _Animation
    take_this_cup_of_poison
    Banned
     
    Posts: 198
    Joined: Sun Jan 20, 2008 2:25 am

Mon Jan 21, 2008 5:08 am

  • Here is the crossbow, including the SMDs, blenderfiles, texture, etc.
    http://md3.bpa.nu:81/other/crossbowstart.pk3

    I made it replace the crylink (I like the crylink btw).
    Need help animating and after that I will have to code new ammo type etc (bolt).

    Please help me.
    take_this_cup_of_poison
    Banned
     
    Posts: 198
    Joined: Sun Jan 20, 2008 2:25 am

Mon Jan 21, 2008 1:43 pm

  • Without changing the Nexuiz quake C you can't have different meshes for cocked and fired. Since this weapon needs moving parts the weapon exporter script just won't do it. When i get the time i'll rig your crossbow and set up the animations.

    For the record, nobody other than the two of us (afaik) are trying to make weapons for nexuiz. I learned python and put that weapon exporter together (by combining and patching other scripts) simply because it became clear that nobody else would do it.
    f0rqu3 is still working on a ZYM imoprter/exporter which should make all this a lot easier.
    User avatar
    ihsan
    Alien trapper
     
    Posts: 305
    Joined: Fri Mar 03, 2006 3:33 pm
    Location: Trinidad (Where Obama met Chavez)

Mon Jan 21, 2008 1:53 pm

  • Doc pyton made a lot of nice weapon meshes, have a look in his thread. Or do you mean completely new weapons?
    User avatar
    Rad Ished
    Keyboard killer
     
    Posts: 609
    Joined: Wed Jun 27, 2007 8:00 am
    Location: Not the Netherlands

Mon Jan 21, 2008 2:22 pm

  • OMG how could I forget Doc Python!!! tZork never revived his cool tMod, which added 2 weapons to nex 1.5, and Team Nexuiz is a team no more :cry:
    So that's 3 of us making weapons for nexuiz.
    User avatar
    ihsan
    Alien trapper
     
    Posts: 305
    Joined: Fri Mar 03, 2006 3:33 pm
    Location: Trinidad (Where Obama met Chavez)

Mon Jan 21, 2008 5:30 pm

  • Rad: I am making a completely new weapon, the question I am asking is how to animate it.

    Ihan: You asked for the smds, here they are. Please help me by telling me how you animate nexuiz weapons. Please. You made the exporter, I assume you know how to do it.
    Here is the crossbow, including the SMDs, blenderfiles, texture, etc.
    http://md3.bpa.nu:81/other/crossbowstart.pk3
    take_this_cup_of_poison
    Banned
     
    Posts: 198
    Joined: Sun Jan 20, 2008 2:25 am

Mon Jan 21, 2008 6:01 pm

  • Well, perhaps my girlfriend can have a look at this. She's the de-facto project leader by now - equal rights and all. Perhaps she knows someone who can do anims.
    User avatar
    SavageX
    Site Admin
     
    Posts: 442
    Joined: Wed Mar 01, 2006 9:34 am

Mon Jan 21, 2008 6:47 pm

  • PM doc-python. He got that machine gun of his animated. And post your findings up here. :)
    Image
    User avatar
    torus
    Forum addon
     
    Posts: 1341
    Joined: Sun Dec 24, 2006 6:59 am
    Location: USA

Mon Jan 21, 2008 7:41 pm

  • SavageX wrote:Well, perhaps my girlfriend can have a look at this. She's the de-facto project leader by now - equal rights and all. Perhaps she knows someone who can do anims.

    heh heh...
    Shoe
    Keyboard killer
     
    Posts: 517
    Joined: Wed Mar 08, 2006 2:18 am

Mon Jan 21, 2008 8:45 pm

  • (Deleted the image) Hey! This means PIGS, not PICS. Remove your image posts and don't lead this thread off topic!
    Last edited by divVerent on Mon Jan 21, 2008 9:03 pm, edited 3 times in total.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Mon Jan 21, 2008 8:47 pm

  • Image
    avirox
    Member
     
    Posts: 15
    Joined: Tue Feb 28, 2006 9:15 pm

Mon Jan 21, 2008 8:58 pm

  • Image
    User avatar
    SavageX
    Site Admin
     
    Posts: 442
    Joined: Wed Mar 01, 2006 9:34 am

Mon Jan 21, 2008 9:35 pm

  • Doc-Python doesn't use blender.
    I guess the other above posts means you people won't be helping me.
    Fine.

    Where is this "great community" I keep hearing about?
    Posting random images is great? (You can't even draw your own and must rip off copyrights stuff?)

    Ishan: the smds you requested are here: http://md3.bpa.nu:81/other/crossbowstart.pk3
    Please download them and take a look.
    take_this_cup_of_poison
    Banned
     
    Posts: 198
    Joined: Sun Jan 20, 2008 2:25 am

Mon Jan 21, 2008 9:56 pm

  • You're behavior is becoming too familiar... I'd say better to cool down...

    Making animated models are hard, and gues what, even the devs haven't find a clear way to figure it out... be patient, you'll maybe get your answere soon. Whatever it will be.
    "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

Mon Jan 21, 2008 10:59 pm

  • C.Brutail wrote:You're behavior is becoming too familiar... I'd say better to cool down...

    Making animated models are hard, and gues what, even the devs haven't find a clear way to figure it out... be patient, you'll maybe get your answere soon. Whatever it will be.


    I am confused about the startrek images. I watched startrek when it was on, why are these other posters posting useless images? What is the point?
    take_this_cup_of_poison
    Banned
     
    Posts: 198
    Joined: Sun Jan 20, 2008 2:25 am

Mon Jan 21, 2008 11:22 pm

Tue Jan 22, 2008 12:36 am

  • ihsan wrote:f0rqu3 is still working on a ZYM imoprter/exporter which should make all this a lot easier.

    not anymore sorry. check my post
    -----
    so smd export works? (I think I can make quick test: import some player zym export smd, create zym with the command line tool :x)
    n0rqu3
    Member
     
    Posts: 28
    Joined: Thu Jan 03, 2008 1:23 am
    Location: gone

Tue Jan 22, 2008 5:43 pm

  • take_this_cup_of_poison wrote:(...)
    Where is this "great community" I keep hearing about?
    Posting random images is great? (You can't even draw your own and must rip off copyrights stuff?)
    (...)


    sorry
    but he has a point there...
    User avatar
    Blµb
    Alien trapper
     
    Posts: 277
    Joined: Thu Mar 29, 2007 1:49 pm

Tue Jan 22, 2008 6:02 pm

  • Blµb wrote:
    take_this_cup_of_poison wrote:(...)
    Where is this "great community" I keep hearing about?
    Posting random images is great? (You can't even draw your own and must rip off copyrights stuff?)
    (...)


    sorry
    but he has a point there...


    One cannot possibly have enough unrelated Star Trek stuff and pigs in a thread. Serious work needs serious relaxing :wink:
    User avatar
    SavageX
    Site Admin
     
    Posts: 442
    Joined: Wed Mar 01, 2006 9:34 am

Tue Jan 22, 2008 7:09 pm

  • Blµb wrote:sorry
    but he has a point there...


    Projects that act all corporate all the time loose their feel, that's why I'm still posting on these forums. All open source projects have their in-jokes, mine has an in-joke involving a NDA (Don't ask :D)
    User avatar
    Psychcf
    Forum addon
     
    Posts: 1554
    Joined: Sun Dec 03, 2006 11:38 pm
    Location: NY, USA

Wed Jan 23, 2008 3:30 am

  • take_this_cup_of_poison wrote:Doc-Python doesn't use blender.
    I guess the other above posts means you people won't be helping me.
    Fine.

    Where is this "great community" I keep hearing about?
    Posting random images is great? (You can't even draw your own and must rip off copyrights stuff?)

    Ishan: the smds you requested are here: http://md3.bpa.nu:81/other/crossbowstart.pk3
    Please download them and take a look.


    It's the middle of the week and I do have a job to go to so i may take a while to reply. :x
    Here's what we need to do:

    take your bow, create an armature for it.
    Rig and animate the bow firing,
    export the custom animations with the 'SMD animation exporter' script (untested),
    export the MESh with the smd mesh exporter
    configure and run zmodel on it to make the zym

    I can only get this done during the weekend. Just too busy with real life.
    User avatar
    ihsan
    Alien trapper
     
    Posts: 305
    Joined: Fri Mar 03, 2006 3:33 pm
    Location: Trinidad (Where Obama met Chavez)

Sat Jan 26, 2008 3:57 pm

  • http://www.mediafire.com/?8jmy309ygt2

    walking animation is exaggerated but my comp crashed, i didnt saved and i dont wanna start all over again

    i fixed model in few spots so its not 100% same mesh

    enjoy
    User avatar
    Morphed
    Alien
     
    Posts: 197
    Joined: Tue Feb 28, 2006 10:41 pm
    Location: Poland

Sat Jan 26, 2008 5:37 pm

  • Can you please post max file if it still exists?
    User avatar
    ihsan
    Alien trapper
     
    Posts: 305
    Joined: Fri Mar 03, 2006 3:33 pm
    Location: Trinidad (Where Obama met Chavez)



Return to Nexuiz - Editing




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