iPhazed Posted September 20, 2015 Share Posted September 20, 2015 So im trying to use http://steamcommunity.com/sharedfiles/filedetails/?id=420492456&searchtext=sasuke it has a few bugs but the main one is that only the host spawns with the sword and i just set up a dedicated server so he doesn't spawn with the sword. And i know like 5% about mods and have no idea how to fix this. any idea how i would go about getting this to work with my dedicated server.thanks Link to comment Share on other sites More sharing options...
DrSmugleaf Posted September 21, 2015 Share Posted September 21, 2015 I'm assuming you aren't the author? If you aren't there's not much you can do, as the author doesn't even seem active. Link to comment Share on other sites More sharing options...
iPhazed Posted September 21, 2015 Author Share Posted September 21, 2015 I'm assuming you aren't the author? If you aren't there's not much you can do, as the author doesn't even seem active. yeah im not. and i know about 0% about modding but it is my favorite mod Link to comment Share on other sites More sharing options...
DrSmugleaf Posted September 21, 2015 Share Posted September 21, 2015 If you want you can open the console and type c_give("ITEMPREFAB")You might have to press control to send it as a remote control to the server if on a dedicated server.ITEMPREFAB is the prefab of the item. Don't remove the quotes. Link to comment Share on other sites More sharing options...
iPhazed Posted September 21, 2015 Author Share Posted September 21, 2015 If you want you can open the console and type c_give("ITEMPREFAB")You might have to press control to send it as a remote control to the server if on a dedicated server.ITEMPREFAB is the prefab of the item. Don't remove the quotes.i think i tried that but i couldn't find out the prefab for the sword Link to comment Share on other sites More sharing options...
DrSmugleaf Posted September 21, 2015 Share Posted September 21, 2015 For some reason it's called wand. c_give("wand") Link to comment Share on other sites More sharing options...
iPhazed Posted September 21, 2015 Author Share Posted September 21, 2015 For some reason it's called wand. c_give("wand") i tried that, it crashed me. maybe another mod i have also uses wand? Link to comment Share on other sites More sharing options...
iPhazed Posted September 21, 2015 Author Share Posted September 21, 2015 (edited) i tried that, it crashed me. maybe another mod i have also uses wand?nvm just checked, none of the other mods i use have that. it only crashes me if i dont use remote, and if i do use remote nothing happens. also when i did try and give the item it made the first like 5 slots unusable, every time i put a item there it would just pop back into my mouse local assets={ Asset("ANIM", "anim/wand.zip"), Asset("ANIM", "anim/swap_wand.zip"), Asset("ATLAS", "images/inventoryimages/wand.xml"), Asset("IMAGE", "images/inventoryimages/wand.tex"),} local prefabs = {"sasuke"} local function fn(colour) local function OnEquip(inst, owner) owner.AnimState:OverrideSymbol("swap_object", "swap_wand", "wand") 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() MakeInventoryPhysics(inst) anim:SetBank("wand") anim:SetBuild("wand") anim:PlayAnimation("idle") inst:AddComponent("inventoryitem") inst.components.inventoryitem.imagename = "wand" inst.components.inventoryitem.atlasname = "images/inventoryimages/wand.xml" inst:AddComponent("equippable") inst.components.equippable:SetOnEquip( OnEquip ) inst.components.equippable:SetOnUnequip( OnUnequip ) inst:AddComponent("weapon") inst.components.weapon:SetDamage(50) if not inst.components.characterspecific then inst:AddComponent("characterspecific")end inst.components.characterspecific:SetOwner("sasuke")inst.components.characterspecific:SetStorable(true)inst.components.characterspecific:SetComment("These seem heavier than they look.") return inst end return Prefab("common/inventory/wand", fn, assets, prefabs) Edited September 21, 2015 by iPhazed Link to comment Share on other sites More sharing options...
DrSmugleaf Posted September 21, 2015 Share Posted September 21, 2015 There's so many things wrong with that mod, unless you give me a crash log I'm clueless. Link to comment Share on other sites More sharing options...
iPhazed Posted September 21, 2015 Author Share Posted September 21, 2015 There's so many things wrong with that mod, unless you give me a crash log I'm clueless.yeah there's a lot of bugs and iv learned to play around them when im host but i just want to be able to get the sword at least when not host. i think this is the log you need? log.txt 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