Moderator: EUO Moderators
I wouldn't worry about the whole non-linear-open-world thing. We all like to explore and the mini map we now have makes it a lot easier to keep track of one's place. ( remember when that didn't exist? )
The mini map was introduced before my time XD - However, I had EUO bookmarked for a long time prior, but never got around installing it until 2009 after my diploma exams.Djanno wrote: We all like to explore and the mini map we now have makes it a lot easier to keep track of one's place. ( remember when that didn't exist? )
That 2x2 maptile is actually a hack of some sorts, by giving a 2x2 mob a maptile avatar and removing the healthbar by setting max HP to zero. Here is the script for it, though I might change the heartbeat function later:1[WoWz] wrote:That 2x2 map tile looks awesome. It would be nice if maped had built in support for 2x2 tiles like that.
Code: Select all
-- this function is a hack to creat a 2x2 maptile -- as such a mob is converted to a maptile -- healthbar is removed by setting max hp to 0 while hp > 1 (for instances this is done in a heartbeat) -- there might be different ways but meh.. function tols_tree_init(m) m:set_align(ALIGN_NEUTRAL) m:set_name("") m.tamable = false m.immobile = true m.large = true m.code = 0x350043d m:set_hp_max(0) m:set_base_ac(9) m:set_magic_resistance(99) m.hp = 999 m.heartbeat_func="tols_tree_actions" m.death_func="tols_tree_dies" m.xp_kill = 0 m.treasure = 0x0 end -- This Heartbeat will hide the mobs healthbar and makes it invincible function tols_tree_actions(m) if m.hp <= 999 then return end m:set_hp_max(0) m.hp = 999 end -- Tree drops lumber when chopped down function tols_tree_dies(m) map=get_map_ptr(m.map_level) local sx=m.x local ex=m.x+1 local sy=m.y local ey=m.y+1 for yy=sy,ey do for xx=sx,ex do map:add_item(xx,yy,1,Item(0x115),true) end end end
I was going to ask if it was just a mob but dismissed the idea because of the lack of healthbar. Very interesting though.LordMortiferus wrote:That 2x2 maptile is actually a hack of some sorts, by giving a 2x2 mob a maptile avatar and removing the healthbar by setting max HP to zero.
Even though it lacks a healthbar, can it be attacked and targeted? If so, does it die on the first attack or does it have infinite health? Makes me think it would make a good training dummy haha.
Since you made it a creature first, would it work to give it some kind of permanent invisible stone form? Chopping it down to lumber works too tho. Awesome workLordMortiferus wrote:I have updated the script for the 2x2 tree - You can chop it down into 4 pieces of lumber now. I could not figure out how to make it invincible or disallow attacks from players and evil mobs alike.
- Girls only want boyfriends who have great skills.
- Posts: 793
- Joined: Thu May 06, 2004 8:45 pm
- Location: Oregon!
Destructible terrain! That could prove to be a neat feature in future maps, use an axe to chop down trees that block your way or use a pick on a cracked wall to knock it down!LordMortiferus wrote:I have updated the script for the 2x2 tree - You can chop it down into 4 pieces of lumber now. I could not figure out how to make it invincible or disallow attacks from players and evil mobs alike.
@Bugbo: Destructible terrain, foremost on random maps, should be feasible by modifying the current mining script.
thank you morty!
I remember when this thread was made, I'm giddy with excitement.eggmceye wrote:I can confirm that I have the map and the scripts and about 2000 words of notes and will be making it & apoc new sos (such as it is, incomplete) live asap
thank you morty!
- egg has really fucked this game up :(
- Posts: 1130
- Joined: Tue Aug 09, 2005 2:06 am
- Location: Ohio
Dudle drew first blood finding a bug. The two headed cows in tols are over powered atm - better stay clear of them. They are 30 times stronger than they used to be. I have mailed egg about.
Maybe one word to my beloved PD players - The map could be unbalanced and especially the various scripted bosses may hit hard, so please be cautious and feel free to send me pm's if you have any questions.
If you guys find further bugs post them here or in the bug forum. Also I am eager to hear from you guys what references to books/science/movies/games/comics you find on the map.