]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/log
xonotic/xonotic-data.pk3dir.git
13 years agoAdd the object_info object command, which will print all this information to the...
Mircea Kitsune [Sun, 30 Oct 2011 09:59:00 +0000 (11:59 +0200)]
Add the object_info object command, which will print all this information to the player asking for it

13 years agoOnly update owner name if necessary, and fix some silly bugs I left in
Mircea Kitsune [Sun, 30 Oct 2011 09:53:30 +0000 (11:53 +0200)]
Only update owner name if necessary, and fix some silly bugs I left in

13 years agoUpdate object owner nickname when using the object_claim command. This can also be...
Mircea Kitsune [Sun, 30 Oct 2011 09:46:21 +0000 (11:46 +0200)]
Update object owner nickname when using the object_claim command. This can also be used to update your name on an object if you already own it, but changed your nickname since creating it.

13 years agoStore object information about creation and owner. Objects can now report the name...
Mircea Kitsune [Sun, 30 Oct 2011 09:37:16 +0000 (11:37 +0200)]
Store object information about creation and owner. Objects can now report the name of their owner, their creation date, their last edit date, and the date the creator last went to the bathroom. Joking about the first three ;)

13 years agoDon't seta cl_sandbox_clipboard, as it doesn't seem to work well in some cases
Mircea Kitsune [Sat, 29 Oct 2011 21:36:15 +0000 (00:36 +0300)]
Don't seta cl_sandbox_clipboard, as it doesn't seem to work well in some cases

13 years agoRevert my last commit. I forgot you can edit one property of an object without changi...
Mircea Kitsune [Sat, 29 Oct 2011 21:16:22 +0000 (00:16 +0300)]
Revert my last commit. I forgot you can edit one property of an object without changing the other, so setDependent does not make sense and gets in the way

13 years agoMenu: Force can only be set as long as the object is physical
Mircea Kitsune [Sat, 29 Oct 2011 21:09:42 +0000 (00:09 +0300)]
Menu: Force can only be set as long as the object is physical

13 years agoShorter text, those buttons are quite small
Mircea Kitsune [Sat, 29 Oct 2011 21:02:33 +0000 (00:02 +0300)]
Shorter text, those buttons are quite small

13 years agoAdd a menu button for showing mesh info, including listing of all bones
Mircea Kitsune [Sat, 29 Oct 2011 21:00:31 +0000 (00:00 +0300)]
Add a menu button for showing mesh info, including listing of all bones

13 years agoFor now though, comment EF_SELECTABLE out. Don't want objects always turning bright...
Mircea Kitsune [Sat, 29 Oct 2011 20:56:07 +0000 (23:56 +0300)]
For now though, comment EF_SELECTABLE out. Don't want objects always turning bright when looking at them. Good for helper entities though, like bones

13 years agoUse EF_SELECTABLE on sandbox objects, making them turn bright when looking at them...
Mircea Kitsune [Sat, 29 Oct 2011 20:51:10 +0000 (23:51 +0300)]
Use EF_SELECTABLE on sandbox objects, making them turn bright when looking at them. Should also help with tracing in some cases

13 years agoTo make things even more fun, make the default clipboard cvar seta instead of set...
Mircea Kitsune [Sat, 29 Oct 2011 20:42:47 +0000 (23:42 +0300)]
To make things even more fun, make the default clipboard cvar seta instead of set. Now even if you restart Xonotic, you can paste your last copied object in the world :)

13 years agoDocument the new copying system in the helper
Mircea Kitsune [Sat, 29 Oct 2011 20:38:47 +0000 (23:38 +0300)]
Document the new copying system in the helper

13 years agoSecond part of my last commit, clipboard functional again. Objects are now pasted...
Mircea Kitsune [Sat, 29 Oct 2011 19:57:00 +0000 (22:57 +0300)]
Second part of my last commit, clipboard functional again. Objects are now pasted from the specified client cvar. For real men: You can also use the object_paste command to spawn an object from the console, by writing each property manually. I challenge your mental strength >:)

13 years agoAnd now for something a little different: No longer use a string for the clipboard...
Mircea Kitsune [Sat, 29 Oct 2011 19:51:44 +0000 (22:51 +0300)]
And now for something a little different: No longer use a string for the clipboard, but a client-side cvar. This offers many new possibilities... such as multiple clipboards, object presets and shortcuts, exporting objects and posting them online (forum, twitter, etc), and using the clipboard between servers. eg: Say you see an object you can copy, and wanna put it on your server. Just copy it from the Sandbox menu, disconnect, connect to your server, and paste. Your object will be there :)

