Merged with released L2J-Unity files.
This commit is contained in:
9
trunk/dist/game/data/scripts/vehicles/KeucereusNorthController/32606.htm
vendored
Normal file
9
trunk/dist/game/data/scripts/vehicles/KeucereusNorthController/32606.htm
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
<html><body>Flight Device:<br>
|
||||
A floating fragment of stone hovers in front of you, glowing in a pale blue light. It appears to be functioning and undamaged.<br>
|
||||
You have gained access to the flight controls.<br>
|
||||
You can only go to the Seed through a <font color="LEVEL">Seed Teleport Device</font>.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest KeucereusNorthController board">Board the airship</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest KeucereusNorthController summon">Summon the airship</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest KeucereusNorthController register">Request permission to summon the airship (Airship Summoning Permit required)</Button>
|
||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
</body></html>
|
100
trunk/dist/game/data/scripts/vehicles/KeucereusNorthController/KeucereusNorthController.java
vendored
Normal file
100
trunk/dist/game/data/scripts/vehicles/KeucereusNorthController/KeucereusNorthController.java
vendored
Normal file
@@ -0,0 +1,100 @@
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package vehicles.KeucereusNorthController;
|
||||
|
||||
import com.l2jmobius.gameserver.enums.Movie;
|
||||
import com.l2jmobius.gameserver.model.Location;
|
||||
import com.l2jmobius.gameserver.model.VehiclePathPoint;
|
||||
|
||||
import vehicles.AirShipController;
|
||||
|
||||
public final class KeucereusNorthController extends AirShipController
|
||||
{
|
||||
private static final int DOCK_ZONE = 50602;
|
||||
private static final int LOCATION = 100;
|
||||
private static final int CONTROLLER_ID = 32606;
|
||||
|
||||
private static final VehiclePathPoint[] ARRIVAL =
|
||||
{
|
||||
new VehiclePathPoint(-183218, 239494, 2500, 280, 2000),
|
||||
new VehiclePathPoint(-183218, 239494, 1336, 280, 2000)
|
||||
};
|
||||
|
||||
private static final VehiclePathPoint[] DEPART =
|
||||
{
|
||||
new VehiclePathPoint(-183218, 239494, 1700, 280, 2000),
|
||||
new VehiclePathPoint(-181974, 235358, 1700, 280, 2000)
|
||||
};
|
||||
|
||||
private static final VehiclePathPoint[][] TELEPORTS =
|
||||
{
|
||||
{
|
||||
new VehiclePathPoint(-183218, 239494, 1700, 280, 2000),
|
||||
new VehiclePathPoint(-181974, 235358, 1700, 280, 2000),
|
||||
new VehiclePathPoint(-186373, 234000, 2500, 0, 0)
|
||||
},
|
||||
{
|
||||
new VehiclePathPoint(-183218, 239494, 1700, 280, 2000),
|
||||
new VehiclePathPoint(-181974, 235358, 1700, 280, 2000),
|
||||
new VehiclePathPoint(-206692, 220997, 3000, 0, 0)
|
||||
},
|
||||
{
|
||||
new VehiclePathPoint(-183218, 239494, 1700, 280, 2000),
|
||||
new VehiclePathPoint(-181974, 235358, 1700, 280, 2000),
|
||||
new VehiclePathPoint(-235693, 248843, 5100, 0, 0)
|
||||
}
|
||||
};
|
||||
|
||||
private static final int[] FUEL =
|
||||
{
|
||||
0,
|
||||
50,
|
||||
100
|
||||
};
|
||||
|
||||
public KeucereusNorthController()
|
||||
{
|
||||
addStartNpc(CONTROLLER_ID);
|
||||
addFirstTalkId(CONTROLLER_ID);
|
||||
addTalkId(CONTROLLER_ID);
|
||||
|
||||
_dockZone = DOCK_ZONE;
|
||||
addEnterZoneId(DOCK_ZONE);
|
||||
addExitZoneId(DOCK_ZONE);
|
||||
|
||||
_shipSpawnX = -184145;
|
||||
_shipSpawnY = 242373;
|
||||
_shipSpawnZ = 3000;
|
||||
|
||||
_oustLoc = new Location(-183900, 239384, 1320);
|
||||
|
||||
_locationId = LOCATION;
|
||||
_arrivalPath = ARRIVAL;
|
||||
_departPath = DEPART;
|
||||
_teleportsTable = TELEPORTS;
|
||||
_fuelTable = FUEL;
|
||||
|
||||
_movie = Movie.LAND_KSERTH_B;
|
||||
|
||||
validityCheck();
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
new KeucereusNorthController();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user