Forum

> > CS2D > Scripts > Hudtxt Limited? Why?
Forums overviewCS2D overview Scripts overviewLog in to reply

English Hudtxt Limited? Why?

1 reply
To the start Previous 1 Next To the start

old Re: Hudtxt Limited? Why?

GeoB99
Moderator Off Offline

Quote
The hudtxt commands (cs2d cmd hudtxt and cs2d cmd hudtxt2) don't do lags by themselves but it's mostly a question of how we use them. Firstly, we should pay lots of attention on how expensive the functions are which they play a huge role. Using cs2d lua hook always hook for complex run-time processes is overkill, for example. You'll have roughly 10 FPS because most of the frames are being taken by these operations and it's just a waste of performance and not recommendable.

Meanwhile cs2d lua hook ms100 is also overkill and not advisable for complex operations. Unless you want to, for example, display a simply customized HUD to show your HP then ms100 would be the best option.

Conclusion

To answer your question in less words regarding hudtxt performance: it merely depends on you and what do you want to achieve. As for the hudtxt number limit I'd say it's an internal setting of the game and not changeable due performance standards, in my humble opinion. user DC can answer your first question since he could give you more facts than an opinionated answer like mine.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview