Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - nargil66

Pages: 1 ... 81 82 [83] 84 85 ... 166
1231
Other Modifications / Re: Tips & Tricks with MeshView
« on: 02 August 2019, 13:25:05 »
4.1.3.3 Transfering bones between meshes
To show you how to transfer bones from one mesh to another, ill use another example. Let's say you want to make a character addon mod that replaces the vanilla female character with a nymph (also vanilla). You extract the nymph mesh and textures, copy them to your main game Database folder (you are probably familiar with the directories if you played any of my addon mods) and rename them to default female ones. Seems easy, but when you launch the game the attach points are a mess:




Normal adjusting of attach points won't be enough in this case. Why? Because the two meshes have different bone position, size and rotation, which makes things even harder. However, transfering bones can help. All you have to do is copy the data from human female bones and replace the nymph bone data. The nymph mesh appearance won't change much, but with some adjustments human armors will fit much better. Lets start with Bone_Head. We open the female model in another instance of MeshView and start transfering the data:



Again, you dont need to copy values containing letters - they are insignificant. And here too we dont touch the Origin column. Save the Nymph mesh with the changes and launch the game to test:



Even with this small change it looks much better. Now we can move to adjusting the torso. After tranferring Bone_Spine01 however (the lower torso bone), the helmet and armband positions are moved:



Hehe, you didn't think it will be THAT easy, did you? Bone_Spine01 is a parent bone of the upper body chain, so all its children bones get affected even by a slight change. We have to transfer the entire chain, which gones like that: Bone_Spine01 > Bone_Spine02 > Bone_Neck01 > Bone_Head; and for the arms: Bone_L/R_Clavicle > Bone_L/R_Shoulder > Bone_L/R_Forearm and perhaps Bone_L/R_Wrist. Its better to start with transferring the upper torso and neck bones. When you reach transferring Bone_Neck01, you may notice that the bone is named differently on the nymph (just Bone_Neck without 01). Is this important? Yes, because we want the nymph to react better to human animations. Right now the neck of the nymph is "stiff", like wooden. Well, adding "01" to the bone name will fix that:




Left - Before, Right - After

1232
Other Modifications / Re: [MOD] Battle Nymphs
« on: 01 August 2019, 19:14:17 »
Look like all links has down  :-\
Updated link.

1233
The mod is on hold right now. I'll fix the problems as soon as I return to it.

1234
Other Modifications / Re: MODDING TUTORIALS A-Z (PDF)
« on: 31 July 2019, 23:14:12 »
List is updated once more.

1235
Champions are truly champions, they no longer are trash monsters with yellow name as in vanilla. They are tougher,  dangerous and smart.
Sounds cool and challenging, similar to what i had as plan for a world mod... only mine is still on paper, while yours is real. I sincerely admire your hard work. You rock dude  8)

1236
Other Modifications / Using Tamschi's MeshView
« on: 31 July 2019, 18:19:19 »
4.1.2.6 Attaching Entities
After covering attach point transform options, lets move to the attachments themselves. Here you will learn how to attach Entities (effects, items, monsters, decorations and such) directly to a mesh.

An Entity is basically a link to a .DBR file in the game's records. You must know the exact file path of the Entity you want to attach for this to work.
To attach anything, scroll down in the mesh TextData and on the bottom use the following entry:
Quote
CreateEntity
{
    attach = "*Entity Attach Point Name*"
    entity = "*Entity Record Path*"
}

Here is an example. Lets say we want to attach a common leather helmet that always remains visible on the character. We open Art Manager and click on "Import Record..." to browse existing items. In this case, the leather helmet record path is "records\item\equipmenthelm\c01_helm01.dbr". So our attachment entry would look like this:


We relaunch the game to see the result:


The helmet is attached permanently now, not equipped. But there is a small problem - the default hair (and all equipped helmets) remain visible too. Lets fix it by scaling down the "Head" Attach Point again and make it invisible as we learned above:
Quote
AttachPoint
{
    name   = "Head"
    origin = (0.000000, 0.000000, 0.000000)
    xAxis  = (0.000001, 0.000000, 0.000000)
    yAxis  = (0.000000, 0.000001, 0.000000)
    zAxis  = (0.000000, 0.000000, 0.000001)
}

