Jump to content

Rescource problem.


nowofresh

Recommended Posts

What is a diffrent etc. when i put all my server folders in 1 rescource or some rescources for example:

Rescources/my_gamemode

-folder functions

-folder animations

etc.

(or)

Rescources/functions

Rescources/animations

What is a diffrent ?

(?) Compilation time ?, Usefuly

Edited by Guest
Link to comment
  • Discord Moderators

Are you talking about, whether it would be best to spread out your functionality and features in several resources or stuff them in one?

Spread it out definitely. I don't really know how a server reacts if you stuff everything inside one resource, but something tells me it ain't nice.

Though, if you're talking about a gamemode or something else, use one resource.

What I mean per resource is a different purpose

Link to comment
  • Discord Moderators

as I said, I think it's best to have several resources.

I speak on behalf of the structure of the basic resource bundle, seeing it has individual resources for individual purposes (ie. not having freeroam placed inside the race resource)

Link to comment

Basically he is saying nobody understands your question.

Based on previous experience, it is much better to put resources in their own folders rather than trying to different things in one, unless they're tiny and doesn't matter if restarted.

Link to comment

If you put everything into one resource, there will be better communication between scripts, if you put scripts separately, then you will be able to restart one script without restarting another. When I'm creating a gamemode, I put everything into one resource, even though scripts have different purposes. To me, it's better to have one big gamemode resource than a gamemode made of resources which are mixed between other scripts in resources folder :)

Link to comment

if you'll use 500MB of resources on your server, it will make no difference for you, whether it's separated to «rescources folders» or in one big ass resource.

'cause noone will download that load of :~.

this topic is called «rescource problem», and there were no problems discussed whatsoever (and it's hardly related to scripting itself).

so please either move on to the problem you're having (and «what if my has 500MB rescource only admins know better» isnt one) and make some sense, or i'll lock this one.

Link to comment

if i'd have to choose, i'd give you a read-only for some time for the following reasons:

1. your english is hard to understand. even google translator can do better

2. you create a lot of topics with very basic questions

3. you don't like the answers you get

4. have i mentioned bad english?

oh, if you mean «if i had to choose how to fill up 500MB of resources» — i wouldn't. it's stupid, it's unnecessary, it's just plain wrong.

and it won't have any difference, cause you won't have 500MB of Lua code, but probably some music and stuff.

i think it doesn't matter to which folder clients have to download media files to.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...