Jump to content
The Dark Mod Forums

Recommended Posts

Posted

Watching the Mount & Blade videos, it almost looks like the horse animation stays the same but the horse pitches forward and backward on the center axis to stay roughly level with the ground. It looks great because those nice animations play whatever the angle.

 

Might there be a way to pitch the entire model based on the z-difference between the ground-points at its front and back feet?

What do you see when you turn out the light? I can't tell you but I know that it's mine.

Posted

The carts would be bound to their respective horse plus there is a bind orientation spawnarg which might help. Otherwise, the carts are just movers sync'd with a horse. Their wheels would be permanently rotating at the correct speed but carefully scripted, a horse could pull up in sight and some trigger stop the wheel rotation.

 

In the cart I wonder if we could have a sitting AI.

We have buggy which has realistically rotating wheels. We can theoretically make cart that can be pulled or pushed without any scripting.

 

Watching the Mount & Blade videos, it almost looks like the horse animation stays the same but the horse pitches forward and backward on the center axis to stay roughly level with the ground. It looks great because those nice animations play whatever the angle.

Might there be a way to pitch the entire model based on the z-difference between the ground-points at its front and back feet?

I don't know. I don't think existing code supports that.

It's only a model...

Posted

If there isn't, I wonder if we couldn't either code it ourselves or find something in the neighborhood that could be coopted to do the job. It just seemed like a good solution.

 

Looking at some of the things in the code that I found in a quick search (there might be more)...

- In anim.cpp there's a place it sets the origin and alignment of animations for models. But I think that's way too high-level to be tweaking just for the horse, though I wonder if its value can be tweaked just for the horse AI, in its function, when using its values (not sure the mechanics of how it works).

- In ai.cpp, under idAI:idAI, there's actually values for fly_pitch_scale, fly_pitch_max, & fly_pitch. I wonder if we couldn't make the horse technically a flying AI that can pitch (also roll and bob, for the record) according to the ground z-values, but can never actually go any altitude so always stays on the ground. Either we might coopt that code or invent a horse_pitch_scale, horse_pitch_max, & horse_pitch that basically mimics the fly_pitch functions (using its code as a model) tweaked for the horse case.

What do you see when you turn out the light? I can't tell you but I know that it's mine.

  • 2 weeks later...
Posted

Just thinking about this today... If you're going to be adding any more skins to the horse, might I recommend: undead haunt revenant horses! Skinny to the ribs, maybe even an exposed bit of rib or 2, pale gray and tattered cloth and fur, some chains, an exposed fore leg bone?, red eyes, with surreal and mean huffs...

 

I think the vision of four mounted haunts revenants on haunt revenant-horses galloping screaming towards me would be awesomely terrifying! The horsemen of the apocalypse! :o

 

Edit: :unsure:

What do you see when you turn out the light? I can't tell you but I know that it's mine.

Posted

Yeah, why not. It would be nice though to have normal horses working first. :rolleyes:

Edit: I think it would require more than just new skins.

It's only a model...

Posted

Yeah, why not. It would be nice though to have normal horses working first. :rolleyes:

Edit: I think it would require more than just new skins.

 

 

nightmare.jpg

Black skin with red eyes, mapper binds some flames Glenham style?

 

EDIT: could be also done on a simple black horse with normal eyes. Bind prop red gems (or something) as red eyes. Bind bones sticking out of the body.

Clipper

-The mapper's best friend.

Posted
Yeah, why not. It would be nice though to have normal horses working first.  :rolleyes: Edit: I think it would require more than just new skins.

 

Of course it would have to be a new entity with its own def, barks, behavior, animations, etc. I just thought it wouldn't hurt to try a new skin while we're waiting to figure out the normal horse. But I guess you mean you can't even do that much since it really calls for a completely new model first to give it justice, which is right, I think. Well it was a long-term suggestion for down the road anyway.

What do you see when you turn out the light? I can't tell you but I know that it's mine.

  • 3 weeks later...
Posted

I've reported major bugs on the tracker. Three are for rideable only:

 

0002364, 0002365, 0002366, 0002367, 0002368, 0002369, 0002370, 0002371, 0002372, 0002373, 0002374

 

 

 

 

 

It's only a model...

  • 1 month later...
Posted
Might there be a way to pitch the entire model based on the z-difference between the ground-points at its front and back feet?

 

That seems like the correct solution to me too, looking at those pictures it is very obvious that the fundamental problem is that the back of the horse is perfectly horizontal when climbing the steps, whereas in reality it should be angled upwards.

Posted

That seems like the correct solution to me too, looking at those pictures it is very obvious that the fundamental problem is that the back of the horse is perfectly horizontal when climbing the steps, whereas in reality it should be angled upwards.

 

It seems like there should be some IK settings for this. Maybe we could look at how they did it with the D3 Pinky demons? Or do those also have this problem?

Posted

I found code for pitching (and yaw & roll) entire models, but it's for flying AI (you see it in AI.cpp for flying AI). Not sure if it could be coopted here or not.

What do you see when you turn out the light? I can't tell you but I know that it's mine.

Posted

I suspect for this you need "full IK", whereas I'm guessing that Doom 3's "walk IK" only goes as far as positioning the feet on the ground, rather than propagating motion up the entire skeletal tree. This works fine for spider-like creatures with long spindly legs, but is probably inadequate for a more rigid horse.

  • 15 years later...
Posted

Horse has three speed modes: walk, trot and run (gallop). Trot is currently only used in "ridable" horses. Normal horse goes from slow walk to gallop when scared. In this video I increased turn rate from 40 to 80 and swapped gallop with trot animation.

  • Like 4

It's only a model...

Posted

More animals for TDM ! What about cats ? 😄 

  • Like 1

"Einen giftigen Trank aus Kräutern und Wurzeln für die närrischen Städter wollen wir brauen." - Text aus einem verlassenen Heidenlager

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recent Status Updates

    • JackFarmer

      I will NOT return to Discord. Who wants to try something new?
       
      · 12 replies
    • JackFarmer

      I do not understand why Gilmour/Waters trash the "Atom Heart Mother" album and wish for that "all existing copies get dumped".
      I think it is a great recording. Is there something wrong inside my twisted little brain?
      · 3 replies
    • revelator

      Asus ROG strix x570-E gaming ryzen 3700x 32 gb ram radeon RX9070XT 10 tb ssd space (all full)
      · 5 replies
    • The Black Arrow

      I was playing Doom 3, and I learned how to edit maps text-by-text, this should help me a lot with finding secrets and locations I hope.
      That is, if I feel sneaky and greedy...Which I always do, can't get enough 100% a mission.
      · 3 replies
    • datiswous

      So on a regular basis I try to start building something in Darkradiant but very quickly I loose interest and give up.
      I tend to
      create a room, position an ai in it (or first ai, then room, probably better) put a light in it Put some stuff in it test the room in tdm Now I had this new idea:
      Start of with a gigantic room. To skip the importance of sealing for the time being and to think broader than one room. Then just use ground without wall, just to visualise the structure of the level.  Then just use prefab walls and other elements (arches, etc.). Just building area's that aren't enclosed. I can always close them at a later point. Maybe this is all very logical from a mappers perspective, but tdm is the first game where I have done any kind of real mapping and I always stop at the start. It just takes too long to make something exciting.
      I want to build something at some point, because over time I accumulated lots of ideas.
      · 21 replies
×
×
  • Create New...