Mirage Source

Free ORPG making software.
It is currently Thu Mar 28, 2024 9:55 am

All times are UTC


Forum rules


Make sure your tutorials are kept up to date with the latest MS4 releases.



Post new topic Reply to topic  [ 1595 posts ]  Go to page 1, 2, 3, 4, 5 ... 64  Next
Author Message
 Post subject: Roof Tile addon.
PostPosted: Mon Feb 16, 2009 2:44 pm 
Offline
Knowledgeable
User avatar

Joined: Fri Feb 02, 2007 4:50 am
Posts: 263
Location: usa michigan centriville
you do not appreciate no one.

_________________
Fuck? I really joined in 2006.
Spirea, Chat Rooms, Discussions, Help. everything you need in one spot.
http://spirean.com
I love my computer, you never ask for more, you can be my princess or be my whore


Last edited by genusis on Fri May 29, 2009 2:58 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Roof Tile addon.
PostPosted: Tue Feb 17, 2009 7:38 am 
Offline
Persistant Poster
User avatar

Joined: Wed Nov 29, 2006 11:25 pm
Posts: 860
Location: Ayer
Hmm what? So basically this is like RS styled houses? Walk under and the roof disappears?

_________________
Image


Top
 Profile  
 
 Post subject: Re: Roof Tile addon.
PostPosted: Tue Feb 17, 2009 12:44 pm 
Offline
Knowledgeable
User avatar

Joined: Fri Feb 02, 2007 4:50 am
Posts: 263
Location: usa michigan centriville
yes, it is like Runescape roof tiles but i didn't make it after there's its is a bit different as there fade away. these just disappear instantly.

_________________
Fuck? I really joined in 2006.
Spirea, Chat Rooms, Discussions, Help. everything you need in one spot.
http://spirean.com
I love my computer, you never ask for more, you can be my princess or be my whore


Top
 Profile  
 
 Post subject: Re: Roof Tile addon.
PostPosted: Tue Feb 17, 2009 2:16 pm 
Offline
Knowledgeable
User avatar

Joined: Sat Dec 30, 2006 9:09 am
Posts: 252
Nice. :D
Its a really useful feature.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Roof Tile addon.
PostPosted: Tue Feb 17, 2009 2:38 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Jul 24, 2008 6:42 am
Posts: 703
Google Talk: infectiousbyte@gmail.com
Rory wrote:
Nice. :D
Its a really useful feature.


This.

Thanks for the tut.

_________________
Image
GIAKEN wrote:
Since I'm into men, not women

GIAKEN wrote:
I can't take these huge penises anymore! All that's left is shame! And blood


Top
 Profile  
 
 Post subject: Re: Roof Tile addon.
PostPosted: Tue Feb 17, 2009 4:36 pm 
Offline
Knowledgeable
User avatar

Joined: Fri Feb 02, 2007 4:50 am
Posts: 263
Location: usa michigan centriville
your all welcomed. I might come out with more tutorials who knows haha.

_________________
Fuck? I really joined in 2006.
Spirea, Chat Rooms, Discussions, Help. everything you need in one spot.
http://spirean.com
I love my computer, you never ask for more, you can be my princess or be my whore


Top
 Profile  
 
 Post subject: Re: Roof Tile addon.
PostPosted: Tue Feb 17, 2009 5:46 pm 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
And horribly bloated. Adding 1/4 the overall size of the maps onto them again. I can't think of a single person who can't make a roof using fringe tiles. Not only that, but re-checking the damn thing every bloody loop is insane, as you could easily make this by having a couple of attributes at each doorway, and when you walk over these tiles, have the roof turn on/off.

I'm seriously wondering about your programming skill, as when I explained my method of doing it you said that your method was a quicker and less painful way of going about it.

All I see here is a Chaos worthy feature.

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
 Post subject: Re: Roof Tile addon.
PostPosted: Wed Feb 18, 2009 1:11 pm 
Offline
Knowledgeable
User avatar

Joined: Fri Feb 02, 2007 4:50 am
Posts: 263
Location: usa michigan centriville
ha ha ha i just wanted to make something fast and that was the fastest way to do it. other than that ya it does need more optimizations witch i will work on and release when i get them done, i don't have as much free time as i use to. And i hate chaos.

i wasn't ling when i said a quicker and less painful way of going about it. but i never said it was a good way of doing it we talk about it and i even told you it did loop threw and you did say that i could fix it by making an attribute to make it disappear. but i never got around to doing that yet. but i did tell you the truth i did a quick less painful way of doing it.

