Jump to content
The Dark Mod Forums

Problems for mappers with animations


Fidcal

Recommended Posts

I wanted to give one of the characters in my FM some special movements. The first problem is finding the information. Mappers are led to a list of maybe 20 articles from the editing section and I'm not sure that any of them are relevant to the mapper. I propose to remove all those links from editing and make a new article just for the mapper with links to developers etc. at the end (also the following article.)

 

The only relevant info I found was lost under path nodes but unless you already know that you won't find it. There was a mention in there of also triggering animations but no link so I don't know how that is done.

 

The item also says that anims are found in the AI def. That's no good. Most mappers won't know what a def is or which and even when I looked in mine there were no anims. I backtracked through several ancestor defs but still nothing. I did find a list in another dev file and had an idea that they are all stored here now that human AI share one skeleton. Is this true? All of this is very unfriendly for the mapper of course so I think it would be better just to list every known anim in a wiki article and state that some do not work on all AI (if true) and new ones may be developed and where to find them. Dromeders work to a general list and understand that not all work on all AI though admittedly Thief is a finished work.

 

There may be a case for a reference test map with all known animations set up so mappers can browse, read the anim names from text entities and note which ones they want. We used to have such a map so it might be possible to build from that.

 

The second problem is that even when I tried 4 or 5 anims on a path_anim, none of them had any effect. I tried adding a path_wait but no change. I checked the only example FM that came to mind - Builder's Influence - and it seems to be set up the same way for the same anim and I am using a builder too. So I gave up and I fear this is what most mappers will do.

 

I'l try again with some other AI to reproduce what I did yesterday in case those anims only works on certain AI but otherwise I'm going to need help to get anims working let alone make them available for the average mapper. Of course, it may be that anims are currently being overridden by idle anims or not working for some other reason. I'm hoping it's something simple like you need to dmap (unlikely) or add a spawnarg to the AI or something that I don't know about.

Link to comment
Share on other sites

Yes, animations are far from user-friendly at the moment. I've organized them a bit inside proguard_devel, but most mappers won't even find them there to begin with.

 

I can add the list of existing animations with a slight description of what they do. If you can cut and paste the text from tdm_ai_guards_proguard_devel.def for me I could do it here at work. Do you have a wiki page already?

 

The second problem is that even when I tried 4 or 5 anims on a path_anim, none of them had any effect. I tried adding a path_wait but no change. I checked the only example FM that came to mind - Builder's Influence - and it seems to be set up the same way for the same anim and I am using a builder too.

 

I was the one who set that up, so I can try and help with yours if you like. What character are you using, first of all? If it's a builder guard then virtually all the animations should work.

Link to comment
Share on other sites

I've ran out of time tonight. I've not started a wiki article yet.

 

yes I recall you did that BI one which I quite liked so that was an inspiration to do some myself.

 

The AI I am using is a atdm:ai_builder_priest_combatant. I've modified a skin and head to improvise an alchemist. I gave it the sword which works OK. He keeps it on his back like a hammer which is cool. Dunno if that could affect other anims. idle anims all work.

Link to comment
Share on other sites

Strange, the sword should automatically replace the draw animations with the hip ones.

 

What animation are you trying to get him to play?

Link to comment
Share on other sites

These are some I tried:

 

anim bottle_drink02

anim idle_warmhands

anim turnpage_righthand

anim idle_stir_pot

 

He did not have a drawn sword so that should not be a problem. I set up two path corners and waits so ... corner > anim > wait > corner > anim > wait. He went back and forth and waited but no anims that I could see.

Link to comment
Share on other sites

I can't think of any obvious reasons why that wouldn't work. I can take a look at the map file if you like.

Link to comment
Share on other sites

I'd rather avoid spoilers if possible. Why not just copy the relevant AI and pathnodes and save it as a prefab? I can plop it in a map and see what happens. If it works in my map but not yours we can start looking at what might be causing the problem.

