maped thread - now even more difficult to use than ever

"eventually EUO will get to the point its (sic) unplayable" - Dudle

Moderator: EUO Moderators

Re: maped thread - now even more difficult to use than ever

Postby LordMortiferus » Tue Feb 20, 2018 3:55 am

Keighn wrote:Going to have options for 2x2 or 3x3 terrain? Mort prolly has done this along with tinting.


You can hack a mob into 2x2 terrain. There is a 2x2 tree at the beginning of ToLS and I probably have a screenshot in the Carnival Carnage thread with a complete 2x2 environment. This is not without flaws though.

Here is the code used in ToLS:
Code: Select all
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) -- removes hp bar
   m:set_base_ac(9)
   m:set_magic_resistance(99)
   m.hp = 999
   m.xp_kill = 0
   m.treasure = 0x0
   
end
User avatar
LordMortiferus
MACRO > me
 
Posts: 848
Joined: Tue Dec 01, 2009 10:23 pm

Re: maped thread - now even more difficult to use than ever

Postby Keighn » Tue Feb 20, 2018 4:00 am

Any sprites colliding? I think with 2x2 mobs the bottom left (x,y axis) is the point of origin. I would have to look at screenshot on overlapping mobs (aka wand of polymorph usage). I don't think the game has crashed because of this. Not sure how it affect water travel, klimbing, or blinking.
User avatar
Keighn
Stop posting already --;
 
Posts: 5267
Joined: Sat Jun 26, 2004 10:13 am
Location: Hey.... pssttt Back in Orgeon

Re: maped thread - now even more difficult to use than ever

Postby LordMortiferus » Tue Feb 20, 2018 4:13 am

The point of origin should be in the upper left corner.
The image I mentioned before can be found here.
User avatar
LordMortiferus
MACRO > me
 
Posts: 848
Joined: Tue Dec 01, 2009 10:23 pm

Re: maped thread - now even more difficult to use than ever

Postby LordMortiferus » Sat Feb 24, 2018 7:18 pm

Egg, could you please add crops/flowers to the maped item list.
User avatar
LordMortiferus
MACRO > me
 
Posts: 848
Joined: Tue Dec 01, 2009 10:23 pm

Re: maped thread - now even more difficult to use than ever

Postby LordMortiferus » Sat Feb 24, 2018 7:51 pm

I just noticed it is possible to add glowing maptiles by adding those as items with the 0x43d item code in conjunction with mythic and named supplements to the code :lesson: .
glowingmtiles.png

In the picture above you see glowing crenelation, darkness and mirror maptiles. Keep in mind that those item/tiles block movement. View is blocked if the maptile has bv set to 1.
I do like the mirror but I am not sure what the other tiles might be used for.

Edit: another restriction is that only 2 digit maptiles are supported.

Example:
XXYY43d.ZZ.Name

XX = maptile hex code
YY = material tint hex code
43d = item code for maptile
ZZ = mythic hex code
Name = string for named item
You do not have the required permissions to view the files attached to this post.
User avatar
LordMortiferus
MACRO > me
 
Posts: 848
Joined: Tue Dec 01, 2009 10:23 pm

Re: maped thread - now even more difficult to use than ever

Postby LordMortiferus » Sat Feb 24, 2018 8:54 pm

In case anyone was wondering what happens if you walk from one region into another (meta mapping).

Here is an example from Mapped:
metamapping.png

Note that the region contains the walls but not the doors. From outside the region you see only rooftop tiles where the region is, because the maptile in position 0'0" is a rooftop maptile. From within the region you also see rooftop tiles beyond its borders where the doors are, everything else is blocked by the walls, which are hidden behind barriers in this case (probably not the best example...).
Image

In the example I used the rooftop tiles to make it more visible, in the actual map I am using darkness maptiles as these look better from the inside of the region (click for gif). Why did I do this in the first place you might ask - the answer is to hide the barriers.
You do not have the required permissions to view the files attached to this post.
User avatar
LordMortiferus
MACRO > me
 
Posts: 848
Joined: Tue Dec 01, 2009 10:23 pm

Re: maped thread - now even more difficult to use than ever

Postby eggmceye » Sun Feb 25, 2018 10:04 am

new version adds pseudo items for torsten
please don't use pseudo items in your maps without consulting an expert first

+ bugfix to palette
User avatar
eggmceye
hello
 
Posts: 10276
Joined: Mon Mar 11, 2002 3:55 pm
Location: Sydney, Australia

Re: maped thread - now even more difficult to use than ever

Postby LordMortiferus » Sun Feb 25, 2018 2:11 pm

Thanks!
User avatar
LordMortiferus
MACRO > me
 
Posts: 848
Joined: Tue Dec 01, 2009 10:23 pm

Re: maped thread - now even more difficult to use than ever

Postby LordMortiferus » Wed Mar 21, 2018 3:28 am

Max do you discourage the use of the item 0x420 a lightsource?
User avatar
LordMortiferus
MACRO > me
 
Posts: 848
Joined: Tue Dec 01, 2009 10:23 pm

Re: maped thread - now even more difficult to use than ever

Postby eggmceye » Wed Mar 21, 2018 10:28 am

It's fine I think
User avatar
eggmceye
hello
 
Posts: 10276
Joined: Mon Mar 11, 2002 3:55 pm
Location: Sydney, Australia

Re: maped thread - now even more difficult to use than ever

Postby LordMortiferus » Thu Mar 29, 2018 11:12 pm

Max could you please make the copy function for items also work with special tints and named items. At the moment special tints and names are lost when pasting items.
User avatar
LordMortiferus
MACRO > me
 
Posts: 848
Joined: Tue Dec 01, 2009 10:23 pm