Remember, normal helmets Attach point is "Head", while the leather helmet one is named "Helmet", so even if you shrink the first, it won't affect the size of the attached item. Result ingame:


Ok, we attached a piece of armor, but how about an effect? It's the same method, again we browse the database to find a suitable effect record. In this example I'll use a well known aura effect - Art of the Hunt. It's record file path is "records\effects\hunting\343_trailblazing_fx01.dbr". Lets try by adding a new Entity, beside the leather helmet:
Quote
CreateEntity
{
    attach = "Helmet"
    entity = "records\item\equipmenthelm\c01_helm01.dbr"
}
CreateEntity
{
    attach = "Effect"
    entity = "records\effects\hunting\343_trailblazing_fx01.dbr"
}

Here is the result ingame:


4.1.2.7 Attaching Entities to Bones
Now, let's say we want to move the attached effect up, around the head like a halo. Right now we cant - the Effect origin remains at the center ot the coordinate system, and the position of the effect itself (or any other attached Entity) depends on the default position it was created with according to that origin. To move, scale or rotate an entity in any way, we must first attach it to a certain bone. And to do that, we need to create a new attach point that depends on that bone.

The easiest way to move the position of any effect or armor piece is to attach it to the base bone that lies in the very the coordinate center - MoveAxis. It's normally invisible, but its location is between the feet of the character. Let's create a new attach point now, corresponding to the "Effect" entity and depending of MoveAxis:
Quote
AttachPoint
{
    name   = "Effect"
    parent = "MoveAxis"
    origin = (0.000000, 0.000000, 0.000000)
    xAxis  = (1.000000, 0.000000, 0.000000)
    yAxis  = (0.000000, 1.000000, 0.000000)
    zAxis  = (0.000000, 0.000000, 1.000000)
}

The attach point name and the entity name must be the same, otherwise it wont work.
If you launch the game now, you won't see any difference - the effect will stay at the same position, as MoveAxis' origin is exactly at the center. The only difference is the Entity is controllable now. So we just proceed to moving the effect up via the attach point. Let's try this:
Quote
AttachPoint
{
    name   = "Effect"
    parent = "MoveAxis"
    origin = (0.000000, 1.0000000, 0.000000)
    xAxis  = (1.000000, 0.000000, 0.000000)
    yAxis  = (0.000000, 1.000000, 0.000000)
    zAxis  = (0.000000, 0.000000, 1.000000)
}

Checking the result:


As you see, sometimes attachments may appear on places that are unexpected, depending on the initial rotation/position of the parent bone or the attached entity itself. With some trial and error however you'll learn how to manage that. After a few more tests, here is the correct attach point position:
Quote
AttachPoint
{
    name   = "Effect"
    parent = "MoveAXIS"
    origin = (0.000000, 0.000000, 0.800000)
    xAxis  = (1.000000, 0.000000, 0.000000)
    yAxis  = (0.000000, 1.000000, 0.000000)
    zAxis  = (0.000000, 0.000000, 1.000000)
}


Just a note when attaching particle effects - usually they cannot be scaled or rotated, unless when they come with a mesh of their own. In this case Art of the Hunt effect is just particles, so we can only change its position.

Ok, we made the halo and it looks OK-ish, but there is one problem when attaching effects to MoveAxis - they will always stay at the same height, no matter how the character is moving. Example is this crouching animation:



The better solution in this case is to attach the effect directly to Bone_Head of the character. In difference to MoveAxis, Bone_Head will follow the character's animation, and the attached effect will move with it. Lets try that now, by reseting the attach point and changing the parent bone:
Quote
AttachPoint
{
    name   = "Effect"
    parent = "Bone_Head"
    origin = (0.000000, 0.000000, 0.000000)
    xAxis  = (1.000000, 0.000000, 0.000000)
    yAxis  = (0.000000, 1.000000, 0.000000)
    zAxis  = (0.000000, 0.000000, 1.000000)
}

