Search Results
Searched for posts by fejoa in all forums

Showing results 941 - 950 out of 1011 total
Modify your search
Posted by fejoa, Nov 25, 2011 at 6:30 pm
Yay! That is great Alvers
Posted by fejoa, Nov 15, 2011 at 11:52 am
Ah I remember this, thanks for bringing it back into the daylight
Posted by fejoa, Nov 14, 2011 at 4:20 pm
i still want to program the magic 8-ball into IVAN.

On anaother note, I'm wondering if anyone has found an easier way to build up rooms in the dungeon.dat files? i.e. a more wysiwyg way rather than manipulating a bunch of ascii? (That said, editing the script in ascii still has some charm to it).
Posted by fejoa, Nov 7, 2011 at 3:29 pm
I just wrote this note (attached) on a suitable method for editing graphics in IVAN. It explains a way of opening and editing pcx files using a couple of free graphics editing programmes in windows.
Attached files
begin_drawing_in_IVAN.pdf ()
Posted by fejoa, Nov 6, 2011 at 5:06 pm
SquashMonster wrote
I think I can make the whole worldmap generation thing a whole lot simpler, and way easier to add new locations to. Maybe I could even port it to a script file instead of people having to touch code to add dungeons.

I vote we put Squash on the payroll.
That stuff about the OWTERRAIN macro really clarifies things for me (a bit), thanks!

SquashMonster wrote
I have no clue what the two names are supposed to mean, they're both overworld terrain.

I think gwterrain is supposed to mean ground-world terrain, or everything on the world map that is the ground, in the same way that glterrain refers to ground-level terrain.

SquashMonster wrote
(which you unwittingly made with that OWTERRAIN macro)
Certainly it was unwitting, as I say, it was reverse engineered

It strikes me that the world map generation may be the most antiquated part of the code, since it has that hand-made feel to it.