Re: maped thread - now even more difficult to use than ever

Postby LordMortiferus » Fri Mar 30, 2018 6:29 pm

Here is a preview of what I am doing using named items:

*SPOILERS* maybe...
User avatar
LordMortiferus
MACRO > me
 
Posts: 848
Joined: Tue Dec 01, 2009 10:23 pm

Re: maped thread - now even more difficult to use than ever

Postby Keighn » Sat Mar 31, 2018 5:25 am

Anyone work with the unity engine?
I saw this recently:
http://ultimacodex.com/2017/04/uultima- ... s-tribute/

Also note Pix patched his patcher for the ultima 3 project. You can play gog's entry on a Ultima 1 map.
ZUPS!!!!
User avatar
Keighn
Stop posting already --;
 
Posts: 5267
Joined: Sat Jun 26, 2004 10:13 am
Location: Hey.... pssttt Back in Orgeon

Re: maped thread - now even more difficult to use than ever

Postby Kynt » Tue Apr 10, 2018 5:02 am

I'm wondering, is the map # limit really 300 or can it be any number? I think egg mentioned map instances being created on numbers 300+, but would a number 1000 map work?

EDIT: on another note, is it possible to create quest-chains through script? As in quests registered to the player, logged in the /q command etc.
I've seen the quest API scripts but no idea how quests themselves are created (noticed the quests folder in sv).
User avatar
Kynt
LAUGHING OUT LOUD LIKE A MORON
 
Posts: 53
Joined: Wed Feb 18, 2015 9:04 am

Re: maped thread - now even more difficult to use than ever

Postby eggmceye » Tue Apr 10, 2018 5:56 pm

Kynt wrote:I'm wondering, is the map # limit really 300 or can it be any number? I think egg mentioned map instances being created on numbers 300+, but would a number 1000 map work?

EDIT: on another note, is it possible to create quest-chains through script? As in quests registered to the player, logged in the /q command etc.
I've seen the quest API scripts but no idea how quests themselves are created (noticed the quests folder in sv).


the map limit is hard coded at 300, and yeh after that those numbers are reserved for instnaces. but I can always increase that number - it's just a const in a .h file somewhere

scripted quest chains, maybe? but not done: there is a old windows app me and someone else made to edit quests. quests are their own file format. it's all very ugly. all separate from maped & lua !

Keighn wrote:Anyone work with the unity engine?
I saw this recently:
http://ultimacodex.com/2017/04/uultima- ... s-tribute/

Also note Pix patched his patcher for the ultima 3 project. You can play gog's entry on a Ultima 1 map.


yes I have used unity, have you seen this? it is done in unity


LordMortiferus wrote:Here is a preview of what I am doing using named items:

*SPOILERS* maybe...


is it a named 'that item that can resemble any map tile ' ? it's a good hack and looks p sweet

LordMortiferus wrote:Max could you please make the copy function for items also work with special tints and named items. At the moment special tints and names are lost when pasting items.


yeh sure, I'll file it in the bottom of my mind to be remembered in 2 years LAUGHING OUT LOUD LIKE A MORON
User avatar
eggmceye
hello
 
Posts: 10276
Joined: Mon Mar 11, 2002 3:55 pm
Location: Sydney, Australia

Re: maped thread - now even more difficult to use than ever

Postby LordMortiferus » Wed Apr 11, 2018 5:26 am

eggmceye wrote:is it a named 'that item that can resemble any map tile ' ? it's a good hack and looks p sweet

Yeah it is a named item of a void maptile 0xe10043d..void. However, some maptiles have 3 digits and can not be used as items.
User avatar
LordMortiferus
MACRO > me
 
Posts: 848
Joined: Tue Dec 01, 2009 10:23 pm

Re: maped thread - now even more difficult to use than ever

Postby eggmceye » Wed Apr 11, 2018 12:39 pm

new vers (109) for Torsten who needs extended item codes to work properly, and other stuff for me
User avatar
eggmceye
hello
 
Posts: 10276
Joined: Mon Mar 11, 2002 3:55 pm
Location: Sydney, Australia

Re: maped thread - now even more difficult to use than ever

Postby DUTCHMAN » Thu Apr 12, 2018 7:59 am

Is there a way to turn lava into blood...or is there a blood TILE. Right now I am using Lava and putting blood on top of it. I wonder if anyone came up with a tile for that.


Edit: more or less looking for a way to turn water and deep water red. I tried paintset put that wasnt really working. I need to know the way to CHANGE a color of a tile
User avatar
DUTCHMAN
LAUGHING OUT LOUD LIKE A MORON
 
Posts: 74
Joined: Sat Oct 09, 2010 2:51 am

Re: maped thread - now even more difficult to use than ever

Postby eggmceye » Thu Apr 12, 2018 8:23 am

I could add one if you desperately wanted it ...
otherwise you can tint an item, if it's png gfx is perfect greyscale ... but can't tint land tiles without hacking them into items .. and a greyscale water doesn't exist anyway
User avatar
eggmceye
hello
 
Posts: 10276
Joined: Mon Mar 11, 2002 3:55 pm
Location: Sydney, Australia

Re: maped thread - now even more difficult to use than ever

Postby DUTCHMAN » Thu Apr 12, 2018 8:32 am

My idea for the map im trying out is to have blood tiles. And maybe a "deep" blood tile like what water tiles have.

So yes, if you could that would be awesome LAUGHING OUT LOUD LIKE A MORON.
User avatar
DUTCHMAN
LAUGHING OUT LOUD LIKE A MORON
 
Posts: 74
Joined: Sat Oct 09, 2010 2:51 am

PreviousNext

Return to EUO Development

Who is online

Users browsing this forum: No registered users and 1 guest