Where can I find the self animated weapons from Nexuiz? - Printable Version +- Xonotic Forums (https://forums.xonotic.org) +-- Forum: Creating & Contributing (https://forums.xonotic.org/forumdisplay.php?fid=10) +--- Forum: Xonotic - Development (https://forums.xonotic.org/forumdisplay.php?fid=12) +--- Thread: Where can I find the self animated weapons from Nexuiz? (/showthread.php?tid=4919) |
Where can I find the self animated weapons from Nexuiz? - MirceaKitsune - 05-18-2014 Once upon a time, long before Xonotic was born, there was a day when self animated weapons were proposed for Nexuiz. If I remember correctly, this was some 5 years ago, but it was done for weapon models still used by Xonotic today. Several weapons were given parts that would dislocate or rotate when the player fired, rather than just the gun bobbing backward. Unfortunately however, they were removed in a matter of weeks / months... something to do with not pointing at the aim target properly. Animating the weapon mesh was never discussed or attempted again ever since. As I've been mentioning, I'm working on a mod that will run on top of Xonotic, focused primarily on change and good art. Since I have slightly less scruples than Xonotic master, I'm not as bothered if the weapon is facing a little to the right or left. Animated weapons are one thing I would love to add, and using the ones Nexuiz had would be the easiest first step. So does anyone know where and if I can still obtain the blend file sources of animated weapons, from the period when Nexuiz had spinning barrels on the Mortar / Hagar / Rocket Launcher? Also, are there any instructions on how I'd have to export the v_weapon or h_weapon file for this... considering the code might have changed and at this day we'd use iqm instead of zym? RE: Where can I find the self animated weapons from Nexuiz? - Mr. Bougo - 05-19-2014 I'm not sure I understand. Aren't the weapon anims still in? The weapon model files have hardly changed since the beginning of Xonotic. There is code for fire animations as well. If that's called, should it not be considered a bug? Anyway, Nexuiz repositories still exist. Consider making a git-svn clone. RE: Where can I find the self animated weapons from Nexuiz? - MirceaKitsune - 05-19-2014 (05-19-2014, 01:37 AM)Mr. Bougo Wrote: I'm not sure I understand. Aren't the weapon anims still in? The weapon model files have hardly changed since the beginning of Xonotic. Self animated weapons were only in Nexuiz for a few weeks, before the admins changed their mind. The old static models were then reverted back to. No, the current weapon models don't have any mesh animations. That's easy to tell, because h_weapon only contains the armature bones for the 1st person weapon positioning, while v_weapon is attached to that. v_weapon is md3... which doesn't support more than one animation, and in this case all v_*.md3 weapon files are static models. I believe animated weapons contain the mesh in the h_*.iqm file directly, together with the bones and 1st person gun animations. And you're right that if they're still anywhere, it must be the old Nexuiz SVN repository... in case that still exists. But that's still so large, and this happened so long ago, that I don't know where and how to look for them. Especially since there isn't a web interface that lets me see the commits addressing a specific file, and SVN is less smart than GIT. RE: Where can I find the self animated weapons from Nexuiz? - tZork - 05-19-2014 There never was such a thing a "self animated" weapons in nexuiz or xonotic, how would that even work? The only automatic animations in nexuiz was for player models. Afaik the code for animated guns are still in xonotic and i think overkill weapons use it, if you need an example. RE: Where can I find the self animated weapons from Nexuiz? - MirceaKitsune - 05-19-2014 (05-19-2014, 07:32 AM)tZork Wrote: There never was such a thing a "self animated" weapons in nexuiz or xonotic, how would that even work? The only automatic animations in nexuiz was for player models. Afaik the code for animated guns are still in xonotic and i think overkill weapons use it, if you need an example. There were... I remember when I tested them myself at the time. The Mortar and Rocket Launcher had spinning barrels when the weapons were fired for example. RE: Where can I find the self animated weapons from Nexuiz? - tZork - 05-19-2014 Self-animated implies it magically works with no specific code for it, this is not the case. Anyhow: qcsrc\server\cl_weaponsystem.qc and http://dev.xonotic.org/projects/xonotic/wiki/Weaponsystem Wrote:/* looks like what you want is option 4. look at the h_*.framegroups in the weapons dir for reference. RE: Where can I find the self animated weapons from Nexuiz? - MirceaKitsune - 05-19-2014 Oh... I probably didn't use the most accurate wording. By "self animated" I meant weapon models that contain their own animation. Rather than h_weapon.iqm containing the bones, and v_weapon.md3 containing the mesh. And thanks, that list helps understand how the code will expect this to be for starters. RE: Where can I find the self animated weapons from Nexuiz? - nilyt - 11-06-2014 +1 for trying that Did you get anywhere with it? I remember the framegroups thing, from years ago, trying to make the nexuiz flag work in xon, which has this little rotating piece in the center (where the frames timing/looping was wrong for xonotic). After all the fiddling I had two versions, one where I did the frames in QC, and then the framegroups file. That flag ofc had no player attached model and thus was easy by comparison, but I remember thinking it has a lot potential to manage the animation frames from qc, doing event-based stuff beyond just simply looping. RE: Where can I find the self animated weapons from Nexuiz? - MirceaKitsune - 11-07-2014 Not really, I never found these old models. Still looking if anyone knows where they could be found! RE: Where can I find the self animated weapons from Nexuiz? - Mr. Bougo - 11-07-2014 (11-07-2014, 09:42 AM)MirceaKitsune Wrote: Not really, I never found these old models. Still looking if anyone knows where they could be found! Maybe I'm missing something there, but isn't it simply in the nexuiz repo? https://git.icculus.org/?p=divverent/nexuiz.git;a=summary RE: Where can I find the self animated weapons from Nexuiz? - nilyt - 11-08-2014 Hmm, sadly I can't remember anything about that exactly. I do think I remember talk about that, but not really anything implemented. Memory is such a fickle thing. But wouldn't that have been *after* the fork, when there was all that talk about IQM models and such? Edit: in that case, look in oldstuff.git, http://git.xonotic.org/?p=xonotic/oldstuff.git;a=heads RE: Where can I find the self animated weapons from Nexuiz? - MirceaKitsune - 11-08-2014 (11-07-2014, 12:14 PM)Mr. Bougo Wrote:(11-07-2014, 09:42 AM)MirceaKitsune Wrote: Not really, I never found these old models. Still looking if anyone knows where they could be found! It should be, but it depends between which revisions. The self animated models were added some 5 years ago, but removed in less than a few months. So it's probably between two very precise commits, and two very ancient ones at that. RE: Where can I find the self animated weapons from Nexuiz? - Mr. Bougo - 11-08-2014 So what, the commit history for data/models/weapons is very short. Have a look for yourself. RE: Where can I find the self animated weapons from Nexuiz? - nilyt - 11-08-2014 Right. Looks to me as if such a thing wasn't ever in the main branch at least. I suppose it would be either found through the existence of *.framegroups files or in the weapons QC code. You know I just found this: http://forums.xonotic.org/showthread.php?tid=993 Seems I was interested in the same at some point previously. It's not very helpful here at all though. Haha. Though I think to remember now the RL had this clunky bullet chamber on the left side, where it has the player color now, which could rotate or was meant to rotate? Does that at least match with your memory, Taoki? RE: Where can I find the self animated weapons from Nexuiz? - MirceaKitsune - 11-08-2014 (11-08-2014, 04:46 PM)Mr. Bougo Wrote: So what, the commit history for data/models/weapons is very short. Have a look for yourself. Aha... that looks like it should work, thanks. Will look in-depth sometime later. |