Raised This Month: $51 Target: $400
 12% 

Witch spawn at the end safedoor


Post New Thread Reply   
 
Thread Tools Display Modes
sorallll
Senior Member
Join Date: Oct 2018
Old 01-02-2022 , 06:46   Re: Witch spawn at the end safedoor
Reply With Quote #21

PHP Code:
#define PLAYER_WIDTH    33.0 
Decrease this value, for example
PHP Code:
#define PLAYER_WIDTH 24.0 
sorallll is offline
yzybb
Member
Join Date: Jul 2020
Old 01-02-2022 , 09:59   Re: Witch spawn at the end safedoor
Reply With Quote #22

Quote:
Originally Posted by sorallll View Post
PHP Code:
#define PLAYER_WIDTH    33.0 
Decrease this value, for example
PHP Code:
#define PLAYER_WIDTH 24.0 
Thank you, 20 is the most suitable
yzybb is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 01-02-2022 , 21:11   Re: Witch spawn at the end safedoor
Reply With Quote #23

Quote:
Originally Posted by sorallll View Post
Now it should be able to be generated in the normal position
Nice done, this idea is great, I will use that
__________________
HarryPotter is offline
yzybb
Member
Join Date: Jul 2020
Old 01-03-2022 , 07:19   Re: Witch spawn at the end safedoor
Reply With Quote #24

Quote:
Originally Posted by sorallll View Post
PHP Code:
#define PLAYER_WIDTH    33.0 
Decrease this value, for example
PHP Code:
#define PLAYER_WIDTH 24.0 


Is there a way to make her go a little further to the right? Let her be in the middle. Now the situation is a bit to the left.
yzybb is offline
sorallll
Senior Member
Join Date: Oct 2018
Old 01-03-2022 , 20:23   Re: Witch spawn at the end safedoor
Reply With Quote #25

Quote:
Originally Posted by yzybb View Post


Is there a way to make her go a little further to the right? Let her be in the middle. Now the situation is a bit to the left.
I added a piece of code to detect the middle point of the door frame, because not all doors are the standard width, so it is not very accurate, please report the usage to me
sorallll is offline
yzybb
Member
Join Date: Jul 2020
Old 01-03-2022 , 22:12   Re: Witch spawn at the end safedoor
Reply With Quote #26

Quote:
Originally Posted by sorallll View Post
I added a piece of code to detect the middle point of the door frame, because not all doors are the standard width, so it is not very accurate, please report the usage to me




The current effect is still not very good, if you can change the direction of the witch sitting in this way, it should be perfect.
yzybb is offline
sorallll
Senior Member
Join Date: Oct 2018
Old 01-03-2022 , 22:48   Re: Witch spawn at the end safedoor
Reply With Quote #27

Quote:
Originally Posted by yzybb View Post




The current effect is still not very good, if you can change the direction of the witch sitting in this way, it should be perfect.
The direction can be adjusted manually
PHP Code:
vAng[1] += 90.0; or vAng[1] -= 90.0;
vSpawnWitch(vPosvAng); 
Modify the value of vAng[1]

Last edited by sorallll; 01-03-2022 at 22:49.
sorallll is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode