Page 43 of 65

Re: [Models] New created Models..

Posted: Sun Mar 10, 2013 3:31 pm
by germanny
You can do, neikun. The set is available^^

Re: [Models] New created Models..

Posted: Sun Mar 10, 2013 3:46 pm
by comscript
I looked at the code (defineObject), and I saw that there's a bad use of ids

ex:spawn("doorchecker_wood", self.level, self.x, self.y, 2, "doorchecker_wood")

doorchecker_wood is a bad id.
It can result in conflict between different breakable items.

You have to change the ids and check back the lock's code.
in defineObject
replace the line in the onDie fonction
ex:
ex:spawn("doorchecker_wood", self.level, self.x, self.y, 2, "doorchecker_wood")
by
ex:spawn("doorchecker_wood", self.level, self.x, self.y, 2)

Code: Select all

-- script "doorChange"

function fakdoorReal()

searchSp = entitiesAt(1,16,23)

for i in searchSp do
	if i.name == "doorchecker_wood" then
		doorXchng = i.name
	else
		doorXchng = Nil
	end
end

if doorXchng == Nil then
dm_fakedoor_wood_2:destroy()
	fakdoorReplace = spawn("dm_door_wood", 1, 16, 23, 2)
	fakdoorReplace:open()
elseif doorXchng == "doorchecker_wood" then
-- doorchecker_wood:destroy() (delete this line)
setMouseItem(spawn("dm_crosskey"))
end
-- dm_cross_lock_1:setOpenedBy("") (unnecessary  the lock only works once)
end

Re: [Models] New created Models..

Posted: Sun Mar 10, 2013 6:07 pm
by germanny
Thanks comscript, this is really bad done by me - explicit naming..
If i set 2 doors i have two objects with the same id appearing.
I did not see that grrml.. :)

Well, better i do modeling instead now :mrgreen:

Re: [Models] New created Models..

Posted: Mon Mar 11, 2013 11:03 pm
by germanny
Okay, modeling ..
I do a bunch of DM items ATM. Will take a while, a sneak peak:
SpoilerShow
Image

Re: [Models] New created Models..

Posted: Tue Mar 12, 2013 12:11 am
by Merethif
Nice falchion. BTW, are you going to remake all items from DM? Because honestly I think lots of them are already available (even if they slightly differs, for example compass, dagger or even elven boots). Anyway good luck - and I'm really eager to see some of my favourites like rope or leather shield :-)

Re: [Models] New created Models..

Posted: Tue Mar 12, 2013 4:09 am
by germanny
Merethif wrote:Nice falchion. BTW, are you going to remake all items from DM? Because honestly I think lots of them are already available (even if they slightly differs, for example compass, dagger or even elven boots). Anyway good luck - and I'm really eager to see some of my favourites like rope or leather shield :-)
Glad you like. I try to do all the stuff, damn huge load.

Katana!
SpoilerShow
Image

Re: [Models] New created Models..

Posted: Tue Mar 12, 2013 4:44 am
by Asteroth
Merethif wrote:Nice falchion. BTW, are you going to remake all items from DM? Because honestly I think lots of them are already available (even if they slightly differs, for example compass, dagger or even elven boots). Anyway good luck - and I'm really eager to see some of my favourites like rope or leather shield :-)
Most of all the potions. We have a blue potion icon already and a potion model. I most certaintly won't discourage making new items(that would be insane!), I will say few people will consider the difference.

Re: [Models] New created Models..

Posted: Tue Mar 12, 2013 11:17 am
by Komag
Maybe it would be wise to save the similar items for last, and start with the most different items

Re: [Models] New created Models..

Posted: Tue Mar 12, 2013 12:10 pm
by Isaac
Komag wrote:Maybe it would be wise to save the similar items for last, and start with the most different items
There is a golden brassiere on that sprite sheet. :mrgreen:

Re: [Models] New created Models..

Posted: Tue Mar 12, 2013 7:50 pm
by germanny
Komag wrote:Maybe it would be wise to save the similar items for last, and start with the most different items
I do if ideas come in mind, there is no plan or numbered list^^
The flasks - dont know if i should do them.. but for a complete DM set i have to!
Isaac wrote:
Komag wrote:Maybe it would be wise to save the similar items for last, and start with the most different items
There is a golden brassiere on that sprite sheet. :mrgreen:
It is! xD
But clothes are a bit more complicated to do (komag mention it) - you have to wait and calm down your arousal :lol: