Raised This Month: $ Target: $400
 0% 

fakemeta & engine


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 05-13-2012 , 17:29   fakemeta & engine
Reply With Quote #1

I have a doubt, in an hypothetical situation that I must use fakemeta and in one function is more efficient do it with engine...

Should I include engine? Or just continue using fakemeta?

And in the opposite way? That I must use engine and in one function is more efficient do it with fakemeta.
__________________

Last edited by Neeeeeeeeeel.-; 05-13-2012 at 17:29.
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 05-13-2012 , 17:31   Re: fakemeta & engine
Reply With Quote #2

Why are you guys so afraid of including more than 2 includefiles?
__________________
Quote:
#define true ((rand() % 2)? true: false) //Happy debugging suckers

Last edited by mottzi; 05-13-2012 at 17:31.
mottzi is offline
Send a message via MSN to mottzi
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 05-13-2012 , 17:39   Re: fakemeta & engine
Reply With Quote #3

Quote:
Originally Posted by mottzi View Post
Why are you guys so afraid of including more than 2 includefiles?
I'm not afraid to include more than 2 includefiles... It's just a question.
__________________
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 05-13-2012 , 17:42   Re: fakemeta & engine
Reply With Quote #4

The rule of thumb is that you always use the most efficient way I think.
__________________
Quote:
#define true ((rand() % 2)? true: false) //Happy debugging suckers
mottzi is offline
Send a message via MSN to mottzi
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 05-13-2012 , 17:55   Re: fakemeta & engine
Reply With Quote #5

If there's something in Fakemeta, that you can use with Engine, always CONSIDER ENGINE FIRST.

Not everything can be done with engine, sometimes you would be obliged to use Fakemeta to complete your work, but there exists some natives in Engine that are too in Fakemeta, in that case, use Engine, and if you're using both, don't worry, your computer wont explode while using one module more. That's all buddy
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross

Last edited by meTaLiCroSS; 05-13-2012 at 20:51.
meTaLiCroSS is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 05-13-2012 , 18:35   Re: fakemeta & engine
Reply With Quote #6

It's more of a personal preference when it comes to shared functionality between fakemeta and engine.

I know engine is *slightly* faster than fakemeta but it's also alot easier, fakemeta however has alot of stuff that engine doesn't and vice-versa as well... so, just use what you're comfortable with if you have more options... but you really shouldn't *convert* a native to something else that calls more natives, that's just wrong and wastes resources. (example: fm_* stocks from fakemeta_utils are really BAD.)
__________________

Last edited by Hunter-Digital; 05-13-2012 at 18:36.
Hunter-Digital is offline
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 05-13-2012 , 19:58   Re: fakemeta & engine
Reply With Quote #7

Thanks to all.
__________________
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-13-2012 , 20:12   Re: fakemeta & engine
Reply With Quote #8

You use whichever is more efficient in what you are using.
If one is more efficient for one thing, doesn't mean you should use it for everything.
For example, entity_get_*() functions are more efficient than pev(), but fakemeta also has functionality that engine doesn't.
There is nothing wrong in using both fakemeta and engine, because they both have their own strengths.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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 00:31.


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