Just throwing more inspiration here:
Recreation of an old "Baseball Davis"
And below, is a mini-LF2 mod for playing baseball by a chinese modder.
Regarding the baseball bat system, the batting ability is specific to id 100, under the following conditions:
While you are at it, I would suggest fixing the bug where rolling into a wall with a bat tends to cause the bat to magically disappear. This happens because the bat is held in a position at or below y: 0 when the weapon itself went past the map boundary. Either raise the wpoint y-coordinate, or change cover: 1 to cover: 0 (same as Template). This works because Marti made cover: 1 work by shifting the z-axis of the weapon up by 2px, and then dropped the y-axis of the weapon by 2px to compensate, and this coincidentally caused the bat to be below the ground during rolling.
It'd be nice if Banter is still able to pick up milks to drink in Stage though, so having the option to not hold the bat temporarily would be great.
No idea how the chance to flaming baseball works, but my guess is that it is a custom type 1 baseball rather than a type 4(hence the weird gravity too), and then you use the fact that hitting a weapon sends it to a random frame 0-15 to make it happen.
From the looks of it, Banter will actually despawn the bat in order to opoint kind 2 the baseball before throwing. That's not actually necessary. Just directly spawn the baseball the same way Henry/Rudolf/Hunter do, and make sure the frame it goes to has state 1002 such as frame 40.
Unfortunately I can't think of a way to make the baseball able to fly along z-axis after being struck.
Gravity Notes
Normal = 17/10 = 1.7
type6(drink) = 17/15 = 1.1333
hoe(id101) st1002 = 17/15 = 1.333
type4(ball) = 17/20 = 0.85
st1002(in general) = 17/30=0.5667
knife(id120) st1002 = 17/40 = 0.425
boomerang(id124) st1002 = 17/100 = 0.17
Recreation of an old "Baseball Davis"
And below, is a mini-LF2 mod for playing baseball by a chinese modder.
Regarding the baseball bat system, the batting ability is specific to id 100, under the following conditions:
- the bat is held in wpoint, and then swung with itr kind 5
- the object being hit only needs to be a type 4(baseball) or 6(drink), no specific id required.
While you are at it, I would suggest fixing the bug where rolling into a wall with a bat tends to cause the bat to magically disappear. This happens because the bat is held in a position at or below y: 0 when the weapon itself went past the map boundary. Either raise the wpoint y-coordinate, or change cover: 1 to cover: 0 (same as Template). This works because Marti made cover: 1 work by shifting the z-axis of the weapon up by 2px, and then dropped the y-axis of the weapon by 2px to compensate, and this coincidentally caused the bat to be below the ground during rolling.
It'd be nice if Banter is still able to pick up milks to drink in Stage though, so having the option to not hold the bat temporarily would be great.
No idea how the chance to flaming baseball works, but my guess is that it is a custom type 1 baseball rather than a type 4(hence the weird gravity too), and then you use the fact that hitting a weapon sends it to a random frame 0-15 to make it happen.
From the looks of it, Banter will actually despawn the bat in order to opoint kind 2 the baseball before throwing. That's not actually necessary. Just directly spawn the baseball the same way Henry/Rudolf/Hunter do, and make sure the frame it goes to has state 1002 such as frame 40.
Unfortunately I can't think of a way to make the baseball able to fly along z-axis after being struck.
Gravity Notes
Normal = 17/10 = 1.7
type6(drink) = 17/15 = 1.1333
hoe(id101) st1002 = 17/15 = 1.333
type4(ball) = 17/20 = 0.85
st1002(in general) = 17/30=0.5667
knife(id120) st1002 = 17/40 = 0.425
boomerang(id124) st1002 = 17/100 = 0.17
~Spy_The_Man1993~
Steiner v3.00 (outdated), Challenge Stage v1.51
Luigi's Easier Data-Editor, A-Man's Sprite Mirrorer
Working on the LF2 Rebalance mod.
Avatar styled by: prince_freeza