Question of the gameEffect= line

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Question of the gameEffect= line

Post by Neikun »

Using the line

Code: Select all

gameEffect = "15% faster cooldown",
How does it know what I'm talking about?

As far as I can tell from the asset definition page, and the item.lua file of the original item, there's nothing hinting how it effects the cooldown rate.

It would appear that the line is only for the player to understand what the item does.
My question is how do I make the editor understand what effect I want the item to have?
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
User avatar
Shloogorgh
Posts: 45
Joined: Sat Sep 22, 2012 12:24 am

Re: Question of the gameEffect= line

Post by Shloogorgh »

I would love to know how to do this as well.

As far as the game effect line, I think it uses that descriptor when you look at the item in your inventory
User avatar
antti
Posts: 688
Joined: Thu Feb 23, 2012 1:43 pm
Location: Espoo, Finland
Contact:

Re: Question of the gameEffect= line

Post by antti »

Yeah, that's just a textual description. The actual functionality in this case, I believe, is hardcoded for this specific asset.

For implementing the effects of the items, you have the parameters you can use (like evasion, stat bonuses and so on) as well as the scripting hooks.
Steven Seagal of gaming industry
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Question of the gameEffect= line

Post by Neikun »

Aww man. But I wanted a different rate of all action cooldown.

Is this also why clone magic_orbs don't radiate light?
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
User avatar
antti
Posts: 688
Joined: Thu Feb 23, 2012 1:43 pm
Location: Espoo, Finland
Contact:

Re: Question of the gameEffect= line

Post by antti »

Neikun wrote:Is this also why clone magic_orbs don't radiate light?
Yes.
Steven Seagal of gaming industry
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Question of the gameEffect= line

Post by Neikun »

Now if I could just figure out who had that problem earlier...
Edit: Found it. It was Montis.
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
User avatar
Montis
Posts: 340
Joined: Sun Apr 15, 2012 1:25 am
Location: Grimrock II 2nd playthrough (hard/oldschool)

Re: Question of the gameEffect= line

Post by Montis »

Neikun wrote:Now if I could just figure out who had that problem earlier...
Edit: Found it. It was Montis.
Yes, yours truly :P
When destiny calls, the chosen have no choice.

My completed dungeon (LoG1): Hypercube
Post Reply