Razish / japp

JA++ server and client modification for Jedi Academy
GNU General Public License v2.0
44 stars 30 forks source link

Add: Per-map scripts #327

Open Razish opened 9 years ago

Razish commented 9 years ago

e.g. mp/ffa5.cfg Would it be better to do this in engine like the .ent files? It would be nice to have server and client versions of this - you may want to play some maps with higher picmip or other graphics settings. A server may want to have force enabled on certain maps. Also have to worry about security, some mod slipping in a malicious configuration file for an unrelated map, perhaps a base map. Suddenly they're downloading and running code they didn't intend to.

ensiform commented 9 years ago

Mods should handle this. cgame and jampgame are perfectly capable.

Razish commented 9 years ago

Modcode was perfectly capable of per-map entity scripts, but it could be put in the engine to be compatible with all mods.

ensiform commented 9 years ago

If its just configuration files I don't see why you need it in the engine. Plus what about mods that already have? I know I implemented this sort of thing ages ago.

Razish commented 9 years ago

I'm fine with having it in either. It doesn't matter what the file contains, adding it to the engine is purely about having it supported by other mods (e.g. the plethora of JA+ servers out there that would benefit from it)