The Dink Network

help with pigs

March 3rd 2005, 12:27 PM
death.gif
sirakn
Peasant He/Him
 
i need help i pick the sprite to put it down and put its brain to pig but it moves in the direction i put it in but when it trys to go to a different direction it changes to like a million different sprites real fast also when it moves in the direction i put it in it dont actually move it looks like it floats across help plz
March 3rd 2005, 12:55 PM
fish.gif
Simeon
Peasant He/Him Netherlands
Any fool can use a computer. Many do. 
You need to set its basewalk - I can't really remember what the key combination in DinkEdit was (if you're using that), but in a script, set sp_basewalk(&sprite, xxx) where &sprite is the variable that refers to the sprite and xxx is the basewalk, a number that's a base of 10. All characters/animals have their directions based on the numpad so for example, 1 is to the bottomleft and 7 is to the topright corner. So something like sequence 851 means "walking to the bottomleft corner" and a character as such would have 850 (a base of 10) as basewalk. In other words, what you need to do is to find the sequence of that pig in the editor and set its basewalk in the editor or a script.
March 3rd 2005, 01:26 PM
death.gif
sirakn
Peasant He/Him
 
i did that and now it looks like it floats everywhere but at least it doesent change people no more but anyways how do i do that
March 3rd 2005, 04:18 PM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
"standard" pigs have the following properties:

script: die5
base_walk: 40
brain: 4

All the rest should be left at the default value.