After you check ingame, you will see that the effect follows the character's head now, only it appears high above it:


Not what we want, so lets try finding the correct position again. After some time, here is a decent attach point for this particular effect:
Quote
AttachPoint
{
    name   = "Effect"
    parent = "Bone_Head"
    origin = (-1.250000, 0.600000, 0.000000)
    xAxis  = (0.000000, 0.000000, 1.000000)
    yAxis  = (1.000000, 0.000000, 0.000000)
    zAxis  = (0.000000, 1.000000, 0.000000)
}



Sadly, armor pieces cannot be attached to bones this way - or they can, but the animations will be terrible. You may think a helmet will fit good attached to Bone_Head.. it seems so, but it doesnt. The only bone armors CAN be attached to with no problem is the mentioned MoveAxis. This gives some interesting opportunities for creature transformations... but that will be a topic of another tutorial.

4.1.2.7 Attaching Animated Decorations

Alright, we learned how to attach armors and particle effects, now lets move to something cooler - how about something moving, like wings?
For this example i'll show you how to attach butterfly wings to the character. This is not very hard to do, as butterflies are already existing ingame as ambient animals (decorations), and they are animated. Lets browse in Art Manager to their file path:


In this case we need an "idle" butterfly record file (doesnt matter what color) - it has static position with only wings moving, while the other one is flying in circles and will be difficult to attach. Copy the record link and create a new entity in the character mesh, with a new attach point to control it:

Quote
CreateEntity
{
    attach = "Wings"
    entity = "records\creature\ambient\butterflyblueidle01.dbr"
}

Quote
AttachPoint
{
    name   = "Wings"
    origin = (0.000000, 0.000000, 0.000000)
    xAxis  = (1.000000, 0.000000, 0.000000)
    yAxis  = (0.000000, 1.000000, 0.000000)
    zAxis  = (0.000000, 0.000000, 1.000000)
}

Checking ingame:


You can see the butterfly between the character's feet. Now remain two things - to make it bigger and to attach it to the character's back, where the wings should be, and make them follow her movements. Lets start with increasing the size:
Quote
AttachPoint
{
    name   = "Wings"
    origin = (0.000000, 0.000000, 0.000000)
    xAxis  = (5.000000, 0.000000, 0.000000)
    yAxis  = (0.000000, 5.000000, 0.000000)
    zAxis  = (0.000000, 0.000000, 5.000000)
}


The wings are 5 times bigger now, probably enough. All we need now is a suitable bone to attach them to. The best bone for this purpose is Bone_Spine02 - its located on the upper part of character's torso. This time ill skip the rotation/adjustment steps (again, i recomend to use Viewer for that) and just give you the ready to use attach point:
Quote
AttachPoint
{
    name   = "Wings"
    parent = "Bone_Spine02"
    origin = (0.300000, -0.150000, 0.000000)
    xAxis = (0.0000000, 0.0000000, 5.0000000)
    yAxis = (0.0000000, -5.0000000, 0.0000000)
    zAxis = (5.0000000, 0.0000000, 0.000000)
}



4.1.2.8 List of Attach Points
Here i'll briefly describe the default attach points in the player character's meshes. Monsters usually have similar, but their attach points may differ.

"SpecialHit01", "SpecialHit02", "SpecialHit03", "SpecialHit04" - TBH, im not sure what these do. I assume they are used for landing a hit with weapon attacks, but its better to not mislead you with false info.

"Head", "Upper Body", "Forearm", "Lower Body" - These are the default attach points for armors - for helmet, torso armor, armbands and leg armor respectivelly. "Forearm" and "Lower Body" attach points are missing in the default character meshes. To edit the position of arm and leg armors, just create new attach points with these names.

"R Hand", "L Hand" - These are the default attach points for weapons. Usually they are tied to Bone_R_Weapon and Bone_L_Weapon, but for creatures that doesnt have these two bones, you can also use Bone_R_Wrist and Bone_L_Wrist as parents and after adjust the attach point position manually.

