Sprites
Hi
How do you edit hardness in sprites
and what does the star mean?
How do you edit hardness in sprites
and what does the star mean?
You can edit the hardness of sprites by manipulating the ini file in your D-Mod directory or by pressing E various times in the sprite selection part of DinkEdit, then you can set the dot and the box of hardness.
The star means you're a Peasant here, which is basically everyone minus the staff.
The star means you're a Peasant here, which is basically everyone minus the staff.
ah...thanks, sorry but i've got another question if i wanted to have 3 things talk (dink and two people) how would i do that, because i know ¤t_sprit and 1 for 2 people but not the third
EDIT: and now i have a major problem, my game after the loading screen (esplash.bmp), reverts to the desktop but its fine with other DMODs
EDIT: and now i have a major problem, my game after the loading screen (esplash.bmp), reverts to the desktop but its fine with other DMODs
For dink, it's 1.
For the current sprite, it's ¤t_sprite.
For anything else:
int &crap = sp(25);
say_stop("Text!", &crap);
You can use a variable to hold a sprite's number and then use that in the say_stop command.
For the current sprite, it's ¤t_sprite.
For anything else:
int &crap = sp(25);
say_stop("Text!", &crap);
You can use a variable to hold a sprite's number and then use that in the say_stop command.
Is it loading a MIDI or graphics that aren't in the gfx or sound dir?
i replaced the main.c start.c etc files and rewrote them and now it works but now some of the DMODs aren't appearing in the FrontEnd app
EDIT:Fixed
EDIT:Fixed
if i edit the hardness on sprites, although the changes are saved to dink.ini ( i think )i can till walk though it
Aww. Make sure the Dink Walk mode isn't no-obstruction. (sorry, I'm new to DinkC...)
(That sounded stupid, didn't it?)
(That sounded stupid, didn't it?)
how do i do that, i remember reading about it, i will check the stuff i have on my other pc(the one with Dink)
(That sounded stupid, didn't it?) (no, not really)
(That sounded stupid, didn't it?) (no, not really)
move_stop(1, 2, 100, 1);
The second "1" allows Dink to walk through hardness.
The second "1" allows Dink to walk through hardness.
where do i put this and also if i press space to show hardness in dinkedit the sprites hardness i've edited doesn't appear
Well, you put that line in a script just where you want Dink to move to a location, not specifically somewhere but in cutscene you can use that for example.
As for the hardness not appearing, it could be that the sprite has its hardness set to 1, meaning no hardbox so you also don't see it when you press space. I think it was 9 in DinkEdit to change the hardness, set it to 0 and you should see the hardbox near the sprite.
As for the hardness not appearing, it could be that the sprite has its hardness set to 1, meaning no hardbox so you also don't see it when you press space. I think it was 9 in DinkEdit to change the hardness, set it to 0 and you should see the hardbox near the sprite.
thanks for the second thing but about the first what about when being controlled by keyboard not in a cut scene
Generally, when would you want Dink to be able to walk through hardness object by default outside cutscenes? If Dink should be able to walk through an object that looks solid (like a house/table/giant boulder), give it no hardness and Dink can walk through it instead of giving everything hardness and then let Dink walk through hardness.
i don't want to be able to but my sprites are
hard (i think) and i can walk though them
hard (i think) and i can walk though them
If you can walk through them, they likely have a hardness set to 1 (whichs means no hardness). Set that to 0 and there's hardness - the 0 and 1 may seem contradicting but 0 means hardness and 1 means no hardness.
ok thanks i'll try that
BTW the Dink chat room is open check my post in General Disscusion
BTW the Dink chat room is open check my post in General Disscusion