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: Changing Creature Parts?
Thread: Changing Creature Parts?
masonjo
masonjo


Hired Hero
posted September 26, 2009 11:00 AM
Edited by VokialBG at 18:32, 28 Jul 2011.

Changing Creature Parts?

How do you giva a creature a different creatures bodypart/weapon?
Like Radar's [url=http://heroescommunity.com/viewthread.php3?TID=27330]Dual-wielding Vindicator mod[/url] for example?

Specifically how would I put a Wolfs head and tail onto an Orc Slayer body? I have cut the tail and head from the rest of the body and removed the head from the orc, and I have some other mods to work from but im a bit lost.

Help would be greatly appreciated

Moderator's note: for minor questions, please use [url=http://heroescommunity.com/viewthread.php3?TID=24429]the questions topic[/url]. This one is now locked!

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


Promising
Famous Hero
NCF Blacksmith
posted September 26, 2009 11:30 AM

Use effects with ModelInstances
Look in my NCF creatures how I did (in the Bean Sith for example, I remember I made my file tree very clear)
____________
NCFBank,
the complete and homogen NCF
library.

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


Hired Hero
posted September 26, 2009 11:41 AM

Thanks i'll give it a go
____________

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


Hired Hero
posted September 26, 2009 12:00 PM

Quote:
Use effects with ModelInstances
Look in my NCF creatures how I did (in the Bean Sith for example, I remember I made my file tree very clear)


I downloaded the Bean Sith and had a look through it. It doesn't make much sense to me, this is my first real mod attempt (maybe a bit ambitious ). Can you give me a basic idea of how to create the model instance and apply it?  

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


Promising
Famous Hero
NCF Blacksmith
posted September 26, 2009 12:54 PM
Edited by TSoD at 12:55, 26 Sep 2009.

Make a model (I hope you know how to do it).
In the example, I use the following model :
Characters\Creatures\Dungeon\BloodyWitch.xdb

I want to add the Bloody Witch model in idle animation during the attack animation of the Peasant, and lock this model on the "Head" bone (so it will follow all Head bone positions/rotations).
I open
_(AnimSet)\Creatures\Haven\Peasant-arena-attack00.xdb
And add an effect in editing this line
<Effect/>
I replace <Effect/> by :
<Effect href="/Effects/MyWitch.(Effect).xdb#xpointer(/Effect)"/>

I save and close the file. I create the /Effects/MyWitch.(Effect).xdb file in Effects/. It contains this:
Quote:
<?xml version="1.0" encoding="UTF-8"?>
<Effect>
<Instances/>
<Lights/>
<Models>
<Item href="MyWitchInstance.(ModelInstance).xdb#xpointer(/ModelInstance)"/>
</Models>
<WindAffected>false</WindAffected>
<WindPower>1</WindPower>
<Duration>2.5</Duration>
</Effect>



I save the file then close it. I create, in the same folder, a file that I name MyWitchInstance.(ModelInstance).xdb. It contains this :
Quote:
<?xml version="1.0" encoding="UTF-8"?>
<ModelInstance ObjectRecordID="72">
<Model href="/Characters/Creatures/Dungeon/BloodyWitch.xdb#xpointer(/Model)"/>
<SkelAnim href="/Characters/Creatures/Dungeon/BloodyWitch-arena-idle00.xdb#xpointer(/BasicSkelAnim)"/>
<Position>
<x>0</x>
<y>0</y>
<z>0</z>
</Position>
<Rotation>
<x>0</x>
<y>0</y>
<z>0</z>
<w>1</w>
</Rotation>
<Scale>1</Scale>
<Offset>0</Offset>
<CycleLength>0</CycleLength>
<CycleCount>0</CycleCount>
<GlueToBone>0</GlueToBone>
<GlueToNamedBone>Head</GlueToBone>
</ModelInstance>



Now I save and close the file. And oh surprise, now when the peasant attacks with its attack00 animation, a bloody witch appears on its head and follow the head movements ! And when animation is finished, bloody witch disappears. It will appear again when the peasant will use its attack00 animation.

There you are

EDIT : Don't forget to save your txt files as UTF-8 encoded if you really create them and not copy them from existing data.pak files.
____________
NCFBank,
the complete and homogen NCF
library.

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


Hired Hero
posted September 26, 2009 01:11 PM

Thanks, but sadly I don't really know how to make a model
If its too complicated to explain then don't worry about it.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0324 seconds