Animation driven AI (QuakeC) with IQM - how?

Discuss Artificial Intelligence and Bot programming.
motorsep
Posts: 231
Joined: Wed Aug 02, 2006 11:46 pm
Location: Texas, USA
Contact:

Re: Animation driven AI (QuakeC) with IQM - how?

Post by motorsep »

May I have a mod with that IQM model so I can see it for myself and test it?
goldenboy
Posts: 924
Joined: Fri Sep 05, 2008 11:04 pm
Location: Kiel
Contact:

Re: Animation driven AI (QuakeC) with IQM - how?

Post by goldenboy »

svn co svn://svn.icculus.org/remakequake

Engine is in engine/Experimental/Quake

The model is in npcwalk.map.
motorsep
Posts: 231
Joined: Wed Aug 02, 2006 11:46 pm
Location: Texas, USA
Contact:

Re: Animation driven AI (QuakeC) with IQM - how?

Post by motorsep »

There is no such map on svn.

There are 2 models for insane, IQM and MDL. I see how you use it in the code, but I can't test it as there is no .map nor .bsp with that model.

May I ask how was that IQM created?
goldenboy
Posts: 924
Joined: Fri Sep 05, 2008 11:04 pm
Location: Kiel
Contact:

Re: Animation driven AI (QuakeC) with IQM - how?

Post by goldenboy »

maps/npcwalk.bsp

http://svn.icculus.org/remakequake/maps/

It is there. The iqm was created with the Blender exporter after rigging the model and doing animations.
motorsep
Posts: 231
Joined: Wed Aug 02, 2006 11:46 pm
Location: Texas, USA
Contact:

Re: Animation driven AI (QuakeC) with IQM - how?

Post by motorsep »

Aye, but I would like to know the details. You see, if you animate you model and export it, you get framegroups. To get IQM acting like MDL, you need to export every single frame into a separate framegroup. There is no way to make it with official IQM exporter.
goldenboy
Posts: 924
Joined: Fri Sep 05, 2008 11:04 pm
Location: Kiel
Contact:

Re: Animation driven AI (QuakeC) with IQM - how?

Post by goldenboy »

The model includes several animations.

Upon exporting, I simply listed these animations in the corresponding field of the exporter, in the usual comma separated list. The model was exported straight to IQM.

You can check it in Noesis' data viewer. That will show you everything there is in the IQM.

Likely the engine (RMQE, FTEQW) just exposes the IQM's individual frames to the QC. Maybe DP does not?
motorsep
Posts: 231
Joined: Wed Aug 02, 2006 11:46 pm
Location: Texas, USA
Contact:

Re: Animation driven AI (QuakeC) with IQM - how?

Post by motorsep »

Perhaps DP doesn't support that.
Post Reply