Sweet, Dragon..
Especially the fact you're givin' the old mod-dawgs a run for their gold!
And welcome backwards, Mercurial HGamer!
Modding 101 - For Beginners
Moderator: Admin
No Contraries : No Progression.
Opposition is true friendship, unless one is opposed to true friendship or (try) Resisting here http://www.cafepress.com/notheresistor
Opposition is true friendship, unless one is opposed to true friendship or (try) Resisting here http://www.cafepress.com/notheresistor
- dragonbait
- Stalker
- Posts: 775
- Joined: Mon Apr 10, 2006 3:07 pm
- dragonbait
- Stalker
- Posts: 775
- Joined: Mon Apr 10, 2006 3:07 pm
Re: Modding 101 - For Beginners
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?origen wrote:draw it out on Graph Paper (ideally without being numbered initially, in case you want to use wrap-around magic.)
- origen
- Dark Sidhe Lord
- Posts: 903
- Joined: Thu Feb 10, 2005 5:54 pm
- Location: Secret League of Nirulat Headquarters
- Contact:
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.
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.
- dragonbait
- Stalker
- Posts: 775
- Joined: Mon Apr 10, 2006 3:07 pm
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.
See, Origen can be modest.origen wrote:Exactly. I couldn't have said it better myself.
No Contraries : No Progression.
Opposition is true friendship, unless one is opposed to true friendship or (try) Resisting here http://www.cafepress.com/notheresistor
Opposition is true friendship, unless one is opposed to true friendship or (try) Resisting here http://www.cafepress.com/notheresistor