Skip to content

Enhancement: VScript proxies in VMT #1654

@pivotman319-owo

Description

@pivotman319-owo

What would this enhancement be for?

Rendering

Describe your enhancement suggestion in more detail

Titanfall 2's shader implementation includes support for VScript functions that can be called directly by a VMT file which return a value for use in proxies, as is the case in this particular example from Titan/Pilot cloak variables:

    "Proxies"
    {
        //CHange the alpha base off of script input
        "EntityScript"
        {
            "scriptFuncName" "VMTCallback_GetCloakFactor"
            "resultVar"    "$cloakAlphaScale"
        }
    }

Other examples making use of this feature include weapon ammo counters and in-game HUD elements.

A similar implementation of this feature could potentially be added to Strata.

Metadata

Metadata

Labels

Focus: Engine UpgradesTechnical improvementsPriority 3: MediumSomething that should be attempted/looked at for the next release, and done if possible.Size 4: SmallSomething that will take up to a day to do.Type: EnhancementThis is something that improves upon an already existing thing.What: GraphicsGraphics-related stuffWhat: ScriptingAngelScript or VScript related issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions