Mobbstar Posted September 18, 2014 Share Posted September 18, 2014 (edited) Also - your images are not the proper dimensions.They must have a power of 2 instead of 120 x 104 your image should be 128 x 128instead of 188 x 288 try 128 x 256and instead of 3200 x 1600 maybe 4096 x 2048 (or 2048 x 1024) I want to note that this /\ is not always necessary. Some people get black squares from improper dimensions. So if there aren't any problems/dead ends, ignore it for now. Edited September 18, 2014 by Mobbstar Link to comment https://forums.kleientertainment.com/forums/topic/40537-raven-mod-help/page/2/#findComment-537805 Share on other sites More sharing options...
Raven Crow Posted September 18, 2014 Author Share Posted September 18, 2014 Also - your images are not the proper dimensions.They must have a power of 2 instead of 120 x 104 your image should be 128 x 128instead of 188 x 288 try 128 x 256and instead of 3200 x 1600 maybe 4096 x 2048 (or 2048 x 1024) finally make my weapon can be debug spawn.but still invicible and cannot attack yetsomething bothers me why my weapon zips appear two atlas?atlas-0.texatlas-1.tex it appears by its own Link to comment https://forums.kleientertainment.com/forums/topic/40537-raven-mod-help/page/2/#findComment-537884 Share on other sites More sharing options...
MidrealmDM Posted September 19, 2014 Share Posted September 19, 2014 I want to note that this /\ is not always necessary. Some people get black squares from improper dimensions. So if there aren't any problems/dead ends, ignore it for now. I was unaware that it wasn't always a problem, it drove me batty trying to figure out why my images weren't showing up properly. Link to comment https://forums.kleientertainment.com/forums/topic/40537-raven-mod-help/page/2/#findComment-538055 Share on other sites More sharing options...
Raven Crow Posted September 19, 2014 Author Share Posted September 19, 2014 I was unaware that it wasn't always a problem, it drove me batty trying to figure out why my images weren't showing up properly. local assets={ Asset("ANIM", "anim/scissor_ground.zip"), Asset("ANIM", "anim/swap_scissor.zip"), Asset("ATLAS", "images/inventoryimages/scissor.xml"), Asset("IMAGE", "images/inventoryimages/scissor.tex"),Asset( "IMAGE", "minimap/scissor.tex" ),Asset( "ATLAS", "minimap/scissor.xml" ),}prefabs = {}local function fn() local function OnEquip(inst, owner) owner.AnimState:OverrideSymbol("swap_object", "swap_scissor", "swap_scissor") owner.AnimState:Show("ARM_carry") owner.AnimState:Hide("ARM_normal") end local function OnUnequip(inst, owner) owner.AnimState:Hide("ARM_carry") owner.AnimState:Show("ARM_normal") end local inst = CreateEntity() local trans = inst.entity:AddTransform() local anim = inst.entity:AddAnimState() local sound = inst.entity:AddSoundEmitter() MakeInventoryPhysics(inst) inst:AddTag("irreplaceable") local minimap = inst.entity:AddMiniMapEntity() minimap:SetIcon( "scissor.png" ) anim:SetBank("scissor") anim:SetBuild("scissor") anim:PlayAnimation("idle") inst:AddComponent("inspectable") inst:AddComponent("inventoryitem") inst.components.inventoryitem.imagename = "scissor" inst.components.inventoryitem.atlasname = "images/inventoryimages/scissor.xml" inst:AddComponent("equippable") inst.components.equippable:SetOnEquip( OnEquip ) inst.components.equippable:SetOnUnequip( OnUnequip ) inst:AddComponent("characterspecific") inst.components.characterspecific:SetOwner("rvn") return instendreturn Prefab("common/inventory/scissor", fn, assets, prefabs)i manage to get the weapon(scissor) appear in my inventory but it invisible on ground or holding.i checked the anime zip files but is nothing wrong . i don't know what missed? Link to comment https://forums.kleientertainment.com/forums/topic/40537-raven-mod-help/page/2/#findComment-538344 Share on other sites More sharing options...
MidrealmDM Posted September 19, 2014 Share Posted September 19, 2014 local assets={ Asset("ANIM", "anim/scissor_ground.zip"), Asset("ANIM", "anim/swap_scissor.zip"), Asset("ATLAS", "images/inventoryimages/scissor.xml"), Asset("IMAGE", "images/inventoryimages/scissor.tex"),Asset( "IMAGE", "minimap/scissor.tex" ),Asset( "ATLAS", "minimap/scissor.xml" ),}prefabs = {}local function fn() local function OnEquip(inst, owner) owner.AnimState:OverrideSymbol("swap_object", "swap_scissor", "swap_scissor") owner.AnimState:Show("ARM_carry") owner.AnimState:Hide("ARM_normal") end local function OnUnequip(inst, owner) owner.AnimState:Hide("ARM_carry") owner.AnimState:Show("ARM_normal") end local inst = CreateEntity() local trans = inst.entity:AddTransform() local anim = inst.entity:AddAnimState() local sound = inst.entity:AddSoundEmitter() MakeInventoryPhysics(inst) inst:AddTag("irreplaceable") local minimap = inst.entity:AddMiniMapEntity() minimap:SetIcon( "scissor.png" ) anim:SetBank("scissor") anim:SetBuild("scissor") anim:PlayAnimation("idle") inst:AddComponent("inspectable") inst:AddComponent("inventoryitem") inst.components.inventoryitem.imagename = "scissor" inst.components.inventoryitem.atlasname = "images/inventoryimages/scissor.xml" inst:AddComponent("equippable") inst.components.equippable:SetOnEquip( OnEquip ) inst.components.equippable:SetOnUnequip( OnUnequip ) inst:AddComponent("characterspecific") inst.components.characterspecific:SetOwner("rvn") return instendreturn Prefab("common/inventory/scissor", fn, assets, prefabs)i manage to get the weapon(scissor) appear in my inventory but it invisible on ground or holding.i checked the anime zip files but is nothing wrong . i don't know what missed? well, its the animation I know that. But without looking at the scml and/or the mod, I couldn't say for certain. Link to comment https://forums.kleientertainment.com/forums/topic/40537-raven-mod-help/page/2/#findComment-538346 Share on other sites More sharing options...
Raven Crow Posted September 19, 2014 Author Share Posted September 19, 2014 can you check it?scissor_ground.zipswap_scissor.zip Link to comment https://forums.kleientertainment.com/forums/topic/40537-raven-mod-help/page/2/#findComment-538359 Share on other sites More sharing options...
MidrealmDM Posted September 19, 2014 Share Posted September 19, 2014 can you check it? I will check it this weekend - I probably wont have time until tomorrow morning (about ~20 hours from now) Link to comment https://forums.kleientertainment.com/forums/topic/40537-raven-mod-help/page/2/#findComment-538360 Share on other sites More sharing options...
MidrealmDM Posted September 20, 2014 Share Posted September 20, 2014 I will check it this weekend - I probably wont have time until tomorrow morning (about ~20 hours from now) Everything looks ok as far as I can tell -can you post your exported folder including the scml files? Link to comment https://forums.kleientertainment.com/forums/topic/40537-raven-mod-help/page/2/#findComment-538669 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