Ask a simple question, get a simple answer
Re: Ask a simple question, get a simple answer
Hello
It's a way to detect easily if player don't play custom party but use game standar party? I want customise this standar party
It's a possibility to add in my mod custom portrait or player must download it from external link and add it manualy?
It's a way to detect easily if player don't play custom party but use game standar party? I want customise this standar party
It's a possibility to add in my mod custom portrait or player must download it from external link and add it manualy?
Re: Ask a simple question, get a simple answer
Thx dude !Isaac wrote: ↑Mon Apr 08, 2019 8:14 pmThe way to damage the party by script, is to the damageTile global function:Marskilla wrote: ↑Mon Apr 08, 2019 7:28 pm Went there : viewtopic.php?t=7972 but I didn't found how to damage party by script.Code: Select all
damageTile(level, x, y, direction, elevation, flags, damageType, power)
Where —flags— can be the following:
https://github.com/JKos/log2doc/wiki/Ob ... amageflags
___
I would check champion's name class and level. If the name, the class and the level of each four champions are standard it's high probability that it is the default party.
Here is a working example with level and names :
Code: Select all
function testDefaultParty()
name1 = party.party:getChampion(1):getName()
name2 = party.party:getChampion(2):getName()
name3 = party.party:getChampion(3):getName()
name4 = party.party:getChampion(4):getName()
level1 = party.party:getChampion(1):getLevel()
level2 = party.party:getChampion(2):getLevel()
level3 = party.party:getChampion(3):getLevel()
level4 = party.party:getChampion(4):getLevel()
if (name1 == "Shadow" and name2 == "Mulrag" and name3 == "Fang" and name4 == "Astaroth" and level1 == 1 and level2 == 1 and level3 == 1 and level4 == 1 ) then
hudPrint("Default Party")
else
hudPrint("Custom Party")
end
end
Once you know it's the standard party, you can customise what you want with the "set" methods (same url than above)
___
I'm currenlty working on a custom dungeon. I exported it to test it with standard conditions.
As long as I play it straightforward, evrything is fine.
But If I save, quit and then load the savegame, multiple bugs appear ! Buttons does'nt work anymore, initial state are not respected, etc.
As I use many add-ons ( sxtown, sxriver, vb under dungeon) I suspected a Ram problem. I decreased the texture quality. The problem is still there. Any Idea where it can come from ? Did you experiences somthing similar ?
Last edited by Marskilla on Thu Apr 11, 2019 7:45 pm, edited 2 times in total.
Re: Ask a simple question, get a simple answer
minimalsavestate
change the "minimalsavestate = true" to false on the objects that pose a problem.
change the "minimalsavestate = true" to false on the objects that pose a problem.
Re: Ask a simple question, get a simple answer
THAT is a quick answer.
Is there a global or do I have to test every object ? And How do I change this property ? using a script ? didn't found it with the GUI on buttons, doors...
Re: Ask a simple question, get a simple answer
in the notepad files of the custom assets you copied,
you will find these objects and they usually contain a line with minimalsavestate
https://ibb.co/S7hp72g
you will find these objects and they usually contain a line with minimalsavestate
https://ibb.co/S7hp72g
Re: Ask a simple question, get a simple answer
Ok, I get it. Man, you rock.
Most of the problems come from the "under dungeon" tileset ( https://www.nexusmods.com/legendofgrimrock2/mods/87 )
I' will try to change these and will return with a result !
Most of the problems come from the "under dungeon" tileset ( https://www.nexusmods.com/legendofgrimrock2/mods/87 )
I' will try to change these and will return with a result !
Re: Ask a simple question, get a simple answer
use ctrl + alt + I (capital i)
in notepad++
and fill in stone to get quicker to the stone_button object
Only change the objects that really need it. Don't go start changing everything to false.
And in some occasions it can be worthwhile to change staticshadow to false as well in case of movement
in notepad++
and fill in stone to get quicker to the stone_button object
Only change the objects that really need it. Don't go start changing everything to false.
And in some occasions it can be worthwhile to change staticshadow to false as well in case of movement
Re: Ask a simple question, get a simple answer
I just noticed I also have the problem with standard objets : metal_fence.
It is not possible to modify the original but is it possible to override the property in a custom object ?
I tried somthing like :
but it' doesn't work.
It is not possible to modify the original but is it possible to override the property in a custom object ?
I tried somthing like :
Code: Select all
defineObject{
name = "mars_metal_fence",
baseObject = "base_metal_fence",
minimalSaveState = false,
}
Re: Ask a simple question, get a simple answer
Another question : is there an object which is an invisible wall, which is on the map as a wall and that does'nt consume a whole square ?