Search found 404 matches

by Duncan1246
Thu Mar 26, 2015 11:27 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3738
Views: 1379244

Re: Ask a simple question, get a simple answer

Hello, I think I have seen the answer somewhere, but I can't find it now. I want to retrieve four objects previously spawned to move (or destroy) them. I know theirs positions, but not their id (spawn). I tried "EntitiesAt" but nothing happens... Perhaps it's necessary to store id on spam, but is ug...
by Duncan1246
Thu Mar 26, 2015 8:35 pm
Forum: Mod Creation
Topic: Hiring party member(s) script - SOLVED
Replies: 71
Views: 32072

Re: Hiring party member(s) script - SOLVED

Hello there, Some help please. I just can't get the script to work. I get no error message from the game, but when I press the button nothing happens. The game kinda freezes up. I copied everything from the demo and named (the scripts) the same, connected it the same. I think the same thing happene...
by Duncan1246
Mon Mar 23, 2015 7:36 pm
Forum: Mod Creation
Topic: Hiring party member(s) script - SOLVED
Replies: 71
Views: 32072

Re: Huge script request - new party member(s)

Try this: in demo dungeon add these lines to the end of champion_recruit_1 .... function setStartingParty() champions.script.setStore(self.go.id) champions.script.loadChampion('Minotaur With really long name',party.party:getChampion(1)) champions.script.loadChampion('Lab Rat',party.party:getChampio...
by Duncan1246
Sun Mar 22, 2015 11:15 pm
Forum: Mod Creation
Topic: Beacons and Essences?
Replies: 1
Views: 936

Re: Beacons and Essences?

So I have been trying to utilize an "Insert proper item in alcove" type section in a mod I'm working on using a script I found on here The only problem is when I place an air essence on the beacon it just disappears entirely, the sound and light changes as if it is hovering on the pedestal but my d...
by Duncan1246
Fri Mar 20, 2015 12:15 pm
Forum: Mod Creation
Topic: Hook framework (a.k.a LoG Framework 2)
Replies: 42
Views: 24934

Re: Hook framework (a.k.a LoG Framework 2)

Hi JKos, I tried your solution this morning (instead of solar eclipse, I have had a brain one, I think...): no result... What I have done: Put this in init.lua: cloneObject{ name="floor_fw_trigger", baseObject="floor_trigger", components = { fw_addHooks{ class="FloorTrigger" } } } (I tried also with...
by Duncan1246
Fri Mar 20, 2015 1:47 am
Forum: Mod Creation
Topic: Hook framework (a.k.a LoG Framework 2)
Replies: 42
Views: 24934

Re: Hook framework (a.k.a LoG Framework 2)

You have to manually add framework hooks to floor_trigger game object like you did with party object. like this: defineObject{ name="floor_trigger", baseObject="floor_trigger", components = { fw_addHooks{ class="FloorTrigger" } } } Thanks! I haven't understood this in reading your doc, but it is lo...
by Duncan1246
Thu Mar 19, 2015 2:44 pm
Forum: Mod Creation
Topic: Hook framework (a.k.a LoG Framework 2)
Replies: 42
Views: 24934

Re: Hook framework (a.k.a LoG Framework 2)

Hello JKos, I have installed Hook Framework and my first attempt is a success with a party hook. Thanks for your work! But... I tried another one with a floortrigger, and I don't understand where I am wrong, but nothing happened! Here is my test code: function battlefielddig() fw.script:set('floor_t...
by Duncan1246
Sat Mar 14, 2015 11:38 pm
Forum: Mod Creation
Topic: Exp Problem
Replies: 7
Views: 1996

Re: Exp Problem

Azel wrote:That last "1" is just the step increment. In this case we could have left it out and the loop would default to incrementing by 1, so you're right about not really needing it here. I left it in the example so that I wasn't changing too much from the original code. :mrgreen:
OK I see, thanks
by Duncan1246
Sat Mar 14, 2015 3:22 pm
Forum: Mod Creation
Topic: Exp Problem
Replies: 7
Views: 1996

Re: Exp Problem

Azel wrote:

Code: Select all

    function Stat1exp()

		for i = 1, 4, 1 do
			party.party:getChampion(i):gainExp(150)
		end
		
		hudPrint("Gained 150 Xp.")
    end
tada! :mrgreen:
A silly ask, I suppose, but why "for i = 1, 4, 1 do" and not simply "for i=1,4 do"??
by Duncan1246
Wed Mar 11, 2015 10:49 am
Forum: Mod Creation
Topic: neo-goth industrial set and more
Replies: 63
Views: 30059

Re: neo-goth industrial set and more

Hi,
I like the general look of your assets, especially the architecture. I am not a model-maker, so my remark could be silly, but texture of the wall seems to be half iron/half dark wood. If it isn't intentionnal, perhaps some reflections have to be added?
Cheers
Duncan