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]

#17
I just spoke with divVerent about the architecture of the text file. He agreed that doing everything with cvars (no text file) is best, and I feel the same way. This should not reduce performance, and at worst add some unnoticeable memory usage. Cvars are added all the time, and I'll try to use as little as possible.

(05-23-2012, 07:28 PM)hutty Wrote: Well ... I think that this is a great idea ....
may be difficult to implement ? idk ... I have never looked at the code

two suggestions
1 ... make it possible for maps to have custom weapons ... without making any balance changes or modding ... that was we can have more flavor (rainbow hlac's) but still be consistent (same map always has special weapon consistant)

2 ... make it possible to edit the txt "in game" (console) so that I don't have to restart xonotic for every tiny change

Maps will be able to have custom weapons by executing their custom balance file, just like any cfg. And since we're aiming on doing it with cvars, everything will be doable in realtime on the server (though if you add a new weapon, you must restart the map for it to update).

(05-24-2012, 01:01 AM)Mr. Bougo Wrote: A map with custom weapons will make the entire server unpure. Consider that. Maps with special configs have been a controversial topic before, too.

Also, you say there is zero performance overhead because everything is read into memory when the game starts... So what about all the branching points for each feature? if(hitscan), if(spread), if(headshots), if(guided), if(bounce),... I don't know what it adds up to, but that's not zero overhead.

People can already create maps with almost anything customized, and could since the first days of Nexuiz. If you have mymap.bsp and create a mymap.cfg file, you can basically change any functionality. Usually, maps like this are not accepted on any default server, and will certainly never "take over". They are for special servers that want to run weird experimental stuff, but the bounds between those servers and normal ones will always be well defined. I think mods are similar to game types in this sense... you want CTF you go to a CTF server, or if you want DM you go to a DM server, but most servers are decided on which they represent and there's plenty of each.
Reply



Messages In This Thread
RE: Weapons defined in text files / de-harding weapons [feature debate] - by MirceaKitsune - 05-24-2012, 05:56 AM

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-