"Camera", "HeadCam" - "Camera" defines in what position (mostly height) the in-game camera will show the character when zoomed. Play around with the Y origin to adjust it if needed. If you remove or disable this attach point, the camera zooms at character's feet. "HeadCam" is responsible for the character's portrait in the upper left corner. If you are making a creature PC mod and the head of the character is missing from the portrait, try adding this attach point.

"Target" - As with SpecialHit, im not sure. Probably defines the aim of enemy weapons or ranged attacks.

"Light", "Prey_Effect", "Head Effect", "Particle1" - These are effects. "Light" is the light that surrounds the character at night, "Prey Effect" is the attach point for Study Prey eye effect when cast on the character; the rest are for some other effects or auras, not sure which.
To disable a default attach point, just rename it - for example, "Camera" to "Caamera". This will make it inactive.

4.1.2.9 Rest of TextData section
Besides Attach Points and Entities, rest of the TextData consists of Rigid Bodies data, Joint data and Skeleton Emitter Bones. I'm not very familiar with these. Roughly, Rigid Bodies and Joints define the way a creature mesh reacts on death. You know how a Satyr randomly "splashes" on the ground when killed? That depends on the Rigid Bodies - basically they are boxes around each bone that mimic normal physic laws when falling. If you remove Rigid Body/Joint data and the creature has death animation, it will use it instead. But if it doesnt have death animation, it will just freeze. I assume Skeleton Emitter Bones is related to effects, but cant say for sure.

4.1.3 Bones
I'll skip the next 3 sections of MeshView - Vertices, Triangles nad DrawCalls, because their functions are mostly unknown to me. Let's move straight to the Bones section - you can do some pretty cool things there. To begin, ill try to give a brief definition of what are bones in 3D models.
Basically, bones are invisible objects used to deform the surface of a mesh through animation. Each bone has a certain influence over its surrounding vertices (points on the surface of the mesh that build it's geometry structure). Also, bones usually have their own hierarchy of Parent > Children, which means deforming the parrent affects its children bones. Here is an regular example of a skeletal structure in Titan Quest (in this case i'm using a Machae model):



The arrows show the connection between parent and child bones. This hierarchy is important to know when making animations or when changing the size and shape of a certain bone. But i'll stop to this in more detail in the next parts. For now lets just open the Bones section of the Machae mesh by expanding it:


Here you can remove all bones if you desire so. Not much else to do here, so we move to the next part - the bone data.

4.1.3.1 Bone Data
Lets open the first bone in the list - MoveAXIS. We see this:


"Name" - Here you can change the name of the bone. This is useful when you dont want this bone to be affected by animations (disabling it), or to fit with a certain animation of a bone with different name. I'll come back to this a bit later.

"First Child" - Not sure, probably which bone is the next child of this bone in the list.

"Child Count" - how many child bones this bone has.

Under these are 4 columns, where you can see the position, rotation and size of the bone. From left to right column - X, Y, Z, Origin. This is very similar to the attach poins, only here we can edit parameters of the current mesh instead. In this case, if we translate the values of MoveAxis into Attach point values, it makes this:
Quote
    origin = (0.000000, 0.000000, 0.000000)
    xAxis = (1.0000000, 0.0000000, 0.0000000)
    yAxis = (0.0000000, 0.0000000, -1.0000000)
    zAxis = (0.0000000, 1.0000000, 0.000000)

Sadly, you are more limited with the manipulations you can do to bones than to attach points, especially with this particular bone. One basic rule is - don't touch the Origin values ever, or the mesh will become distorted. I'll show you more of what you can do with the next bone - Bone_Root.

4.1.3.2 Reshaping a Model through Bone Data
For this example i'll be using the vanilla female model again, to show you how you can reshape it just by changing the scale and rotation of different bones in MeshView. This is how i started modifying the early versions of Ariadne. It's a bit time-consuming and based on trial and error, but i still refine my models using this method sometimes, because its very precise.
After opening the mesh, we expand Bones section and click on Bone_Root, to see the values are not as clean as they were with MoveAXIS:


First, if you want to simplify things, all the values that contain letters in the first 3 columns (for example: 2,503327E-08) can be made 0 without problem. My guess is that these are very small numbers for rotations and they have almost zero influence on the mesh. Let's clean them:


