Modding 101 - For Beginners

Discussion forum for Devil Whiskey 3rd Party MODS.

Moderator: Admin

User avatar
Growler
Necrolord
Posts: 1740
Joined: Mon Feb 14, 2005 10:37 pm
Location: Sputnik
Contact:

Post by Growler »

Sweet, Dragon..
Especially the fact you're givin' the old mod-dawgs a run for their gold!

And welcome backwards, Mercurial HGamer!
No Contraries : No Progression.
Opposition is true friendship, unless one is opposed to true friendship or (try) Resisting here http://www.cafepress.com/notheresistor
User avatar
dragonbait
Stalker
Posts: 775
Joined: Mon Apr 10, 2006 3:07 pm

Post by dragonbait »

i;'m bumping this thread for reference
User avatar
chaney
Stalker
Posts: 683
Joined: Tue Nov 08, 2005 9:51 am
Location: San Diego

Post by chaney »

I'll second that motion. :lol:
Bring on the Dancing Horses!
User avatar
dragonbait
Stalker
Posts: 775
Joined: Mon Apr 10, 2006 3:07 pm

Re: Modding 101 - For Beginners

Post by dragonbait »

origen wrote:draw it out on Graph Paper (ideally without being numbered initially, in case you want to use wrap-around magic.)
I'm thinking of using wrap around magic on one of the levels. Is there an easy way to do this? or would i need to place a script onto every square around the edges of the map? :?:
User avatar
origen
Dark Sidhe Lord
Posts: 903
Joined: Thu Feb 10, 2005 5:54 pm
Location: Secret League of Nirulat Headquarters
Contact:

Post by origen »

Here is my method, which works, but is not necessarily simple.

1. I created a script, where all it does is return 0

2. around the border of my map, I created a script in the event file, where the return destination is on the other side of the map, where you would wrap around to.

Since this was consistent for all my maps (all 22x22), I just created this once, and copied and pasted the events for each new map.

As is, it will function exactly as you want, but if you play it, it will not look good, since the other side of the map will just appear in front of you, as opposed to you seeing where you are going. To compensate for this, you would need to duplicate anything you can see on one side to the other side.

Here is an example.

My map is 22x22. The map I create in DW is 50x50, to accomidate the extra space around the edges.

My entrance point is 10, 10 (instead of 0, 0)

For the entire line of 9, y, and x, 9 I put the wrap around scripts. I do the same for 32, y and x, 32.

Then, I take everything (walls, floors, etc from line 32, and duplicate it to line 9. 31 to 8, 30 to 7, etc.

That way, when you are looking at one end of the map, you see the other side.

I know I don't always explain it well, but hopefully you understand.
I reject your reality, and substitute my own.
User avatar
dragonbait
Stalker
Posts: 775
Joined: Mon Apr 10, 2006 3:07 pm

Post by dragonbait »

I think I got it. create only one script which returns to 0. Place that one script all along the edges of the map. Then go into the events file and set the ending square to the opposite side for each (teleporting) event. Then make it appear to look the same on each side by copying any wall layout that should be in view from one side to the other. I don't plan on having too much on this level anyways. probably just a few one squared rooms.
User avatar
origen
Dark Sidhe Lord
Posts: 903
Joined: Thu Feb 10, 2005 5:54 pm
Location: Secret League of Nirulat Headquarters
Contact:

Post by origen »

Exactly. I couldn't have said it better myself.
I reject your reality, and substitute my own.
User avatar
Growler
Necrolord
Posts: 1740
Joined: Mon Feb 14, 2005 10:37 pm
Location: Sputnik
Contact:

Post by Growler »

origen wrote:Exactly. I couldn't have said it better myself.
See, Origen can be modest. :D
No Contraries : No Progression.
Opposition is true friendship, unless one is opposed to true friendship or (try) Resisting here http://www.cafepress.com/notheresistor
Post Reply