|
|
This is where I dump all the internal documentation of 2.2 features that I can find, so y'all can put it on the wiki. Be warned that some of the information may be outdated, so it's a good idea to double-check stuff first.
|
|
|
|
|
|
# MI's skybox improvements
|
|
|
Linedef type 448 is a new linedef type that can be used to switch skybox viewpoints and/or centerpoints via their IDs. It works as follows:
|
|
|
* By default only the viewpoint will be switched. The linedef's front x offset sets the ID of the new viewpoint, which should be a number between 0 and 15. If the front x offset is an invalid number such as -1, the game will not use any viewpoint mobj at all.
|
|
|
* If Block Enemies is set, the centerpoint will be changed as well. The front y offset sets the ID of the new centerpoint. As with above, invalid numbers will make the game not use any centerpoint.
|
|
|
* If Solid Midtexture is set, the viewpoint will not be changed. However, you must combine this with Block Enemies in order to change just the centerpoint, otherwise the linedef will have no effect!
|
|
|
* By default, only the player who triggered the linedef will see the skybox being changed. If a player did not trigger the linedef executor directly, no change will be seen by anyone. If the Not Climbable flag is set, the skybox change will be "global", i.e. it will be seen by all players in the map.
|
|
|
|
|
|
# Damage types
|
|
|
This is an additional argument to P_DamageMobj, P_KillMobj, and functions for the hooks ShouldDamage, MobjDamage, MobjDeath and HurtMsg. As you can guess, they tell the game what type of damage was dealt to the target. However, nearly all of them do something special only for players.
|
|
|
|
... | ... | |