IS it worth to mod Mafia II Taxi
A real working taxi ride, with a driver that bring you where you asked him to go,
and have to pay for it.Is what I mean by Taxi Ride (as I have seen many fake video around.)
Now, my point is to know who will be interested by having Mafia II real working Taxi ?
I am actually working on it, and just to know if it is worth for me to do a proper mod or shall I just
go injector version of it
The outcoming of that question will radically change the way I'll do the code and finalization of it.
So if possible to do,Anybody interested in a Taxi Mod for Mafia II or not ?
thanx for answering so I know what to do, or if you have information of what as already been
achieved in mafia 2 regarding taxi.
[align=center:3t3un9gt][/align:3t3un9gt]
Edited: So well regarding the answers I'll go for a 'mod' or whatever I can achieve with it :s ide:
Of course its worth making it.
I would play it for sure
I'd love to see a full working, proper Taxi, BTW, look in the "Balls&Beans" FMV, the full detailed Taxi, even with the counter on the dashbaord, is in that file, if you can pull the high detailed Taxi from that file, and replace it with the lower detailed model that cruises the city, and made it all function, that would be 10 stars! :cheer:
Good job, that would be a breakthrough with Mafia 2 modding. I would like to have an ability to call a taxi and go wherever I want (//wp-content/uploads/invision_emoticons/smile.png)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20"> BTW, how are you going to make Vito able to tell the driver where to go ?
:cool: Well,I am in this mafia lua for 10 days no more, so I am pretty a modding newbe, I don't call or stop the cab yet, I just enter the taxi the passenger way, and once inside I press one of the key I recorded my destination on in my script with keybinding. at start the taxi was getting me there but it had to do a few Uturns along the way, because I had to do a loop in the code for it to get to the destination, as the game kept asking to go somewhere else, but the taxi was getting there (//wp-content/uploads/invision_emoticons/wink.png)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">
I said was, because I've got it now, and the driver get me where I want like a charm; I can even give him few extra box, to put some weight on is foot and forget about the red lights (//wp-content/uploads/invision_emoticons/blush.png.f82797d681f6058d78bfce89aae261a7.png)
So if I do a proper mod, I think of a menu as in the freeride to select the italian, chinatown ... area and then more precise recorded destination within the selected. I just need to do a menu that's all.
<div class="ipsSpoiler_header">
But now saying that,my idea is to improve that with the ability to hail by lifting the arm an incomming cab in the street, and/or to use the phone to call one.
I know ride in the back is possible as well.
and the Cherry on the cake will be to click onto the map instead of pre-recorded ...
</div>
@Mike Bruski: thx I'll check it
QuoteSo if I do a proper mod, I think of a menu as in the freeride to select the italian, chinatown ... area and then more precise recorded destination within the selected. I just need to do a menu that's all.
<div class="ipsSpoiler" data-ipsspoiler="">
<div class="ipsSpoiler_header">
But now saying that,my idea is to improve that with the ability to hail by lifting the arm an incomming cab in the street, and/or to use the phone to call one.
I know ride in the back is possible as well.
and the Cherry on the cake will be to click onto the map instead of pre-recorded ...
</div>
</div>
That would be good, selecting districts and calling a taxi by phone will make it more realistic (//wp-content/uploads/invision_emoticons/smile.png)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20"> Good luck with this mod, ocram :cheer:
As another idea, could you... make the Taxi driver, drive to where ever your waypoint is at? Cause it sounds like a headache for you and the user, to go through menu's and locations, would be very simple, to set your waypoint, and the driver will take you there.
QuoteAs another idea' date=' could you... make the Taxi driver, drive to where ever your waypoint is at? Cause it sounds like a headache for you and the user, to go through menu's and locations, would be very simple, to set your waypoint, and the driver will take you there.[/quote']
Very good idea Mike
yeah, exactly, this is what I am saying in the spoiler, by the cherry on the cake will be to use the click on the map, but for now I haven't been able too, its one of my goal do :cool:
This topic deserves more attention (//wp-content/uploads/invision_emoticons/smile.png)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20"> Sticked by me (//wp-content/uploads/invision_emoticons/tongue.png)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/tongue@2x.png 2x" width="20" height="20">
QuoteI'd love to see a full working' date=' proper Taxi, BTW, look in the "Balls&Beans" FMV, the full detailed Taxi, even with the counter on the dashbaord, is in that file, if you can pull the high detailed Taxi from that file, and replace it with the lower detailed model that cruises the city, and made it all function, that would be 10 stars! :cheer:[/quote']
[hide]yep,did my search and found it thx , it is Quicksilver_Windsor_Taxi_HIGH_interior00, I can probably pool the model out of the file, but then what can I do with it, taking it out will destroy it for the game, as you'll loose collision and lightmap, it 'll be nice in 3ds max thats about all, so no point doing it, I can try to use it ingame from the fmv do, with script, it is fmv0700a_2.sds that got its secret.[/hide]
<div class="ipsSpoiler" data-ipsspoiler="">
<div class="ipsSpoiler_header">
if failed, it is still possible to swap at least 3 textures from it onto the actual taxi (//wp-content/uploads/invision_emoticons/wink.png)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">
</div>
But well all that is 'finalisation', the important part for now is that I need to learn:
[ul]
- how to unload properly all the thing from memory, icons function ...etc
- how to get position of the nav marker on map, for the cab to follow the track, if I want to use other thing than the actual destination menu.
- The phone as well as to be learn, to call the cab. activate phone and script from a call, store the Taxi number,..etc
- how to stop a car type in the street by doing an animation
- ...
[/ul]
With a simple menu or actuall keybind, the mod is already working and could be released, but doing it right is going to add a few months onto it I think
(//wp-content/uploads/invision_emoticons/sick.png.5e18d4558e116e768dc9391ac4b6df84.png)
But hey, that's why I signed in for :evil:
</div>
I will thx, It takes time but well I find many things along the way, the cat and its animation, same for the dog but he only barks and jump over a fence I think.The game hold as well a racing mode that can probably be started from the main menu the same way as freeride, .. vito can sell things over the phone !? etc funny and weard things.
[align=center:3ifqndku]For now I am testing different driving ways for empire bay taxi drivers.[/align:3ifqndku]
[align=center:3ifqndku]Nervous driving test[/align:3ifqndku]
[align=center:3ifqndku][video width=425 height=344 type=dailymotion]xqr8f7 [/align:3ifqndku]
[align=center:3ifqndku]Path finding in nervous driving funny behaviour[/align:3ifqndku]
[align=center:3ifqndku][video width=425 height=344 type=dailymotion]xqr8wv [/align:3ifqndku]
of course the video above, only show path finding in 'nervous driving mod', in normal driving they go spot on first time (//wp-content/uploads/invision_emoticons/wink.png)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">
ocram
you want to do it in the "free ride"? it takes a lot of places in the script
in the video do not show you how you get into a car
and there are no menus to choose travel
All that you show it made ??using the "injector"
Just testing drivers abilities here.
I do not know which file I will use to put the mod into the game yet.
and yes I asked my destination with injector,same for vito arm animation.
I can do menu, but I am trying to get phone and map navigation click instead if I can.
many thing to find out yet (//wp-content/uploads/invision_emoticons/wink.png)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">
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
<div class="ipsSpoiler_header">
<div class="ipsEmbeddedVideo"><div><iframe width="480" height="270" src="https://www.youtube.com/embed/-q_7dLkQrA4?feature=oembed" frameborder="0" allowfullscreen="true"></iframe></div>
<div><iframe width="480" height="270" src="https://www.youtube.com/embed/Un3LpomT5R8?feature=oembed" frameborder="0" allowfullscreen="true"></iframe></div>
<div><iframe width="480" height="270" src="https://www.youtube.com/embed/x3WbHdlWjQs?feature=oembed" frameborder="0" allowfullscreen="true"></iframe></div>
</div>
</div>
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 (//wp-content/uploads/invision_emoticons/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
QuoteI 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?
Haha, this driver behaves like drunk :lol:
Of course, it's good to see first progress (//wp-content/uploads/invision_emoticons/smile.png)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">
@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.
Quote@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 ?
ocram
with navigation, I also experienced the problem
and so it is not decided
After posing on the map can not be removed
@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 (//wp-content/uploads/invision_emoticons/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.
<pre class="ipsCode">NORMAL AGGRESSIVE PIRATE the latest one they do not stop a red lights and else</pre>
@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.
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
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 (//wp-content/uploads/invision_emoticons/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:
<pre class="ipsCode">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 :D isableFarVisibility(game.navigation:RegisterIconPos("-126.2","264.5",1,4,"Nbrid",true))</pre>
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(""))
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
<div class="ipsSpoiler_header">
<pre class="ipsCode">
game
entitywrapper
GetEntityByName
GetPos
iconId
navigation
RegisterIconPos
0058000027
...
...
iconId
game
navigation
UnregisterIconPos </pre>
<div>
<pre class="ipsCode">
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
</pre>
</div>
</div>
Quote
<div class="ipsSpoiler" data-ipsspoiler="">
<div class="ipsSpoiler_header">
<pre class="ipsCode">
game
entitywrapper
GetEntityByName
GetPos
iconId
navigation
RegisterIconPos
0058000027
...
...
iconId
game
navigation
UnregisterIconPos </pre>
<div>
<pre class="ipsCode">
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
</pre>
</div>
</div>
</div>
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
<div class="ipsSpoiler_header">
http://www.youtube.com/watch?v=2B_tvv_ldSE (http://www.youtube.com/watch?v=2B_tvv_ldSE)
</div>
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
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] (//forum/22-existenz34-s-mods/6490-mafia-ii-lua-command)
French translation of last few posts:
@ExistenZ34
<div class="ipsSpoiler_header">
Non malheureusement, on parlait juste du fait que les icons mis sur la carte avec RegisterIconPos , on arrive pas a les enlever. et zahar me pointait qu'avec Quests, il y a la ligne rouge, moi je l'ai avec SetTargetForGPS.
mais m̮̻me probl̮̬me pour l'enlever.
je cherche effectivement le UserMarker celui qui fait la ligne verte, et promis j'update t'as page en cas de nouveau stuff, mais tu en sais beaucoup plus que moi (//wp-content/uploads/invision_emoticons/tongue.png)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/tongue@2x.png 2x" width="20" height="20">
je rame beaucoup pour la syntax, alors j'essaie d'ecrire de toute les fa̮̤ons possible jusqu'a ce que ̮̤a marche.
Tout ce que j'ai pour le moment c'est un chauffeur qui me conduit ou je veux de la fa̮̤on de conduire voulus.
pour le moment je monte simplement dans le taxi comme dans n'importe quel voiture,j'injecte mon script F8, le script change al̮̩atoirement la fa̮̤on de conduire du taxi pour avoir diff̮̩rent style de chauffeur,et j'envoie le chauffeur a la gare, ma maison ou ailleurs avec des coordonn̮̩e 'keybind' a des touches, ou lui demande de mettre le pied au plancḫ̩ et d'ignorer les feu rouge moyennent un extra. voila c'est tout.
C'est pour ̮̤a effectivement que je cherchais la ligne verte; l'utilisation du t̮̩l̮̩phone ; faire parler ; et comment d̮̩tecter un type de voiture (ou objet) lorsqu'elle passe devant nous dans le but de l' arr̮̻ter avec le bras.
</div>
wow, glad you are working on this, i look forward to the possiblity of it working thanks for sharing this and making the effort.
Sans vouloir te vexer ocram tu en est au meme point que Yoshid et son Taxi Mod de Janvier 2011.
(//applications/core/interface/imageproxy/imageproxy.php?img=http://i48.tinypic.com/kah2x2.jpg&key=866356d17a7fd7c8c780adb41d41f1998e75b25cc947f0a6117aa454af7ca28c)
et J'ai aussi r̮̩alis̮̩ un script le 30-01-2011 pour test.
Joe au volant et en utilisant E-Key follow il changez de destination.
http://www.mediafire.com/download.php?s8blsehuhwph1s8 (http://www.mediafire.com/download.php?s8blsehuhwph1s8)
absolutley YES! this would be very cool!
Where do i copy this file?: :dry:
www.mediafire.com/download.php?s8blsehuhwph1s8 (http://www.mediafire.com/download.php?s8blsehuhwph1s8)
@eXistenz
Well I hope I am a little further than this.. but thanks
I need some time to get that phone working, and detect a car in front of you by its type, and by the way any idear how we can set the brain for an entity ?
<div class="ipsSpoiler_header">
eXistenZ:Sans vouloir te vexer ocram tu en est au meme point que Yoshid et son Taxi Mod de Janvier 2011.
non au contraire , moi j'en suis arriv̮̩ la 3 semaines apr̮̬s avoir achet̮̩ le jeu, lol, mais bon j'y connait pas grand chose je fais ce que je peut, je me rapproche de la ligne verte ̮̤a m'intrigue
</div>
@director
this is some old test file, as vito free ride
I opened the "basic_anim2" with SDS explorer, and I found this script:
<div class="ipsSpoiler_header">
ply=game.game:GetActivePlayer()
DelayBuffer:Insert(function(l_1_0)
CommandBuffer:Insert(l_6_0,{
function(l_1_0)return ply:SetControlStyle(enums.ControlStyle.LOCKED)end,
function(l_2_0)return ply:AnimPlay("TAXI_CALL-A", false)end,
function(l_3_0)return ply:AnimPlay("TAXI_CALL-B", false)end,
function(l_4_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end})
end,{l_1_0},500,1,false)
Animation of stopping the taxi
</div>
Hellofarhad_999
Yes, the Taxi was supposed to be included into the game. but it has been disabled...
anyway somme left-over animations and text files are still around.
TAXI_CALL-A and TAXI_CALL-B one lift the arm forward to make a sign to a cab, the other one just bend the shoulder , those two animation are supposed to be played simultaneously.So vito put the shoulder to the right and lift the arm.
Look at 3:00' http://www.dailymotion.com/video/xqr8f7_mafia2-2012-05-10-taxi-driver-nervous-driving-ability-test_videogames#rel-page-under-2 (http://www.dailymotion.com/video/xqr8f7_mafia2-2012-05-10-taxi-driver-nervous-driving-ability-test_videogames#rel-page-under-2:avevmwj9)
what's the progress with the mod ? (//wp-content/uploads/invision_emoticons/smile.png)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">
Quoteyes, the Taxi was supposed to be included into the game. but it has been disabled...
anyway somme leftover animation and text files are still around.
TAXI_CALL-A and TAXI_CALL-B one lift the arm forward to make a sign to a cab, the other one just bend the shoulder , those two animation are supposed to be played simultaneously.So vito put the shoulder to the right and lift the arm.
Thanks for the detailed information.Hence, we can make a taxi mod... For example: Vito calls the taxi, sit down and points the way (with injector). What do you think about it?
Or, We will be a taxi driver, and will deliver passengers. Is there a script that allows you to make the passerby to sit in a taxi?
kaminski,farhad_999
For Now I am working on trying to get working the click on map, to set the destination of the Taxi.
(The green line you see in game).
The Cab is for now working perfectly,I climb into any cab that pass in the street, and send him where I want (with for now pre-recorded destinations using bindkeys).
My script shuffle a bit the way the drivers behave (ways of driving) so it changes one from another.
and on the way I can ask the driver to go slower or to put the pedal to the floor for a few extra bucks.
If I work onto the green line it is because in Fr compare to the Injector there is no Bindkey command,
so as I said on the first posts of this topic, I had the choice to make a menu, where you can chose your destination, or to get that green line working...
(the use of the phone to call a cab is to find out as well)
If it takes to long I'll release a menu version of it for a start.
Ican make a video of a cab ride if you want, but well just a car driving hey (//wp-content/uploads/invision_emoticons/wink.png)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">
Ps: and yes try to be THE driver of the cab for work is one of my goal, but well mafia2 is not that easy to mod as mafia1..
Quotekaminski' date='farhad_999[/b']
For Now I am working on trying to get working the click on map, to set the destination of the Taxi.
(The green line you see in game).
The Cab is for now working perfectly,I climb into any cab that pass in the street, and send him where I want (with for now pre-recorded destinations using bindkeys).
My script shuffle a bit the way the drivers behave (ways of driving) so it changes one from another.
and on the way I can ask the driver to go slower or to put the pedal to the floor for a few extra bucks.
If I work onto the green line it is because in Fr compare to the Injector there is no Bindkey command,
so as I said on the first posts of this topic, I had the choice to make a menu, where you can chose your destination, or to get that green line working...
(the use of the phone to call a cab is to find out as well)
If it takes to long I'll release a menu version of it for a start.
Ican make a video of a cab ride if you want, but well just a car driving hey (//wp-content/uploads/invision_emoticons/wink.png)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">
Ps: and yes try to be THE driver of the cab for work is one of my goal, but well mafia2 is not that easy to mod as mafia1..
Okay, we wait for this mod. If you need help with scripts, I am ready to help you (//wp-content/uploads/invision_emoticons/smile.png)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">
Good luck (//wp-content/uploads/invision_emoticons/wink.png)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">
I'd love a real taxi. You could slip by the fuzz easier than before :cool:
Hey how's the mod progressing ? Are you still working on it? Really interested in knowing more about this, keep up the good work.
Really god job man (//wp-content/uploads/invision_emoticons/smile.png)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">