Thats not what i mean.This is item.useStyle = X;
I't would be really nice if you could tell me how I change the offset in this codeFor that, a guy have already answer you, i think. And than i have begin here, also. If you have use button search, you can found very easy.
This is this thing for place your weapon:
Code:public override Vector2? HoldoutOffset() { return Vector2.Zero; }
Yes the result is better ^^If you have put that, this thing give you already a better result, no? ^^ After, if you want again put less, you need just mathematical formul.
And how do I tell the weapon that?You take the player.width,height(or others) for change the position of the weapon.
What? You talk Main.player[item.owner].width?
public override Vector2? HoldoutOffset()
{
return Vector2.Zero;
}
No, not unless you want to go through 3000 items and compile it manually. Anyway, all you need to do is search for the id ,most the results in item.cs or player.cs are what you want. All compressed to the search results window.Is it possible to get more compressed info about Vanilla items because the sourcecode is pretty far spread?
Well this will be a hole lot of work as well because 90% of the Items in my mod will be based on Vanilla ones. (Upgrades)No, not unless you want to go through 3000 items and compile it manually. Anyway, all you need to do is search for the id ,most the results in item.cs or player.cs are what you want. All compressed to the search results window.
If you plan on upgrading vanilla items, I recommend you look into custom ItemInfo.Well this will be a hole lot of work as well because 90% of the Items in my mod will be based on Vanilla ones. (Upgrades)
Where do I find it?If you plan on upgrading vanilla items, I recommend you look into custom ItemInfo.
I am talking about Custom ItemInfo.Where do I find it?
And if you are meaning the clone function, I know about it but it only "clones" the "Defaults" and they are not hard to find.
Thanks for you help but I , don't know what that "Custom Iteminfo" is and how it works. And I'm sorry to say that but the Sourcecode didn't help at all but your mod looks Interesting.I am talking about Custom ItemInfo.
It allows you to store any custom data for any item, really. My recent Elemental Weapon Enhancement mod is a good example of it.
(link in sig) You can check out the sourcecode on it on GH, there's some ItemInfo use. Link is in the thread.