Jump to content
lynx

stats.ids vs Detectable spells (SCS)

Recommended Posts

We're trying to figure out how to best handle the dynamic stats.ids (re)generation and extension that DS does. Eg. in SCS: https://github.com/Gibberlings3/SwordCoastStratagems/blob/master/stratagems/ds/ds.tph#L460

It would be really handy if we could see all those flexible stats at 400+ that get added and I thought the sole mention of stats_extra.2da might have it. But a user says it doesn't exist, so I'm confused and looking for other shortcuts.

We use our own override in gemrb to not have a headache with all ~10 engine variants, so I'd rather patch scs and any other mod relying on random stats over 400 than change that. The easy way out would be to just also install a duplicate of the final stats.ids, which we can then use to extend ours, but maybe a smaller interim file already exists and would do.

Share this post


Link to post

SCS hot-generates its added stats and SPLSTATE entries, so they don’t have consistent values on different installs.

Share this post


Link to post

Is there some specific reason you need complete list of stats? DS is hardly the only function that adds dynamic IDS entries, e.g. ADD_PROJECTILE is far more widespread and chaotic.

Share this post


Link to post
4 hours ago, DavidW said:

SCS hot-generates its added stats and SPLSTATE entries, so they don’t have consistent values on different installs.

I think he wants a full list of names, not values? As long as he avoids overlapping them with duplicates assigned to the same value, it shouldn't matter, as the function will simply read and return the already assigned value.

 

PS So I can't even copy and paste the quote. **** Invision.

Edited by Ardanis

Share this post


Link to post

I don't really care what numbers they resolve to, as long as they do. Our file effectively hides the mod created one at runtime (it's the only hard override we use). For scripts it of course works, while dialogs actions aren't compiled, so we have a problem.

But projectiles aren't a problem, since there we ourselves use an extra file to define all the base missing ones. First projectl.ids is read then ours on top of it. Some of the original ids might get overriden, but mod problems would be easy to fix.

Share this post


Link to post
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×