Jump to content

Vehicles (Dev)


Recommended Posts

  • Replies 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Posted

@Darkruler

yes I am not the author of the patch "fix for ramm spells" (it was a mistake of Tasssadar)

and properly should be so: Update for ram spells by tester20

Thanks for the new vehicle repository.

Posted

there is a small error in the Vehicle.cpp line 768

void Vehicle::Die()

{

for (SeatMap::iterator itr = m_Seats.begin(); itr != m_Seats.end(); ++itr)

if(Unit *passenger = itr->second.passenger)

if(((Creature*)passenger)->isVehicle())

((Vehicle*)passenger)->Dismiss();

RemoveAllPassengers();

+ } <-- is missing

Posted
Wouldn't it be interesting to have a SD2 repository aswell ? I think mamuth and chopper need a SD2 script but not sure :S

What do you want for them?

1. Vehicle + mount? -> I can not help for now

2. Two players to sit on the vehicle? (driver and passenger)

this is possible from a database:

/* Salvaged Chopper */
REPLACE INTO vehicle_seat_data VALUES
(3005, 1),
(3004, 2);

Posted
What do you want for them?

1. Vehicle + mount? -> I can not help for now

2. Two players to sit on the vehicle? (driver and passenger)

this is possible from a database:

/* Salvaged Chopper */
REPLACE INTO vehicle_seat_data VALUES
(3005, 1),
(3004, 2);

can you post this for the mammuth??

Posted
can you post this for the mammuth??

The mammoth is not spawn, but if you want two players to sit, then that's it:

/*Traveler's Tundra Mammoth */
DELETE FROM npc_spellclick_spells WHERE npc_entry in (32633, 32640);
INSERT INTO npc_spellclick_spells VALUES
(32633, 52196, 0, 0, 0, 0);
INSERT INTO npc_spellclick_spells VALUES
(32640, 52196, 0, 0, 0, 0);
REPLACE INTO creature_template_addon VALUES
(32633, 0, 0, 0, 0, 0, 312, NULL, NULL);
REPLACE INTO creature_template_addon VALUES
(32640, 0, 0, 1, 0, 0, 312, NULL, NULL);
REPLACE INTO vehicle_data VALUES
(312, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
/* Grand Ice Mammoth */
DELETE FROM npc_spellclick_spells WHERE npc_entry in (31857);
INSERT INTO npc_spellclick_spells VALUES
(31857, 52196, 0, 0, 0, 0);
REPLACE INTO creature_template_addon VALUES
(31857, 0, 0, 0, 0, 0, 312, NULL, NULL);
REPLACE INTO vehicle_seat_data VALUES
(2764, 1),
(2765, 2);

Or for two passengers only, but this is useless because no one to drive (vehicle + mount not works for now)

/*All Mammoths (two passengers only) */
REPLACE INTO vehicle_seat_data VALUES
(2764, 2),
(2765, 2);

Posted
What do you want for them?

1. Vehicle + mount? -> I can not help for now

Currently there is two way of using the chopper (and mammoth I presume) spawn him using add creature or using it as any other mount. The problem is that if you use it as mount people will not be able to join you. (Or I forgot something during vehicle implementation).

Posted
i tray to get Insider42's repo with vehicle patch , but i can't . i use this command

git clone git://github.com/Darkrulerz/mangos.git Insider42

thanks

git clone git://github.com/Darkrulerz/mangos.git

git checkout -m Insider42

you can't select a branch in a clone

Posted

You could try:

$ git clone -b Insider42 git://github.com/Darkrulerz/mangos.git

This will clone the Insider42 branch at Darkrulerz repository I think ^^

Posted

At me a question, a little not on a theme, but I not in forces to watch the project, work and etc, but whether double specialisation and vehicles officially in mangos are included?

Also ring for wash with an executioner's block English.

Posted

I don't want to be rude... but can anyone translate above post to normal english i don't really get it :P

i will answer the part i do understand:

- Dual-spec is officially included in MaNGOS as of Rev [9715]

- Vehicles aren't yet as the developers would like to see them.. so it needs some more attention (i don't have time to develop it further though...that's up to Traponinet and Wojta...and ofcourse the other collaborators on the patch)

Posted

Simple to fix compilation error :

diff --git a/src/game/Vehicle.cpp b/src/game/Vehicle.cpp

index 1fd3b03..10963d8 100644

--- a/src/game/Vehicle.cpp

+++ b/src/game/Vehicle.cpp

@@ -494,7 +494,7 @@ void Vehicle::AddPassenger(Unit *unit, int8 seatId, bool force)

((Player*)unit)->SetMoverInQueve(this);

((Player*)unit)->SetClientControl(this, 1);

}

- if(canFly() || HasAuraType(SPELL_AURA_FLY) || HasAuraType(SPELL_AURA_MOD_INCREASE_FLIGHT_SPEED))

+ if(canFly() || HasAuraType(SPELL_AURA_FLY) || HasAuraType(SPELL_AURA_MOD_FLIGHT_SPEED_MOUNTED))

{

WorldPacket data3(SMSG_MOVE_SET_CAN_FLY, 12);

data3<< GetPackGUID();

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use