mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-31 07:57:47 +01:00
530c5c804ac0d2f726ff43510b27a5b527df19dd
New defines in setup.dm: This revision changes the following things: - Hot is no longer defined as 'higher temperature than 310.15K' but is defined as 'higher temperature than my body temperature'. The opposite applies for cold. - Removed heat_transfer_coefficient and protective_temperature - Added heat_protection and cold_protection flag variables to obj/item, which define which areas of your body are protected from heat. - Added max_heat_protection_temperature and min_cold_protection_temperature which define up to which temperature the item protects when worn (NOTE that it only protects on the locations specified by the heat_protection flags!) and down to which temperature it protects from the cold. - REMEMBER! hot and cold were redefined to mean 'which way your body temperature should be moving based on the air around you'. - Each tick, your body now 'corrects' your body temperature towards 310.15K which is the ideal temperature. The correction is max( difference/12, 10 ), so either a twelfth of the difference between your body temperature and 310.15K, or 10K, whichever is higher. This ensures your body temperature stabilizes over time. - Most notable changes in the amount of protection you get from common items are these: Space suits now ONLY protect from cold and fire suits now ONLY protect from heat. Now what this means is obviously that firesuits will be useless in space, but also that if you find yourself in a fire with a high body temperature and you put a firesuit on, your temperature will no longer stagnate at the high temperature, due to temperature not going up nor down, but rather it will get lower. Instead it will be protected from rising, it will however gradually get lowered by your body's 'auto-correct' attempts, as described in the last point. Additionally, if you wear a fire suit and enter an area with a good temperature (for isntance 290K) and you have a high body temperature, due to just escaping from a fire, the fire suit will not make your body temperature stagnate. Because it does not protect you from cold, and cold being defined as 'colder than your body temperature', you will actually successfully cool down to the optimal temperature. - The opposite applies to space suits. They protect from cold and don't protect from heat. If you find yourself in space and your temperature drops and put on the space suit with your temperature still low, you will recover over time. If you enter an area with a good temperature, you will recover faster, since the space suit does not protect you from heat. - In short, space suits are now better at dealing with space and fire suits are better at dealing with fires. - You will NEED a fire helmet to be protected from heat and you will NEED a space suit helmet to be protected from cold. There is no 'but'. Fire helmets are red or white hardhats, found in all fire closets. - The 'heat up' coefficients are defined in setup.dm, they are: - - head = 30% - - lower and upper torso = 15% each = 30% - - legs and arms = 7.5% each = 30% - - feet and hands = 2.5% each = 10% - Gloves cover hands - Shoes cover feet - Space-worthy jumpsuits cover legs, arms, upper and lower torso - Space suits cover legs, arms, hands, feet, upper and lower torso - Headgear covers heads - Removed the HEADSPACE and SUITSPACE flags, due to being moved to the new variables. This frees up the flag value 4. . The amount of damage heated gas and heated areas do can now be set in human/life.dm. The values are: (The different levels are based on breath temperature or body temperature.) #define HEAT_DAMAGE_LEVEL_1 2 #define HEAT_DAMAGE_LEVEL_2 4 #define HEAT_DAMAGE_LEVEL_3 8 #define COLD_DAMAGE_LEVEL_1 1 #define COLD_DAMAGE_LEVEL_2 2 #define COLD_DAMAGE_LEVEL_3 4 //Note that gas heat damage is only applied once every FOUR ticks. #define HEAT_GAS_DAMAGE_LEVEL_1 2 #define HEAT_GAS_DAMAGE_LEVEL_2 4 #define HEAT_GAS_DAMAGE_LEVEL_3 8 #define COLD_GAS_DAMAGE_LEVEL_1 1 #define COLD_GAS_DAMAGE_LEVEL_2 2 #define COLD_GAS_DAMAGE_LEVEL_3 4 The speed at which your body temperature raises or falls can be altered with the following defines: #define BODYTEMP_AUTORECOVERY_DIVISOR 12 #define BODYTEMP_AUTORECOVERY_MINIMUM 10 #define BODYTEMP_COLD_DIVISOR 6 #define BODYTEMP_HEAT_DIVISOR 6 The divisors determins by how big a difference between your body temperature and the surrounding air (or 310.15 in the case of autorecovery) will your body temperature change. The autorecovery_minimum means what the minimum recovery is, if difference / 12 is less than 10, it will recover by 10. Was all this needed to fix Issue 44? Yes..... yes... it was... Some things are consequences of decisions made while fixing it, but all of it was necessary to completely fix the issue. I found it did not remain on the tracker for this long for nothing. I'm sorry for the essay, but there was a lot of work involved and a lot of changes happened, so I had to write a lot... git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4428 316c924e-a436-60f5-8080-3fe189b3f50e
…
tgstation13 v1.0 - 6 October 2010 Website: http://nanotrasen.com Code: http://code.google.com/p/tgstation13/ IRC: irc://irc.rizon.net/tgstation13 ================================================================================ INSTALLATION ================================================================================ First-time installation should be fairly straightforward. First, you'll need BYOND installed. You can get it from http://www.byond.com/. Once you've done that, extract the game files to wherever you want to keep them. This is a sourcecode-only release, so the next step is to compile the server files. Open tgstation.dme by double-clicking it, open the Build menu, and click compile. This'll take a little while, and if everything's done right you'll get a message like this: saving tgstation.dmb (DEBUG mode) tgstation.dmb - 0 errors, 0 warnings If you see any errors or warnings, something has gone wrong - possibly a corrupt download or the files extracted wrong. Once that's done, open up the config folder. You'll want to edit config.txt to set the probabilities for different gamemodes in Secret and to set your server location so that all your players don't get disconnected at the end of each round. It's recommended you don't turn on the gamemodes with probability 0, except Extended, as they have various issues and aren't currently being tested, so they may have unknown and bizarre bugs. Extended is essentially no mode, and isn't in the Secret rotation by default as it's just not very fun. You'll also want to edit admins.txt to remove the default admins and add your own. "Game Master" is the highest level of access, and the other recommended admin levels for now are "Game Admin" (a little below host) and "Moderator". The format is byondkey - Rank where the BYOND key must be in lowercase and the admin rank must be properly capitalised. There are a bunch more admin ranks, but these three should be enough for most servers, assuming you have trustworthy admins. Finally, to start the server, run Dream Daemon and enter the path to your compiled tgstation.dmb file. Make sure to set the port to the one you specified in the config.txt, and set the Security box to 'Safe'. Then press GO and the server should start up and be ready to join. ================================================================================ UPDATING ================================================================================ To update an existing installation, first back up your /config and /data folders as these store your server configuration, player preferences and banlist. Then, extract the new files (preferably into a clean directory, but updating in place should work fine), copy your /config and /data folders back into the new install, overwriting when prompted except if we've specified otherwise, and recompile the game. Once you start the server up again, you should be running the new version. ================================================================================ SQL Setup ================================================================================ The SQL backend for the library and stats tracking requires a MySQL server. Your server details go in /config/dbconfig.txt, and the SQL schema is in /SQL/tgstation_schema.sql. More detailed setup instructions are coming soon, for now ask in our IRC channel. ================================================================================ IRC Bot Setup ================================================================================ Included in the SVN is an IRC bot capable of relaying adminhelps to a specified IRC channel/server (thanks to Skibiliano) Instructions for bot setup are included in the /bot/ folder along with the bot/relay script itself
Languages
DM
86.5%
JavaScript
8.8%
TypeScript
1.9%
Python
1.4%
Rust
0.8%
Other
0.3%