Bit Blot Forum
Aquaria => Modding => Topic started by: r_b_bergstrom on June 08, 2010, 10:06:38 pm
-
I'm working on my first mod, and I've hit a minor but weird issue.
I've got a few schools of fish on some of the levels. They spawn normally when I start a level, but I've found that if I eat them in beast form, when they respawn they come back invisible. At first I thought maybe beast form prevented them from respawning if I ate them, but then, while fighting with a monster, I lunged through the area where a school of fish had been, and it triggered a bunch of the whispy green lights that flash when you eat a fish (and my health bar ramped up like I'd just charged through half a dozen edible fish, even though there was nothing visible). So I went to a safer map and tested it. Same thing happens anywhere I eat fish in my mod.
My background graphics are in the right layer, so it's not like they're just hidden behind it. All I can think of is that I'm missing either some line of code, or some whole script involving fishes that I should have copied into my mod. I'm not aware of any such script that's needed, though.
Here's what I am using to call up the fish in the first place, in the map.xml files:
<SchoolFish x="4376" y="6058" id="1" num="30" range="400" maxSpeed="80" layer="8" gfx="Fish-0011" />
There's a few variations in that line of code from map to map, but they're all basically set up like that, and that line in particular generates a school that's in any easy place for me to locate and eat.
-
I think that happens at times in the real game too. :3
-
Really? I'd never noticed that... but I spent a lot more time in energy form than in beast form, so if it's part and parcel with being pink and fuzzy, I might not have noticed.
-
I found myself boosting through invisible fishies in the sun temple veil. I was spooked. :3
-
I think that happens at times in the real game too. :3
Yeah, I spent ages following 'ghost' fishes, thinking they'd unlock something or do something cool. I guess it's just a bug : P
-
Yogoda told me today he's found a ton of bugs in the source code, and it's a good thing he's not the only one going through it, although they are not in sync about the bugs; don't know enough to understand...but since it's open-source now we should have fewer problems like this when we all upgrade to a newer Aquaria version.
-
No, I wasn't speaking about bugs, but errors when I try to compile ;)
-
Oops. Sorry. You're the MAN. Thank you for all you do, for all of us.
-
Thank you for helping us help you help us all? :3
-
No, thank you!
(... for thanking him for helping us help him help us all.)