SourceRenewed

From Valve Developer Community
Jump to: navigation, search

SourceRenewed SourceRenewed is a project based on the Source 2013 Singleplayer Source 2013 Singleplayer. Adds some new and useful things to the engine and improves the existing ones. However, unlike Mapbase Mapbase, this project is not meant to be fully backward compatible with any Source branch. Made by Max34.

Changes in the common class of all entities

Env Entities

env_sound

Old name: ambient_generic

Note.pngNote:Perhaps in the future it will be renamed to point_sound.
Todo: More documentation.


env_spark

Todo: More documentation.


Filter Entities

Cpp-16px.pngCode Fix:Fixed a crash when the filters tries to check an already deleted entity. If the entity does not exist when checking, the comparison will be made with an empty value.

filter_class

Old name: filter_activator_class

filter_group

Old name: filter_activator_team

filter_name

Old name: filter_activator_name


Logic Entities

Note.pngNote:The parameter storing the coordinates in all logical entities will be removed in order to reduce the amount of information stored in the map. Also, for building logic in the new Hammer there will be a separate window (something in the style of a logical tree from the unreal engine).


logic_auto

Icon-Important.pngImportant:It was decided to remove this entity and transfer its functionality to the world itself (World). This is not currently implemented, so the entity still exists.


logic_autosave

Todo: More documentation.


logic_branch


logic_branch_manager

Old name: logic_branch_listener.

Cpp-16px.pngCode Fix:Fixed a bug that caused the deleted logic_branch to be treated as false instead of removing it from the list.
Todo: More documentation.


logic_case

Todo: More documentation.


logic_compare


logic_console

New entity.

Todo: More documentation.


logic_relay


logic_string

New entity.

Todo: More documentation.


logic_timer

Todo: More documentation.


Math Entities

math_calculator

New entity.

Note.pngNote:These Inputs support constants. For example, to set the value of the calculator to π (3.14159…), you can use SetValue pi, or if you want to subtract e (2.71828…) from the calculator value, you can use Subtract e.
Available constants
ConstantDescriptionValue
ee2.71828182845904523536
log2elog2(e)1.44269504088896340736
log10elog10(e)0.434294481903251827651
ln2ln(2)0.693147180559945309417
ln10ln(10)2.30258509299404568402
piπ3.14159265358979323846
pi2π/21.57079632679489661923
pi4π/40.785398163397448309616
1pi1/π0.318309886183790671538
2pi2/π0.636619772367581343076
2sqrtpi2/√π1.12837916709551257390
sqrt221.41421356237309504880
1sqrt21/√20.707106781186547524401


math_color

New entity. Also combines the capabilities of math_colorblend.

Color constructor. Allows you to make color32 from separate integers. This color32 can be used as a whole or separately.

Todo: More documentation.


math_counter

Note.pngNote:The entity now uses a new optimization system. Since this system is not fully implemented, the entity is partially broken, for now.
Todo: More documentation.


math_remap

Todo: More documentation.

Special Entities

Entities that exist on all maps and in a single copy.

Player

Todo: More documentation.


World

Old name: worldspawn.

An entity that is the world itself in which everything that is on the map is stored.

Todo: More documentation.

Deleted entities

We will remember.. your uselessness

Other

  • Changed structure of .bsp files to reduce entdata usage.
  • Added more support for converting from one value format to another.
  • New Hammer (in development).
  • Trying to make engine code more readable.
    • Replaced all
      strcmp, stricmp, _stricmp, Q_strcmp, V_strcmp, Q_stricmp, V_stricmp, FStrEq, V_strlen, Q_strlen V_strlen, Q_strcasecmp, Q_strncasecmp, V_strncasecmp, V_strcasecmp
      with more understandable and optimal
      StringEmpty, StringsEqual, StringsEqualCaseless, StringsPartsEqual, StringsCompare, StringsCompareCaseless and StringLength.
  • Commands such as ent_fire, ent_pause, ent_step, etc. will be replaced with a graphical representation called “I/O Event Management Window”. It will also contain additional functionality for interacting with I/O events on the map, for example the ability to display all I/O stored in a specific entity.
  • captioncompiler will be replaced by CaptionEditor with graphical representation and new functionality.

See also

External links

Empty

This article or section is empty. You can help by adding it.