Home   Help Search Login Register  

Author Topic: WAR_3DMarkers  (Read 3722 times)

0 Members and 1 Guest are viewing this topic.

Offline Worldeater

  • Former Staff
  • ****
  • Suum cuique
WAR_3DMarkers
« on: 20 Aug 2009, 03:20:27 »
Here are some 3D markers I made for A1 some time ago. AddOn, source and demo mission are included in the archive. They are quite useful to debug the AI behaviour in missions.

Features:
  • They stand upright on slopes
  • They glow in the dark
  • It's trivial to change their color from script

Screenshot #1
Screenshot #2

try { return true; } finally { return false; }

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: WAR_3DMarkers
« Reply #1 on: 20 Aug 2009, 03:49:06 »
Nice work Worldeater.
Perhaps a good idea would be to add your tag to the globals your scripts are using, including vehicle vars.

Offline Worldeater

  • Former Staff
  • ****
  • Suum cuique
Re: WAR_3DMarkers
« Reply #2 on: 23 Aug 2009, 20:13:57 »
Well, I don't think it is needed for "throw away code" like demos and examples but I can see your point.

It'd be possible to have a really nice "AI debug mod" where you can turn on markers (map and 3D) for all units/groups and have a "blackbox" for each unit so you can track their movement, speed, heading, known enemies, etc. This mod would be even more useful if you were able to freeze time (which was possible in A1; I haven't checked if this is still possible in A2).
try { return true; } finally { return false; }