Now remain the values that matter. Values that are close to 1 mostly define height, width and depth of the bone, values closer to 0 mostly define rotations. Since Bone_Root is a base parent bone, it affects all other bones in the skeleton. Lets look again at the model in-game, before changing anything:


To make things easier, i'll give you some more directions of what value is for what for which type of bone. For Bone_Root in particular:


For all Vertical bones, aligned with the main Y axis:


For all Horizontal bones, aligned with the main X axis:


For all Horizontal bones, aligned with the main Z axis:

 
Knowing this, we can start experimenting. Let's return to Bone_Root and increase its width by half, just for the try:


Checking ingame:


Lol. What did you expect? :D
If you notice the bones stretch, but they keep their default position. It's because we don't change the origin, only the width.
But that was way too much haha. Lets reset the width value to default again and try editing the rotation values this time:




Even by a small amount the result is drastic... and quite alien looking lol. If you want to make a model prettier though, you need much smaller changes.
I'll leave further experimenting to those who are curious. If you want to make a thin Satyr Brute, a fat Machae, or you just want a monster to fit better with armors that are uncommon to it, you can try this method. Just find which bones to stretch or rotate and to what degree.
BTW, talking about fitting armors... there is one more thing you can do using bone data - transfering bones. I'll explain about it in the next part.
(Continuing on 5-th post)

1237
Other Modifications / Re: [MOD] TQ Fun - Collection of mods
« on: 29 July 2019, 20:05:44 »
That was fast! Thanks :)

1238
Texture & Skin Modding / Re: [TEXTURES] Custom Textures & Skins
« on: 27 July 2019, 11:15:05 »
please tell me how i can hide chest and helm, xpack folder do nothing.
mb u can make the latest Ariadne nude mesh with auto armor hider or smth? )
great skins and models btw ty very much! ;)

You can do it yourself, its very easy. All you need is MeshView program.
Spoiler for Hiden:
Trick #2 - Making an armor piece invisible on the character

This one is very simple. There are 4 default attach points for the armors on the characters (they also work on other creatures). Their names are:
"Head" - for the helmet, hair or circlet.
"Upper Body" - for the torso armor.
"Forearm" - for the armbands or bracelets.
"Lower Body" - for the leg armor.

How to make armors invisible:

They are not really invisible, just very small. For example, the normal size attach point for ambands (in the mesh TextData section) looks like this:

Quote
AttachPoint
{
    name   = "Forearm"
    origin = (0.000000, 0.000000, 0.000000)
    xAxis  = (1.000000, 0.000000, 0.000000)
    yAxis  = (0.000000, 1.000000, 0.000000)
    zAxis  = (0.000000, 0.000000, 1.000000)
}

To make it "invisible", change it to this:
 
Quote
AttachPoint
{
    name   = "Forearm"
    origin = (0.000000, 0.000000, 0.000000)
    xAxis  = (0.000001, 0.000000, 0.000000)
    yAxis  = (0.000000, 0.000001, 0.000000)
    zAxis  = (0.000000, 0.000000, 0.000001)
}

The armor piece will still be equippable and visible in the inventory UI, but not on your character in the game world.
Btw, Ariadne mod is not abandoned. Im working on V1.0 atm, as well as on a nymph mesh which uses 100% human animations and can wear all armors. I hope they will be ready soon.
@icefreeze about the Nereid/Nixie character, there will be a new version too.

1239
Other Modifications / Re: [MOD] TQ Fun - Collection of mods
« on: 26 July 2019, 19:54:19 »
Hey koderkrazy, do you know how the camera rotation tools can be made to work for Atlantis?
Thanks again for your Bone Renamer. I used it many many times :D

1240
Texture & Skin Modding / Re: [TEXTURES] Custom Textures & Skins
« on: 26 July 2019, 15:56:46 »
This is the attack animation, the idle one is calmer. Btw, i reworked the stag mount again. Its improved by alot since te first version (big butt is fixed :D):
Spoiler for Hiden:
The mesh is better aligned with the horse skeleton, which means less wonky animations. Horns are bigger, attached permanently to the mesh and existant in the base texture. There are fixes on the texture too. Bones are renamed to "..._MOUNT".

