Another fail!
Every time I equip my fireball, the game dies. The reason is because there is no charge icon around the fireball graphic. I've been looking everywhere for what could be causing this. I haven't done anything to my fireball script or any of the icons. I'm at a total loss! WHY DO I SUCK?!
Can you show us the fireball's script and the lines you used to add the fireball magic? Also, please double check if you used the correct name for the fireball script.
It's probably a problem with the wooden status bar... If stat-05, 06 and 07.bmp are missing from the graphics folder, the game will crash when it tries to load them.
Fireball (scroll) script:
The Fireball magic script is copied from the original game since I can't even open .d files.
(ITEM-FB.d)
//sack of grain void main( void ) { sp_touch_damage(¤t_sprite, -1); } void touch(void) { //dink touched this sprite Playsound(10,22050,0,0,0); sp_brain_parm(¤t_sprite, 10); sp_brain(¤t_sprite, 12); sp_touch_damage(¤t_sprite, 0); sp_timing(¤t_sprite, 0); add_magic("item-fb",437, 1); say("I got the Fireball spell", 1); //kill this item so it doesn't show up again for this player int &hold = sp_editor_num(¤t_sprite); if (&hold != 0) editor_type(&hold, 1); }
The Fireball magic script is copied from the original game since I can't even open .d files.
(ITEM-FB.d)
I think the problem is with the fact that it is a touchprocedure which happens over and over again if dink keeps touching the object. In order to let the touch procedure only run once start the procedure with setting the touchdamage to 0. Hope this will solve the problem.
No, the acquire works fine. When I equip it, that's when the game dies.
Wow. Now opening the inventory is killing the game!
Alright, clearly I'm not cut out for adding graphics successfully without screwing up the game. Email me if you wanna beta test what I have so far and give me the exact glitch details so I can fix them. I have no idea what is going on!
EDIT: NAO! XD
Alright, clearly I'm not cut out for adding graphics successfully without screwing up the game. Email me if you wanna beta test what I have so far and give me the exact glitch details so I can fix them. I have no idea what is going on!
EDIT: NAO! XD
instead of using the sack of grain script - why not open your development folder (under \dink smallwood and use the actual fireball script instead... its a .c file too! think its called 'get_fb.c' or something... go looksee it worked in the original game - it should work in yours as well.
If you continue to use the grain script, as Anathavia says you are causing Dink pain when you use it ( Poor dink - he is in enough pain wearing those tight wee green undies don't you think
If you continue to use the grain script, as Anathavia says you are causing Dink pain when you use it ( Poor dink - he is in enough pain wearing those tight wee green undies don't you think
Nope, that's not my problem. In fact, my fireball was working perfectly until i installed IPD's armour demonstration. What do you say to THAT, IPD?!
Beat him I recon I hear dwarfs bruise like a little peach I want front row tickets!!