Page 1 of 1

DON'T FREAKIN' USE VILLAGE FENCE DOORS!!!

Posted: Wed Sep 18, 2002 12:02 pm
by Max-Violence
'Cause they can CRASH YOUR MAP!!!

Here's what I did:

1) Open up my map.

2) Place a Doors -> Village -> Fence entity in the map. Make it white (i.e. click and drag both sliders of the door's first color layer all the way to the right), Locked with 75 entered in the "chance to unlock" field, check/tick Lockable, animation rotation 1, and a Trap of a customized grenadeTrap entity (all I did was boost the damage - haven't had problems with it so far).

3) Copy/paste the door and place it where I want it.

4) Save

5) Hit Ctrl+O, double-click the map to open it up, and BOOM it crashes.

6) "Tiles only" open the map, and wonder as to why in the hell the freakin' Village fence door crashed the freakin' map.

7) Post a warning on the DaC mapping/modding forum.

8 ) Go back to the map and further test my little situation out.

I'll edit/update this post as I do more experiments.

Well, I WAS going to bed...

Update #1: I just tried it again, and it crashed again. More in a minute...

Update #2: This time, I moved the 2nd door to a different spot on the map. Crashed.

Update #3: Woa, we have a series problem. Here's the lowdown:
  • If you don't Trap it (I used both the normal grenateTrap entity and my modified one - both had the same results) and copy/paste it, everything's good.

    If you Trap the door THEN copy/paste it, it'll crash when you try and open the map.

    If you copy/paste the non-trapped door, then Trap the "original" door, it'll crash.

    If you Trap the door, and don't copy/paste it, it works.
Further updates as events warrant...

Update #4: I tried it using the Junk Brown Door entity, and it crashed when using the "trap, copy, paste, save, open" method.

Note that I've made every door in this little experiment white, Locked, 75 unlock penalty, Lockable, and animation rotation 1.

I'm pretty sure the problem lies with the trapping of the door and the copy/pasting of said door...

Update #5: Using Junk Brown Door, I used the electroTrap entity instead of the grenadeTrap entity (both unmodified), and it crashed. Gonna try and copy/paste the Trapped door, then remove the Trap from the copied door... *crosses fingers*

Update #6: Shit...

Update #7: Tried "copy, paste, trap original door." Crashed. Tried "copy, paste, trap copied door" - crashed.

Remember, if you copy/paste the door and leave 'em both un-trapped, it works.

Update #8: Tried it again, this time without changing ANYTHING about the door EXCEPT trapping it. Crashed when the "trap, copy, paste, save, open" method (i.e. the most common way to make more than 1 trapped door).

Now I'm gonna try and Trap the door, then make another version of the door manually (i.e. not using copy/paste). I hope this works...

Update #9 Success!!!

Note to self: If I Trap a door, DON'T GODDAMN COPY/PASTE IT!!!

This post sure turned out to be a "journal of a madman," didn't it? :D

Bedtime!
Max-Violence wrote:Bedtime!
Well, almost... Here's the moral of the story:

1) Don't copy/paste a trapped door, and

2) Don't trap a door if there's a copy of it somewhere on the map.

Posted: Wed Sep 18, 2002 12:50 pm
by Forty-six & Two
Arh... More bugs. Lovely. Well thanks for mentioning :) :?

Hope its just your version of the editor.... :twisted:. j/k Hehe. :wink:

Oh well, gota got to school. Funny. Youre about to go to bed, im going to school, time zones are funny..... or you just have bad sleeping habits :lol:

Posted: Wed Sep 18, 2002 12:58 pm
by Max-Violence
Forty-six & Two wrote:Arh... More bugs. Lovely. Well thanks for mentioning :) :?
No problem :D
Forty-six & Two wrote:Hope its just your version of the editor.... :twisted:. j/k Hehe. :wink:
Better not be! :P
Forty-six & Two wrote:Oh well, gota got to school. Funny. Youre about to go to bed, im going to school, time zones are funny..... or you just have bad sleeping habits :lol:
Uh, both? :D

Posted: Wed Sep 18, 2002 1:21 pm
by Red
I've noticed Copy/pasting behaing VERY weirdly for entities.

I now just NEVER copy paste anything, and this just confirms my suspicions...

Well, I might still use it for waypoints but well, I never fiddled with that yet :)

Posted: Wed Sep 18, 2002 9:49 pm
by OnTheBounce
Red wrote:I now just NEVER copy paste anything, and this just confirms my suspicions...
I've never had a problem w/it. I actually use it quite liberally, although I've never used a trapped item before. (What can I say, I prefer mines to trapped chests? :P )
Red wrote:Well, I might still use it for waypoints but well, I never fiddled with that yet :)
I've had absolutely no problems w/that. In fact, if I do start to have problems w/it I'll just have nothing but static enemies since WPs are a major pain in the arse to do w/o the comfort of c-'n'-p and adjusting the WP numbers w/each one you paste. (I'm kidding about the stationary entities bit. I'd actually just cry as I placed them...)

Edit: Thanks for posting this, Max. I do use copies of doors quite a bit, so I think I'll forgo this little trial you went through. :lol:

OTB

Posted: Thu Sep 19, 2002 12:32 am
by Max-Violence
OnTheBounce wrote:Thanks for posting this, Max. I do use copies of doors quite a bit, so I think I'll forgo this little trial you went through. :lol:
Hey, no problem! Well, it was... but it's fixed now! :D

Now that I've gotten why my map kept crashing, I can finally FINISH the damn thing! *thumbs up*

Posted: Thu Sep 19, 2002 1:10 am
by OnTheBounce
Max-Violence wrote:...but it's fixed now! :D
Um...let's not talk about fixing maps, okay? If you could have seen how much progress I lost yesterday you'd probably be sitting here sobbing right alongside me. :lol:
Max-Violence wrote:Now that I've gotten why my map kept crashing, I can finally FINISH the damn thing! *thumbs up*
Before you do that, here's a word of advice: check out Red's thread on Mountain tiles. I'll be sending you a small map file w/ some examples of somethings that I think would improve your map's aesthetics. (That's really all I have to offer. You seem to has a good grasp of setting up a tactical situation, so I really don't have any pointers there.)

Cheers,

OTB

Posted: Tue Sep 24, 2002 1:01 am
by War Bringer
hahhaha sometimes i think you have way too much time on your hands, MV! :d of course i'm only kidding man. unfortunanty, i've been eaten up by work and school... for quite a long time now... my poor poor unfinished maps.....

Posted: Wed Sep 25, 2002 12:18 am
by Flamescreen
Don't worry WarBringer. After being sidetracked by several things and adding some stuff I wanted I desided to delay still the release of my maps. More on my site when it opens. :D