• Environments
    446 replies, posted
  • Here's a preview of the new tool! I hope to have it on the svn tomorrow! [img]http://tardis1.tinygrab.com/grabs/3d7841338a411521b2b909aa95d85a65496872ce28.png[/img]
  • Ok, the update is on the svn. It isn't 100% full of all the entities so the old tools are still there. I should have it full in a few days. I also added some RD optimizations, now instead of sending "oxygen" which would be 7 bytes of data it sends a number to represent it, now taking only 1 byte.
  • Right now I am working with someone on making my own take on SuperLlama's "infinite map" system specialized for use with this gamemode. The progress is good, but there are some serious unavoidable disadvantages to having a system like this that make it not very useful for servers full of massive ships, but amazing for exploration with smaller shuttles and cruisers.
  • [QUOTE=CmdrMatthew;32052292]Right now I am working with someone on making my own take on SuperLlama's "infinite map" system specialized for use with this gamemode. The progress is good, but there are some serious unavoidable disadvantages to having a system like this that make it not very useful for servers full of massive ships, but amazing for exploration with smaller shuttles and cruisers.[/QUOTE] Maybe make it use some actual power or something?
  • New update with alot of RD bugfixes and improvements. Also updated OP with a gameplay video that I forgot was made. to S3IC: what should use actual power?
  • finally got 3D cables to actually be round, forgot to normalize some direction vectors. [img]http://tardis1.tinygrab.com/grabs/3d7841338a52e2ce1d3376acb0d47bd4c973692d3d.png[/img]
  • Sorry, I don't have AA on and I could've picked a better angle and textures for them. For some reason I felt the need to color code them, but they ended up kinda pastel colored.
  • [QUOTE=Used Car Salesman;32184012]Gravity plating does absolutely nothing, and why won't the LS core link to a regular RD3 resource node?[/QUOTE] Which one are you using? The one in the entities tab or the environments tool menu tab? [editline]8th September 2011[/editline] Ok, found the problem with the grav plating, working on it right now.
  • Ok, got the grav plating fixed, going to do an update with the cable fix too. EDIT: Update has been submitted.
  • Still get [quote]MakeFunc WARNING: No MakeData found for env_lscore! Defaulting! [/quote] When creating LS core with the tool. Also still cannot connect tool-created LS core to a regular resource network. However, the entities tab LS core seems to function fine. I can connect it to a regular network, and all it's functions seem to be fine. But, I dislike the fact that the LS core automatically creates gravity on everything it's connected to. I like to build a lot of thruster-powered spacecraft that need to exist completely in zero-g, and automatically creating gravity means the player forces the ship down to the bottom of the map. I want to be able to choose whether or not a given ship has interior gravity, not be forced into it for the sake of life support.
  • So, after finally getting the cables to work: 1. I don't see any performance hit whatsoever when moving the LS/RD stuff around with the visible cables. 2. You can only use certain materials on the cables. 3. The ends of the cables that go into the resource node look rather goofy, all pointy like that. 4. The cables just kind of...well, stick into various LS/RD stuff. Perhaps you could add a physics-less junction point? Like a plug or whatever?
  • Tried this mod a couple days ago, Liked it. Much simpler than normal Life support. However, I was working on wiring up a simple gyro stabilization system for a fighter craft, and I started missing the chips do to earthquakes. Would it be possible to make a toggle for the random events?
  • [QUOTE=H3xx;32210257]Tried this mod a couple days ago, Liked it. Much simpler than normal Life support. However, I was working on wiring up a simple gyro stabilization system for a fighter craft, and I started missing the chips do to earthquakes. Would it be possible to make a toggle for the random events?[/QUOTE]That isn't the random events, it is a fail on the mappers part. In SB3 there is something called "unstable" that makes it do earthquakes randomly and it was completely broken and is fixed in mine. As a result, the mappers didn't realize they made a mistake, but the mistake shows here. I will add a cvar to enable or disable them entirely, for now you can edit the planet with the admin menu in the environments tab and set "unstable" to be "false"
  • Here's some better values for 1920x1080 resolution (imo). The default one looked like shit. It's still really hard to read the text, though. They're extremely blurry. You should make it use a larger font, or something. [lua]AddResolution(1920, 1080, Vector(2,2,1.9), Vector(-2,55,-55), Vector(-2,44,-41))[/lua] I really think you should find a better way to do this though. Preferably dynamically using ScrW and ScrH. (Huge pics - I will remove these from my dropbox in a week or so) My slight edit: [quote][url=http://dl.dropbox.com/u/15312597/Screenshots/2011-09-19_2141.png][img]http://dl.dropbox.com/u/15312597/Screenshots/2011-09-19_2141.png[/img][/url][/quote] Old one: [quote][url=http://dl.dropbox.com/u/15312597/Screenshots/2011-09-19_2142.png][img]http://dl.dropbox.com/u/15312597/Screenshots/2011-09-19_2142.png[/img][/url][/quote]
  • Bugfix: File: EnvironmentsRD/lua/autorun/EntRegister.lua (Line 333) By Divran mostly, just thought I'd submit it. [CODE] function TOOL:GetDeviceInfo() if self.Name and self:GetClientInfo("type") != " " and self:GetClientInfo("sub_type") != " " then return Environments.Tooldata[self.Name][self:GetClientInfo("type")][self:GetClientInfo("sub_type")] or {} else return {} end end [/CODE] Also why do you use " " for initialization, just wondering?
  • [QUOTE=gordliamjack;32378722]Bugfix[/QUOTE] What bug? There's no way that should error because the function just lines before checks to ensure those values are not nil. [editline]19th September 2011[/editline] [QUOTE=Divran;32377651]I really think you should find a better way to do this though. Preferably dynamically using ScrW and ScrH.[/QUOTE] I've tried to do this, but the FOV is also a factor, which makes it almost impossible to get something like that working :(
  • [QUOTE=CmdrMatthew;32381012]What bug? There's no way that should error because the function just lines before checks to ensure those values are not nil. [editline]19th September 2011[/editline] I've tried to do this, but the FOV is also a factor, which makes it almost impossible to get something like that working :([/QUOTE] You added a check to see if they are nil yet not a check to see if they are at the default values of " " function TOOL:GetDeviceInfo() return Environments.Tooldata[self.Name][self:GetClientInfo("type")][self:GetClientInfo("sub_type")] or {}
  • [QUOTE=gordliamjack;32381101]You added a check to see if they are nil yet not a check to see if they are at the default values of " " function TOOL:GetDeviceInfo() return Environments.Tooldata[self.Name][self:GetClientInfo("type")][self:GetClientInfo("sub_type")] or {}[/QUOTE] It does that too. It makes sure that the tables exist.
  • [QUOTE=CmdrMatthew;32381159]It does that too. It makes sure that the tables exist.[/QUOTE] I did a debug print, It doesn't. Ask Divran when he is back tomorrow.
  • [QUOTE=gordliamjack;32381186]I did a debug print, It doesn't. Ask Divran when he is back tomorrow.[/QUOTE] The function before it does it. It returns nil if the tables don't exist, and this nil value trigers a return end in the function that calls the tool:GetDeviceInfo() [lua]function TOOL:GetDeviceClass() if Environments.Tooldata[self.Name][self:GetClientInfo("type")] then if Environments.Tooldata[self.Name][self:GetClientInfo("type")][self:GetClientInfo("sub_type")] then return Environments.Tooldata[self.Name][self:GetClientInfo("type")][self:GetClientInfo("sub_type")].class end end end[/lua]
  • [QUOTE=gordliamjack;32381274]Give me a moment, I shall re-create the error and show you.[/QUOTE] Found your error, it was in the ghost function, adding a simple nil check for the model fixes this. [lua]if !model then return end[/lua]
  • [QUOTE=gordliamjack;32381370]Ah, yeah that makes sense. Sorry about that.[/QUOTE] No problem, what you suggested would have also been a solution, but it would be more expensive.
  • Getting this error when removing some linked entities. [addons\environmentsrd\lua\entities\base_env_entity\init.lua:56] attempt to call method 'Unlink' (a nil value) g Bug2: Timer Error: [@addons\environmentsrd\lua\entities\resource_node_env\init.lua:57] bad argument #1 to 'String' (string expected, got nil) Error - Starting new message without ending the old one! When in multi-player I spawned a dupe then got that error, the entities have spawned, but the storage's have all got infinite storage. (seems to not be re-linking correctly) Bug3: [addons\sbep_entities\lua\entities\gyropod_advanced\init.lua:311] attempt to call method 'GetPassenger' (a nil value) When linking resources to a gyropod and or a Adv Pod Controller.