keeperfx
keeperfx copied to clipboard
Have less text in configuration files by copying information from other items
REQUEST Allow modders to inherit properties from existing scripts from their related fields, taking and using all its functions and overriding those rewritten.
- [ ] creature.cfg
- [ ] crstates.cfg
- [ ] cubes.cfg
- [ ] keepcompp.cfg
- [ ] lenses.cfg
- [ ] magic.cfg
- [ ] objects.cfg
- [ ] terrain.cfg
- [ ] trapdoor.cfg
Example....
[spell98] Name = SPELL1 CastAtThing = 0 ShotModel = NOSHOT
[spell99 : spell98] : Name = SPELL2 ShotModel = NOSHOT_2
@ErminioLucente this one I do not understand, could you clarify?
this one I do not understand, could you clarify?
A shot (or instance, spell, room, whatever it might be) that basically takes another shots properties and simply uses those fields as its own without needing to write those out. i believe TheSim or Q knows about this request.
Another Example... [spell66] Name = SPELL1 CastAtThing = 0 ShotModel = NOSHOT
[spell67] : Name = SPELL2 INHERIT = SPELL1 << here we take all the properties from spell 1 to use for this shot. ShotModel = NOSHOT_2 << this here does not inherit the shot property, instead uses this as its own. you will notice how cast at thing is not listed, thats because i dont need/want to change its properties for this shot.