Jump to content

Recommended Posts

Hi all, this is my first attempt at a mod, which I guess I would say is currently in its alpha-ish stage? He's fully playable but needs some testing and has some known issues I need to fix as well as a couple more features I'd like to add.

 

Wakizashi, the Ninja

Has Ninja Gear (Starts with an unbreakable Nightmare Sword which does not drain sanity, as well as a single blow dart)

Strikes from the Shadows (Moves faster and does more damage during night/dusk)

Likes to Travel Light (Cannot carry armor, backpack or krampus sack)

 

Known Issues

- His unique sword doesn't appear in the inventory (its there but the icon isn't, so you can use it if you remember what slot its in. Slot 1 is default).

- If you attempt to equip a disabled item (see "likes to travel light") the icon will show in the slot but the item will have no effect. The item will relocate to your current location if you attempt to "drop" it. This will not prevent you from replacing it with another item however.

 

Feedback

I would love to hear any tips, advice, suggestions, criticism, compliments, feedback, problems, etc regarding this characters design, balance, art, bugs in the code, or whatever else. I'm not sensitive about it so have at me. Its the fastest way for me to figure out problems and make the character better. Any solutions for the known graphics problems would be particularly welcomed.

 

Goals

Fix graphics errors and code bugs, etc.

Polish up appearance and add the rest of the menu portraits

Add a feature that causes monsters to drop agro more quickly in the dark/dusk.

Allow him to start with a set of three random ninja tools in addition to the sword. This could include bee mines, gunpowder, tooth traps, boomerang and any type of dart.

 

Changelog

11/28 Fixed problem where the head would disappear when wearing hats (thank you, Mr. Tiddles).

 

Special Thanks to all the code savy people who have helped me out with this guy, especially squeek, who took the time to actually write some sections of code for me that I couldn't figure out on my own.

 

post-208485-0-67413800-1385618965_thumb.

wakizashi.zip

Edited by Fredgerd
Link to comment
https://forums.kleientertainment.com/forums/topic/30037-wip-wakizashi-the-ninja/
Share on other sites

With the "head disappearing when wearing hats" error, I see what's causing it. See, when you wear hats, the head changes to the "head_hat" parts that are missing in his anim file.

 

The circled part is around the area that's meant to have the "head_hat" sprites.
post-286034-0-57365000-1385640745_thumb.

 

And see? This is the sample character template with the missing parts.

post-286034-0-88509200-1385640815_thumb.

 

I would recommend creating a new layor beneath the first to put the sample character template beneath Wakizashi's anims so you can measure his head_nohat, and use that to copy his heads to the heat_hat positons exactly (or almost exactly).

 

Sorry if my explaining skills aren't all that good, I'm better at demonstrating.

 

Your mod is very interesting so far and I look forward to seeing how it turns out when it's finished!

Edited by Mr. Tiddles

Just throwing in some suggestions here, since he's not able to carry backpacks or armor, you could make him faster, and/or when he wears a backpack or armor it slows him down. I also don't know if this is possible, but maybe he has a random chance to "dodge" stuff, or enemies miss, without him having to run away from the attack.

With the "head disappearing when wearing hats" error, I see what's causing it. See, when you wear hats, the head changes to the "head_hat" parts that are missing in his anim file.

 

The circled part is around the area that's meant to have the "head_hat" sprites.

attachicon.gifanimerrorninjaman.png

 

And see? This is the sample character template with the missing parts.

 

I would recommend creating a new layor beneath the first to put the sample character template beneath Wakizashi's anims so you can measure his head_nohat, and use that to copy his heads to the heat_hat positons exactly (or almost exactly).

 

Sorry if my explaining skills aren't all that good, I'm better at demonstrating.

 

Your mod is very interesting so far and I look forward to seeing how it turns out when it's finished!

 

Explanation was crystal clear. Issue is fixed, thanks! I've updated the file in the OP.

 

