Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maps Script Loader #550

Open
Proxy-99 opened this issue Sep 13, 2024 · 4 comments
Open

Maps Script Loader #550

Proxy-99 opened this issue Sep 13, 2024 · 4 comments

Comments

@Proxy-99
Copy link
Contributor

Adding a new resource Map Script loader will be useful for multi game modes scripting and loading client scritps from a map without rely on loading a resource and start it

@Fernando-A-Rocha
Copy link
Contributor

I don't think I understand. Example?

@MegadreamsBE
Copy link
Member

I don't think I understand. Example?

Multi-gamemodes receive map files and scripts from the server, they then load it in with loadstring. They keep track of elements and other changes to revert once the map unloads. As it's not related to any gamemode, I feel it's out of scope for the default resources. Not to mention that it's very easy for it to go out of date and become insecure.

@Fernando-A-Rocha
Copy link
Contributor

Nice, it makes map scripts more tied to the maps themselves.

@Proxy-99
Copy link
Contributor Author

I don't think I understand. Example?

Multi-gamemodes receive map files and scripts from the server, they then load it in with loadstring. They keep track of elements and other changes to revert once the map unloads. As it's not related to any gamemode, I feel it's out of scope for the default resources. Not to mention that it's very easy for it to go out of date and become insecure.

We can add basic functionality and simple loader to help developers understand how to get started making their own code I think this is going be a very useful resource to have

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants