Raised This Month: $ Target: $400
 0% 

Entity angels and sizes mins/max


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 06-21-2012 , 18:36   Entity angels and sizes mins/max
Reply With Quote #1

hey

Lets say I got an entity, I set its angels to be like that '\', so I set X to 45.0, and Y & Z to 0.0. right?
If I want to fit the entity size to that '\' shape, how can I do that? sizes of mins and max create me a box as I can see, and it can not make a shape of '\', so player will see a model standing like that '\' but when he'll try to stand on it he'll sense that the object is that way ' | '.

Any advice? (on how can I make the entity size to be fit like that '\')
__________________
My Projects:

Auto-Mix (Pug): 100%

Joined the Military (a soldier now) - Inactive

Last edited by Diegorkable; 06-21-2012 at 18:57.
Diegorkable is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-22-2012 , 01:06   Re: Entity angels and sizes mins/max
Reply With Quote #2

If what you say works, then the default model you use should be '|', because if you set 45° on '\' you may see '-'
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
roymor
Senior Member
Join Date: Apr 2012
Old 06-22-2012 , 07:05   Re: Entity angels and sizes mins/max
Reply With Quote #3

Quote:
Originally Posted by ConnorMcLeod View Post
If what you say works, then the default model you use should be '|', because if you set 45° on '\' you may see '-'
He ment the he set the angle of the model to be like this '\' but the solid part which you stand on stayed like this '|' or this '_'
roymor is offline
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 06-22-2012 , 07:32   Re: Entity angels and sizes mins/max
Reply With Quote #4

Connor, If I do entity_set_vector(ent, EV_VEC_angles, angles);
when angles = { 45.0, 0.0, 0.0 }, then entity would look like this -> ' \ '.

The problem is that when you try to stand on that block, you sense like its ' | ' (an invisible box which you stand on). Well I believe these are the mins and max sizes:

PHP Code:
entity_get_vector(entEV_VEC_minssize_min);
    
entity_get_vector(entEV_VEC_maxssize_max); 
My question is, whenever I supply parameters to size_min and size_max then I re-set it with entity_set_vector, it will always create me a box, means I can not create the invisible box to be like that ' \ ', only its angels to be set like that. Because when I give parameters in size_min and size_max, I give X, Y and Z. means I give parameters to making a box, and a box can not be like that ' \ ' (atleast with size_min and size_max, probably I am missing some function that does that).

My main point is that I see from the angles set the object standing like this ' \ ', but when trying to stand on it you sense that its like this ' | '.

How do I set the actual box to be like this ' \ ' the same as it is viewed?
__________________
My Projects:

Auto-Mix (Pug): 100%

Joined the Military (a soldier now) - Inactive

Last edited by Diegorkable; 06-22-2012 at 07:33.
Diegorkable is offline
Old 06-26-2012, 12:34
roymor
This message has been deleted by Exolent[jNr]. Reason: Don't bump until 2 weeks have passed since last post. I deleted the first time with the wrong reason.
Old 06-27-2012, 12:36
roymor
This message has been deleted by Exolent[jNr]. Reason: Don't bump until 2 weeks have passed since last post. I deleted the first time with the wrong reason.
SpeeDeeR
Veteran Member
Join Date: Mar 2010
Location: Bulgaria
Old 02-02-2014 , 12:08   Re: Entity angels and sizes mins/max
Reply With Quote #5

I have to bump that old thread. I was wondering the same thing for some time now.
SpeeDeeR is offline
SpeeDeeR
Veteran Member
Join Date: Mar 2010
Location: Bulgaria
Old 05-12-2014 , 09:11   Re: Entity angels and sizes mins/max
Reply With Quote #6

Bump.
SpeeDeeR is offline
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 05-12-2014 , 09:26   Re: Entity angels and sizes mins/max
Reply With Quote #7

I don't think you can do that with scripting.
Backstabnoob is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 05-12-2014 , 21:18   Re: Entity angels and sizes mins/max
Reply With Quote #8

Have you tried with this?
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 05-13-2014 , 08:35   Re: Entity angels and sizes mins/max
Reply With Quote #9

Quote:
Originally Posted by meTaLiCroSS View Post
Have you tried with this?
You can make ghost entities with that.
Those bmod things only collide with the word, not with the ohter entities sadly.
.Dare Devil. is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 05-13-2014 , 16:46   Re: Entity angels and sizes mins/max
Reply With Quote #10

Quote:
Originally Posted by .Dare Devil. View Post
You can make ghost entities with that.
Those bmod things only collide with the word, not with the ohter entities sadly.
Hmm, so I think there's no solution for this, this has been discussed many times
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS 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 06:13.


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