Couple of things: I know how to create custom portraits, and know by running a script saying party:getChampion(1):setPortrait etc that I can change the pic of a character ingame. How do I make the pics selectable when the game is exported ie at the start of a game, if the player selects custom characters rather than the default ones, I want the custom portraits available for selection as well as the inbuilt ones. Is this possible?
Also, can you reduce the light given off by the torches to make it more realistic? Say, for example, that it only lights up 2 squares in all directions, rather than the whole room as is presently the case?
Cheers guys (and girls!)
George
some advice on scripts needed (again!)
Re: some advice on scripts needed (again!)
I don't think you can reduce torch light distance - they light up three full squares away from the party, whereas magic light lights two full squares away (both not including the party square itself).
Finished Dungeons - complete mods to play
Re: some advice on scripts needed (again!)
As far as I know, the only way to offer this, is to have the portraits installed in the Portraits directory.WaspUK1966 wrote:Couple of things: I know how to create custom portraits, and know by running a script saying party:getChampion(1):setPortrait etc that I can change the pic of a character ingame. How do I make the pics selectable when the game is exported ie at the start of a game, if the player selects custom characters rather than the default ones, I want the custom portraits available for selection as well as the inbuilt ones. Is this possible?
It would be nice if Grimrock 2 checked the custom mod for a portraits folder and included any portraits found.
For Nexus mods you could offer the mod archive and a portraits archive ~separate.
*Perhaps you could make the archive include a dungeons folder (with your mod in it), and a portraits folder; but you had better make the file names outrageously unique. This is unconventional though, and would have to be explained... It's better IMO to offer two separate files; the mod, and the portraits.
I think the torch light is hard coded. It's possible to tinker with the torch.lua, but that is just the flames on the wall torches (AFAIK).
