Create an account


Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A Garry's Mod / sandbox system

#1
I've been planning to code something in this sense for a while. I got reminded of it today, and thought I should discuss it here before attempting to code anything.

Although I never had Garry's Mod and got Team Fortress 2 just a week ago, I've always been fascinated with how people mod the Source engine, even using it to create things like animations and movies (both with GM, HL2 and TF2). Youtube is full of films created using those projects, and all sorts of other things were done too. With Garry's Mod, I also found it fun for the ability to build things, which seemed like a very fun activity (similar to MineCraft in this sense).

Even back when we had Nexuiz, I planned to do something similar here. My initial idea (the one I wish to code in Xonotic presently) was to create a g_sandbox cvar (as mutator and not a gametype), which would allow players to spawn objects and edit their properties. This should be fairly easy to do, and I plan to do it the following way:

It would work just like g_lighteditor for rtlights. A player can open the console, type 'g_sandbox_spawn models/somefolder/themodel.md3', and spawn an entity with the given mesh in the spot they are looking at. Then, while looking at the model, they could edit its individual properties, such as physics (either static or ODE), if the object collides or is ghosted, change object colors (colormod and glowmod), and anything else that's safe to edit. For animated models, players could also set the animation keyframe of that model, same way you do it in misc_gamemodel. Later on, I would make a menu (similar to the team selection menu in functionality) which would allow doing all this through buttons and sliders.

This would be a basic sandbox system, which would enable building in-game using any model available on the server. That by itself however, would never allow the editing possibilities I seen in GM / TF2. Where players can apparently animate rigged models in real time, play with ragdolls (a feature given no importance in Xonotic), script objects, etc. Such will likely never be possible in Darkplaces and Xonotic to the same level, but I'd still like to code a sandbox feature to the extent possible. Characters in Source engine games also have facial expressions and mouths that can be lipsync-ed, which no one would likely put effort to do for Xonotic players.

In my opinion, it would be very fun regardless. People could spawn objects around, pick them up and carry them around, give them ODE physics and shoot them to watch them fly, build all sorts of architecture in real time, or just foolishly spawn weapons and do whatever they want with them. When you get bored of fighting or racing, this would be an awesome activity to have in Xonotic for relaxing Big Grin

Anyway, I wish to ask and discuss to what extent a sandbox / Garry's Mod system can be implemented in Xonotic, and if the head developers would accept and welcome such an idea. Also, is there any support for scripting entities (eg: LUA)? I don't know how to script, but still asking if it would work. If done properly, this could be a big attraction in Xonotic, and we'd also be offering an open source alternative to Garry's Mod. I'm rather excited about this idea, and hope others have positive thoughts and ideas about it too Smile
Reply



Messages In This Thread
A Garry's Mod / sandbox system - by MirceaKitsune - 10-23-2011, 03:56 PM
RE: A Garry's Mod / sandbox system - by CuBe0wL - 10-25-2011, 10:52 AM
RE: A Garry's Mod / sandbox system - by tZork - 10-27-2011, 01:41 PM
RE: A Garry's Mod / sandbox system - by Creation - 11-23-2011, 04:22 AM
RE: A Garry's Mod / sandbox system - by Ihsan - 11-24-2011, 04:59 PM
RE: A Garry's Mod / sandbox system - by 3agle427 - 01-05-2019, 10:52 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Source code for Peach Mod daveblanchard 4 2,401 03-30-2021, 10:34 AM
Last Post: LegendGuard
  Spawn system Mirio 57 41,866 05-28-2016, 03:49 AM
Last Post: Smilecythe
  [Mod] Antiwall Penguinum-tea 8 7,072 04-25-2015, 12:20 PM
Last Post: Penguinum-tea
Lightbulb Easy to configure *map* balance system Samual 8 12,119 11-17-2012, 04:14 AM
Last Post: Mr. Bougo
  Bone based damage system (feature vote and debate) MirceaKitsune 42 45,630 05-17-2012, 01:29 AM
Last Post: CuBe0wL
  How do I use the newer 48 slot weapon system? May Epper 1 3,841 04-20-2012, 01:28 AM
Last Post: Mr. Bougo
  Singleplayer Story Mod darthlukan 3 5,382 08-11-2011, 04:25 PM
Last Post: ThePWTULN
  Automated build system update Nitroxis 1 4,232 06-11-2011, 02:18 PM
Last Post: Cortez666
  Automated Xonotic Git build system Mr. Bougo 72 87,684 01-27-2011, 08:20 PM
Last Post: Samual
  "Global player stats tracking system, supporting anonymous player as well" atheros 30 32,651 06-18-2010, 03:57 PM
Last Post: unfa

Forum Jump:


Users browsing this thread:
1 Guest(s)

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