News:

SMFNew Installed

+-+-

User+-

Welcome, Guest.
Please login or register.
 
 
 

Login with your social network

Forgot your password?

Site Stats+-

Members
Total Members: 728
Latest: Cho
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 10932
Total Topics: 795
Most Online Today: 389
Most Online Ever: 854
(September 18, 2024, 07:49:37 am)
Users Online
Members: 0
Guests: 97
Total: 97

Author Topic: Daggers?  (Read 4189 times)

0 Members and 24 Guests are viewing this topic.

Daggers?
« on: »
Has anyone had any luck getting the daggers unittype to work? They equip them fine and it even uses the right idle animation if you set it for DAGGERS in their L and R handslots, but the character refuses to attack with them equipped. I tried given them swords as a "sub" unittype but that didn't solve the problem :/ Any idea?

Also books

Share on Bluesky Share on Facebook


Re: Daggers?
« Reply #1 on: »
You will have to edit the player model DAT folder and add faux attack models for dagger. The animations do not fire because the dagger animations were not finished nor properly implemented. That's why the idles exist but the attack animations, sans a handful of DW animations, do not. No matter what, they will not fire. You will have to add in the animation strings in the dat file, and then use the Alt Animation in the player dat to point to something that DOES exist.

Re: Daggers?
« Reply #2 on: »
Do you mean like in the .animation file? I dont know what dat file this is. And would I just name them dagger1.skeleton, dagger2.skeleton, etc? How does the game know to use them for daggers?

Re: Daggers?
« Reply #3 on: »
You'd have to clone an existing animation .SKELETON file and rename its internal NAME to your new dagger animation name.

Renaming it internally is done with the OGREXMLConverter tool that comes with the OGRE toolset (I've got a DL link around here somewhere / will look for it when I get home).  The animation NAME section is near the bottom of the file.

Once renamed, you re-convert it back to .SKELETON using the same tool.


Re: Daggers?
« Reply #4 on: »
Read this guide for creating custom animations: http://forums.runicgames.com/viewtopic.php?f=57&t=56060

Re: Daggers?
« Reply #5 on: »
Using that tutorial above you could butcher the Bandit dagger anims and use those for player characters, IIRC Chthon posted somewhere that the skeletons for the human players and Bandits were very very similar. I think the dagger unit type was only ever intended for those Bandit units, for players it would hard to meaningfully differentiate advantages between daggers and fist weapons (some of the fist weapons look to me to have been intended to be daggers actually).

Re: Daggers?
« Reply #6 on: »
Cool! Got it working guys thank you!!

And as far as differentiation goes, I'm thinking daggers are slightly slower, slightly higher damage than fists/claws, and get something like 50 or 100% bonus critical damage. Since I'm moving execute chance from focus to dex, fists will be about equally helped dps-wise by strength and dexterity (good for brutes, brawlers, and barbarians flavor-wise), but dagger dps would be increased much more by dex, to increase crit chance and take advantage of their innate crit damage bonus (good for the agile, subtle, stabby types, flavor-wise).

Re: Daggers?
« Reply #7 on: »
on the same note, anyone had luck with the "thrown" category? Or know what the animation names should be for those (if anything works at all)? Rthrow1? Rthrown1?

Re: Daggers?
« Reply #8 on: »
You're wanting to be able to throw the daggers? I know there aren't any throw type "standard attack" animations, probably because there are no standard throwing weapons.

But you can put in the throwing ability as part of a skill, in which case you could just use any of the "SPECIAL_THROW..." animations. You'd need to make a "thrown dagger" missile, but that should be a piece of cake for you ;)


Re: Daggers?
« Reply #9 on: »
In the game there's an unused unittypes "THROWN", kinda like the daggers, except there's absolutely NO weapons that use it. To make daggers usable, all I needed was to make sure the player had animations named "Ldag1","Rdag3", etc. I don't know what the animations need to be named to make this "thrown" unittype work - if its even possible.

Re: Daggers?
« Reply #10 on: »
Take a look at the Berserker Storm Hatchet skill. It has both the animation and the projectile you need to make a Throw Dagger skill.

Also have a look at this mod: http://forums.runicgames.com/viewtopic.php?f=48&t=53478

The Synergies mod also contain throwing weapons. So have a look at that too.
« Last Edit: April 06, 2016, 12:39:12 pm by Wolven »

Re: Daggers?
« Reply #11 on: »
Hmm, both of those are "cheating" in that they're using the 1HAXE, 1HSword, etc. Unittypes. And I don't mean a skill, but rather an actual weapon's default attack. I'm trying to use the actual "THROWN" unittype in the game. There's one here, but nothing seems to use it at the moment. I'm wondering if there's a way to make that actual UNITTYPE usable as a new unittype on its own, much like how it can be done for DAGGERS unittype.

Re: Daggers?
« Reply #12 on: »
hmm very strange - just tested it and apparently there's no new animations needed! They seem to default to the Rslash and Lslash animations just fine! And a missile (like wands) or a skill (like rifles, but use a skill like storm hatchet instead) can be added to complete the functionality! I wonder why those other mods did not utilize this?

EDIT: Since no in-game items utilize this type, it seems to be essentially a free unit type to do whatever with, as you can make the animations whatever you want in the player animation replacer, and use the translation trick to have the game call them whatever you want. This could be used to add TL1 Rifles, or anything you'd want, really. I think.
« Last Edit: April 06, 2016, 05:12:20 pm by Avocados »

Re: Daggers?
« Reply #13 on: »
Thats very much worth a shot. It actually bothers me that my rifles are still called shotgonnes in game! Is there a tut for the translation trick somewhere? Tho id only have time for this sfter ive finished TL1CP :P


Re: Daggers?
« Reply #14 on: »
I couldn't find a tut, but it's super easy, don't worry! You basically just create a new language, and you can "translate" certain things to whatever. I've attached a quick example. Its simply a TRANSLATIONS folder you'd drop directly into a media folder in a mod. You can look through it to see how it works, but its pretty straight forward - it just makes a new language called "MODDED" that simply "translates" only "Unique" to "Very Rare" and "Shotgonnes" to "Rifles". Like I said, looking through the files will make it very clear, it's basically two very small dat files. So if in game you change the language to "MODDED", it will change only those two terms. I haven't figure out how to make it the default language though, so you do have to manually change the language to "MODDED" in game once.

 

Recent Topics+-