Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 5 - Modders Workshop > Thread: [NCF based] Sun Warrior
Thread: [NCF based] Sun Warrior This thread is 3 pages long: 1 2 3 · NEXT»
Gnoll_Mage
Gnoll_Mage


Responsible
Supreme Hero
posted January 11, 2008 07:05 PM
Edited by VokialBG at 12:55, 06 Sep 2008.

[NCF based] Sun Warrior

The Sun Warrior is now in mod form, working with the wonderful NCF. You can find the zip here.



Original post:

Yay! After much fiddling, I finally managed to put the weapon of one creature into the hand of another.

Presenting, the Sun Warrior (video takes a while to load I'm afraid):


(Attacking, moving.)

Unfortunately we cannot pick and choose as we wish - only certain pairs of creatures will work with this method (that's not to say there's a different way of doing it that does work for any pair).

Details coming (yes, I know the sword goes into the ground, my pick of Angel+Footman wasn't the most clever - let's just say it's a vorpal sword ).



Added from a lower post:

How I added the Angel's Sword to the footman...

This is not hugely easy to do - this guide is aimed at people already reasonably confident with using the editor / editing the xml, playing with textures etc..
The trick here is with animations. Here is a brief overview of how it works:
Take the Footman, and edit his sword texture so that the sword disappears. Edit the Angel's textures so that only the sword remains. Then all we do is `overlay` the Angel on top of the Footman - so that we have his body, but the Angel's sword. This results in the sword being animated just like an invisible Angel is holding it (no surprise there...), so we have to give the superimposed Angel the Footman's animations. Here's the issue - any creatures used with this technique must have their weapon joints identically named. Since that is the case here ("Sword_joint"), the Footman's animation set contains all the info necessary to direct the Angel's sword (as it does for his own). The game (+ Granny?) can then add the sword in properly and everything moves realistically.

So how to overlay the models? Well the answer is, using effects. Each effect is made of particle instances (e.g. the three glows applied to my unit), plus model instances. All we do is set the footman's model instance model to that of the Angel (which, remember, is now only a sword). This has to be done for each animation of the footman's animset. The model instance animation is set to be the relevant animation of the Footman for each individual animation- so the Footman's attack animation has that very animation attached to its model instance, which also has the Angel's model attached (hence geometry, skeleton and materials). Now it doesn't feel like much of that made sense...

It is necessary to set Cyclecount to 0 (somewhere!).
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
2ndHero
2ndHero


Famous Hero
Floppy Slayer
posted January 11, 2008 07:26 PM

Nice!
(But the sword is too big.) So weapons are moddable, maybe you could put a tutorial how to make it?
____________
Help and suggestions needed here.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Gnoll_Mage
Gnoll_Mage


Responsible
Supreme Hero
posted January 11, 2008 07:30 PM

Thanks! Cannot change the size of the sword I'm afraid, I tried but it doesn't work.
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
eugen_cosmarul
eugen_cosmarul


Famous Hero
hey
posted January 11, 2008 08:13 PM

This is great please post a tutorial to do this
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Elvin
Elvin


Admirable
Omnipresent Hero
Endless Revival
posted January 11, 2008 08:31 PM

Great idea Interesting how not all pairs can work but this seems to be the beginning to a new series of units
____________
H5 is still alive and kicking, join us in the Duel Map discord server!
Map also hosted on Moddb

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
phoenixreborn
phoenixreborn


Promising
Legendary Hero
Unicorn
posted January 11, 2008 08:56 PM

Allow me.  He is compensating.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Gnoll_Mage
Gnoll_Mage


Responsible
Supreme Hero
posted January 11, 2008 09:02 PM

Compensating?
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Gnoll_Mage
Gnoll_Mage


Responsible
Supreme Hero
posted January 11, 2008 09:21 PM
Edited by Gnoll_Mage at 21:21, 11 Jan 2008.

How I added the Angel's Sword to the footman

This is not hugely easy to do - this guide is aimed at people already reasonably confident with using the editor / editing the xml, playing with textures etc..
The trick here is with animations. Here is a brief overview of how it works:
Take the Footman, and edit his sword texture so that the sword disappears. Edit the Angel's textures so that only the sword remains. Then all we do is `overlay` the Angel on top of the Footman - so that we have his body, but the Angel's sword. This results in the sword being animated just like an invisible Angel is holding it (no surprise there...), so we have to give the superimposed Angel the Footman's animations. Here's the issue - any creatures used with this technique must have their weapon joints identically named. Since that is the case here ("Sword_joint"), the Footman's animation set contains all the info necessary to direct the Angel's sword (as it does for his own). The game (+ Granny?) can then add the sword in properly and everything moves realistically.

Specific modding details coming...

@Elvin - Thanks, I hope indeed that this brings us a few newish-looking creatures, although it is fairly limited and a little fiddly.

Unfortunately, I'm not sure I quite have the ability to package this as a creature in a mod.
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
alcibiades
alcibiades


Honorable
Undefeatable Hero
of Gold Dragons
posted January 11, 2008 10:33 PM

Quote:
Allow me.  He is compensating.




That was hilarious - and my thought exactly.

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
Wulfstan8182
Wulfstan8182


Famous Hero
, eh?
posted January 13, 2008 04:37 AM

awesome! so i hope you are still helping us with the Undead Faction mod? since you said that "you will look into it" in the thread. thanks a lot for figuring this out, many, many new creatures are going to be created! you rule!
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Gnoll_Mage
Gnoll_Mage


Responsible
Supreme Hero
posted January 13, 2008 02:28 PM

Thank you! But I may be pushed for time from now on for a while,  and I said I'd help get ToK finished ASAP, so I might not be able to help too much...
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Azagal
Azagal


Honorable
Undefeatable Hero
Smooth Snake
posted January 13, 2008 02:40 PM

absolutely supreme work... Thank you so much! Now things really can go beyond recolouring!!Hmm would be interesting to see which creatures go together. But thanks that's awesome and I'm sure this is going to let a whole lot of "new" creatures come to life.
____________
"All I can see is what's in front of me. And all I can do is keep moving forward" - The Heir Wielder of Names, Seeker of Thrones, King of Swords, Breaker of Infinities, Wheel Smashing Lord

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Gnoll_Mage
Gnoll_Mage


Responsible
Supreme Hero
posted January 13, 2008 04:49 PM
Edited by Gnoll_Mage at 16:49, 13 Jan 2008.

Cheers Azagal! Basically it's any creatures that have similar weapons in the first place. For example, Peasant+Footman is a no-go combination because the peasant's weapon joint is called "Fork", unsurprisingly. The Rakshasha Rani's weapons are called Sabres, so that would not work even if they only had just the one weapon - with two, the joints are something like "Sabre1", "Sabre2" etc..
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
antipaladin
antipaladin


Promising
Legendary Hero
of Ooohs and Aaahs
posted January 14, 2008 12:41 AM

can the elf use the sabres or the vampire sword?
____________
types in obscure english

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Lord_of_Chaos
Lord_of_Chaos


Known Hero
Chaotic Entity
posted January 14, 2008 02:54 AM

Excellent work!
I cant wait to see all the new creatures that will be made because of this.

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
Gnoll_Mage
Gnoll_Mage


Responsible
Supreme Hero
posted January 14, 2008 06:38 PM
Edited by Gnoll_Mage at 18:41, 14 Jan 2008.

You can see which creature pairs will work by comparing their weapon joint names in the Granny viewer (see another thread...). Sorry Anti, the lvl 2 elves won't work with the Vampire because he has only one sword, and they won't work with the Rakshasas either because the elves' swords are actually called swords (there is another issue too actually, the elves' joints use "root", whereas others sometimes use "joint").

Interestingly, the vampire sword will work with the Angel and the Footman, so there's room there for some modifications guys!
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
antipaladin
antipaladin


Promising
Legendary Hero
of Ooohs and Aaahs
posted January 14, 2008 09:21 PM

i seggest a post with all posible trasnmutes,and it pictures.
____________
types in obscure english

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
eugen_cosmarul
eugen_cosmarul


Famous Hero
hey
posted January 14, 2008 09:29 PM

I'd really like 2 see a footman with a dagger like the blood maiden ones is it possible?
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Gnoll_Mage
Gnoll_Mage


Responsible
Supreme Hero
posted January 14, 2008 10:04 PM

A list of compatible creatures would be good, but it would be a long slog through the data files to get it done, which I'm not willing to do at the moment. Anyone who feels like being useful, feel free to make a start!
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Gnoll_Mage
Gnoll_Mage


Responsible
Supreme Hero
posted January 15, 2008 01:29 PM

Disaster! The move animation does not work properly. The sword keeps drifting of its own accord...
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 3 pages long: 1 2 3 · NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0428 seconds