|Hmm moving up... that's the same as making individual rooms, which is >not< altitude.. what the person wants is to be in the SAME room with other objects/people etc. and give the actual image of being in the air.|
Personally I think just adding an altitude to CHAR_DATA and having it be increased based on the argument in a "fly" command, allowing them to raise up and down at will.
Than for exits, you could add an altitude entry to the appropriate spot, and than find the part around here:
if (pexit->to_room && (!IS_SET (pexit->exit_info, EX_WINDOW)
|| IS_SET (pexit->exit_info, EX_ISDOOR))
&& !IS_SET (pexit->exit_info, EX_HIDDEN))
in do_exits, and check if their height, is a certain amount in relation to the door(ex: ch->altitude == pexit->altitude) or
(ch->altitude == (pexit->altitude - 5) || ch->altitude == (pexit->altitude + 5))
The first would require them to be in the same room, the second would require to be 5 rooms away up or down.
With a little learning you could also add individual messages for how far things are:
50 feet = A small figure stands below you, about 44 feet away
20 feet = A rather large man stands below you, about 14 feet down.
You will also want to modify can_see so that players cannot see others who are too far away, which will by default, also disallow fighting. You may also do(as someone said) add in a few bonuses for being higher or lower than your enemy.
This can also open up for in-room movement.. add the same things but in a smaller portion, allowing for players to move around in the room, modifying a distanceW, distanceE, etc.(distanceW, distanceE etc. means the distance to the end of the room).
You would also want to modify redit to allow changing of altitude and perhaps modify "look" so that players can look up to see other people flying around. You could even do similar to objects by adding the altitude and modifying can_see_obj.
I may have mistaken in the poster's wishes.. regardless this is still a good idea in my opinion.
Hmm I like this idea :-p I might even consider adding it to my mud haha.
Darkness comes along thy path, searching, wanting, calling wrath,
shadows awaken, release the light, one and only.. here to fight,
challenge the darkness, the shadows they call, hunting the living,
more and all. Roaring thunder, full of hate, a single bound, seals
Alumuble Arda -
*Player owned shops, clans, and housing
*Multiclass & Stat training
*Random mob name generation implemented and Overland mapping.
*Realistic equipment statistics
*Weapon sheaths(scabbards), Throwing weapons
*Automatic crash recovery, saving, and reporting without disconnecting
*Fully customizeable color, Automapper, "Smart" mobiles, Hiscore tables, and more!
Currently running AGE v1.9.6(Originated and modified from Smaug 1.4a)
| top |