Skip to content
New issue

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

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

Already on GitHub? # to your account

Add edit window for typeflags (ActorFlags) #30

Open
thekovic opened this issue Jul 29, 2024 · 2 comments
Open

Add edit window for typeflags (ActorFlags) #30

thekovic opened this issue Jul 29, 2024 · 2 comments
Labels

Comments

@thekovic
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Currently, typeflags don't have a nice edit window which means the flags must be researched and edited manually. This is unfortunate as these flags can be quite useful (especially the 0x100000 flag which can be changed to, for example, achieve killable wolves/jaguars).

Describe the solution you'd like
Add edit window for typeflags (documented as ActorFlags similar to how thingflags are editable.

@smlu smlu added the feature label Jul 30, 2024
@smlu
Copy link
Owner

smlu commented Jul 30, 2024

I think it'd be wise to also make typeflags editor for other types: explosion-flags, weapon-flags, particle-flags and item-flags.
Also flag editor for physics-flags would be great to have.

The new flag editors should also include flag names for JKDF2 & MOTS games and display them according to the current project type. https://www.massassi.net/jkspecs.

@smlu
Copy link
Owner

smlu commented Aug 3, 2024

Note that the typeflags should be interpreted based on the thing type.
e.g.:

if thing.type = 'actor' then `FlagEdit.EditActorFlags(f)
if thing.type = 'explosion' then `FlagEdit.EditExplosionFlags(f)
if thing.type = 'item' then `FlagEdit.EditItemFlags(f)
if thing.type = 'particle' then `FlagEdit.EditParticleFlags(f)
if thing.type = 'weapon' then `FlagEdit.EditWeaponFlags(f)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants