arx-insanity / ArxLibertatis

Cross-platform port of Arx Fatalis, a first-person role-playing game
https://arx-libertatis.org/
GNU General Public License v3.0
3 stars 0 forks source link

can't spawn in custom items #10

Closed meszaros-lajos-gyorgy closed 2 years ago

meszaros-lajos-gyorgy commented 2 years ago

creating a custom npc with an included ftl file allows you to spawn in a custom npc with the spawn command you can also create a custom fix_inter and set the mesh to it later as far as I know and it will work without a custom ftl spawn item ... doesn't work, where ... is a custom made item, even if the asl and ftl files are in place.

need to look into ScriptedIOControl.cpp

meszaros-lajos-gyorgy commented 2 years ago

we need to have a bmp file for the item as an icon and after that the item can be spawned in

Dscharrer after me explaining how I tried to create a "weapon" inside the weapons folder: ( source: https://arx-libertatis.org/irclogs/2022/%23arx.2022-06-16.log )

looks like for items it needs the graph/obj3d/interactive/items/weapons/weapon.bmp icon to be there don't see why that check is there though, we can probably remove it