Search found 13 matches

by Starnice
Sun Sep 23, 2012 9:32 am
Forum: Modding
Topic: [Script] SetDefaultParty (SDP)
Replies: 22
Views: 27027

Re: [Script] SetDefaultParty (SDP)

Did you find a way to choose the traits?
by Starnice
Mon Sep 17, 2012 5:16 pm
Forum: Modding
Topic: couple of weird lighting things... maybe bugs.
Replies: 14
Views: 12580

Re: couple of weird lighting things... maybe bugs.

lightColor = {1,0.5,0} does not work.

But, thank you for the code above!

Anyone know how to succeed with a 3D Vector"?
by Starnice
Mon Sep 17, 2012 11:14 am
Forum: Modding
Topic: couple of weird lighting things... maybe bugs.
Replies: 14
Views: 12580

Re: couple of weird lighting things... maybe bugs.

Please, could you give an example of how to change a feature of this lightsource?
by Starnice
Sun Sep 16, 2012 8:28 pm
Forum: Modding
Topic: A little script to change the default party.
Replies: 16
Views: 13540

Re: A little script to change the default party.

Thanks for the answer! But, I can not do it ... Whatever the place where I put my picture in the folder mod_assets (or its subfolders) in. Tga or. Dds (or both), that it makes me not found... I note that creating a mage lizardman in slot 2 (with portrait : nil), I have a portrait of minotaur with th...
by Starnice
Sun Sep 16, 2012 6:43 pm
Forum: Modding
Topic: A little script to change the default party.
Replies: 16
Views: 13540

Re: A little script to change the default party.

You do not know the name of the original portraits? And where to put new portraits in our mod?
This is for use in this great script of course.
by Starnice
Sat Sep 15, 2012 7:35 pm
Forum: Modding
Topic: How can we make disappear/deleting/move an element?
Replies: 5
Views: 4833

Re: How can we make disappear/deleting/move an element?

Okay, a simple "temple_ceiling_lamp_3: deactivate ()" is enough to turn off the light ...
by Starnice
Sat Sep 15, 2012 6:11 pm
Forum: Modding
Topic: Run a script automatically when the game starts?
Replies: 5
Views: 6540

Run a script automatically when the game starts?

To equip the team or delete a champion, etc.

I tried in init.lua, but it does not work.

An idea?

:?:
by Starnice
Sat Sep 15, 2012 4:50 pm
Forum: Modding
Topic: How can we make disappear/deleting/move an element?
Replies: 5
Views: 4833

Re: How can we make disappear/deleting/move an element?

Really, I can not do it. I created an item "FX" (ID : fx_1) and a plaque, and a script I linked to the plate. function eclairage() fx_1:setLight(0, 0, 1, 10, 2, 20, false) end I get : attempt to index global 'fx_1' (a nil value) Anyone know how to rectify this error? Or known to have a fx ...
by Starnice
Fri Sep 14, 2012 6:32 am
Forum: Modding
Topic: How can we make disappear/deleting/move an element?
Replies: 5
Views: 4833

Re: How can we make disappear/deleting/move an element?

I can not do it yet but thank you for the suggestion!