13 years agoFix something I forgot, storage works again
Mircea Kitsune [Sat, 29 Oct 2011 16:18:15 +0000 (19:18 +0300)]
Fix something I forgot, storage works again

13 years agoSimplify physics saving code
Mircea Kitsune [Sat, 29 Oct 2011 16:11:41 +0000 (19:11 +0300)]
Simplify physics saving code

13 years agoRe-implement remembering of old movetype for objects, and also persist it in storage...
Mircea Kitsune [Sat, 29 Oct 2011 16:08:19 +0000 (19:08 +0300)]
Re-implement remembering of old movetype for objects, and also persist it in storage. For example: If you set an object to MOVETYPE_PHYSICAL, attach it to another object (during which it becomes MOVETYPE_FOLLOW), restart the server, then go back and detach the object, it will know to go back to MOVETYPE_PHYSICAL. This does not add any extra info, as movetype was already added to the storage for child objects, and was useless before this.

13 years agoDon't store origin and angles at all for child objects. Storage functional again...
Mircea Kitsune [Sat, 29 Oct 2011 15:44:23 +0000 (18:44 +0300)]
Don't store origin and angles at all for child objects. Storage functional again. Note that this breaks previous storages

13 years agoStorage: Only store attachment bone info for child objects, not parents. This current...
Mircea Kitsune [Sat, 29 Oct 2011 14:48:18 +0000 (17:48 +0300)]
Storage: Only store attachment bone info for child objects, not parents. This currently breaks the storage, as another change must follow

13 years agoGet and persist bone names properly. Objects attached to other object's bones will...
Mircea Kitsune [Sat, 29 Oct 2011 13:55:23 +0000 (16:55 +0300)]
Get and persist bone names properly. Objects attached to other object's bones will be now stored and loaded properly, for both clipboard and database.

13 years agoStorage save: Persist all strings between quotation marks. This allows models, materi...
Mircea Kitsune [Sat, 29 Oct 2011 13:35:24 +0000 (16:35 +0300)]
Storage save: Persist all strings between quotation marks. This allows models, materials, and bones with spaces in their names to be persisted properly

13 years agoStorage: Add support for persisting bones, and attaching back to them for objects...
Mircea Kitsune [Sat, 29 Oct 2011 13:29:46 +0000 (16:29 +0300)]
Storage: Add support for persisting bones, and attaching back to them for objects that are pasted and loaded to / from database. Not tested yet

13 years agoDetach objects at exactly the same origin, not the origin of the parent. Angles howev...
Mircea Kitsune [Sat, 29 Oct 2011 13:16:59 +0000 (16:16 +0300)]
Detach objects at exactly the same origin, not the origin of the parent. Angles however are reset to the parent's, so that detached objects don't spin or roll

13 years agoSandbox menu: Send all strings with quotation marks around them. This allows specifyi...
Mircea Kitsune [Sat, 29 Oct 2011 12:54:19 +0000 (15:54 +0300)]
Sandbox menu: Send all strings with quotation marks around them. This allows specifying spaces in them, such as the "bip01 r hand" bone

13 years agoFix menu bug again lol
Mircea Kitsune [Sat, 29 Oct 2011 11:23:37 +0000 (14:23 +0300)]
Fix menu bug again lol

13 years agoFix a menu bug using the wrong cvar for attachment bone
Mircea Kitsune [Sat, 29 Oct 2011 11:20:42 +0000 (14:20 +0300)]
Fix a menu bug using the wrong cvar for attachment bone

13 years agoAh, it seems tag counting should start from 1
Mircea Kitsune [Sat, 29 Oct 2011 11:14:07 +0000 (14:14 +0300)]
Ah, it seems tag counting should start from 1

13 years agoDocument object_info in the helper
Mircea Kitsune [Sat, 29 Oct 2011 11:10:54 +0000 (14:10 +0300)]
Document object_info in the helper

13 years agoedit rights = copy rights now for copying
Mircea Kitsune [Sat, 29 Oct 2011 11:08:27 +0000 (14:08 +0300)]
edit rights = copy rights now for copying

