Map Database  •  FAQ  •  RSS  •  Login

AI Start Position

<<

Vas

User avatar

Rogue

Posts: 55

Joined: 17 Sep 2010, 22:00

Post 27 Dec 2013, 11:32

AI Start Position

hey Im wondering how I can set the start positions in map edit (r6014)... need it to define attacking points of AI players
thanks

edit: sorry this should go into nightly build topic
<<

Lewin

User avatar

KaM Remake Developer

Posts: 3822

Joined: 16 Sep 2007, 22:00

KaM Skill Level: Skilled

ICQ: 269127056

Website: http://lewin.hodgman.id.au

Yahoo Messenger: lewinlewinhodgman

Location: Australia

Post 27 Dec 2013, 12:20

Re: AI Start Position

Good question. At the moment you can't set it in the MapEd, but it is still loaded/saved from the .DAT file and used for attacks when the target is set to "ClosestBuildingFromStartPos" (it's not used for anything else at the moment). You can set it by opening the .DAT file in version 0.3 of my editor and modifying the line:
!SET_AI_START_POSITION 1 1

in the section for each player (!SET_CURR_PLAYER 0 is the section for the first player). Then save it (takes a few seconds in my old editor) and reload in the KaM Remake MapEd. It will remember what you set it to so you can keep editing in the MapEd.
<<

Vas

User avatar

Rogue

Posts: 55

Joined: 17 Sep 2010, 22:00

Post 27 Dec 2013, 13:09

Re: AI Start Position

yes I know everything you have written here but not that there is no button in map edit yet.. so I will script it by hand for now
thank you

Return to “General / Questions”

Who is online

Users browsing this forum: No registered users and 22 guests