UFO:Alien Invasion
Development => Artwork => Topic started by: Axe on May 19, 2016, 07:29:36 pm
-
The console is giving me this error.
INVSH_GetItemByID: Item "X84assault" not found.
Com_AddObjectLinks: Could not get item 'X84assault' for linking into item 'x84assault_ammo'
I think I've added the correct script to weapons_human, research_list, research, equipment.
I looked for a "How to add your new models into UFO:AI" but I could not find one on the Forum.
Did I miss something ?
-
The console is giving me this error.
INVSH_GetItemByID: Item "X84assault" not found.
Com_AddObjectLinks: Could not get item 'X84assault' for linking into item 'x84assault_ammo'
I think I've added the correct script to weapons_human, research_list, research, equipment.
I looked for a "How to add your new models into UFO:AI" but I could not find one on the Forum.
Did I miss something ?
Without seeing the script pack it is hard to tell. Would you mind zipping it and attach?
-geever
-
Here it is geever.
Thanks.
-
It seems to be a typo. You defined x84assault item but the x84assault_ammo refers to X84assault. Note the capital X. Object identifiers are case-sensitive.
-geever
-
I was wondering if syntax would matter.
I will make the change and see it that fixes the problem.
Thanks geever.
-
It works. I can produce the X84 and its ammo. It is in the market, but its price is and the ammo price is "0". Console says "item on market with invalid buying price".
Its value in weapons_human.ufo is 1500, ammo is 80.
I don't get it. ???
-
Check the ufoconsole.log maybe there is a parsing error before?
-geever
-
parse scripts ----------
2016/05/24 11:48:07 58 script files
2016/05/24 11:48:07 56 ui script files
2016/05/24 11:48:09 Shared Client/Server Info loaded
2016/05/24 11:48:09 ...123 items parsed
2016/05/24 11:48:09 ... 32 damage types parsed
2016/05/24 11:48:09 ... 32 equipment definitions parsed
2016/05/24 11:48:09 ... 10 inventory definitions parsed
2016/05/24 11:48:09 ... 25 team definitions parsed
As well as:
No skin for #0 of 'weapons/x84assault/X84'
No skin for #0 of 'weapons/x84assault/x84assault_clip'
I applied a UV map in Blender... looks like I didn't do it right. I need to read more on the process.