Soggy Socks

Need help with your JScripts? Got questions concerning the DFNs? Come forward, step inside :)
Post Reply
Mindless Automaton
UOX3 Apprentice
Posts: 189
Joined: Wed May 10, 2006 3:48 am
Has thanked: 0
Been thanked: 1 time
Contact:

Soggy Socks

Post by Mindless Automaton »

Xuri wrote: Wed Nov 11, 2020 4:33 pm Maybe you can make use of the onCollide event on some invisible "triggerplates" to detect when the NPC reaches a certain point, and then continue from there? :X
What do you use for triggerplates? is there a particular item or ?

Is there an option to change an impassable tile to passable and I havent seen it?

For example:
sink.png
However I have to tele to the center spot since all those waters are impassable. Impossible?

So I've been playing Red Dead Redemption 2 Online and was like, hey, can I wade through the swamps in Britannia?

So I am thinking I would set my 'ground tiles' at -5 or whatever, then have a passable tile layer at 0 so it looks like I am in the swamp and then have a triggerplate that or something that would add the 'ripples' around the character. (all dyed green to matched swamp of course, but we could do it with water also) Maybe some waves or something when a character moves a particular direction..

and when thats done, alligators hidden under the passable layer to grab you. And thats what's happening at 2am EST when I can't sleep. :P
ford.png
ford.png (6.34 KiB) Viewed 6873 times
Thanks!
Mindless Automaton
Linux - UOX3 - 0.99.5 dev branch
Win10Pro 19042.572 - UOX3 0.99.3a; Razor 1.0.14; Client 7.0.87.11 or 4.0.11c (Patch 0)
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

For "triggerplates", you could use any walkable object with your onCollide script attached to it, which is then hidden from the players using 'set visible 3 (visible to GMs only).

Serverside, it's possible to override the blocking/walkable flags on a tile (or any other flag) via dfndata\maps\tiles.dfn, but the client doesn't care what the server thinks, it follows whatever is specified in its own tiledata.mul. So if you want to make a tile walkable in the client, you probably have to modify the tiledata.

I like your idea of wading through swamps :)
-= Ho Eyo He Hum =-
Post Reply