TeamForbiddenLLC / warfork-qfusion

Warfork is powered by Qfusion a 3D game engine. Qfusion is a fork of id Tech 2, popularly known as the Quake II engine. Qfusion is free and open-source software subject to the terms of the GNU General Public License.
https://warfork.com
109 stars 43 forks source link

Add support for boost pads in maps #316

Open Gelmo opened 7 months ago

Gelmo commented 7 months ago

Also added quake1.as to the gt file for Rekt to improve support with non-official maps

Credit @DenMSC

Gelmo commented 7 months ago

@DenMSC can you confirm here that you approve of your boost code being contributed to Warfork?

Warfork commented 7 months ago

@CoolElectronics if we get approval from msc please merge this if it's fine thanks

Gelmo commented 7 months ago

Converted to draft due to discussion in Advisors channel. MSC says there's a better way to implement this that will give mappers more flexibility in the boost behavior - https://github.com/hettoo/wsw-race/blob/racemod/source/progs/gametypes/hrace/entities/trigger_push_velocity.as

Gelmo commented 7 months ago

MSC recalls there being a bug with trigger_push_velocity.as:

[01:23]msc: have some broken jumppad in wsw race on miragul
[01:23]msc: wondering if my implementation is wrong or the entitied.def is wrong here
[01:24]msc:
{
  "speed": "100",
  "spawnflags": "8",
  "classname": "trigger_push_velocity"
}
[01:24]msc: spawnflags 8 is ADD_Z, for reference
[01:24]msc: according to the entities.def:
speed: XY speed for player-directional velocity pads - either sets or adds to the player's horizontal velocity.
count: Z speed for player-directional velocity pads - either sets or adds to the player's vectical velocity.
[01:25]msc: does this not matter for ADD variants or something?
[01:25]msc: kinda confusing