Ulysses Stuff > Releases

URS BETA - A Highly Customizeable Restriction System (or will be)

<< < (37/117) > >>

Makish:
Since I'm absolutely clueless when it comes to coding, I'm going to ask a dumb question (or maybe not) Could you possibly use the same code as Evolve when it comes to weapon restriction? Evolve apparently can auto detect all the weapons and filter them accordingly. Would this be possible in ULX?

LuaTenshi:

--- Quote from: Makish on November 06, 2011, 06:47:38 PM ---Since I'm absolutely clueless when it comes to coding, I'm going to ask a dumb question (or maybe not) Could you possibly use the same code as Evolve when it comes to weapon restriction? Evolve apparently can auto detect all the weapons and filter them accordingly. Would this be possible in ULX?

--- End quote ---

Evolve uses a different "coding style" then ULX does, but if you have noticed the weapon restrictions already let you select from a list of weapons.

But yes it would be possible to do it, but you would not be able to do it the exact same way as evolve does it.

I think its easier just to spawn the certain weapon look at the weapon name, and restrict it like that.

Aaron113:

--- Quote from: Makish on November 06, 2011, 06:47:38 PM ---Since I'm absolutely clueless when it comes to coding, I'm going to ask a dumb question (or maybe not) Could you possibly use the same code as Evolve when it comes to weapon restriction? Evolve apparently can auto detect all the weapons and filter them accordingly. Would this be possible in ULX?

--- End quote ---

I can take a look at how Evolve does it and get back to you.  Wish my site was up so I could add it to my todo.

Aaron113:

--- Quote from: Makish on November 06, 2011, 06:47:38 PM ---Since I'm absolutely clueless when it comes to coding, I'm going to ask a dumb question (or maybe not) Could you possibly use the same code as Evolve when it comes to weapon restriction? Evolve apparently can auto detect all the weapons and filter them accordingly. Would this be possible in ULX?

--- End quote ---

Ok, I've added it to my todo list, but it isn't a priority so you'll have to wait.

Also, if I'm missing anything on my todo, let me know.  Some *** from my current host did something and I lost some of my site.  Host doesn't have backups for free to host people (which I am), so yeah.

JackYack13:
One useful thing you might add is an inherit feature. So for example instead of putting "weapon_physgun", "weapon_physcannon", "gmod_tool", and "gmod_camera" in the loadouts of 10 groups (since it's quite a pain in the a*s), I could simply make all groups inherit from one group with these weapons in the loadout. Same with restrictions: instead of restricting the same weapons from all groups, I could simply restrict them from one and make the other groups inherit that group. I know this might be quite challenging to implement but it would make your addon close to perfect :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version