Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > Code Gallery
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-01-2015, 10:31 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Online Level Link Editor (OLLE)

Hello!

I have created an online level link editor. The purpose is to make it easier to create and link levels in-game.

New Features

1. Quick Linking. Warps you to the destination level where you can place your player where they should be warped to, when done you simply click the 'Link Here' button, fine tune the coordinates and then click Add Link.
2. Re-Warping. Allows you to re-define the warp field location, width and height.
3. Destination Level is now a text box with a drop-down menu that keeps track of the levels you've visited since you turned on the tool.

Install Instructions

Add the script as a weapon on your server. Also update the levelfolders array on the server-side to match your server's folder setup. I set a default one that covers a fairly common/generic set though so it may not be required.

You will also need to give the (npcserver) write access to the level. I.e: rw levels/*.nw

In order to make changes to the levels you will also need write access to the levels as well.

OLLE Usage is automatically logged to logs/olle_log.txt

How to Use

The link editor can be turned on and off by pressing F12 or using the /linkeditor command. Both are easily changed in the script.

Left-click and drag will draw link.

Double-clicking in the boundaries of a link will open the link editor window.

Disclaimers

Changes to links are updated in the level right away so be cautious when editing links.

There is no 'locking-mechanism' so conflicts can occur when two or more people are editing the same links/levels at the same time.

Demo



The Script
Attached Files
File Type: txt olle.txt (23.3 KB, 546 views)
__________________
Quote:
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:41 PM.


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