ManasManushya Posted Friday at 13:42 Share Posted Friday at 13:42 I was trying to make a map but for some reasons, The AI does nothing despite the fact that it was set as "Petra Bot". Link to comment Share on other sites More sharing options...
Obelix Posted Friday at 15:14 Share Posted Friday at 15:14 Hello @ManasManushya, welcome to the Community! In the Match Setup, when selecting a competitor ('player') in the Player Placement, i.e. PetraAI, you can Configure AI by clicking the gear symbol and set the AI Difficulty from 'Sandbox' to 'Very Hard'. May it be, the difficulty level ist set to 'sandbox'? I'd recommend you to try out the AI Difficulty 'Very Easy'. Link to comment Share on other sites More sharing options...
ManasManushya Posted Saturday at 03:57 Author Share Posted Saturday at 03:57 12 hours ago, Obelix said: Hello @ManasManushya, welcome to the Community! In the Match Setup, when selecting a competitor ('player') in the Player Placement, i.e. PetraAI, you can Configure AI by clicking the gear symbol and set the AI Difficulty from 'Sandbox' to 'Very Hard'. May it be, the difficulty level ist set to 'sandbox'? I'd recommend you to try out the AI Difficulty 'Very Easy'. Actually, my aim is not to make a match against the bot. I was making a map but when I test it in my game, the AI does nothing for some reasons. Also, Im getting this new errors after updating my fork: ERROR: art/meshes/skeletal/new/m_tunic_long.dae: Exception caught while parsing a COLLADA document from file. ERROR: Could not load mesh 'art/meshes/skeletal/new/m_tunic_long.dae' ERROR: CObjectEntry::BuildVariation(): Model art/meshes/skeletal/new/m_tunic_long.dae failed to load ERROR: Error loading object variation (actor: art/actors/units/athenians/infantry_archer_c.xml) ERROR: JavaScript error: simulation/components/UnitAI.js line 4253 Script value conversion check failed: v.isNumber() (got type Array) ERROR: Script message handler OnOwnershipChanged failed ERROR: JavaScript error: simulation/components/UnitAI.js line 4253 there is much more below it but I am keeping it this short for the sake of it. Link to comment Share on other sites More sharing options...
Eilat Posted Saturday at 08:47 Share Posted Saturday at 08:47 19 hours ago, ManasManushya said: Tôi đang cố gắng tạo một bản đồ nhưng vì một số lý do, AI không làm gì cả mặc dù tôi đã thiết lập nó là "Petra Bot". Have you assigned that Civic Center to the AI-controlled player? That building must be designated as belonging to that player. Also, check if you’ve given them any starting resources. Link to comment Share on other sites More sharing options...
ManasManushya Posted Saturday at 10:51 Author Share Posted Saturday at 10:51 @EilatIndeed But it still does nothing Link to comment Share on other sites More sharing options...
ManasManushya Posted Saturday at 11:22 Author Share Posted Saturday at 11:22 7 hours ago, ManasManushya said: Actually, my aim is not to make a match against the bot. I was making a map but when I test it in my game, the AI does nothing for some reasons. Also, Im getting this new errors after updating my fork: ERROR: art/meshes/skeletal/new/m_tunic_long.dae: Exception caught while parsing a COLLADA document from file. ERROR: Could not load mesh 'art/meshes/skeletal/new/m_tunic_long.dae' ERROR: CObjectEntry::BuildVariation(): Model art/meshes/skeletal/new/m_tunic_long.dae failed to load ERROR: Error loading object variation (actor: art/actors/units/athenians/infantry_archer_c.xml) ERROR: JavaScript error: simulation/components/UnitAI.js line 4253 Script value conversion check failed: v.isNumber() (got type Array) ERROR: Script message handler OnOwnershipChanged failed ERROR: JavaScript error: simulation/components/UnitAI.js line 4253 there is much more below it but I am keeping it this short for the sake of it. @EilatAlso, please take a look at this. Link to comment Share on other sites More sharing options...
Eilat Posted Saturday at 14:40 Share Posted Saturday at 14:40 3 hours ago, ManasManushya said: But it still does nothing Could you take screenshots of the atlas in the "Player" and "Object" tabs? I'm not entirely sure what else could be causing the issue besides the reasons already mentioned. Link to comment Share on other sites More sharing options...
ManasManushya Posted Sunday at 03:22 Author Share Posted Sunday at 03:22 There you go @Eilat Link to comment Share on other sites More sharing options...
ManasManushya Posted Sunday at 03:23 Author Share Posted Sunday at 03:23 Also, please take a look at this log too: ERROR: JavaScript error: simulation/components/UnitAI.js line 4253 Script value conversion check failed: v.isNumber() (got type Array) ERROR: Script message handler OnOwnershipChanged failed ERROR: JavaScript error: simulation/components/BuildingAI.js line 139 Script value conversion check failed: v.isNumber() (got type Array) ERROR: Script message handler OnOwnershipChanged failed ERROR: JavaScript error: simulation/components/UnitAI.js line 4253 Script value conversion check failed: v.isNumber() (got type Array) ERROR: Script message handler OnOwnershipChanged failed ERROR: JavaScript error: simulation/components/UnitAI.js line 4253 Script value conversion check failed: v.isNumber() (got type Array) ERROR: Script message handler OnOwnershipChanged failed GAME STARTED, ALL INIT COMPLETE 08:50:06: Debug: window wxMenuBar@0x5625bf50fdf0 ("menubar") lost focus even though it didn't have it ERROR: JavaScript error: simulation/components/BuildingAI.js line 139 Script value conversion check failed: v.isNumber() (got type Array) ERROR: Script message handler OnOwnershipChanged failed ERROR: JavaScript error: simulation/components/BuildingAI.js line 139 Script value conversion check failed: v.isNumber() (got type Array) ERROR: Script message handler OnOwnershipChanged failed ERROR: JavaScript error: simulation/components/BuildingAI.js line 139 Script value conversion check failed: v.isNumber() (got type Array) ERROR: Script message handler OnOwnershipChanged failed ERROR: JavaScript error: simulation/components/BuildingAI.js line 139 Script value conversion check failed: v.isNumber() (got type Array) ERROR: Script message handler OnOwnershipChanged failed ERROR: JavaScript error: simulation/components/BuildingAI.js line 139 Script value conversion check failed: v.isNumber() (got type Array) ERROR: Script message handler OnOwnershipChanged failed ERROR: JavaScript error: simulation/components/BuildingAI.js line 139 Script value conversion check failed: v.isNumber() (got type Array) ERROR: Script message handler OnOwnershipChanged failed ERROR: JavaScript error: simulation/components/BuildingAI.js line 139 Script value conversion check failed: v.isNumber() (got type Array) ERROR: Script message handler OnOwnershipChanged failed GAME STARTED, ALL INIT COMPLETE 08:52:51: Debug: window wxMenuBar@0x5625bf50fdf0 ("menubar") lost focus even though it didn't have it Link to comment Share on other sites More sharing options...
Eilat Posted Sunday at 05:18 Share Posted Sunday at 05:18 1 hour ago, ManasManushya said: Ngoài ra, vui lòng xem nhật ký này nữa: This is strange, I can't figure out why. As for the code, I can't help you; you can contact the programmers on the forum or @Stan` Link to comment Share on other sites More sharing options...
Vantha Posted Sunday at 13:53 Share Posted Sunday at 13:53 That's an odd error. Are you using R28 or did you build the development version? Link to comment Share on other sites More sharing options...
ManasManushya Posted 57 minutes ago Author Share Posted 57 minutes ago On 16/08/2026 at 7:23 PM, Vantha said: That's an odd error. Are you using R28 or did you build the development version? Well, I updated my local branch with the remote branch and thats when i got this error. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now