beyond-all-reason / beyond-all-reason/RecoilEngine

CEG: add "parent age" operator

Open
#1,127 0 comments 0 reactions 0 assignees View on GitHub
area: CEG enhancement
Dominant language
C++
Stars
679
Forks
290
Avg merge
3d 2h
Merged PRs (30d)
40

Description

There's the `d` operator for trails which gives the parent projectile TTL. But TTL projectiles with a longer range have a higher TTL at start so it's difficult to make a generic effect (and it's generally inconvenient to work with values that count downwards and don't start from zero):
![image](https://github.com/beyond-all-reason/spring/assets/2573076/89a3d727-ebdb-4a26-ab1b-9f70aaa18fec)

The request is to add a new operator that works like `d` but starts from 0 and counts upwards. Ideally, `the new operator + d` would be constant.

Contributor guide

Open the contributing guide

Research direction

Start by locating the CEG implementation of the existing `d` trail operator and read how its value is calculated and exposed. Add the requested parent-age operator with a zero-based, upward-counting value, and verify that combining it with `d` remains constant as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.