13 years agoNew functionality for g_sandbox_editor_free. 0 = players can only copy or edit their...
Mircea Kitsune [Sat, 29 Oct 2011 11:05:55 +0000 (14:05 +0300)]
New functionality for g_sandbox_editor_free. 0 = players can only copy or edit their own objects, 1 = players can copy but not edit other objects, 2 = players can copy and edit all object. Default is now 1 (you can duplicate other people's objects but not edit them).

13 years agoName the info command "mesh", and allow it to list both model, andimation frame,...
Mircea Kitsune [Sat, 29 Oct 2011 10:59:06 +0000 (13:59 +0300)]
Name the info command "mesh", and allow it to list both model, andimation frame, and tags. People can then know the model and frame of any object, which can be helpful with building

13 years agoAdd a command which allows printing tag information of a model to the player
Mircea Kitsune [Sat, 29 Oct 2011 10:48:51 +0000 (13:48 +0300)]
Add a command which allows printing tag information of a model to the player

13 years agoAdd an object_info command, which will print some information about the object later...
Mircea Kitsune [Sat, 29 Oct 2011 09:48:28 +0000 (12:48 +0300)]
Add an object_info command, which will print some information about the object later on. Also do some other code arrangements

13 years agoAdd a TODO for persisting bones, and code comments explaining how the array storage...
Mircea Kitsune [Fri, 28 Oct 2011 23:46:56 +0000 (02:46 +0300)]
Add a TODO for persisting bones, and code comments explaining how the array storage works

13 years agoGet storage loading to use arrays too. Attached objects will be saved in storage...
Mircea Kitsune [Fri, 28 Oct 2011 23:26:32 +0000 (02:26 +0300)]
Get storage loading to use arrays too. Attached objects will be saved in storage, but object can also be copied / pasted with their attachments now. Bones are not saved yet, and will be done tomorrow

13 years agoAt the expense of the developer's sanity, get the save system working with arrays...
Mircea Kitsune [Fri, 28 Oct 2011 23:09:41 +0000 (02:09 +0300)]
At the expense of the developer's sanity, get the save system working with arrays. Also fix a code typo that was always there, making the storage get saved each frame. By default, storage is saved every 5 seconds

13 years agoAdd a code comment about how the string works. Clipboard and database seem to be...
Mircea Kitsune [Fri, 28 Oct 2011 20:54:39 +0000 (23:54 +0300)]
Add a code comment about how the string works. Clipboard and database seem to be fully functional now. divVerent won't let me tokenize tokens though, so I need to change implementation to something less hackish.

13 years agoFix the bug with multiple objects without a model being spawned from storage
Mircea Kitsune [Fri, 28 Oct 2011 20:47:13 +0000 (23:47 +0300)]
Fix the bug with multiple objects without a model being spawned from storage

13 years agoAttempt to make loaded child objects attached. Code is buggy any currently breaks...
Mircea Kitsune [Fri, 28 Oct 2011 20:30:12 +0000 (23:30 +0300)]
Attempt to make loaded child objects attached. Code is buggy any currently breaks storage, so switch to this commit only if you're ok with that

13 years agoTeach the loading code to load multiple objects from one line, by tokenizing the...
Mircea Kitsune [Fri, 28 Oct 2011 20:23:56 +0000 (23:23 +0300)]
Teach the loading code to load multiple objects from one line, by tokenizing the argument of another token. Objects aren't attached yet however

13 years agoAttempt to persist attached objects in storage and clipboard, part 1: Store child...
Mircea Kitsune [Fri, 28 Oct 2011 19:49:02 +0000 (22:49 +0300)]
Attempt to persist attached objects in storage and clipboard, part 1: Store child objects in the same line as their parent object. Objects are separated by the ; symbol.

13 years agoDon't allow attaching to attachments, for obvious reasons. Also don't persist the...
Mircea Kitsune [Fri, 28 Oct 2011 19:09:34 +0000 (22:09 +0300)]
Don't allow attaching to attachments, for obvious reasons. Also don't persist the movetype of attachments, as it will not work with that I'm going to implement next (restore default physics when detaching an object)

13 years agoPrecache material sounds for objects that are loaded from database
Mircea Kitsune [Fri, 28 Oct 2011 16:11:08 +0000 (19:11 +0300)]
Precache material sounds for objects that are loaded from database

13 years agoPrint more information to the first line of the storage time, including the date...
Mircea Kitsune [Fri, 28 Oct 2011 16:04:32 +0000 (19:04 +0300)]
Print more information to the first line of the storage time, including the date and time when the file was last updated

13 years agoAdd a name cvar for storage. That way, people can select between multiple storages...
Mircea Kitsune [Fri, 28 Oct 2011 15:48:57 +0000 (18:48 +0300)]
Add a name cvar for storage. That way, people can select between multiple storages. If * is that cvar, storage files are named sandbox/storage_*_mapname.txt

13 years agoRename more functions, and add server notification messages for database loading
Mircea Kitsune [Fri, 28 Oct 2011 15:36:23 +0000 (18:36 +0300)]
Rename more functions, and add server notification messages for database loading

13 years agoActually, do update the database when there are no objects. Otherwise deleting all...
Mircea Kitsune [Fri, 28 Oct 2011 15:23:12 +0000 (18:23 +0300)]
Actually, do update the database when there are no objects. Otherwise deleting all objects would no longer update it

13 years agoRename several functions
Mircea Kitsune [Fri, 28 Oct 2011 15:21:42 +0000 (18:21 +0300)]
Rename several functions

13 years agoRemove an abandoned float
Mircea Kitsune [Fri, 28 Oct 2011 15:02:31 +0000 (18:02 +0300)]
Remove an abandoned float

13 years agoRemove debug code. Saving and loading from text files should be fully functional...
Mircea Kitsune [Fri, 28 Oct 2011 15:01:59 +0000 (18:01 +0300)]
Remove debug code. Saving and loading from text files should be fully functional now. When starting the same map, you will find your objects just as you left them :)

