The Dink Network

dinkedit problem- sprites... (Closed)

July 16th 2002, 10:58 PM
stonegiant.gif


ok, why is it that when i try to edit the main dink game, the sprites (as in ppl) do not show up in the editor?? everything else does, ive tried changing vision numbers, but nothing happens..

also, with visions, can somneone plz explain?? is it true that if an object is in vision 0, it will still appear when the vision is 1?? i think it must, otherwise you'd have to add things every time for every vision there was....

]

hmmm...

July 16th 2002, 11:54 PM
old.gif
: ok, why is it that when i try to edit the main dink game, the sprites (as in ppl) do not show up in the editor?? everything else does, ive tried changing vision numbers, but nothing happens..

: also, with visions, can somneone plz explain?? is it true that if an object is in vision 0, it will still appear when the vision is 1?? i think it must, otherwise you'd have to add things every time for every vision there was....

: ]

in stores, the people are made by a script, in the bar in terris too. You should check the scripts assigned to other sprites and check if the room has a sprite, simple, hold I

: hmmm...

July 17th 2002, 02:40 AM
custom_simon.gif
SimonK
Peasant He/Him Australia
 
July 17th 2002, 04:39 AM
stonegiant.gif
ok, thanks for that hint, ill look it up. also:

in the function move(), the parameter distance, what is it?? i know it controlls how far dink goes, BUT:

1.- is it a co-ordinate reference?? (for either X or Y, depending on direction of travel), or is it a distance needed to travel, from the sprites starting point. the latter would seem more sensable, otherwise the direction parameter could be made redundant, with a bit of clever coding...

hmmmm...

t

thanks for allt he help guys...
July 17th 2002, 04:43 AM
stonegiant.gif
oops. i replied to the wrong thread. dont ask, im really tired. i hope you can all forgive me, and answer my question anyway, so that when i check back tomorrow from work, ill see the answer, (and the light), and will be converted from this heathen exterior...

http://www.mythi.cx/

is a very funny site. read the bit down the bottom (found it while looking for python stuff)
July 18th 2002, 05:00 AM
stonegiant.gif
BigTed
Peasant They/Them
 
: : ok, why is it that when i try to edit the main dink game, the sprites (as in ppl) do not show up in the editor?? everything else does, ive tried changing vision numbers, but nothing happens..

: : also, with visions, can somneone plz explain?? is it true that if an object is in vision 0, it will still appear when the vision is 1?? i think it must, otherwise you'd have to add things every time for every vision there was....

: : ]

: in stores, the people are made by a script, in the bar in terris too. You should check the scripts assigned to other sprites and check if the room has a sprite, simple, hold I

: : hmmm...

My problem with this has alwaysbeen that editor_type() is not zero(0). This isn't even supposed to be possible in DinkEdit, it's a bug. I have had good luck with two alternative kludge workarounds: (1) re-create the sprite in DinkEdit, then delete the old version (so I get a new editor number); or (2) change editor_type() in a base script. It is not even necessary to do a wait(1) in the base script to wait for the screen to be drawn, because editor_type() uses DinkEdit sprite numbers, not Dink sprite numbers.