Bit Blot Forum

Aquaria => Modding => Topic started by: Yogoda on July 18, 2009, 12:55:11 am

Title: Fishes
Post by: Yogoda on July 18, 2009, 12:55:11 am
How do you add simple fishes in the editor ? This looks like a dumb question, but there is no entities for the simple fishes (the groups of fishes that do nothing but swim), fish-0001 - fish-0015, and I am not able to find any script related. How do you create them in the editor ? Where is the script that handles their behaviour ? I've seen that normal entities display their name and id when hovering with the mouse, but fishes do display id 0 and no name ...
Title: Re: Fishes
Post by: Alec on July 18, 2009, 01:20:45 am
Its actually inside the level data file. There isn't any way to edit it from the editor unfortunately. :' (
Title: Re: Fishes
Post by: TheBear on July 18, 2009, 07:18:07 am
A little more info for you from a past post.
Quote
<SchoolFish x="11000" y="8000" id="0" num="12" range="500" maxSpeed="200" layer="8" gfx="Fish-0009" />
<SchoolFish x="10000" y="9500" id="4" num="8" range="800" maxSpeed="100" layer="-3" gfx="bgfish" />

Schools of fish are not placed in the editor but "manually" in the map.xml file. Everything above is pretty self explanatory...range being how far they swim in different directions and gfx being what type of fish the school is. Goes from like 0001 to 0016 or so + bgfish. Look through the map.xml files for native Aquaria to see for yourself.
Title: Re: Fishes
Post by: Yogoda on July 18, 2009, 07:26:16 pm
Thank you so much ! It helps a lot :)