[crossfire] Argh! Invisible spell!

Epicanis mail-lists+cfdev at dogphilosophy.net
Sun May 27 17:40:54 CDT 2007


After a half-decade of being too busy, I decided to try messing around adding
things to Crossfire.  (I'm STILL too busy, but I'm doing it anyway - I need to 
relax.)

As a warmup, I'm trying to add a "waterballoon" spell (low level, low power).
Eventually, I'd like to set it so that the bullet drops a single-square (range 
0?) "explosion" of water, but right now I'm just trying to figure out how to 
get the basic "fling the 'bullet', hit the target" thing working.

The problem I can't seem to figure out is...it's invisible.  It's hits its
targets and goes off as expected, but nothing is visible flying across them 
room.  

I've tried a few different variations of "face" but I can't seem to get
a visible "bullet".  Any hints?

The current iteration of the arch looks like this:
spell_waterballoon.arc:

Object spell_waterballoon
name waterballoon
name_pl waterballoon
face spell_evocation.111
level 1
sp 1
casting_time 5
path_attuned 0
other_arch waterbullet
dam 2
dam_modifier 5
range 1
duration 1
maxsp 24
type 101
subtype 5
value 20
attacktype 3
slaying fire,scrolls,demon
no_drop 1
invisible 1
skill evocation
food 15
end

waterbullet.arc
Object waterbullet
type 102
subtype 5
face blackfirebullet.111
anim
blackfirebullet.111
blackfirebullet.121
blackfirebullet.131
blackfirebullet.141
blackfirebullet.151
blackfirebullet.161
blackfirebullet.171
blackfirebullet.181
mina
is_animated 0
is_turnable 1
move_on walk fly_low
glow_radius 1
range 0
speed 1
move_type fly_low
no_pick 1
editable 0
end


Any help would be appreciated.

Thanks




More information about the crossfire mailing list