Page 2 of 3
Re: [Request] Bow And Arrow
Posted: Wed Nov 25, 2015 3:22 am
by RagdollZombie
Gyrth wrote:Ohyeah. I forgot about that. The loading via the file explorer doesn't work. The arrows are SavedObjects, and they do work for some reason. But anyhoooo, add these lines:
Code: Select all
addItem('Interactive Objects','Bow','Data/Custom/gyrth/bow_and_arrow/Items/Bow.xml','Dog Tool Hammer.png');
addItem('Interactive Objects','Quiver','Data/Custom/gyrth/bow_and_arrow/Items/Quiver.xml','Dog Tool Hammer.png');
to Data/UI/spawner/objects/interactiveobjects.js and add them to the scene using the spawner. This is a workaround.
oh yeah I forgot about that :3 thanks!
Re: [Work In Progress] Originally a request , Bow And Arrow
Posted: Tue Dec 22, 2015 9:49 am
by Ballistic180
i did everything yet i'm still getting an error popup "Could not find file Data/Custom/gyrth/bow_and_arrow/Items/Bow.xml. theres gotta be something im doin wrong here... any ideas?
Re: [Work In Progress] Originally a request , Bow And Arrow
Posted: Tue Dec 22, 2015 10:03 am
by Gyrth
Ballistic180 wrote:i did everything yet i'm still getting an error popup "Could not find file Data/Custom/gyrth/bow_and_arrow/Items/Bow.xml. theres gotta be something im doin wrong here... any ideas?
I updated the mod to the new Mod system. The directories are now:
Code: Select all
Data/Items/Bow.xml
Data/Items/Quiver.xml
Data/Items/FlashBangArrow_prefab.xml
Data/Items/ImpactExplosionArrow_prefab.xml
Data/Items/PoisonArrow_prefab.xml
Data/Items/PoisonCloudArrow_prefab.xml
Data/Items/SmokeArrow_prefab.xml
Data/Items/TimedExplosionArrow_prefab.xml
Re: [Work In Progress] Originally a request , Bow And Arrow
Posted: Tue Dec 22, 2015 10:37 am
by Ballistic180
i can get arrows but thats it. it wont allow me to get the quiver or bow out. it just errors and boots me off the game..

Re: [Work In Progress] Originally a request , Bow And Arrow
Posted: Tue Dec 22, 2015 11:38 am
by Gyrth
Ballistic180 wrote:i can get arrows but thats it. it wont allow me to get the quiver or bow out. it just errors and boots me off the game..

Add these to the end of Data/UI/spawner/objects/interactiveobjects.js:
Code: Select all
addItem('Interactive Objects','Bow','Data/Items/Bow.xml','Dog Tool Hammer.png');
addItem('Interactive Objects','Quiver','Data/Items/Quiver.xml','Dog Tool Hammer.png');
addItem('Interactive Objects','FlashBangArrow','Data/Items/FlashBangArrow_prefab.xml','Dog Tool Hammer.png');
addItem('Interactive Objects','ImpactExplosionArrow','Data/Items/ImpactExplosionArrow_prefab.xml','Dog Tool Hammer.png');
addItem('Interactive Objects','PoisonArrow','Data/Items/PoisonArrow_prefab.xml','Dog Tool Hammer.png');
addItem('Interactive Objects','PoisonCloudArrow','Data/Items/PoisonCloudArrow_prefab.xml','Dog Tool Hammer.png');
addItem('Interactive Objects','SmokeArrow','Data/Items/SmokeArrow_prefab.xml','Dog Tool Hammer.png');
addItem('Interactive Objects','TimedExplosionArrow','Data/Items/TimedExplosionArrow_prefab.xml','Dog Tool Hammer.png');
Now you can use the spawner.
Re: [Work In Progress] Originally a request , Bow And Arrow
Posted: Tue Dec 22, 2015 1:26 pm
by Ballistic180
Thank you very much, sir. Your mod is amazing by the way.

Re: [Work In Progress] Originally a request , Bow And Arrow
Posted: Sun Dec 27, 2015 7:09 am
by Ballistic180
Gyrth wrote:Ballistic180 wrote:i can get arrows but thats it. it wont allow me to get the quiver or bow out. it just errors and boots me off the game..

