Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Character: Banter - baseball bandit
#2
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:
  1. the bat is held in wpoint, and then swung with itr kind 5
  2. the object being hit only needs to be a type 4(baseball) or 6(drink), no specific id required.
There is a way to solve the problem of infinitely spawning real bats, and I think you already figured it out, but I'll specify my solution anyway: make sure you use a wpoint with a very high x-coordinate(more than 3200 which is the width of Lion Forest, the longest map) during the picked_caught and falling frames. This way, whenever Banter is forced to drop his weapon, he will do so by simply dropping them offscreen and thus deleting the weapon.

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
[Image: uMSShyX.png]
~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
Reply
Thanks given by: Bamboori , The_Hari


Messages In This Thread
Banter - baseball bandit - by The_Hari - 06-15-2019, 10:15 PM
RE: Banter - baseball bandit - by STM1993 - 06-16-2019, 01:09 AM
RE: Banter - baseball bandit - by The_Hari - 06-18-2019, 09:59 PM
RE: Banter - baseball bandit - by Cabba - 06-19-2019, 09:56 AM
RE: Banter - baseball bandit - by The_Hari - 06-20-2019, 10:43 PM
RE: Banter - baseball bandit - by Cabba - 06-17-2019, 06:01 AM
RE: Banter - baseball bandit - by Cabba - 06-30-2019, 08:41 AM
RE: Banter - baseball bandit - by The_Hari - 08-10-2019, 10:15 AM
RE: Banter - baseball bandit - by The_Hari - 08-25-2019, 07:07 PM



Users browsing this thread: 1 Guest(s)