Page 1 of 3

About making maps

Posted: Thu Nov 18, 2004 9:19 am
by Azriel
Hi. I've been making map for a long time, but now i have a brand new computer, and i can run the java editor, that is MUCH easier than the old crossedit. I was working on a big city and maybe in some years it will be finished.

But, with all that happened recently in my guild on the metalforge server, i am currently working on a new guild design, more secure, with many more facilities, and many more ways to spend money. I don't know if a lot of people are making maps, but if someone has a response to any of the following questions, i would greatly appreciate it :

- Is it possible to have a detector that detects the god worshipped by a player ? (i think i already asked that).
- Is there any way to remove an item without teleporting it (something like a destructor, that would work like a creator) ?
- Is there anything like a creator, but that could create something else than only existing arch (for example, a dragon with 1 xp) ?
- Is it possible to change an attribute in an object (for exemple, you trigger a lever, and a 'nomagic' attribute goes out.
- Is it possible to have recursive treasure lists (i mean : a monster is in his own treasure list. Obviously, the server crashes (i tried :wink: )).
- If all this is impossible, maybe a script will do these things, but how does it works ? Is there any tutorial for scripting except for looking at IPO and trying to understand ?

Now, something completley different, that should go in another board : when i have finished the guild (i hope it will be not too long), it will need some testing. Who wants to ? Is it possible to test it on a "real" server (like metalforge). And if everything goes well, who will accept to wipe out his old full guild, and replace it with the new empty one ? Since these are unique maps, we can't change it all the time...

I have a lot more questions, but i keep them for later...

Az

Posted: Thu Nov 18, 2004 1:49 pm
by Salathar
- Is it possible to have a detector that detects the god worshipped by a player ? (i think i already asked that).
I am not sure, I have never tried this, but I think making a check_inv filed which detects "paraying Godname" may do the trick. When a player changes gods the praying skill in his inventory changes to reflect that. If this fails then there might have to be intruduced a different archetype to detect gods.
- Is there any way to remove an item without teleporting it (something like a destructor, that would work like a creator) ?
Have a look at this map http://bsucab.uwcs.co.uk/cf/benches I was thinking that this feature would be nice to have in guilds. This is supposed to dynamically generate and destroy items. I forget how to make the altar resettable so have to reset the map for each try. It is also possible to remove item's from players inventory.
- Is it possible to change an attribute in an object (for exemple, you trigger a lever, and a 'nomagic' attribute goes out.
- If all this is impossible, maybe a script will do these things, but how does it works ? Is there any tutorial for scripting except for looking at IPO and trying to understand ?
I believe only a script can dynamically alter properties of an object. Some useful info is in crossfire/doc/Developers/python

Good luck and looking forward to playing on your maps :)

Posted: Thu Nov 18, 2004 2:41 pm
by woo
Azriel sounds like we should really get together and talk - I have also been working on some guild changes. Avion and I just introduced a new way of tracking members(that no longer requires DM intervention to add/remove members from the guild), and are folloiwing with some more changes (different levels of guild access, redesigned guild rooms, etc). Rather then duplicate effort, maybe we can sit down and talk about it for a few minutes.

Posted: Thu Nov 18, 2004 3:15 pm
by Azriel
Good idea !

Posted: Thu Nov 18, 2004 10:16 pm
by Azriel
Salathar wrote: I forget how to make the altar resettable so have to reset the map for each try.
There are two archs different : Altar and Altar_trigger. The second resets while the first not. Remember that if you do nothing, altar_trigger will also trigger at release (at reset. I spent much time a long time ago to understand why some objects were created twice...)

Az

Posted: Fri Mar 11, 2005 5:36 am
by mikeeusa22
Crossedit rules.
I use it for all my maps :)

Posted: Fri Mar 11, 2005 5:58 am
by bort
Us visually selective map experimanters use the Java editor. :D
There needs to be more documentation on the whole map thingy in general. Like the ok settings for arch_type, etc,.
You can always do python scripts in a map too. 8)

Posted: Mon Mar 14, 2005 11:07 am
by cavesomething
The thing I want to know is how to properly sync the java editor with a servers custom archetype set. (there is a map I am currently creating where mikee's blue floor tiles would be useful, but I can't figure out how to use them).

Posted: Mon Mar 14, 2005 12:01 pm
by Mith
you can file options set a directory where to read arches - in stead of using build in arches. get cvs arches and point to that dir

Posted: Mon Mar 14, 2005 12:05 pm
by cavesomething
ooh....

/me goes to play with java editor again....