Weird bug I believe I found.

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
zadkielmodeler
Posts: 43
Joined: Sat Sep 15, 2012 6:34 am

Weird bug I believe I found.

Post by zadkielmodeler »

okay so I have this arrow type in my items.lua

Code: Select all


	defineObject{
		name = "huntingarrow",
		class = "Item",
		uiName = "Hunting Arrow",
		model = "assets/models/items/arrow.fbx",
		ammoType = "arrow",
		gfxIndex = 107,
		attackPower = 45,
		impactSound = "impact_arrow",
		stackable = true,
		sharpProjectile = true,
		projectileRotationY = 90,
		weight = 0.05,
	}

[code]

the thing works great when fired by a bow. pretty powerful too. But after about the 5th or 6th time it was fired and then I rested, it turned back into  a broadhead arrow. I was totally caught off guard when the character started hitting for 12 instead of 45-60.


Anyways, I would appreciate it if someone would confirm this bug for me. with their own test dungeon or something like that.
zadkielmodeler
Posts: 43
Joined: Sat Sep 15, 2012 6:34 am

Re: Weird bug I believe I found.

Post by zadkielmodeler »

I am wondering if I change the ammotype to something else and make a bow that takes that ammo type if it will work.
User avatar
Komag
Posts: 3659
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: Weird bug I believe I found.

Post by Komag »

I tested it and the arrows reverted to broadhead arrows after the first shot, just like an enchanted arrow does. I bet you're right about defining a new ammo type to make it permanent.
Finished Dungeons - complete mods to play
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: Weird bug I believe I found.

Post by petri »

That's odd. Added to the bug list. Thank you for the bug report!
User avatar
Komag
Posts: 3659
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: Weird bug I believe I found.

Post by Komag »

but it seemed sort of pike intended behavior, like how a fire arrow reverts to broadhead
Finished Dungeons - complete mods to play
zadkielmodeler
Posts: 43
Joined: Sat Sep 15, 2012 6:34 am

Re: Weird bug I believe I found.

Post by zadkielmodeler »

I guess in a semi-related question, is there way to assign multiple ammotypes to a ranged weapon?
User avatar
Komag
Posts: 3659
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: Weird bug I believe I found.

Post by Komag »

I sorta doubt it, but you could re-define all the various ammo items to be the same ammo type!
Finished Dungeons - complete mods to play
Post Reply