• Environments
    446 replies, posted
  • Avatar of CmdrMatthew
  • [b]Environments:[/b] An advanced but efficient space engine for Garrysmod, with none of the lag caused by SB. Old Gameplay Video. [video=youtube;JYWd-MXLFZQ]http://www.youtube.com/watch?v=JYWd-MXLFZQ[/video] [release][b]Features:[/b] *Ability to edit properties of planets through a text file *Much Faster Environment Checking *A Spacesuit *3D Visor Style Hud while wearing suit helmet *Ship/Station Atmospheres that stay inside the ship *Compatibility with most LS3 devices *Realistic effects of environments on your spacesuit, such as heat conduction (no instant temperature changes like SB) *Random Events Such as Meteor Showers, Earthquakes, or Asteroid Impacts *A serverside logging system that can be accessed from the client *Many future updates to come :D [/release] [release][b]Console Commands[/b] [b]env_get_logs[/b] - gets the log and opens it up in a derma window [b]env_server_reload[/b] - resets all of the planets [b]env_hud_reload[/b] - reloads the hud [b]env_fire_event[/b] - calls an event on the planet you are currently on (possible options include meteor, meteorstorm, and earthquake) [b]env_update_check[/b] - checks for svn updates [b]C-Vars[/b] [b]env_hud_unit[/b] - changes the units used for temperature (options are K, C, or F) [b]env_hud_enabled[/b] - enables or disables the hud clientside [b]env_allow_noclip[/b] - if noclip is allowed or not for nonadmins [/release] [release][b]Screenshots:[/b] [img_thumb]http://i51.tinypic.com/20j0a2q.jpg[/img_thumb] [img_thumb]http://img9.imageshack.us/img9/7831/environmentsstresstest1.jpg[/img_thumb] [img_thumb]http://i52.tinypic.com/2z7ofsz.jpg[/img_thumb] [img_thumb]http://oi55.tinypic.com/10p6e4i.jpg[/img_thumb] [img_thumb]http://grab.by/grabs/3d7841338acac57ffa8df89d097183661290fedfd9.png[/img_thumb] [img_thumb]http://tardis1.tinygrab.com/grabs/3d7841338a411521b2b909aa95d85a65496872ce28.png[/img_thumb] [/release] [release][b]How To:[/b] [b]Life Support:[/b] Instead of using the default LS3 life support like the climate reg or gravity reg, this addon uses an entity called the LS Core that is under the entities tab. It will make the interior of a ship that is welded together have a single atmosphere that you can only breathe in when inside the ship. To use it, simply spawn, weld it to your ship, link it to your network, and turn it on. [b]Spacesuit:[/b] to take the helmet of your spacesuit on and off along with its hud, simply press F2. Be warned, you can't survive in space and on most other planets without this.[/release] [release][b]Credits:[/b] [b]CmdrMatthew[/b] - Lua Coding [b]JVS[/b] - base code for the HUD visor [b]The Spacebuild Dev Team[/b] - map loading [b]Aycerus Servers[/b] - for hosting my addon during development and for helping me with testing[/release] NOTE: When you install be sure to remove the LS3 Core and the SpaceBuild folder if they are already on the server. REQUIREMENTS: A life support, mine or LS3; Spacebuild_Content if using my life support. I am looking for any and all ideas to improve my addon, so feel free to tell me of any issues and I will get on them right away. I am also looking for suggestions on what to add to it next, just post any bugs or ideas you have here. [b]Main Addon SVN:[/b] [url]http://environments.googlecode.com/svn/trunk/Environments%20Core/[/url] UPDATE REGULARLY! [b]LS System SVN[/b] [url]http://environments.googlecode.com/svn/trunk/EnvironmentsRD/[/url] [b]Server:[/b] 70.90.77.57:27015 Aycerus Spacebuild #1 (not really SB) Thanks to Aycerus for graciously supporting me during the development!
  • Avatar of noobcake
  • you've piqued my interest well done does it require ls3 to run and refill space suits or is there another way
  • Avatar of CmdrMatthew
  • Currently it requires LS3 to refill spacesuits. Thank you for reminding me of this, I am going to make it so you don't have to have LS3 sometime in the near future to do this.
  • Avatar of asb44
  • [QUOTE=CmdrMatthew;28267661] [release][b]Features:[/b][list=1] [*]Ship/Station Atmospheres that stay inside the ship [/list][/release][/QUOTE] :aaaaa: you took the letters out of my keyboard. Also on a side note. [code]Repository moved permanently to 'http://code.google.com/hosting/'; please relocate[/code]
  • Avatar of CmdrMatthew
  • [QUOTE=asb44;28268153]:aaaaa: you took the letters out of my keyboard. Also on a side note. [code]Repository moved permanently to 'http://code.google.com/hosting/'; please relocate[/code][/QUOTE] Ok, put up the svn ready link, instead of just the one to the googlecode page.
  • Avatar of CmdrMatthew
  • [QUOTE=werewolf0020;28268644]nice can i ask how did you did the HUD on the 1st pic?[/QUOTE] It's basically a 2D HUD drawn onto a cylinder.
  • Avatar of Psycommu
  • Oh, I hadn't seen the latest things you added, like the helmet hud and the like. Looks really sweet! Maybe I should get my ass back into the SB server and actually try it out again... Wonderful job. +1 Lua King [editline]24th February 2011[/editline] Slight suggestion, think you could make a derma menu so you could customize the helmet hud a bit, like colors, etc.? Or would that be too much work?
  • 1. HUD seems to get squished on my resolution of 1680x1050 [img]http://localhostr.com/files/Gq9qWoR/sb_astria_beta010002.jpg[/img] 2. I would like it better if you didn't need a network for the ship atmosphere thing. Or make it optional since I don't want CAF and Networks and all that on the server.
  • Avatar of SB2DevTeam
  • Looks good, but you should do some more tests. We once thought about implementing this system for SB2, but due to restrictions in the engine (500+ touches at the same time) that caused the engine to break back then we dediced to use the system that's used right now.
  • Avatar of CmdrMatthew
  • Smoot: I will get to work on adding your resolution right away! I have to add support for the larger resolutions manually, because the positioning of the HUD is quite fiddly.
  • Avatar of _axe_
  • Filename: CAF_Hooks, Message: Think3 Error: [addons\ls3_spacebuild3\lua\entities\base_sb_environment\init.lua:496] attempt to compare number with nil Thats the error I get, ls3 is up to date. [editline]25th February 2011[/editline] Àre you supose to del the lse ents folder aswell?
  • Avatar of CmdrMatthew
  • You must have forgot to uninstall SB, and no you do not need to remove the LS3 ents folder.
  • The gamemode itself works great. Not had to a chance to prolong test it to see if it lags less than SB3. However there are a few niggles that I might need to tweak out. The HUD, sorry I really am but it's horrible :s I think I will make it something like what you have here: [url]http://img9.imageshack.us/img9/7831/environmentsstresstest1.jpg[/url] with the top right box, only move it bottom left. Maybe make a picture for helmet on/helmet off etc.
  • [QUOTE=werewolf0020;28347283]i like the hud[/QUOTE] When I posted the screenshots wouldn't load. I must admit it looks alot better with his resolution, over this one [img]http://img716.imageshack.us/img716/116/qz7bjp53se.jpg[/img]
  • Avatar of CmdrMatthew
  • Sorry about the problems with the higher resolutions, its just really hard to get it scaled correctly for a resolution that I can't access. If you could try and tweak the HUD to fix it, that would be awesome if you could post the code that was modified. To make it fit better you can try and adjust the HUD.EyeVectorOffset and the HUD.ModelScale variables to suit which are at the top of the file and in the think hook. Then to reload the HUD, run the concommand env_hud_reload. Pantho: The reason your hud looks like that is because it isn't scaled 100% correctly. Your resolution is 1920x1028, which I have mostly working, but not perfected.
  • Avatar of CmdrMatthew
  • IMPORTANT:Update your SVN's, I just made an important bug fix that gets rid of possible massive lag buildup if LS3 air compressors were used.
  • Avatar of Apostrophe
  • I'm excited about this. If you've created something better than the Spacebuild/Life Support system we've been using, you've done something amazing. I haven't tested this out yet (Steam is updating), so I'm not entirely sure how this works.. but I'd like to know how to change the helmet key binding. I've had F2 set to the Weld tool for years, and I don't want to lose that. I looked around the lua files, but I don't know a damn thing about it.
  • Avatar of LemONPLaNE
  • Oh, and I tipped off the SBEP guys about this thread. I suspect they'll come and snoop around in a few hours. [editline]>_<[/editline] Aw man, I pressed Reply instead of Edit... [editline]:D[/editline] Oh, oh, question. How are you checking what's "inside" the ship?
  • Avatar of superstepa
  • Sorry for my stupidity , but I didnt understand , should you install Life Support 3 core or not? Never played Spacebuild because of that addons mess , but this looks awesome
  • [QUOTE=LemONPLaNE;28360720]Oh, and I tipped off the SBEP guys about this thread. I suspect they'll come and snoop around in a few hours. [editline]>_<[/editline] Aw man, I pressed Reply instead of Edit... [editline]:D[/editline] Oh, oh, question. How are you checking what's "inside" the ship?[/QUOTE] I'm having issues with SBEP. The help files where having a very weird lua error which I managed to fix, however the menu's for door tools (all stools actually) won't load so you cannot select a door. About europe server, I do plan to host one but I was hoping to fix SBEP stools problem first. @ Superstepa - Install LS3 - Entities RD3 CAF SB3 Environments [url]http://bans.bybservers.co.uk/ttt1/addons.zip p[/url] This contains RD3/LS3-Entites/CAF - Which are the required addons for Clients to join. I would advise using SVN, but I threw those 3 addons into a zip for ease when directing my test puppets. Open SB3 folder, delete the LUA directory. Those are the steps I took to get a base server working with this mod.
  • Avatar of LemONPLaNE
  • [QUOTE=Pantho;28365964]I'm having issues with SBEP. The help files where having a very weird lua error which I managed to fix, however the menu's for door tools (all stools actually) won't load so you cannot select a door. About europe server, I do plan to host one but I was hoping to fix SBEP stools problem first. @ Superstepa - Install LS3 - Entities RD3 CAF SB3 Environments [url]http://bans.bybservers.co.uk/ttt1/addons.zip p[/url] This contains RD3/LS3-Entites/CAF - Which are the required addons for Clients to join. I would advise using SVN, but I threw those 3 addons into a zip for ease when directing my test puppets. Open SB3 folder, delete the LUA directory. Those are the steps I took to get a base server working with this mod.[/QUOTE] I'm guessing this is server only then, because when I tried using this addon together with SBEP, Environments spewed errors but SBEP was fine. In fact, that only thing that DID work was the space-suit. Not the HUD, not the LS-core, nothing else. [editline]lol edit[/editline] [QUOTE=BreenIsALie;28367414]Same here. Except neither Zero gravity and vacuum death outside planets or the suit worked for me[/QUOTE] That too.