Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Weapons defined in text files / de-harding weapons [feature debate]

#6
(05-23-2012, 11:40 AM)Samual Wrote: FYI this requires entire weapon system re-write... it's basically totally not feasible.

I know about the rewrite. Like I said it will take quite some effort, but I think the results will be very worth it, and it's an idea I believe a lot in. I believe this is overall less hard than the panel hud probably was, as one example.

(05-23-2012, 01:29 PM)Chryyz Wrote: You know, the idea is awesome in itself, but there is at least one consequence outside your scope right now.

I mentioned this on IRC to a select few people, but basically right now on Xonotic there are a bunch of different servers running their own physics, their own weapon balances, and all sorts of crazy customization. In all honestly, one person may look at having each server play differently as "variety" and a good thing, but to me it just makes things inconsistent and discourages me from trying any servers outside of the ones I've already approved.

You introduce a weapon/item system that allows everyone and their mother to create their own weapons with enough work and this is just going to get worse. Everyone will want to create their own weapons and put up their own server to showcase them. I can see the forums being attacked week by week (long time in the future, of course) with people wanting their weapons certified for competition games... because they're better and more balanced. The whole idea gives me a headache.

I don't think the fear of different mods should make us want to limit the abilities of the code rather than expand them. What I support for this purpose is adding better server list indicators as to which server is running a mod and which is running a default. There already are icons, but some filters would be nice as well, so that people who don't want to run into mods don't.

That said, there already are several known servers which are permanently decided as to what they are running. The DCC servers for instance will likely never use mods. Also, a modded server is usually marked accordingly, and I don't think Xonotic will ever be in a crisis of finding an unmodded server. So I don't think this could ever become a problem.

(05-23-2012, 01:31 PM)tZork Wrote: Perhaps, but its true.

Its also very likely that such system would limit weapon options and incur a large processing overhead. Since Xonotic is a game, not a game engine, features like this are not, imo, to useful in the bigger picture. Its not like its difficult or time consuming to add/change a weapon as it is.

That said, IF this was done with little to no functionality and performance loss it would certainly be a nice thing - but until i see code doing that, i doubt it will happen.

It's not just about it being difficult to edit weapons in the code. Like I said, one reason is to make modding easier overall, as well as allowing the usage of multiple weapon sets throughout the same installation of Xonotic. For example, "special maps" could even come with their own invented weapons by using a settemp_for_gametype_all on a separate weapon list. In my view this will only remove a big limit in terms of modding.

Otherwise, my architecture aims at not causing either of those problems (decreasing performance or the abilities of weapons). The existing abilities of weapons will all be ported to the text architecture, and not in any way reduced. Once someone wants to create new weapon abilities, then they edit the weapon code and make a new hook. Performance drop is likely not a possibility, because the text file will only be read once at map startup (I'll think of some way to persist them in the code so the files aren't read with each shot, but memory isn't increased a lot either). At worst it could increase loading times with 0.1 seconds on old machines, but I doubt even that much will happen.
Reply



Messages In This Thread
RE: Weapons defined in text files / de-harding weapons [feature debate] - by MirceaKitsune - 05-23-2012, 01:48 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Speech to text, or almost voice chat oblector 0 2,869 06-30-2022, 06:29 PM
Last Post: oblector
  New feature review/test: Private Server List BuddyFriendGuy 17 25,451 01-07-2016, 08:05 AM
Last Post: BuddyFriendGuy
  missing shader files BuddyFriendGuy 0 4,101 07-05-2015, 07:19 PM
Last Post: BuddyFriendGuy
Question Text right to left (xonotic menu) kariminf 5 9,396 07-08-2013, 06:00 AM
Last Post: Mr. Bougo
  What is the general consensus on "dodging"? (UT's greatest feature IMO) ambition 7 9,336 01-26-2013, 02:42 PM
Last Post: lda17h
  Game key bindings working while typing text AviyaL 3 7,321 09-23-2012, 05:35 AM
Last Post: Mr. Bougo
  Bone based damage system (feature vote and debate) MirceaKitsune 42 60,258 05-17-2012, 01:29 AM
Last Post: CuBe0wL
Question media source files of vehicles? poVoq 13 14,054 02-21-2012, 06:16 PM
Last Post: tZork
  [SOLVED] How does the decompression of files within pk3s work? joshbeck 3 7,146 09-29-2011, 09:28 PM
Last Post: joshbeck
  A new feature for singleplayer campaign ThePWTULN 6 8,616 09-21-2010, 11:25 AM
Last Post: ThePWTULN

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-