SquashMonster wrote
New Attnam is not actually on a continent.
Maybe we need an island spawner, or that a certain proportion of the continents generated are islands (jeez, where's that Sid Meier at?). I don't know. If the island is placed last then it will be fine, there will be a way even if it is hacked. It would be good to have a general way of doing it though. Hmm. I think it would pay to put the island close by underwater tunnel. What about an inland island on a lake on the continent that PetrusLikes??

SquashMonster wrote
The game doesn't even look for a tiny island for it. Wherever the exit to the underwater tunnel goes, the game looks a certain radius outwards for some ocean and builds a tiny island on the spot, midway through the part where the other locations are looking for a place in the already-existing world.

This explains everything that I ever wanted to know about how New Attnan comes to be upon Valpuri, thank you

SquashMonster wrote
Anything that reduces special locations to objects instead of classes has another benefit. It's the prerequisite to being able to port that off to a script file. But learning how to make new script files is a big challenge in and of itself, I'd say this is something that should be done in two steps.

Learning to make (and make) dungeons is labour intensive no matter what. I have already been asked to document dungeon building in IVAN and I'm happy to do it, regardless of whether there is an overhaul of world generation or not. The way I see it is that basically there is no end to the power of cut-and-paste, and the IVAN community is endlessly creative, so if it is easier to make dungeons without coding then I imagine people will be attracted enough to that feature + good documentation to script their own dungeons.

SquashMonster wrote
So... go for it, or use your tutorial as the official way to add new things to the world?

I say go for it. It is such low-hanging fruit . The existing manner in which continents are generated is too clunky and converting the classes to objects fulfills a step toward making novel world locations scriptable.
Posted by fejoa, Nov 6, 2011 at 12:14 pm
SquashMonster wrote
I just saw what vasilly did with the dungeon dat and it's really great. We absolutely should have that feature. Is his code available and in a working state? I saw that he was working on replacing all scripts with some fancy thing and we don't need that (especially since it doesn't seem to have happened) but everything else from his version sounds like a fantastic base.
...
Also, if I understand correctly (I often don't) you added a number of extra dungeons in CLIVAN, yeah? Do you have a general system for that, or in general an idea how we'd do Phase 1 point 2?

Vasily has a git repository here. As far as I know he only works with linux. Apparently he stopped working on his VASYA script because of this.

Worldmap:

The method I used is post somewhere in the forum under Programming.

The way that the devs implemented the placement of locations is a little bit muddy. Most of the "bugs" were written in worldmap.cpp. I have a special interest in improving this because I'd like to try to introduce named continents (named after forum members ). Should be easy though because continents already have numbers.
The bugs include continents being too big (i think I fixed this in CLIVAN). One which I did not fix was this line:

if(AttnamPos != TunnelExit && ElpuriCavePos != TunnelExit)
{...

The above was invented by the devs and it works fine for IVAN 0.50 and CVS, but causes problems for instance when you add more locations. As an example, while testing CLIVAN I once loaded a game where I could not find the "Dark Forest" location anywhere on the map, and I can only presume another location ("Muntuo" since it is the same terrain type i.e. Leafy Forest) was written over the top of it.
I'm sure if each location had a unique terrain type, then this would be solved, but then the game would have to spend inordinate time trying to generate a continent that "PetrusLikes".
So basically I have a feel for some of the undocumented features and some points about what is wrong, but to overhaul this would take me maybe 80 to 120 hours to come up with a paper model.

Oh, and no money for me please leave it for the pros, like Squash. I already have a job, this can be my hobby.
Posted by fejoa, Nov 5, 2011 at 3:45 am
So the above code restricts certain monsters to certain dungeons, I think it will mostly work as written It will certainly enable dungeon builders to have more control over the theme of their dungeon. Does the code support being able to specify that a monster may spawn in multiple dungeons, but not gloomy caves, say for example:

purplehedgehog
{
...

DungeonSet = UNDER_WATER_TUNNEL|BLACK_FORTRESS;
}

Restricting that monster to only those two dungeons? I know I have used flags here, and the variables like BLACK_FORTRESS aren't #defined as flags. But I just want to get a feel for how this will go.

As for segregating dungeons, for starters I liked what vasilly did by bursting dungeon.dat apart so that each dungeon has its own data file. That would drastically improve things rather than devs working on a monolithic dungeon.dat file.

Also: Shall the next version of IVAN proceed from the IVAN CVS version? (I feel it would be the right place to begin)

Posted by fejoa, Nov 4, 2011 at 8:03 pm
All I can say is that I'm surprised at how well my brain functions while drunk. I have started a fairly demanding job in electirc power which is not even in the field of software engineering. My time is really constrained by this, but I am still committed to the development of IVAN. I am not a real computer programmer, so I feel like I am not the right person to take on the responsibility of development. I personally hope that Z or someone of similar pedigree may take on the role, but I acknowledge that Z is very busy with his own roguelike development which is in itself a masterpiece.
Basically I am a writer of algorithms, a diver of source codes and a copy-paster, I don't know how pointers work, "structs" are still pretty grey to me and I don't understand a whole lot of other shit. So i don't feel qualified to manipulate the over-arching structure of IVAN, yet.

I agree with the things that SquashMonster has said, and I particularly agree with segregated dungeons which are mutually exclusive, as a vehicle for spreading out the development into the community, by way of people creating novel dungeons. Having created some new characters, i wondered if I could make them specific only to the dungeons I had created. Vanilla IVAN does seem to be a complete game, and alternate dungeons seem like a feasible way forward for IVAN development.

Right now I think the Phase 1 goals are achieveable and we should begin forthwith. The first thing we should agree on is cvs or svn or some other form of sharing the code. Sourceforge or something would be good. I strongly believe in sourcediving, and any aspiring IVAN dev may spend at least 6 months worth, maybe 6 hours per week examining the source and trying to make the code do wierd shits. It's not hard, just takes a lot of staring. Further, I think that as many devs need to be on board as possible. Even people who cannot code to begin with. Compiling is not hard, so anyone can be the programmer really.
Posted by fejoa, Nov 3, 2011 at 12:48 pm
Hi Squash! I don't count as a programmer either, probably for the same reasons. I'd also prefer to revert to the main line of IVAN development, in a group setting, but at the moment I'm using CLIVAN as a test bed for wacky ideas.
Posted by fejoa, Nov 1, 2011 at 11:42 am
Wonderful work Translating IVAN must've been very challenging.

Navastater, hmm, the Devs came up with it. It's part of the holy stack and can be found in Mola_Mola.rtf:

Quote
to navastate – For example, it is navastating to ponder what navastating means.

By the way, did you translate the opening story and the encrypted scroll?