[UPDATES] Coding in boats for the update...

User avatar
Moneris
Posts: 5
Joined: Thu Sep 10, 2009 12:33 am
Location: British Columbia, Canada

[UPDATES] Coding in boats for the update...

Post by Moneris »

Has anybody tried this? Before i give it a shot, i just wanted to clear things up so i dont have to waste time making a server and trying this and ending up in a failure..

like:

create_car %(boat name) (co-ords) ()






But, of course, we will implement boats in the re-write :)
User avatar
SugarD-x
Webmaster
Webmaster
Posts: 117
Joined: Thu Aug 27, 2009 2:03 am
Location: Sacramento, California, United States Of America
Contact:

Re: Coding in boats for the update.. has anybody tried this?

Post by SugarD-x »

Is this for the GTA 3 half, the GTA:VC half, or both?
User avatar
Moneris
Posts: 5
Joined: Thu Sep 10, 2009 12:33 am
Location: British Columbia, Canada

Re: Coding in boats for the update.. has anybody tried this?

Post by Moneris »

im looking for an answer for both.. because when i work on GTAIII:MTA half, i can add a couple boats.. IF they are addable/synced.
User avatar
Callum
Developer
Developer
Posts: 11
Joined: Tue Sep 08, 2009 11:44 pm

Re: Coding in boats for the update.. has anybody tried this?

Post by Callum »

I thought we were going with it where anybody can host their own server. If so it would probably also be made that you can script a .map file with placed vehicles. Also somebody would probably end up making a car adder script anyway.
User avatar
Towncivilian
Developer
Developer
Posts: 7
Joined: Thu Aug 27, 2009 10:21 pm

Re: Coding in boats for the update.. has anybody tried this?

Post by Towncivilian »

Callum wrote:I thought we were going with it where anybody can host their own server. If so it would probably also be made that you can script a .map file with placed vehicles. Also somebody would probably end up making a car adder script anyway.
All vehicles are placed by the SCM.

I have tried to spawn a boat before, but it 'sploded before it hit the water. I probably just need to disable the checks for the vehicle being sunk.

If boats are synced, they are probably synced very poorly. I have tested a Dodo and there was extremely poor sync. If boats are synced well, then I could place some, but I would have to replace other vehicles to do so as I did with the Ambulances.
009D: do_nothing
User avatar
SugarD-x
Webmaster
Webmaster
Posts: 117
Joined: Thu Aug 27, 2009 2:03 am
Location: Sacramento, California, United States Of America
Contact:

Re: Coding in boats for the update.. has anybody tried this?

Post by SugarD-x »

I think that's because MTA 0.5 is set to have vehicles explode upon touching the water, so boats will do the same then.
User avatar
Towncivilian
Developer
Developer
Posts: 7
Joined: Thu Aug 27, 2009 10:21 pm

Re: Coding in boats for the update.. has anybody tried this?

Post by Towncivilian »

SugarD wrote:I think that's because MTA 0.5 is set to have vehicles explode upon touching the water, so boats will do the same then.
It is. It's just a question of bypassing that code.
009D: do_nothing
User avatar
Callum
Developer
Developer
Posts: 11
Joined: Tue Sep 08, 2009 11:44 pm

Re: Coding in boats for the update.. has anybody tried this?

Post by Callum »

So Server's won't be able custom place vehicles on .map files?
User avatar
Towncivilian
Developer
Developer
Posts: 7
Joined: Thu Aug 27, 2009 10:21 pm

Re: Coding in boats for the update.. has anybody tried this?

Post by Towncivilian »

Callum wrote:So Server's won't be able custom place vehicles on .map files?
VC does not have any .map files I have no idea what the hell you're talking about
009D: do_nothing
User avatar
Towncivilian
Developer
Developer
Posts: 7
Joined: Thu Aug 27, 2009 10:21 pm

Re: Coding in boats for the update.. has anybody tried this?

Post by Towncivilian »

I managed to get the respawn code to not blow up the boat as soon as it hit the water and it respawns properly too. Everybody's afk right now so can't test if there's boat sync
009D: do_nothing
Post Reply