Jump to content

Photo

Link stop on standing tile BS movement


  • Please log in to reply
6 replies to this topic

#1 Jared

Jared

    Deified

  • Members
  • Real Name:Jared
  • Pronouns:He / Him
  • Location:New Hampshire

Posted 10 June 2021 - 10:43 PM

This is a super weird nitpick,

 

but you know how Link stops on his "first" or "standing" tile with Zelda 3 movement? Is there a way we could get this with BS movement too? Maybe a checkbox? This is something that's always bothered me. I figured it's a super easy script to write, but thinking about it, if it's already in the data for Z3 walking, then maybe it can go to BS movement too?


Edited by Jared, 14 June 2021 - 05:45 PM.

  • Anthus, Twilight Knight, Mitchfork and 1 other like this

#2 Emily

Emily

    Scripter / Dev

  • ZC Developers

Posted 11 June 2021 - 09:16 AM

Incase anyone wants to tackle this,

"link.cpp, L2242"

else
{
	linktile(&tile, &flip, &extend, ls_walk, dir, zinit.linkanimationstyle);
	
	if(action == walking || action == climbcoverbottom || action == climbcovertop)
	{
		if ( script_link_sprite <= 0 ) tile += (extend == 2 ? 2 : 1);
	}
	
	if(dir>up)
	{
		useltm=true;
		shieldModify=true;
	}
	
	if(action == walking || action == hopping || action == climbcoverbottom || action == climbcovertop)
	{
		//tile+=(extend==2?2:1);
		//tile+=(((active_count>>2)%8)*(extend==2?2:1));
		int l = link_count / link_animation_speed;
		l -= ((l > 3) ? 1 : 0) + ((l > 12) ? 1 : 0);
		if ( script_link_sprite <= 0 ) tile += (l / 2) * (extend == 2 ? 2 : 1);
	}
}

The 'if(action==walking)' is what makes it use the original tile when standing. That condition would need to be copied to each other style, with a QR.


  • Jared likes this

#3 P-Tux7

P-Tux7

    💛

  • Members

Posted 11 June 2021 - 09:38 PM

Can't you just use Z3 animation but have the frames be duplicated so that it appears to be using only four tiles?



#4 Jared

Jared

    Deified

  • Members
  • Real Name:Jared
  • Pronouns:He / Him
  • Location:New Hampshire

Posted 12 June 2021 - 12:19 AM

Can't you just use Z3 animation but have the frames be duplicated so that it appears to be using only four tiles?

 

Yes! I've actually done it this way before. But it takes up a lot of tile space.



#5 Mitchfork

Mitchfork

    no fun. not ever.

  • Contributors
  • Real Name:Mitch
  • Location:Alabama

Posted 16 June 2021 - 10:35 AM

I would also like this feature quite a bit.  Have been thinking about scripted solutions but I think it would be pretty jank since the scripting access to this is all tile number-based.


  • Jared likes this

#6 NoeL

NoeL

    Legend

  • Members
  • Real Name:Jerram

Posted 18 June 2021 - 03:03 AM

Yes! I've actually done it this way before. But it takes up a lot of tile space.

Considering the pages and pages available, are a couple of extra tiles really that much of a sacrifice?

#7 Deedee

Deedee

    Bug Frog Dragon Girl

  • Moderators
  • Real Name:Deedee
  • Pronouns:She / Her, They / Them
  • Location:Canada

Posted 18 June 2021 - 03:21 AM

Considering the pages and pages available, are a couple of extra tiles really that much of a sacrifice?

It means a lot of work if you need to set up tiles ever cause you need to duplicate the tiles multiple times, plus it can be confusing how it works.


  • Jared likes this


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users