Well it wouldn´t have hurt to link to the original file in the description, especially since you still need the textures from it. Good work though.
Btw.: There is a bug. It builds explosive Daggers if you try to build "Paralyze Daggers". It is easy to fix really, just switch the Items in the dialog.
Oh, and wslsur13? What would you need pic for, all I did was some coding. If you want pics, go look at the original one, this was simply a quick conversion.
That's the thing, I couldn't get the fail message for the dagger to work, it kept saying the time needed to be a integer, when the time listed was 10. It didn't make sense why the message was borked, so I just dropped the that line of code. Then I had to drop that line from the other ones for continuity, otherwise it would look slightly shoddy.
Sadly, your scripts are incorrect. They will work fine if you succeed in creating it, but if you don't, you will get no message or anything. Here is what your script would have to be to make it work:
short item1
if ( player.GetItemCount WeapKnifeCombat > 0 ) ShowMessage SchematicsWorkbenchSuccessThrowDaggerMsg player.RemoveItem WeapKnifeCombat 1 ; Mines and Grenades are always 100% player.AddItemHealthPercent AThrowDagger 30 100 PlaySound UIRepairWeapon else ; 4. failure message set item1 to player.GetItemCount WeapKnifeCombat ShowMessage SchematicsWorkbenchFailureThrowDaggerMsg, item1 endif
You had just a few too many endifs in the wrong places, as well as no message for the failure. Also, you will need to set this up for all of the daggers.
7 comments
Good work though.
Btw.: There is a bug. It builds explosive Daggers if you try to build "Paralyze Daggers". It is easy to fix really, just switch the Items in the dialog.
short item1
if ( player.GetItemCount WeapKnifeCombat > 0 )
ShowMessage SchematicsWorkbenchSuccessThrowDaggerMsg
player.RemoveItem WeapKnifeCombat 1
; Mines and Grenades are always 100%
player.AddItemHealthPercent AThrowDagger 30 100
PlaySound UIRepairWeapon
else
; 4. failure message
set item1 to player.GetItemCount WeapKnifeCombat
ShowMessage SchematicsWorkbenchFailureThrowDaggerMsg, item1
endif
You had just a few too many endifs in the wrong places, as well as no message for the failure. Also, you will need to set this up for all of the daggers.