Add these to the end of Data/UI/spawner/objects/interactiveobjects.js:
Code: Select all
addItem('Interactive Objects','Bow','Data/Items/Bow.xml','Dog Tool Hammer.png');
addItem('Interactive Objects','Quiver','Data/Items/Quiver.xml','Dog Tool Hammer.png');
addItem('Interactive Objects','FlashBangArrow','Data/Items/FlashBangArrow_prefab.xml','Dog Tool Hammer.png');
addItem('Interactive Objects','ImpactExplosionArrow','Data/Items/ImpactExplosionArrow_prefab.xml','Dog Tool Hammer.png');
addItem('Interactive Objects','PoisonArrow','Data/Items/PoisonArrow_prefab.xml','Dog Tool Hammer.png');
addItem('Interactive Objects','PoisonCloudArrow','Data/Items/PoisonCloudArrow_prefab.xml','Dog Tool Hammer.png');
addItem('Interactive Objects','SmokeArrow','Data/Items/SmokeArrow_prefab.xml','Dog Tool Hammer.png');
addItem('Interactive Objects','TimedExplosionArrow','Data/Items/TimedExplosionArrow_prefab.xml','Dog Tool Hammer.png');
Now you can use the spawner.
One more thing, has anyone had the problem where in midflight the arrows flip around so the tail end of the arrow sticks into the enemy? as comical as it is i'm just curious if theres a way to fix this? I appreciate your replies.
Re: [Work In Progress] Originally a request , Bow And Arrow
Posted: Fri Jan 22, 2016 8:17 pm
by samjb1992
when I try to put the bow in the left hand either by pressing 'b' or assigning it the game crashes. I'm using the steam advanced testing branch and I think its on A215, any ideas on how to fix?
Edit: it only crashes when you try to put or switch the bow to the left hand, the arrows still work and switch with no crash.
Re: [Work In Progress] Originally a request , Bow And Arrow
Posted: Tue Feb 02, 2016 12:53 pm
by Gyrth
samjb1992 wrote:when I try to put the bow in the left hand either by pressing 'b' or assigning it the game crashes. I'm using the steam advanced testing branch and I think its on A215, any ideas on how to fix?
Edit: it only crashes when you try to put or switch the bow to the left hand, the arrows still work and switch with no crash.
The problem was with the function QuaternionFromMat4. Autious fixed it. Try the internal_testing branch on steam.
I added the spawner icons to the mod files. So no need to manually add them. Just look in the Interactive Objects tab in the spawner.
The explosion decals are red for some reason. That's also something I can't fix. Dev(s) are working on the decal system, so it might be temporary.
The rotation of the arrow mid-flight is pretty weird. I have no idea what changed.
Re: [Work In Progress] Originally a request , Bow And Arrow
Posted: Tue Feb 02, 2016 3:56 pm
by samjb1992
Gyrth wrote:
The problem was with the function QuaternionFromMat4. Autious fixed it. Try the internal_testing branch on steam.
I added the spawner icons to the mod files. So no need to manually add them. Just look in the Interactive Objects tab in the spawner.
The explosion decals are red for some reason. That's also something I can't fix. Dev(s) are working on the decal system, so it might be temporary.
The rotation of the arrow mid-flight is pretty weird. I have no idea what changed.
thanks for the response it works now

Re: [Work In Progress] Originally a request , Bow And Arrow
Posted: Wed Feb 03, 2016 8:24 pm
by Gadunka
I can't seem to add the quiver and bow and stuff in my game
Re: [Work In Progress] Originally a request , Bow And Arrow
Posted: Thu Feb 04, 2016 5:48 am
by Gyrth
Gadunka wrote:I can't seem to add the quiver and bow and stuff in my game
I need a little more info to be able to help you. What steps are you doing? Are you getting any error messages?
Re: [Work In Progress] Originally a request , Bow And Arrow
Posted: Fri Feb 12, 2016 7:25 pm
by Kage-Poteto
Somehow when I try and load the bow or quiver, it loads a fail whale, and when I continue it says:
No convex hull found for Data/Models/default/default_Model_2.obj
I'm on alpha 216. Is that the problem? :O
Re: [Work In Progress] Originally a request , Bow And Arrow
Posted: Sat Feb 13, 2016 8:12 pm
by OrderlyRabbit
Re: [Work In Progress] Originally a request , Bow And Arrow
Posted: Sat Feb 13, 2016 8:14 pm
by OrderlyRabbit
Gadunka wrote:I can't seem to add the quiver and bow and stuff in my game
Im getting the same issue i put it in the mod folder but it will not appear in my game editor at all