Disable LOS

Disable LOS

Here is where ideas can be collected for the skirmish AI in development

Moderators: hoijui, Moderators

Post Reply
User avatar
sanderbakkes
Posts: 27
Joined: 16 Aug 2006, 15:49

Disable LOS

Post by sanderbakkes »

For AI testing I need the full map to be visible. The easiest way to implement this, I think, is to enlarge the LOS of each unit to stretch the entire map.

However, after increasing the ud.losRadius and ud.airLosRadius, I bumped into a cap on the radius that I cannot trace down (I cannot get it larger than about 1/4th of the SmallDivide map).

Anyone that can advice on how to disable / bypass the LOS system?
User avatar
krogothe
AI Developer
Posts: 1050
Joined: 14 Nov 2005, 17:07

Post by krogothe »

Make a patch for a LOS hack, we all need it anyways XD
User avatar
sanderbakkes
Posts: 27
Joined: 16 Aug 2006, 15:49

Post by sanderbakkes »

krogothe wrote:Make a patch for a LOS hack, we all need it anyways XD
:) Would love to actually, some pointers are welcome though :)
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

You can set the LOS mip level in the sensors.tdf. The maximum range is 1280 at a miplevel of 1.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Krogothe and I use the AI cheat interface when our AIs are in cheat mode (also known as the KAI maphack sicne it cant be turned on or off in KAI). Its the same as the existing I interface but with no LOS checks so you'll get results and units even if they're out of LOS....

tbh I'm surprised krogothe forgot, guess he forgot more in his absence than he's letting on =p
User avatar
Rafal99
Posts: 162
Joined: 14 Jan 2006, 04:09

Post by Rafal99 »

This thread is about full LOS for player, not for AI i think, isn't it?

I agree that full LOS like in OTA would be very helpful for testing AIs, so you could see what stupid things your AI does and at the same time have fun playing with it.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Thats why i implemented those blob things in NTai 0.27, only I forgot to disable them when i released and everyone complained about seeing ominous floating blobs everywhere....
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Post by Peet »

I saw those during my very early days of Springing, they kinda freaked me out :P
submarine
AI Developer
Posts: 834
Joined: 31 Jan 2005, 20:04

Post by submarine »

i thought its possible to get full los by cheating? if not, what does kai then?
Post Reply

Return to “AI”