]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/log
xonotic/xonotic-data.pk3dir.git
12 years agoAdd cvars for autosave, which will be used by the upcoming storage system
Mircea Kitsune [Fri, 28 Oct 2011 12:22:00 +0000 (15:22 +0300)]
Add cvars for autosave, which will be used by the upcoming storage system

12 years agoNew mutator hook SV_StartFrame, executing globally each server frame. Will be used...
Mircea Kitsune [Fri, 28 Oct 2011 12:21:22 +0000 (15:21 +0300)]
New mutator hook SV_StartFrame, executing globally each server frame. Will be used later on by the sandbox code

12 years agoAlso print information about attaching and detaching objects when g_sandbox_info > 1
Mircea Kitsune [Thu, 27 Oct 2011 22:28:51 +0000 (01:28 +0300)]
Also print information about attaching and detaching objects when g_sandbox_info > 1

12 years agoAdd a help button to the menu, and size the menu properly
Mircea Kitsune [Thu, 27 Oct 2011 22:19:03 +0000 (01:19 +0300)]
Add a help button to the menu, and size the menu properly

12 years agoRemove a useless spacing. IT DIDN'T LOOK PERFECT, THE CODE WAS FLAWED!
Mircea Kitsune [Thu, 27 Oct 2011 22:03:25 +0000 (01:03 +0300)]
Remove a useless spacing. IT DIDN'T LOOK PERFECT, THE CODE WAS FLAWED!

12 years agoRemove code for spawning items. I didn't like its implementation, it would only work...
Mircea Kitsune [Thu, 27 Oct 2011 22:00:26 +0000 (01:00 +0300)]
Remove code for spawning items. I didn't like its implementation, it would only work for weapons, and the focus of the sandbox is currently on objects

12 years agog_sandbox_info - Print information about spawned / removed objects when 1, and also...
Mircea Kitsune [Thu, 27 Oct 2011 21:58:25 +0000 (00:58 +0300)]
g_sandbox_info - Print information about spawned / removed objects when 1, and also about edited objects when 2

