Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: transmo subcommand to load supplied npc model id #1345

Merged
merged 2 commits into from
Feb 19, 2025

Conversation

Aelto
Copy link
Contributor

@Aelto Aelto commented Feb 18, 2025

As mentioned in #1326, the current list of NPCs to transmo into is quite limited, and manually adding NPC models to the hardcoded list can be a complicated task for those without cpp knowledge. This PR aims to add a subcommand to the transmo command: /transmo model. This subcommand accepts every parameter needed by the PendingTransmo struct, allowing anyone to transmo into the NPC model of their choice without having to edit the source code.

The command asks for specific IDs to function correctly which is pretty verbose to type, so it is mostly here to be used through chat command aliases or hotkeys.

Examples:

# transmo as Gehraz
/transmo model 4581 204020 245127 540

# transmo as Herta
/transmo model 4537 16258 245122 540

# transmo as Anzhaer
/transmo model 7985 16271 373574 520

Also as the command requires a lot of parameters it felt adequate to add a lot of error handling and logs, but if it's too much feel free to tell me!

@3vcloud 3vcloud changed the base branch from master to dev February 19, 2025 11:44
@3vcloud 3vcloud merged commit 48629af into gwdevhub:dev Feb 19, 2025
@Irisier
Copy link

Irisier commented Feb 21, 2025

Hey, could we please add NPC Scale to the command? There are some models in the game that are nicer to use scaled.

@3vcloud
Copy link
Member

3vcloud commented Feb 21, 2025

See chat command help

@Irisier
Copy link

Irisier commented Feb 21, 2025

ok, thanks, I didn't know that /transmo can be applied to yourself with size even without a selected target

DubbleClick added a commit that referenced this pull request Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants