problems with lups

problems with lups

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
Erik
Posts: 283
Joined: 20 Aug 2009, 20:49

problems with lups

Post by Erik »

1. when lups effect start there seems to be a delay(for a frame or so) before the actual image is loaded(black square), is that normal?

2. I'm also im getting this

Code: Select all

Error: LuaRules::RunCallIn: error = 2, RecvFromSynced, [string "lups/lups.lua"]:227: attempt to call field 'ActivateMaterial' (a nil value)
whenever a unit enters stealth for the first time
the orange effect doesn't show up until the unit decloaks and cloaks again
which isn't the case in ZeroK for example
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: problems with lups

Post by jK »

Erik wrote:1. when lups effect start there seems to be a delay(for a frame or so) before the actual image is loaded(black square), is that normal?
no
Erik wrote:2. I'm also im getting this

Code: Select all

Error: LuaRules::RunCallIn: error = 2, RecvFromSynced, [string "lups/lups.lua"]:227: attempt to call field 'ActivateMaterial' (a nil value)
whenever a unit enters stealth for the first time
the orange effect doesn't show up until the unit decloaks and cloaks again
which isn't the case in ZeroK for example
you need LuaRules/Utilities/*.lua (and its loading code in gadgets.lua) for the cloaking effect.
User avatar
Erik
Posts: 283
Joined: 20 Aug 2009, 20:49

Re: problems with lups

Post by Erik »

okay the 2nd problem is fixed now, thanks.
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: problems with lups

Post by Jools »

I also have problems with this:
Error: LuaRules::RunCallIn: error = 2, UnitCloaked, [Internal Lua error: Call failure] [string "lups/lups.lua"]:190: attempt to call field 'ActivateMaterial' (a nil value)
The older version of lups.lua doesn't mention ActivateMaterial at all. What utilities are needed in LuaRules/Utilities? Lups only comes with tablefunctions.lua in that folder and loading it does not help wrt this problem.
Post Reply

Return to “Game Development”