Link to comment
Share on other sites

OK, maps/test/anim_prob.map now committed.

 

I stripped out all my changes (skin, head, sword, etc) right back down to the basic combat priest and still can't see any anims. Also true on SVN and release 1.01 so it's not a release assets problem.

Link to comment
Share on other sites

Ok, found out the problem. Apparently, the path_anim won't work without an "angle" property (not sure why). When I rotated the path_anims, they worked.

 

I've updated the wiki.

Link to comment
Share on other sites

I confirm it's working now but that spoon stirring actually puts a spoon in his hand. But problems with it. The spoon is very bright. I tried to frob it as it looks continuously highlighted - and very bright highlight at that. In addition, he keeps it as he goes on to the other animations. Only after an alert did he let it go and then it remained suspended in mid-air.

 

I'll start a placeholder for that wiki article now.

Link to comment
Share on other sites

I confirm it's working now but that spoon stirring actually puts a spoon in his hand. But problems with it. The spoon is very bright. I tried to frob it as it looks continuously highlighted - and very bright highlight at that. In addition, he keeps it as he goes on to the other animations.

 

Yes, there are some problems with Tel's attach/detach system, which that animation is using. It spawns two spoons and then crashes when you try to destroy the spoon (so right now the destroy line is commented out). I'm not sure if Tels has gotten anywhere trying to fix it.

 

Here's the thread: http://forums.thedarkmod.com/topic/10924-new-active-prop-playing-cards/page__view__findpost__p__215397

Link to comment
Share on other sites

Thanks.

 

I've started a more general article for mappers...

 

http://wiki.thedarkmod.com/index.php?title=Animations%2C_Postures%2C_Controlling_AI_%28for_Mappers%29

 

I've also ripped out quite a few animation articles mostly relevant to developers away from the editing index so the mapper can more easily see what is relevant to him.

 

One link I added to my new article is about attaching objects. I'm unsure if that is the latest. I know you have done recent work on this so change that link if necessary.

Link to comment
Share on other sites

Yeah, I linked to it from the pathnode article. I'll fix it up this week at work; just wanted to get the raw data there for now.

Link to comment
Share on other sites

Ok, found out the problem. Apparently, the path_anim won't work without an "angle" property (not sure why). When I rotated the path_anims, they worked.

 

I've updated the wiki.

This sounds like a bug, please report.
Link to comment
Share on other sites

Yes, there are some problems with Tel's attach/detach system, which that animation is using. It spawns two spoons and then crashes when you try to destroy the spoon (so right now the destroy line is commented out). I'm not sure if Tels has gotten anywhere trying to fix it.

 

Here's the thread: http://forums.thedarkmod.com/topic/10924-new-active-prop-playing-cards/page__view__findpost__p__215397

 

No, any way I tried to find out why it does actually create two spoons (there is only one line in the animation) failed, e.g. I still don't know why it happens.

 

The crash is not allright, either, but understandable, as there are now two spoons instead of one (and possible the attachment system gets confused). I asked a few questions but I am not sure I read an answer by ishtvan or crispy on them.

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

I asked a few questions but I am not sure I read an answer by ishtvan or crispy on them.

 

I don't think either of them are reading all threads anymore, but they usually respond to pms.

Link to comment
Share on other sites

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

    • Petike the Taffer  »  DeTeEff

      I've updated the articles for your FMs and your author category at the wiki. Your newer nickname (DeTeEff) now comes first, and the one in parentheses is your older nickname (Fieldmedic). Just to avoid confusing people who played your FMs years ago and remember your older nickname. I've added a wiki article for your latest FM, Who Watches the Watcher?, as part of my current updating efforts. Unless I overlooked something, you have five different FMs so far.
      · 0 replies
    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
    • OrbWeaver

      I like the new frob highlight but it would nice if it was less "flickery" while moving over objects (especially barred metal doors).
      · 4 replies
×
×
  • Create New...