13 years agoStore empty properties as - in the clipboard. Otherwise stuff breaks, as tokenize_con...
Mircea Kitsune [Fri, 28 Oct 2011 14:58:42 +0000 (17:58 +0300)]
Store empty properties as - in the clipboard. Otherwise stuff breaks, as tokenize_console cannot read between two spaces

13 years agoApply the objects in the text file to the world. Partly works, but a few bugs still...
Mircea Kitsune [Fri, 28 Oct 2011 14:07:44 +0000 (17:07 +0300)]
Apply the objects in the text file to the world. Partly works, but a few bugs still exist.

13 years agoRemove object* at the beginning of each line. Hard to do the tokenizing / substringin...
Mircea Kitsune [Fri, 28 Oct 2011 13:57:11 +0000 (16:57 +0300)]
Remove object* at the beginning of each line. Hard to do the tokenizing / substringing for that, and it doesn't make any sense either

13 years agoBasic implementation for reading sandbox storage files. Currently, it just prints...
Mircea Kitsune [Fri, 28 Oct 2011 13:51:14 +0000 (16:51 +0300)]
Basic implementation for reading sandbox storage files. Currently, it just prints each line to the console. Also add an autoload cvar, which will make objects be automatically loaded at startup

13 years agoBegin each line with object*, where * is the number of the object. Databese saving...
Mircea Kitsune [Fri, 28 Oct 2011 13:22:56 +0000 (16:22 +0300)]
Begin each line with object*, where * is the number of the object. Databese saving can be considered complete. Next comes the reading

13 years agoAdd a comment line with information to the save file
Mircea Kitsune [Fri, 28 Oct 2011 13:16:37 +0000 (16:16 +0300)]
Add a comment line with information to the save file

13 years agoProperly store map name in the text file
Mircea Kitsune [Fri, 28 Oct 2011 13:09:22 +0000 (16:09 +0300)]
Properly store map name in the text file

13 years agoDon't persist attached objects for now. They would only be spawned at origin '0 0...
Mircea Kitsune [Fri, 28 Oct 2011 13:05:58 +0000 (16:05 +0300)]
Don't persist attached objects for now. They would only be spawned at origin '0 0 0' and wouldn't work. We must find some way to fix this eventually!

13 years agoFirst part of storing objects to text files, using the autosave feature. Not working...
Mircea Kitsune [Fri, 28 Oct 2011 12:58:27 +0000 (15:58 +0300)]
First part of storing objects to text files, using the autosave feature. Not working properly yet. I also don't know how I'm gonna store attachments to this =(

13 years agoMerge branch 'master' into mirceakitsune/sandbox
Mircea Kitsune [Fri, 28 Oct 2011 12:22:43 +0000 (15:22 +0300)]
Merge branch 'master' into mirceakitsune/sandbox

13 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

13 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

13 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

13 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

13 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!

13 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

13 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

13 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)

13 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

13 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

13 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

13 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.

13 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.

13 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).

13 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

13 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

13 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

13 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

13 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.

13 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

13 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

13 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

13 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.

13 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.

13 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

13 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

13 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

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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.

13 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

13 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

13 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.