King Karolus
Posts: 1233
Joined: 01 May 2006, 22:00
Website: http://www.knightsandmerchants.net
Location: Finland
King Karolus
Posts: 1233
Joined: 01 May 2006, 22:00
Website: http://www.knightsandmerchants.net
Location: Finland
Knight
Posts: 418
Joined: 12 Aug 2006, 22:00
Website: http://olegaasole.wetpaint.com/
Location: Canada, Toronto, Ontario
where to you get the proper program to experiment with this?
Knight
Posts: 418
Joined: 12 Aug 2006, 22:00
Website: http://olegaasole.wetpaint.com/
Location: Canada, Toronto, Ontario
King Karolus
Posts: 1233
Joined: 01 May 2006, 22:00
Website: http://www.knightsandmerchants.net
Location: Finland
Knight
Posts: 418
Joined: 12 Aug 2006, 22:00
Website: http://olegaasole.wetpaint.com/
Location: Canada, Toronto, Ontario
King Karolus
Posts: 1233
Joined: 01 May 2006, 22:00
Website: http://www.knightsandmerchants.net
Location: Finland
Knight
Posts: 418
Joined: 12 Aug 2006, 22:00
Website: http://olegaasole.wetpaint.com/
Location: Canada, Toronto, Ontario
!SET_CURR_PLAYER 3
!ENABLE_PLAYER 3
!SET_AI_PLAYER
!SET_AI_START_POSITION 29 25
!SET_AI_NO_BUILD[/quote]
SET_CURR_PLAYER says the script, which player u are going to edit. But if u add one more player, u must change the number at the top of the script. E.G., if there are 4 players, and u want to add a 5th u have to change following:
[code]!SET_MAX_PLAYERÂ Â 4[/quote]
to
[code]!SET_MAX_PLAYERÂ Â 5[/quote]
!ENABLE_PLAYER in our example is 3, but it can also be 5, 6, 7 ,8...
!SET_AI_PLAYER is very important! It tells the script that this is not a human-player. So if u want to script a bot, u have to add this!
!SET_AI_START_POSITION tells, where the AI-Player starts. It would be the best if u take an x and y coordinate near the village!
!SET_AI_NO_BUILD says, that the Ai shouldn't build! But if u want that he were building u have to write !SET_AI_BUILD, but remember, if he have already a school-house, he build another one, too.
[code]!SET_AI_CHARACTER RECRUT_COUNT 40000
!SET_AI_CHARACTER CONSTRUCTORS 0
!SET_AI_CHARACTER WORKER_FACTORÂ Â 7
!SET_AI_CHARACTER TOWN_DEFENSE 50[/quote]
!SET_AI_CHARACTER RECRUT_COUNT tells the game how much recruits the AI-player should create.
!SET_AI_CHARACTER CONSTRUCTORS here im not shure but i think its a "town-type"... u can write 0-9!
!SET_AI_CHARACTER WORKER_FACTOR tells the came the AI-Activity.
!SET_AI_CHARACTER TOWN_DEFENSE should be at 100, so they defend their town very good. If its 50, they are very weak and play stupid...i dunno.
[code]!SET_AI_CHARACTER TROUP_PARAM 0 12 4
!SET_AI_CHARACTER TROUP_PARAM 1 12 4
!SET_AI_CHARACTER TROUP_PARAM 2 12 4
!SET_AI_CHARACTER TROUP_PARAM 3 12 4[/quote]
This tells the game how the groups have to stay!
The first number tells which groups of soldiers
(
[color=orange]0 Axefighter/Militia/warrior/swordfighter/Babarians[/color]
[color=cyan]1 Pikemans/ Lancecarriers/ Rebbels[/color]
[color=orange]2 Archers/Crossbowmans/thiefs[/color]
[color=cyan]3 Knights/ leather-knights / vagabunds[/color] )
The second one tells how many soldiers it should been and the last says how many rows they should have!
[code]!SET_ALLIANCE 2 1
!SET_ALLIANCE 3 1
!SET_ALLIANCE 5 1[/quote]
If u want to get "friends" u have to use this. If some other player should be ur friend write at him !SET_ALLIANCE 0 1.
Now can u anttack him and he cant!
The first number tells the "player", the second swich it on/off^^
[code]!SET_AI_DEFENSE 46 33 3 1 30 0
!SET_AI_DEFENSE 46 44 1 1 30 0
!SET_AI_DEFENSE 38 37 2 2 30 0
!SET_AI_DEFENSE 43 37 2 0 30 0[/quote]
Tells the game where the enemy should defend his town.
The first number tells the x, the second the y coordinate. The third tells the face direction, the fourth the "group" (look above this) and the last 2 i dont know.
So, if an enemy make leather and iron-armors, he has both in his group ( e.g. axefighters and swordsmen!
[code]!SET_ATTACK 50 56
!SET_ATTACK 55 62[/quote]
Tells an enemy where he should attack (after start the round)
Must look like follow:
!SET_GROUP 16 50 40 3 4 12
!SET_ATTACK 50 36 // remember they can ONLY attack houses, no troups!
There are some more thinks i know, but i know not enough about them...so wait and stay cool 8)
Users browsing this forum: No registered users and 6 guests
Powered by phpBB® Forum Software © phpBB Group Designed by ST Software |