Home / Forums / Modders Corner / Mafia Editing / Mafia II mods / Mafia II – Taxi Ride

Viewing 15 posts - 16 through 30 (of 46 total)

Mafia II – Taxi Ride

Home / Forums / Modders Corner / Mafia Editing / Mafia II mods / Mafia II – Taxi Ride

45 replies
13 years, 9 months ago
#12051

ocram

As far as I know you can not do it in the game

you have to change a lot of parameters and set the routes

it does not really

can do it in a “free ride” but as I wrote to you it would take too much space in the script

My work in the “free ride”

race and chase with gunfire

 

 

 

 

13 years, 9 months ago
#12056

I am not using ‘hunter’ or ‘followtrail’ (where you have to set routes, that the the car follow).

I just give the destination coordinate to the taxi, and he goes there by himself.

 

I understand what you mean by the space taken in the freeride, but I don’t mind, if there is no other way to put it into the game, I ‘ll just stay with an injector version of it wink.png” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/wink@2x.png 2x” width=”20″ height=”20″>

 

I carry on searching, if we can use the user marker for nav. and the use of the phone to call a taxi.

I am searching as well on how to identify a car type, that pass in front of you in the street.

 

then I’ll be happy

13 years, 9 months ago
#12057

I carry on searching, if we can use the user marker for nav. and the use of the phone to call a taxi.

I am searching as well on how to identify a car type, that pass in front of you in the street.

then I’ll be happy

I wish you good luck!

Document your phone is inside all the houses

for example

shops/vitohouseb12(Greenfield Villa) –> Phone Lua

You can edit the encrypted Lua?

13 years, 9 months ago
#12061

Haha, this driver behaves like drunk 😆

 

Of course, it’s good to see first progress smile.png” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/smile@2x.png 2x” width=”20″ height=”20″>

13 years, 9 months ago
#12063

@Cole, yes that’s what I was showing, when you ask them to drive nervously, they keep bumping things and do uturns because they miss their way.

 

@Zahar yes I saw all those phone.lua in houses and shops,[hide] luadec gives me hard times ‘missing ‘=’

I keep trying do …[/hide]But well I think the phone will not be so hard to use, it is the navigation user marker the biggest trouble.

13 years, 9 months ago
#12064

@Cole’ date=’ yes that’s what I was showing, when you ask them to drive nervously, they keep bumping things and do uturns because they miss their way.[/quote’] 

Is it possible to ask him to drive normally ?

13 years, 9 months ago
#12066

ocram

with navigation, I also experienced the problem

and so it is not decided

After posing on the map can not be removed

13 years, 9 months ago
#12069

@cole, yes they can drive perfectly, same as ai ingame , and they do get perfectly to their destination that way.

But I was testing, as I have got several choices, which one to use when once in the car we ask the driver to Step on it!

The one in the video is the worst one wink.png” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/wink@2x.png 2x” width=”20″ height=”20″> there is 12 different possibilities, 4 speed within 3 different driving type.

NORMAL AGGRESSIVE PIRATE the latest one they do not stop a red lights and else

 

 

@zahar, are you talking about the User Marker , with the green line ? by the one that cannot be removed.

if so I am interested to know its name and how to use it.

13 years, 9 months ago
#12072

ocram

No I mean the standard navigation

game.navigation:RegisterIconPos

that after installing it on the map

I can not remove it

it does not work

game.navigation:UnregisterIconPos

but I think the movement is not necessary

it’s just an assistant for the map

only need to move the position vector of the direction

13 years, 9 months ago
#12079

ok,well that green line marker must be somewhere …regarding the icons yes they are just a drawing for the map, they are not necessary at all. I did not try yet but using objective also makes an icon onto the map, and this one do go away.

It must works as well with registered icon pos I have seen it in the game somewhere, but we have to do it properly. once again another thing to find out smile.png” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/smile@2x.png 2x” width=”20″ height=”20″>

in the mean time, the registered icons can be hidden until we get near its position:

 

game.navigation:RegisterIconPos("-126.2","264.5",1,4,"Nbrid",true)

game.navigation:UnregisterIconPos(game.navigation:RegisterIconPos("-126.2","264.5",1,4,"Nbrid",true))

game.navigation isableFarVisibility(game.navigation:RegisterIconPos("-126.2","264.5",1,4,"Nbrid",true))
13 years, 9 months ago
#12091

ocram

This command automatically gives a map

a red icon and the red line path

game.navigation:RegisterObjectivePos(“-45.4″,”724.9”,game.quests:NewQuest(“”,””,true,””,””):AddObjective(“”))

13 years, 9 months ago
#12094

Zahar, I did it once in my test, but forgot which test it was.

so now I have got it back, Thank you.

 

Thanx

I did not test it yet, but ingame each time they give an ID (iconid) before unload, maybe it works

 



game

entitywrapper

GetEntityByName

GetPos

iconId

navigation

RegisterIconPos

0058000027

...

...

iconId

game

navigation

UnregisterIconPos

 



quest

quests

FindQuestByName

main

boss1

objective

AddObjective

2151900001

SetName

OBJECTIVE_R2R_CH10

Show

ikona_init_start

navigation

RegisterIconPos

SetTargetForGPS



.

.

.



game

navigation

UnregisterId

ikona_init_start

 

13 years, 9 months ago
#12102

 



game

entitywrapper

GetEntityByName

GetPos

iconId

navigation

RegisterIconPos

0058000027

...

...

iconId

game

navigation

UnregisterIconPos

 



quest

quests

FindQuestByName

main

boss1

objective

AddObjective

2151900001

SetName

OBJECTIVE_R2R_CH10

Show

ikona_init_start

navigation

RegisterIconPos

SetTargetForGPS



.

.

.



game

navigation

UnregisterId

ikona_init_start

not with these teams, I do not know

 

but (“boss1”) – is the man

and for him so I wrote navigation

game.navigation:RegisterObjectiveEntity(“boss1”,game.quests:NewQuest(“”,””,true,””,””):AddObjective(“”))

red line will indicate the path to it on the radar

 

 

13 years, 8 months ago
#12584

Thanx Zahar999, and sorry for the delay, I had a break a few days

 

I do have the navigation red line, as well, but with SetTargetForGPS.

and it is the same problem as the registered icons, I cannot remove it from the Gps once used. .. yet

13 years, 8 months ago
#12600

Tu as r̮̩ussi a utiliser les coordonn̮̩es du rep̮̬re sur la carte.

 

 

At all

When you find how to use a new command LUA that is not in my list.

thank you for leaving the info here

http]

Viewing 15 posts - 16 through 30 (of 46 total)
  • You must be logged in to reply to this topic.