If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:
NPCs have IDs and so on, but how do boats/pcs/airships get their textures/models spawned?
How do airships and boats spawn?
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 69
- Joined: Fri Oct 01, 2010 11:57 am
Re: How do airships and boats spawn?
Nobody has any ideas?
- tukune
- Posts: 533
- Joined: Sun Mar 29, 2009 2:35 pm
- Location: Japan
Re: How do airships and boats spawn?
maybe
AirShipController.java
AirShipManager.java
...
AirShipController.java
AirShipManager.java
...
-
- Posts: 69
- Joined: Fri Oct 01, 2010 11:57 am
Re: How do airships and boats spawn?
I've seen thoseIamOR wrote:maybe
AirShipController.java
AirShipManager.java
...
That is not what I am asking.
Where is model picked up from?
In client NPCs can be viewed from Npc viewer. So can players.
But Ships are not NPCs? You can't check them through npc viewer.
So how does java know what to show the client? How Do I just summon or get the model/texture/mesh without the airship object?
- nonom
- L2j Veteran
- Posts: 649
- Joined: Wed Mar 11, 2009 10:34 pm
- Location: Magmeld
Re: How do airships and boats spawn?
Not sure, but Airships and Boats are like static objects and probably they can't be spawned in any place.RogerSmith wrote:I've seen thoseIamOR wrote:maybe
AirShipController.java
AirShipManager.java
...
That is not what I am asking.
Where is model picked up from?
In client NPCs can be viewed from Npc viewer. So can players.
But Ships are not NPCs? You can't check them through npc viewer.
So how does java know what to show the client? How Do I just summon or get the model/texture/mesh without the airship object?
- MELERIX
- L2j Veteran
- Posts: 6667
- Joined: Sat Sep 23, 2006 11:31 pm
- Location: Chile
- Contact:
Re: How do airships and boats spawn?
from client directly.RogerSmith wrote:Where is model picked up from?
these are not npcs, but vehicles objects.RogerSmith wrote:In client NPCs can be viewed from Npc viewer. So can players.
you can't, because are not npcsRogerSmith wrote:But Ships are not NPCs? You can't check them through npc viewer.
by packets, and specific ID, like Doors, Signboards, Thrones, Chairs, etc.RogerSmith wrote:So how does java know what to show the client? How Do I just summon or get the model/texture/mesh without the airship object?
-
- Posts: 69
- Joined: Fri Oct 01, 2010 11:57 am
Re: How do airships and boats spawn?
Right this is a hard concept to grasp.
I've seen practically all airship related files, vehicle as well.
I cannot understand what actually tells the client what to show when someone requests to summon an airship.
Or how the bloody hell a boat appears? What is that particular thing in the client that shows boats and airships to the player?
I've seen practically all airship related files, vehicle as well.
I cannot understand what actually tells the client what to show when someone requests to summon an airship.
Or how the bloody hell a boat appears? What is that particular thing in the client that shows boats and airships to the player?
-
- Posts: 69
- Joined: Fri Oct 01, 2010 11:57 am
Re: How do airships and boats spawn?
So... you know that it's certain packets or whatever but don't know which?
Cmon. Not a big deal is it?
Cmon. Not a big deal is it?
-
- L2j Senior Developer
- Posts: 795
- Joined: Sun Aug 14, 2005 11:27 am
Re: How do airships and boats spawn?
Your best bet would be to look into the vehicle packets currently present in core.
It is "VehicleInfo" for normal boats and "ExAirShipInfo" for, who guessed it? Yes Air ships
Next time you want to search something like this watch at the "com.l2jserver.model.actor.instance" package.
Usually all actor classes have the "sendInfo" method of "L2Object" overwritten, which sends the info you're asking for.
It is "VehicleInfo" for normal boats and "ExAirShipInfo" for, who guessed it? Yes Air ships

Next time you want to search something like this watch at the "com.l2jserver.model.actor.instance" package.
Usually all actor classes have the "sendInfo" method of "L2Object" overwritten, which sends the info you're asking for.
Away cause of a bulding side in my place.
H5 GeoData from Nos & FBIagent
GoD Ch3 Lindvior GeoData from Nos & FBIagent
Yet another Buffer (Freya & HighFive)
Party Teleporter (Freya & HighFive)
FBIagent
H5 GeoData from Nos & FBIagent
GoD Ch3 Lindvior GeoData from Nos & FBIagent
Yet another Buffer (Freya & HighFive)
Party Teleporter (Freya & HighFive)
FBIagent
-
- Posts: 69
- Joined: Fri Oct 01, 2010 11:57 am
Re: How do airships and boats spawn?
Great, thank you.FBIagent wrote:Your best bet would be to look into the vehicle packets currently present in core.
It is "VehicleInfo" for normal boats and "ExAirShipInfo" for, who guessed it? Yes Air ships
Next time you want to search something like this watch at the "com.l2jserver.model.actor.instance" package.
Usually all actor classes have the "sendInfo" method of "L2Object" overwritten, which sends the info you're asking for.