_________________
Fuck? I really joined in 2006.
Spirea, Chat Rooms, Discussions, Help. everything you need in one spot.
http://spirean.com
I love my computer, you never ask for more, you can be my princess or be my whore


Last edited by genusis on Wed Feb 18, 2009 3:34 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Roof Tile addon.
PostPosted: Wed Feb 18, 2009 1:26 pm 
Offline
Pro
User avatar

Joined: Tue Nov 13, 2007 2:42 pm
Posts: 509
It would be much faster to do it Robins' way.


Top
 Profile  
 
 Post subject: Re: Roof Tile addon.
PostPosted: Wed Feb 18, 2009 3:29 pm 
Offline
Knowledgeable
User avatar

Joined: Fri Feb 02, 2007 4:50 am
Posts: 263
Location: usa michigan centriville
yes i know it would be faster. but I'm waiting for DFA to get the tiles calculated better before i add more to it .

_________________
Fuck? I really joined in 2006.
Spirea, Chat Rooms, Discussions, Help. everything you need in one spot.
http://spirean.com
I love my computer, you never ask for more, you can be my princess or be my whore


Top
 Profile  
 
 Post subject: Re: Roof Tile addon.
PostPosted: Wed Feb 18, 2009 3:51 pm 
Offline
Pro
User avatar

Joined: Tue Nov 13, 2007 2:42 pm
Posts: 509
Code:
Public LookUpTileRec(MAX_INTEGER) As DxVBLib.RECT


Code:
Dim i As Long
Dim tempRec As DxVBLib.RECT

    For i = 0 To MAX_INTEGER
        With tempRec
            .Top = (i \ 13) * PIC_Y
            .Bottom = .Top + PIC_Y
            .Left = (i Mod 13) * PIC_X
            .Right = .Left + PIC_X
        End With
        LookUpTileRec(i) = tempRec
    Next


Code:
Ground = Map.Tile(X, Y).Ground

DD_BackBuffer.BltFast ConvertMapX(X) * PIC_X, ConvertMapY(Y) * PIC_Y, DD_TileSurf, LookUpTileRec(Ground), DDBLTFAST_WAIT Or DDBLTFAST_SRCCOLORKEY


There's a look up table for your tiles. Modify it for MS4.


Top
 Profile  
 
 Post subject: Re: Roof Tile addon.
PostPosted: Wed Dec 01, 2021 8:35 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456132
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинйоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоsemiasphalticflux.ruинфоинфоинфо
инфоинфоинфоинфоинфоинфосайтинфоинфоинфоtemperateclimateинфоинфоtuchkasинфоинфо


Top
 Profile  
 
 Post subject: Re: Roof Tile addon.
PostPosted: Sun Jan 02, 2022 9:26 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456132
Econ


Top
 Profile  
 
 Post subject: Re: Roof Tile addon.
PostPosted: Sun Jan 02, 2022 9:27 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456132
77.8


Top
 Profile  
 
 Post subject: Re: Roof Tile addon.
PostPosted: Sun Jan 02, 2022 9:28 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456132
Bett


Top
 Profile  
 
 Post subject: Re: Roof Tile addon.
PostPosted: Sun Jan 02, 2022 9:29 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456132
Bett


Top
 Profile  
 
 Post subject: Re: Roof Tile addon.
PostPosted: Sun Jan 02, 2022 9:31 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456132
Anne


Top
 Profile  
 
 Post subject: Re: Roof Tile addon.
PostPosted: Sun Jan 02, 2022 9:32 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456132
Bimd


Top
 Profile  
 
 Post subject: Re: Roof Tile addon.
PostPosted: Sun Jan 02, 2022 9:33 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456132
Imti


Top
 Profile  
 
 Post subject: Re: Roof Tile addon.
PostPosted: Sun Jan 02, 2022 9:34 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456132
Defo


Top
 Profile  
 
 Post subject: Re: Roof Tile addon.
PostPosted: Sun Jan 02, 2022 9:35 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456132
Char


Top
 Profile  
 
 Post subject: Re: Roof Tile addon.
PostPosted: Sun Jan 02, 2022 9:36 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456132
Assa


Top
 Profile  
 
 Post subject: Re: Roof Tile addon.
PostPosted: Sun Jan 02, 2022 9:37 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456132
Elec


Top
 Profile  
 
 Post subject: Re: Roof Tile addon.
PostPosted: Sun Jan 02, 2022 9:38 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456132
Juic


Top
 Profile  
 
 Post subject: Re: Roof Tile addon.
PostPosted: Sun Jan 02, 2022 9:39 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456132
Them


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1595 posts ]  Go to page 1, 2, 3, 4, 5 ... 64  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group