12 years agoDivide sandbox messages in three categories, and color each accordingly: INFO (tells...
Mircea Kitsune [Thu, 27 Oct 2011 21:47:28 +0000 (00:47 +0300)]
Divide sandbox messages in three categories, and color each accordingly: INFO (tells unimportant stuff to the player), WARNING (tells important stuff to the player) and server (information about spawned objects printed to the server when g_sandbox_info is enabled)

12 years agoIf removing an object that contains attachments, detach child objects first
Mircea Kitsune [Thu, 27 Oct 2011 21:32:17 +0000 (00:32 +0300)]
If removing an object that contains attachments, detach child objects first

12 years agoRename action_object commands to object_action, because that's more correct
Mircea Kitsune [Thu, 27 Oct 2011 21:28:12 +0000 (00:28 +0300)]
Rename action_object commands to object_action, because that's more correct

12 years agoMerge duplicate_object_copy and duplicate_object_paste into a single duplicate_object...
Mircea Kitsune [Thu, 27 Oct 2011 21:22:14 +0000 (00:22 +0300)]
Merge duplicate_object_copy and duplicate_object_paste into a single duplicate_object command, with copy and paste as arguments

12 years agoNew command: claim_object. If the player has edit rights over an object (either free...
Mircea Kitsune [Thu, 27 Oct 2011 21:09:09 +0000 (00:09 +0300)]
New command: claim_object. If the player has edit rights over an object (either free editing is enabled, or the object was spawned by a player without an UID), the player can claim the object as his with this command.

12 years agoUnfortunately, my previous change makes it impossible to track the object count of...
Mircea Kitsune [Thu, 27 Oct 2011 20:52:22 +0000 (23:52 +0300)]
Unfortunately, my previous change makes it impossible to track the object count of each player. Therefore, turn the object limit into a global float, and default it to 1000. My only concern about this is that a griefer can spawn objects up to the limit, and prevent other players from building on the server due to that. Not an urgent problem, but to be given thought.

12 years agoSince objects are going to be persisted, no longer set the owner as an entity. Object...
Mircea Kitsune [Thu, 27 Oct 2011 20:46:01 +0000 (23:46 +0300)]
Since objects are going to be persisted, no longer set the owner as an entity. Object owner is set via player UID (key_0.d0si file). If the player does not have a valid UID, his objects are spawned without an owner, and therefore can be edited by anyone (even if g_sandbox_editor_free is disabled).

12 years agoRemove forgotten code from old material system
Mircea Kitsune [Thu, 27 Oct 2011 20:18:11 +0000 (23:18 +0300)]
Remove forgotten code from old material system

12 years agoFix a material bug in the clipboard
Mircea Kitsune [Thu, 27 Oct 2011 20:07:10 +0000 (23:07 +0300)]
Fix a material bug in the clipboard

12 years agoAllow the menu to specify material as a text string
Mircea Kitsune [Thu, 27 Oct 2011 20:01:25 +0000 (23:01 +0300)]
Allow the menu to specify material as a text string

12 years agoAllow the edit_object command to receive a property without a value, as we now use...
Mircea Kitsune [Thu, 27 Oct 2011 19:56:37 +0000 (22:56 +0300)]
Allow the edit_object command to receive a property without a value, as we now use that to set no material

12 years agoGet the new material system working. The material slider in the menu will not work...
Mircea Kitsune [Thu, 27 Oct 2011 19:54:41 +0000 (22:54 +0300)]
Get the new material system working. The material slider in the menu will not work for now.

12 years agoDon't hard code materials. This will allow server admins to create their own material...
Mircea Kitsune [Thu, 27 Oct 2011 19:38:48 +0000 (22:38 +0300)]
Don't hard code materials. This will allow server admins to create their own materials only by adding particles and sounds, without having to recompile the code. This commit breaks functionality for now

12 years agoRename cvars for object limits and free editing
Mircea Kitsune [Thu, 27 Oct 2011 17:19:41 +0000 (20:19 +0300)]
Rename cvars for object limits and free editing

12 years agoOnly being allowed to edit your own objects is now a default behavior
Mircea Kitsune [Thu, 27 Oct 2011 17:17:07 +0000 (20:17 +0300)]
Only being allowed to edit your own objects is now a default behavior

12 years agoAdd a cvar which allows players to edit each other's objects. Disabled by default...
Mircea Kitsune [Thu, 27 Oct 2011 17:15:11 +0000 (20:15 +0300)]
Add a cvar which allows players to edit each other's objects. Disabled by default, and only to be used on servers where the people know each other.

12 years agoIncrease / decrease the object count of the owner, not of the person spawning / remov...
Mircea Kitsune [Thu, 27 Oct 2011 17:07:26 +0000 (20:07 +0300)]
Increase / decrease the object count of the owner, not of the person spawning / removing objects. As later on, we might have support for removing objects using other means.

12 years agoAdd a maximum number of objects each player can place at a time. By default, players...
Mircea Kitsune [Thu, 27 Oct 2011 17:00:56 +0000 (20:00 +0300)]
Add a maximum number of objects each player can place at a time. By default, players may have up to 100 objects

12 years agoSandbox menu: Address the object the player is looking at as *, which should make...
Mircea Kitsune [Thu, 27 Oct 2011 14:44:44 +0000 (17:44 +0300)]
Sandbox menu: Address the object the player is looking at as *, which should make things easier to understand

12 years agoMake the attachment functions in the menu a bit more clear
Mircea Kitsune [Thu, 27 Oct 2011 14:39:30 +0000 (17:39 +0300)]
Make the attachment functions in the menu a bit more clear

12 years agoFix a code typo
Mircea Kitsune [Thu, 27 Oct 2011 14:32:08 +0000 (17:32 +0300)]
Fix a code typo

12 years agoAdd attachment tools to the sandbox menu
Mircea Kitsune [Thu, 27 Oct 2011 14:30:45 +0000 (17:30 +0300)]
Add attachment tools to the sandbox menu

12 years agoDocument attachments in the help system
Mircea Kitsune [Thu, 27 Oct 2011 14:19:11 +0000 (17:19 +0300)]
Document attachments in the help system

12 years agoApply the previous physics of the object once it's detached, instead of reverting...
Mircea Kitsune [Thu, 27 Oct 2011 14:12:36 +0000 (17:12 +0300)]
Apply the previous physics of the object once it's detached, instead of reverting to default MOVETYPE_TOSS

12 years agoChange some things in the attachment system
Mircea Kitsune [Thu, 27 Oct 2011 14:02:18 +0000 (17:02 +0300)]
Change some things in the attachment system

12 years agoAdd information messages to the remove command as well
Mircea Kitsune [Thu, 27 Oct 2011 13:45:20 +0000 (16:45 +0300)]
Add information messages to the remove command as well

12 years agoIf the object was attached, no longer keep it scheduled for attachment
Mircea Kitsune [Thu, 27 Oct 2011 13:42:44 +0000 (16:42 +0300)]
If the object was attached, no longer keep it scheduled for attachment

12 years agoAdd basic warnings and preventions to the attachment commands
Mircea Kitsune [Thu, 27 Oct 2011 13:41:00 +0000 (16:41 +0300)]
Add basic warnings and preventions to the attachment commands

12 years agoFix detaching of objects. Attached objects are no longer traced (and would be impossi...
Mircea Kitsune [Thu, 27 Oct 2011 13:23:33 +0000 (16:23 +0300)]
Fix detaching of objects. Attached objects are no longer traced (and would be impossible to edit), so the detach function addresses the parent instead. When used, all objects attached to it get detached.

12 years agoGet object attachment working for the most part
Mircea Kitsune [Thu, 27 Oct 2011 13:11:14 +0000 (16:11 +0300)]
Get object attachment working for the most part

12 years agoFirst step in implementing object to object attachment. Only partly working and buggy...
Mircea Kitsune [Thu, 27 Oct 2011 12:47:35 +0000 (15:47 +0300)]
First step in implementing object to object attachment. Only partly working and buggy so far

12 years agoCalculate impact speed starting from minimum velocity, not actual velocity. Also...
Mircea Kitsune [Thu, 27 Oct 2011 12:13:48 +0000 (15:13 +0300)]
Calculate impact speed starting from minimum velocity, not actual velocity. Also fix particles so that their count is reduced / increased properly.

12 years agoChange the way material intensity is calculated, to account the velocity of the objec...
Mircea Kitsune [Thu, 27 Oct 2011 11:57:13 +0000 (14:57 +0300)]
Change the way material intensity is calculated, to account the velocity of the object hitting it as well and simplify the code

12 years agofix missing strzoning in menu_cmd curl --cvar
Rudolf Polzer [Thu, 27 Oct 2011 11:32:43 +0000 (13:32 +0200)]
fix missing strzoning in menu_cmd curl --cvar

12 years agoParticle count should always be a whole number. Also add a code comment
Mircea Kitsune [Thu, 27 Oct 2011 10:54:57 +0000 (13:54 +0300)]
Particle count should always be a whole number. Also add a code comment

12 years agoMake particle count and intensity of impact sound depend on the impact speed
Mircea Kitsune [Thu, 27 Oct 2011 10:48:31 +0000 (13:48 +0300)]
Make particle count and intensity of impact sound depend on the impact speed

12 years agoParticles for wood and flesh impacts
Mircea Kitsune [Thu, 27 Oct 2011 10:30:39 +0000 (13:30 +0300)]
Particles for wood and flesh impacts

12 years agoParticle effects for metal and stone impacts
Mircea Kitsune [Thu, 27 Oct 2011 10:03:05 +0000 (13:03 +0300)]
Particle effects for metal and stone impacts

12 years agoNo material by default. Feels most correct
Mircea Kitsune [Thu, 27 Oct 2011 09:50:05 +0000 (12:50 +0300)]
No material by default. Feels most correct

12 years agoProperly name the color buttons
Mircea Kitsune [Thu, 27 Oct 2011 09:47:15 +0000 (12:47 +0300)]
Properly name the color buttons

12 years agohandle an entity being antilag-takenback multiple times
Rudolf Polzer [Thu, 27 Oct 2011 08:28:42 +0000 (10:28 +0200)]
handle an entity being antilag-takenback multiple times

12 years agoset proper colormap value for respawn ghosts
Rudolf Polzer [Thu, 27 Oct 2011 08:01:44 +0000 (10:01 +0200)]
set proper colormap value for respawn ghosts

12 years agoCopyBody: unlink the color from the player slot when cloning
Rudolf Polzer [Thu, 27 Oct 2011 08:00:48 +0000 (10:00 +0200)]
CopyBody: unlink the color from the player slot when cloning

12 years agoMerge remote-tracking branch 'origin/atheros/secret'
Rudolf Polzer [Thu, 27 Oct 2011 07:35:27 +0000 (09:35 +0200)]
Merge remote-tracking branch 'origin/atheros/secret'

Conflicts:
qcsrc/server/progs.src

12 years agoShorten save code
Mircea Kitsune [Wed, 26 Oct 2011 21:30:34 +0000 (00:30 +0300)]
Shorten save code

12 years agoMake the clipboard work again, at the expense of not implementing it exactly how...
Mircea Kitsune [Wed, 26 Oct 2011 21:27:45 +0000 (00:27 +0300)]
Make the clipboard work again, at the expense of not implementing it exactly how I wanted initially

12 years agoAttempt to separate saving and loading into separate functions, so they can be used...
Mircea Kitsune [Wed, 26 Oct 2011 21:23:09 +0000 (00:23 +0300)]
Attempt to separate saving and loading into separate functions, so they can be used for other forms of storage apart from the clipboard later on. Currently doesn't work, and brakes the clipboard.

12 years agoAdd defaults to autocvars for announcer cvars to maintain compatibility
Samual [Wed, 26 Oct 2011 16:21:50 +0000 (12:21 -0400)]
Add defaults to autocvars for announcer cvars to maintain compatibility

12 years agoLimit impact execution time to avoid sounds playing each frame. Impact sounds can...
Mircea Kitsune [Wed, 26 Oct 2011 16:19:44 +0000 (19:19 +0300)]
Limit impact execution time to avoid sounds playing each frame. Impact sounds can still be triggered every 0.1 second... but to be honest, that sounds kinda cool B-)

12 years agoBring back the debug prints -- working on fixing a bug with hagar secondary's "is_lin...
Samual [Wed, 26 Oct 2011 16:14:28 +0000 (12:14 -0400)]
Bring back the debug prints -- working on fixing a bug with hagar secondary's "is_linkexplode" exception system for projectile damage check

12 years agoRequire a minimum velocity for material effects, on either the object or the entity...
Mircea Kitsune [Wed, 26 Oct 2011 16:09:32 +0000 (19:09 +0300)]
Require a minimum velocity for material effects, on either the object or the entity colliding with it

12 years agoFix menu name for flesh
Mircea Kitsune [Wed, 26 Oct 2011 15:47:07 +0000 (18:47 +0300)]
Fix menu name for flesh

12 years agoAdd flesh as a new material. Enjoy spawning player meshes and listening to them crunc...
Mircea Kitsune [Wed, 26 Oct 2011 15:39:44 +0000 (18:39 +0300)]
Add flesh as a new material. Enjoy spawning player meshes and listening to them crunch against the walls :D

12 years agoBody impact / crunch sounds. For darker pleasures :P
Mircea Kitsune [Wed, 26 Oct 2011 15:35:00 +0000 (18:35 +0300)]
Body impact / crunch sounds. For darker pleasures :P

12 years agoImprove the stone impact sounds a bit
Mircea Kitsune [Wed, 26 Oct 2011 14:49:01 +0000 (17:49 +0300)]
Improve the stone impact sounds a bit

12 years agoName all impact sound files accordingly
Mircea Kitsune [Wed, 26 Oct 2011 14:30:03 +0000 (17:30 +0300)]
Name all impact sound files accordingly

12 years agoMerge remote branch 'origin/master' into samual/balance
Samual [Wed, 26 Oct 2011 14:27:03 +0000 (10:27 -0400)]
Merge remote branch 'origin/master' into samual/balance

12 years agoAdd the no material setting to the menu, but don't default it
Mircea Kitsune [Wed, 26 Oct 2011 14:25:26 +0000 (17:25 +0300)]
Add the no material setting to the menu, but don't default it

12 years agoAdd stone and wood sounds to the code. Also no need to return if material isn't set.
Mircea Kitsune [Wed, 26 Oct 2011 14:24:24 +0000 (17:24 +0300)]
Add stone and wood sounds to the code. Also no need to return if material isn't set.

12 years agoStone impact sounds by stephan. http://www.pdsounds.org/sounds/assorted_gravel_rock_a...
Mircea Kitsune [Wed, 26 Oct 2011 14:21:48 +0000 (17:21 +0300)]
Stone impact sounds by stephan. http://www.pdsounds.org/sounds/assorted_gravel_rock_and_stones

12 years agoFix some broken things with hud configs (wtf th you didn't add the cvars to hud_confi...
Samual [Wed, 26 Oct 2011 14:12:57 +0000 (10:12 -0400)]
Fix some broken things with hud configs (wtf th you didn't add the cvars to hud_config.qc or defaultXonotic.cfg?)

12 years agoWood impact sounds, by Independent.nu. http://opengameart.org/content/35-wooden-crack...
Mircea Kitsune [Wed, 26 Oct 2011 14:04:56 +0000 (17:04 +0300)]
Wood impact sounds, by Independent.nu. http://opengameart.org/content/35-wooden-crackshitsdestructions

12 years agoAllow objects without a material
Mircea Kitsune [Wed, 26 Oct 2011 13:44:16 +0000 (16:44 +0300)]
Allow objects without a material

12 years agoMetal impact sounds. There will be 5 sounds per material.
Mircea Kitsune [Wed, 26 Oct 2011 13:39:41 +0000 (16:39 +0300)]
Metal impact sounds. There will be 5 sounds per material.

12 years agoObject materials. They influence what sounds are generated when the object impacts...
Mircea Kitsune [Wed, 26 Oct 2011 13:39:18 +0000 (16:39 +0300)]
Object materials. They influence what sounds are generated when the object impacts a surface, as well as particles that will be generated. Main material types will be: metal, stone, wood. Currently, only metal has been fully implemented.

12 years agoMerge remote branch 'origin/master' into samual/balance
Samual [Wed, 26 Oct 2011 13:06:25 +0000 (09:06 -0400)]
Merge remote branch 'origin/master' into samual/balance

12 years agoChange around some comments in announcer.qc
Samual [Wed, 26 Oct 2011 13:05:41 +0000 (09:05 -0400)]
Change around some comments in announcer.qc

12 years agoAdjust defaults. Also persist all menu settings (seta), which should make it easier...
Mircea Kitsune [Wed, 26 Oct 2011 12:49:56 +0000 (15:49 +0300)]
Adjust defaults. Also persist all menu settings (seta), which should make it easier for some players I think

12 years agoBound the minimum and maximum scale of objects server-side, to avoid griefers being...
Mircea Kitsune [Wed, 26 Oct 2011 12:24:47 +0000 (15:24 +0300)]
Bound the minimum and maximum scale of objects server-side, to avoid griefers being able to spam objects that are either too tiny to trace, or huge enough to block an entire map.

12 years agoAdd damageforcescale as an editable object property
Mircea Kitsune [Wed, 26 Oct 2011 12:10:52 +0000 (15:10 +0300)]
Add damageforcescale as an editable object property

12 years agoDon't multiply size with scale is scale is 0, causing the bounding box to become...
Mircea Kitsune [Wed, 26 Oct 2011 11:04:31 +0000 (14:04 +0300)]
Don't multiply size with scale is scale is 0, causing the bounding box to become 0 itself. This fixes the last known bug

12 years agoFix the clipboard color issue. The problem was my own stupidity. Still another bug...
Mircea Kitsune [Wed, 26 Oct 2011 11:00:08 +0000 (14:00 +0300)]
Fix the clipboard color issue. The problem was my own stupidity. Still another bug to solve

12 years agouse stov instead of stof's where possible. The clipboard is still broken however
Mircea Kitsune [Wed, 26 Oct 2011 10:17:11 +0000 (13:17 +0300)]
use stov instead of stof's where possible. The clipboard is still broken however

12 years agoAllow setting the object color and glow color of objects. Note that the menu color...
Mircea Kitsune [Wed, 26 Oct 2011 09:48:35 +0000 (12:48 +0300)]
Allow setting the object color and glow color of objects. Note that the menu color picker does not work yet, since I need to figure a way around it sending the RGB vector with quotation marks (eg: "0 0 0" instead of 0 0 0).

12 years agoMerge remote-tracking branch 'origin/samual/hud_updates'
Jakob MG [Wed, 26 Oct 2011 07:11:34 +0000 (09:11 +0200)]
Merge remote-tracking branch 'origin/samual/hud_updates'

12 years agog_vehicle_*_bouncefactor - allow setting bouncyness per vehicle. g_vehicle_*_bouncest...
Jakob MG [Wed, 26 Oct 2011 07:09:26 +0000 (09:09 +0200)]
g_vehicle_*_bouncefactor - allow setting bouncyness per vehicle. g_vehicle_*_bouncestop - allow stopspeed per vehicle. g_vehicle_*_bouncepain - allow world colission pain per vehicle. Fix raptor landing animation.

12 years agofix http://dev.xonotic.org/issues/785 (wrong hud after spectating a vehicle & joining)
Jakob MG [Wed, 26 Oct 2011 05:04:05 +0000 (07:04 +0200)]
fix http://dev.xonotic.org/issues/785 (wrong hud after spectating a vehicle & joining)

12 years agoLower electro secondary force
Samual [Wed, 26 Oct 2011 04:31:18 +0000 (00:31 -0400)]
Lower electro secondary force

12 years agoSome more work on announcer.qc
Samual [Wed, 26 Oct 2011 04:30:45 +0000 (00:30 -0400)]
Some more work on announcer.qc

12 years agoMerge remote branch 'origin/master' into samual/balance
Samual [Wed, 26 Oct 2011 03:10:21 +0000 (23:10 -0400)]
Merge remote branch 'origin/master' into samual/balance

12 years agoNow that getwrappedline bug is fixed, change minfontsize to 0 -- Also, add defaults...
Samual [Wed, 26 Oct 2011 01:31:51 +0000 (21:31 -0400)]
Now that getwrappedline bug is fixed, change minfontsize to 0 -- Also, add defaults to autocvars.qh for the new hud_panel_centerprint cvars. (They didn't exist since 0.5)

12 years agoMerge remote branch 'origin/master' into samual/hud_updates
Samual [Wed, 26 Oct 2011 01:00:39 +0000 (21:00 -0400)]
Merge remote branch 'origin/master' into samual/hud_updates

12 years agoRemove old aliases/commands which do nothing now
Samual [Tue, 25 Oct 2011 22:54:35 +0000 (18:54 -0400)]
Remove old aliases/commands which do nothing now

12 years agoFix for new sv_fraginfo cvar name
Samual [Tue, 25 Oct 2011 22:36:46 +0000 (18:36 -0400)]
Fix for new sv_fraginfo cvar name

12 years agoAllow editing object alpha as well
Mircea Kitsune [Tue, 25 Oct 2011 22:20:32 +0000 (01:20 +0300)]
Allow editing object alpha as well

12 years agoDivide menu into two sections; Visual object properties, and Physical object properties
Mircea Kitsune [Tue, 25 Oct 2011 22:12:15 +0000 (01:12 +0300)]
Divide menu into two sections; Visual object properties, and Physical object properties

12 years agoAdapt bounding box size to model size
Mircea Kitsune [Tue, 25 Oct 2011 22:08:08 +0000 (01:08 +0300)]
Adapt bounding box size to model size

12 years agoAllow editing the scale of the object
Mircea Kitsune [Tue, 25 Oct 2011 22:02:54 +0000 (01:02 +0300)]
Allow editing the scale of the object

12 years agoFix a bug in the sandbox menu
Mircea Kitsune [Tue, 25 Oct 2011 21:27:57 +0000 (00:27 +0300)]
Fix a bug in the sandbox menu

12 years agoUse another switch
Mircea Kitsune [Tue, 25 Oct 2011 21:25:50 +0000 (00:25 +0300)]
Use another switch

12 years agoUse switches instead of if checks where possible
Mircea Kitsune [Tue, 25 Oct 2011 21:21:45 +0000 (00:21 +0300)]
Use switches instead of if checks where possible

12 years agoAllow editing of object physics
Mircea Kitsune [Tue, 25 Oct 2011 21:07:13 +0000 (00:07 +0300)]
Allow editing of object physics

12 years agoDefault frame and skin for newly spawned objects
Mircea Kitsune [Tue, 25 Oct 2011 20:53:32 +0000 (23:53 +0300)]
Default frame and skin for newly spawned objects