Are Human Enemies defined by the CLASS files or by MONSTER.BSA?

Discuss modding questions and implementation details.
Post Reply
User avatar
harbinger451
Posts: 183
Joined: Mon Apr 13, 2020 4:08 pm
Contact:

Are Human Enemies defined by the CLASS files or by MONSTER.BSA?

Post by harbinger451 »

That's it, that's the question.

I'm doing a Classes Redone style mod and would like to change the enemies in-keeping with the changes I make to the PC classes. I read somewhere that changing the CLASS files affects the human enemies as well, but I also read that the human enemies are like all the other mobile foes in the game, and are defined in the MONSTER.BSA. Which is true?
Image

User avatar
pango
Posts: 3347
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: Are Human Enemies defined by the CLASS files or by MONSTER.BSA?

Post by pango »

I think they're defined in EnemyBasics.cs, along with other enemies (monsters), that I assume replaces MONSTER.BSA:
https://github.com/Interkarma/daggerfal ... s.cs#L1669
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
harbinger451
Posts: 183
Joined: Mon Apr 13, 2020 4:08 pm
Contact:

Re: Are Human Enemies defined by the CLASS files or by MONSTER.BSA?

Post by harbinger451 »

That certainly defines their sprites, sounds and animations etc ... I was thinking more their basic stats; HPs, Attributes, Skills, Attacks etc. If they have any.
Image

User avatar
pango
Posts: 3347
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: Are Human Enemies defined by the CLASS files or by MONSTER.BSA?

Post by pango »

Ah, found some code to read CLASS files to fill DFCareer objects:
https://github.com/Interkarma/daggerfal ... ty.cs#L907
https://github.com/Interkarma/daggerfal ... eer.cs#L23
That's more like what you're looking for
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
harbinger451
Posts: 183
Joined: Mon Apr 13, 2020 4:08 pm
Contact:

Re: Are Human Enemies defined by the CLASS files or by MONSTER.BSA?

Post by harbinger451 »

Okay... so changing the CLASS files in Daggerfall Original will affect the human enemies in Daggerfall Unity, and I don't need to mess with MONSTER.BSA. That simplifies matters. Thanks, Pango.
Image

Post Reply