Is there a function called print_to that writes content to a text file within a map? If there's also a function for reading, that would be amazing!
Regarding the effects, you can create copies of these effect files (e.g., in a folder called new_effects/possession/), and place copies of the particle files specified in the effect's properties (the instances, models, and lights graphs) in the same folder (it might also be that the particles are defined directly within the effect, in which case you don't need to copy them).
In the particle properties, there's a position graph where you can change the z-coordinate (it's best to keep it the same for all particles), and these changes will definitely work.
There is a function for writing to a file, but unfortunately, there's no function for reading, as it's part of the Lua library that isn't included in Heroes. The writing function was created by the Nival Interactive developers themselves.
Over the years, I still haven't figured out where the standard functions from the manual are defined. I somehow thought they should be declared in a Lua file, but I couldn't find them.
Maybe if we could find the writing function, we could try to implement a reading function.
But I think that since even experienced modders like RedHeavenHero and magnomagus (and all the others I've forgotten) couldn't modify the executable to the extent that everyone would like, these things are unfortunately beyond our reach. :(
Будь яростней пред ночью всех ночей,
Не дай погаснуть свету своему!
Хоть мудрый знает – не осилишь тьму
Во мгле словами не зажжёшь лучей –
Не уходи безропотно во тьму.
), and these changes will definitely work.