Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Level Design (https://forums.graalonline.com/forums/forumdisplay.php?f=6)
-   -   Pesky Fence (https://forums.graalonline.com/forums/showthread.php?t=69442)

Drakeero 10-16-2006 12:29 AM

Pesky Fence
 
There's this single block of wooden fence. It's not something a player put down, it can't be destroyed, it draws over the player, you can walk through it, and worst of all the editor doesn't even realize its there. I can't even select it and delete it. It's as if its a permanent part of the terrain. If I lower the land around, it just floats on top of the water. It floats on top of other buildings. It draws over everything, it's not even like I can put something else ontop of it to hide it.

How do I get RID of that thing? It's in the way, it's an eyesore, but I can't select it in the editor.

_Z3phyr_ 10-16-2006 12:41 AM

A screenshot would be great man.

Just on the off-chance you don't know how so I don't have to post again if you say "How do I do that?":
Press PrntScrn (usually just to the right of your F12 button) and open MSPaint or something and then Ctrl+V to paste. Save it and upload it to imageshack.us and then copy/paste the link here.

Drakeero 10-16-2006 12:58 AM

http://img153.imageshack.us/img153/7...edfencecp9.png

Hope that works, I've never used imageshack before.

Drakeero 10-16-2006 01:25 AM

Tired of waiting for someone to come ambling back at their own leisure so I'm double posting.

By using "edit as text" I think I found the offending NPC and here's what I believe to be the scripting for it.

NPC fences_woodh.png 57 50
if (created)
drawoverplayer;
//#CLIENTSIDE
if (created || playerenters) {
setarray this.shape,5*3;
for (cx = 0;cx<5;cx++) for (cy = 2;cy<3;cy++)
this.shape[cx+cy*5] = 22;
setshape2 5,3,this.shape;
}
NPCEND


Can I safetly delete this to remove that annoying fence peice you see in the above image?

Draenin 10-16-2006 01:30 AM

Try opening the file in worpad and deleting the NPC manually there.

Edit: Yeah, that's the one.

Drakeero 10-16-2006 01:31 AM

Yeah, that's what I'm trying, I just want to know if that looks like the entire script for thing. Can I delete it and reupload it without destroying all of kingdoms debug? <sarcastic> (meaning can that peice of script be cleanly deleted without causing a bug?)

maximus_asinus 10-16-2006 05:17 AM

Yes, everything between NPC and NPCEND is the code for that single NPC. Deleting that text will remove the NPC from the level.

Draenin 10-16-2006 05:30 AM

Just cut out the stuff between NPC and NPCEND and paste it into a text file or something if you need to use it later. Kingdoms has about a billion of those fences, though, so you shouldn't have to worry.

Admins 10-16-2006 06:43 PM

It is an invalid script though which will not work online anyway (because of the use of this.shape). Normally you should not find that script anywhere on kingdoms.
Replace the script with:

PHP Code:

join fences_woodh



All times are GMT +2. The time now is 03:20 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.