If you'd like my insight on one of your goals, i imagine the randomized starting things could be done by way of a series of math.randoms and some elseifs 

 

Could you say more on that? I haven't used that before. Can you use it to random from a specific list?

 

Just throwing in some suggestions here, since he's not able to carry backpacks or armor, you could make him faster, and/or when he wears a backpack or armor it slows him down. I also don't know if this is possible, but maybe he has a random chance to "dodge" stuff, or enemies miss, without him having to run away from the attack.

 

I'd rather have the hard limitation. Otherwise it just becomes a limited perk and he has no disadvantages. I think the no armor and no extra storage thing is really important because it forces him to choose his item sets in advance and plan for an encounter and also to use kiting. dodging and hit and run tactics rather than just bashing it out with an enemy which I think is much more fitting for a ninja. Basically I wanted to add an element of stealth gameplay to him. The extra speed makes kiting easier and the low health and lack of armor makes it essential.

 

I'm also not a huge fan of random dodge chance as it can't be planned for and requires no skill and is therefor just a luck thing, which actually encourages slugging it out with enemies and given his low health and lack of armor would probably not come into play much since you'd never want to take that risk. I'm all in favor of adding an actual dodge manuever but I gather animations can't be modified at present so that will have to come later when Klei makes this possible.

 

Thanks for the suggestions, I don't think I'll impliment them but the feedback is useful anyway.

Edited by Fredgerd

When I try to enable this mod it warns me it is "out of date" and no new character appears. I'm using the latest version of don't starve. I would really like to try this guy out. any suggestions? thanks in advance.

 

I... have no clue why that would be. It should work fine if you just check "enabled" anyway.

 

I'm kinda new at modding so it may be I just accidentally did one of the files in such a way that it validates but doesn't make the program totally happy. It might also be because it wasn't added through the steam workshop or the don't starve mods menu. I'm not totally sure. It has worked on friends computers as well as my own though so it should run if you enable it.

I... have no clue why that would be. It should work fine if you just check "enabled" anyway.

 

I'm kinda new at modding so it may be I just accidentally did one of the files in such a way that it validates but doesn't make the program totally happy. It might also be because it wasn't added through the steam workshop or the don't starve mods menu. I'm not totally sure. It has worked on friends computers as well as my own though so it should run if you enable it.

What's happening with that mod? no updates in a while.

What's happening with that mod? no updates in a while.

 

Finishing up finals, I'll probably get back on it in a few days. Not sure when the next update will be though as I'm still getting the hang of Lua, and I need to learn a bit more before I can do what I want to do with it.

Finishing up finals, I'll probably get back on it in a few days. Not sure when the next update will be though as I'm still getting the hang of Lua, and I need to learn a bit more before I can do what I want to do with it.

All right, cool...thanks for the update though XD

 

I will wait on news then. keep the good work!

i haven't tried the current version yet, i was waiting for the final version, but i guess i can D/L and see if i come across any bugs and whatnot.

 

Its totally playable and pretty fun as is, if you can get past the weird sword icon not appearing thing. Thats the only major issue I know of at this point and beyond that I just want to add more things to emphasize stealth oriented gameplay.

Fixed the inventory icon not working.

 

You need to put:

    inst:AddComponent("inventoryitem")inst.components.inventoryitem.atlasname = "images/inventoryimages/nightmare_ninjato.xml"

In the Ninjato's prefab file and then go into the modmain and add:

Asset("ATLAS", "images/inventoryimages/nightmare_ninjato.xml")

to the assets section.

 

Fixed the inventory icon not working.

 

You need to put:

    inst:AddComponent("inventoryitem")inst.components.inventoryitem.atlasname = "images/inventoryimages/nightmare_ninjato.xml"

In the Ninjato's prefab file and then go into the modmain and add:

Asset("ATLAS", "images/inventoryimages/nightmare_ninjato.xml")

to the assets section.

 

can anybody that downloaded the mod just add these lines and it will work?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...