Search found 9 matches

by MasterJoe
Thu Jul 24, 2014 5:53 pm
Forum: Modding
Topic: [Spell] "manaCost" depending on "skill"
Replies: 6
Views: 7190

Re: [Spell] "manaCost" depending on "skill"

And then, you "shoot" through closed doors, secret walls, etc. :D
by MasterJoe
Wed Jul 23, 2014 3:20 pm
Forum: Modding
Topic: [Spell] "manaCost" depending on "skill"
Replies: 6
Views: 7190

Re: [Spell] "manaCost" depending on "skill"

Hmm... :?: didn't get it. Effect go through gates, secret doors, closed doors, etc..

Is there a command: "IsDoor"? :D
by MasterJoe
Wed Jul 23, 2014 3:00 pm
Forum: Modding
Topic: [Script] Get difficulty settings from script
Replies: 13
Views: 14631

Re: [Script] Get difficulty settings from script

Thanks, but where is the "grimrock.lua"? In the Grimrock.dat?
If it so, can anybody extract me all LUA files from this file?

If you "Load" a savegame, the difficulty setting where displayed. Is there a way to "read" this entry in a script?

Srry for the questions^^
by MasterJoe
Wed Jul 23, 2014 12:01 am
Forum: Modding
Topic: [Script] Get difficulty settings from script
Replies: 13
Views: 14631

Re: [Script] Get difficulty settings from script

Hmmm... I've tried this: local df = getStatistic("difficulty_level") hudPrint(df.." ") and it crashes the editor. In Error-Logfile: [string "Statistics.lua"]:0: attempt to index a nil value stack traceback: [C]: in function 'error' [string "DungeonEditor.lua"]...
by MasterJoe
Tue May 27, 2014 6:39 pm
Forum: Modding
Topic: [Spell] "manaCost" depending on "skill"
Replies: 6
Views: 7190

[Spell] "manaCost" depending on "skill"

Hello people, As the title says, I try the mana cost to adapt the skills (if the ability is high, then the spell be more expensive). The attack power is expected to increase as well (if possible...). I've already tried some things: defineSpell{ name = "fireburst", uiName = "Fireburst&...
by MasterJoe
Sun May 18, 2014 12:17 am
Forum: Modding
Topic: [Script] Get difficulty settings from script
Replies: 13
Views: 14631

Re: [Script] Get difficulty settings from script

thanks,

is there a way to set the "attack power" for a monster via script?
by MasterJoe
Sat May 17, 2014 1:13 pm
Forum: Modding
Topic: [Script] Get difficulty settings from script
Replies: 13
Views: 14631

Re: [Script] Get difficulty settings from script

Ok thanks! :mrgreen:

:?: 2 questions I have thus yet:
1) How "find" I ALL monsters in the dungeon?
2) How do I change, with this script, certain values ​​of the Monster (HP, level, etc.)?
by MasterJoe
Fri May 16, 2014 2:37 pm
Forum: Modding
Topic: [Script] Get difficulty settings from script
Replies: 13
Views: 14631

Re: [Script] Get difficulty settings from script

Thanks for the quick reply.

In addition, I have been thinking BUT:
How do I make the opponent, as in the regular game: Stronger, more aggressive, more HP, etc.? That would be indeed a huge script. :?
by MasterJoe
Thu May 15, 2014 9:58 pm
Forum: Modding
Topic: [Script] Get difficulty settings from script
Replies: 13
Views: 14631

[Script] Get difficulty settings from script

Hi everyone,

How can I, through a script, check what was selected for a difficulty level (easy, medium or hard)?

In my dungeon I would like the players, for example:

-for the play on "hard" give +50% exp reward.
-for the play on "easy" give -50% exp reward.

Thanks in advance.