

Moderator: NADEO
Hi Souljah,Souljah wrote:Hi I got a little problem when I load the map in local game an error message appear and it's written
[362, 60] The procedure ItemList_Add failed to complete :
Could not load Item
does anymone could help me, in french if it's possible just for the technical words ^^' but it doesn't matter i understood until there
Yeah indeed it wasn't in the right file, I made a spelling mistake on Character ^^'Hi Souljah,
It means that your Item.Gbx files are not in the right place. Does the path in the ItemList_Add command match the path of your Item ?
Code: Select all
Void SetBotParameters(CSmPlayer _Player) {
if (_Player.IsFakePlayer) {
// Parameters
_Player.ForceColor = <.2, .2, .1>;
_Player.Driver.Agressivity = S_BotPower;
SetPlayerWeapon(_Player, CSmMode::EWeapon::Nucleus, True);
_Player.Driver.AttackFilter = CSmPlayerDriver::ESmAttackFilter::Nobots;
ETC..
Code: Select all
#Const C_NbTurrentBotskin "https://cobalt.com/models/arenaplayer/robot.zip"
Code: Select all
CSmPlayerDriver::ESmAttackFilter::AllPlayers
Code: Select all
G_Objects["ToadSample"] = ItemList_Add("Characters\\ToadSample.Item.Gbx");
Possible to have skins for FakePlayers or just Custom Bots?domino54 wrote:
Not sure if you can run other skins for bots if you dont use special Item.Gbx on local storage.
As i do in Invasion i only need to force model (item) as local file:Skin loads automatically from Skins/Models/Minion/ToadSample.zip as specified in item file.Code: Select all
G_Objects["ToadSample"] = ItemList_Add("Characters\\ToadSample.Item.Gbx");
Users browsing this forum: No registered users and 2 guests