This is mainly for Deities and Soulvizier for now. But if you want to turn the stag in ambient animal (not mount), feel free to use it in other mods. Link to version2:
https://mega.nz/#!1exhDYRL!D3DgX67CAaRS-jS9ERIhHXWDG4cm4b2ubv49GnpptbU


1241
Texture & Skin Modding / Re: [TEXTURES] Custom Textures & Skins
« on: 26 July 2019, 04:52:34 »
Side saddle "stag archery" on the making...

The stag itself is not ready and needs a rework, so im not showing it here.
I have a tip for anyone who has problems fitting riders and mounts with different sizes ( @sauruz you might wanna read this).
In this example the nymph is too high up, and although i can move her down in Max, there is a better method, that will allow to fit rider and mount almost perfectly witout caring about their default position in animations. Here is how:
1. You take a vanilla mesh of combined rider + mount (say mounted neandrethal)
2. You disable shaders on it, so its always invisible (2 ways - you can corrupt the mesh OR you go to DrawCalls section and change the mesh shader types from "0" to "-1").
3. Now you have an invisible mounted base mesh. This will be your dummy mesh.
4. Next, attach BOTH the rider and mount meshes by the CreateEntity method. Since they are only attachments.
, you can move them and change their sizes as you wish until they fit perfectly...
Man... Just got an idea! You can even make a FLYING RIDER like that! The base mesh will be invisible and on the ground, BUT if you move the attached rided and mount up... almost any position is possible this way.

1242
Modifications / How to import lights in MeshView/Viewer?
« on: 24 July 2019, 19:22:03 »
I see in both programs there is an option to import custom light settings. Does anyone knows how to save or export lights from the game? Or are they located somewhere? I'd love to import Helos light, instead of relaunching the game 100 times...

1243
Texture & Skin Modding / Re: [TEXTURES] Custom Textures & Skins
« on: 22 July 2019, 22:17:10 »
Thanks bro! And welcome to the forum :)

Some good news - my main comp managed to run for a while (it keeps restarting) and man... if she wasnt too bright and saturated... its fixed now. I hope i can make a comp upgrade soon, this time it has to show REAL colors.
Current version:
Spoiler for Hiden:
I named the nymph Hyale (Crystal) - one of Artemis' Oceanids with known names.
Glow is reduced for now, im open for suggestions. You prefer more or less glow?
Hyale is coming soon as a character mod/ pet replacement.
I'm tempted to say "this is final", but every time i do, it reminds me of this scene from the Mummy, hehe:

1244
Texture & Skin Modding / Re: [TEXTURES] Custom Textures & Skins
« on: 22 July 2019, 13:50:10 »
Ok, now more worthy of Artemis' retinue :)
Spoiler for Hiden:
Spoiler for Hiden:

I flipped the entire texture so the dress and quiver to not be on the same side. Some finishing detail remains... maybe a thin belt over the cloth sash.

1245
Texture & Skin Modding / Re: [TEXTURES] Custom Textures & Skins
« on: 21 July 2019, 22:18:46 »
Next version:
Spoiler for Hiden:
I think its time to add som better details. Since the texture is double-sided, i can add a silver archery glove to the bow hand, and the other to remain like this. Also, i think the old leg wraps are too crude for this cutie :) ill rework them as well and make them silver like the arm bracelets.

Btw, about golden dress, it reminded me of something:
Spoiler for Hiden:
THE HELIADES were seven nymph daughters of the sun-god Helios. When their brother Phaethon was struck from the chariot of the sun by Zeus, they gathered around his smoky grave on the banks of the River Eridanos and in their unrelenting grief were transformed into poplar-trees and their tears into golden amber.
I think your idea deserves a separate texture - of a "sun nymph".

This is what im living for. I apologize to people waiting for not making actual mods, but... this is what i want to do right now.

Pages: 1 ... 81 82 [83] 84 85 ... 166

SimplePortal 2.3.7 © 2008-2024, SimplePortal