DON'T FREAKIN' USE VILLAGE FENCE DOORS!!!
Posted: Wed Sep 18, 2002 12:02 pm
'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:
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?
Bedtime!
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.
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.
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?
Bedtime!
Well, almost... Here's the moral of the story:Max-Violence wrote:Bedtime!
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.