Mafia Scene - Mafia I & II Game Fan Site

Modders Corner => Mafia Editing => Mafia II mods => Topic started by: Joshua on July 13, 2011, 03:51:26 AM

Title: Mafia II LUA scripts
Post by: Joshua on July 13, 2011, 03:51:26 AM
I remember the old site had a page for a list of all the LUA script commands. We def. need to make a page for reference for everyone.
Title: Mafia II LUA scripts
Post by: Mike Bruski on July 13, 2011, 08:14:47 PM
Indeed, a nice LUA list would be lovely. (//applications/core/interface/imageproxy/imageproxy.php?img=%257BSMILIES_PATH%257D/smiley.gif&key=02ceb271c9beebbba5eb063807ea68025aa3a8748920403386f7b2f1ca9b55eb)
Title: Mafia II LUA scripts
Post by: eXistenZ34 on July 13, 2011, 10:02:19 PM
Hi, Here is the Wiki of mafia scene.


 




Mafia II - WiKi.rar (22.49 M :cool: (http://www.multiupload.com/60BPLSGPL9:2ey5wa56)


 




Ex:




(//i54.tinypic.com/260ttp1.jpg&key=5b33ddb69651aede782819cf1e567554f4f38db811cc22ef16be20c34a2d6d61)
Title: Mafia II LUA scripts
Post by: Joshua on July 13, 2011, 10:08:55 PM
Hi there eXistenZ34 and welcome! Thanks so much! this will help me to make a new page for everyone's reference.
Title: Mafia II LUA scripts
Post by: Mike Bruski on July 14, 2011, 01:50:30 AM
Welcome eXistenZ34!  :cheer: Thank you so very much for joining the site, we really do appreciate it. (Btw, I personally love your Mafia II FreeRide v1.8 mod, it is extremely well done.  (//applications/core/interface/imageproxy/imageproxy.php?img=%257BSMILIES_PATH%257D/smiley.gif&key=02ceb271c9beebbba5eb063807ea68025aa3a8748920403386f7b2f1ca9b55eb))
Title: Mafia II LUA scripts
Post by: Dgumba on September 11, 2011, 01:14:34 AM
Anyone know of a possible lua script to connect a tractor trailer (seagift or Fuel Tanker) to Hank? Just wondered if it may be a true false thing to connect because in the trailor and hank files they both have "connection points"
Title: Mafia II LUA scripts
Post by: Mike Bruski on September 11, 2011, 06:15:53 AM
Hello, Dgumba, long time no see.No-clue concerning LUA codes but I am sure from what I know of LUA codes, that it would be a factor of True/False.
Title: Mafia II LUA scripts
Post by: Dgumba on September 18, 2011, 04:16:10 PM
Hope someone who knows lua will see this because trailers would be cool. I imagine someone will find out someday by looking at how the train cars connect.
Title: Mafia II LUA scripts
Post by: Mike Bruski on September 18, 2011, 05:18:06 PM
Some people actually have connected the trailers, maybe this person can help you...


 




(//mafia.scorpions.cz/download/image.php?soubor=trailer-sg-rar%26language=cz&key=a3ef3d2de1613c6917fc245fcd8ad948badbcd8be2efe39698065c1bdd9adbea)


 




http://mafia2.scorpions.cz/download/mafia-2-modely-aut (http://mafia2.scorpions.cz/download/mafia-2-modely-aut:10pcu6sb)
Title: Mafia II LUA scripts
Post by: lpg_unit on September 18, 2011, 11:26:06 PM
Does anyone know of a good injector for the game? I tried one of them once but my antivirus gave a false positive.
Title: Mafia II LUA scripts
Post by: eXistenZ34 on September 19, 2011, 12:01:01 AM
QuoteSome people actually have connected the trailers, maybe this person can help you...










it's false, Truck is not connected to the trailer.
[/size]





it's like the videos of zahar999.


 




lpg_unit




Injector v6 by s0beitÃâà http://www.multiupload.com/GMFMRAXMFV (http://www.multiupload.com/GMFMRAXMFV:1ezzlflx)
Title: Mafia II LUA scripts
Post by: Dgumba on October 15, 2011, 04:12:31 PM
Quote<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="1457" data-ipsquote-contentclass="forums_Topic"><div>



Some people actually have connected the trailers, maybe this person can help you...










it's false, Truck is not connected to the trailer.
[/size]





it's like the videos of zahar999.


 




lpg_unit




Injector v6 by s0beitÃâà http://www.multiupload.com/GMFMRAXMFV (http://www.multiupload.com/GMFMRAXMFV:2aqt2p82)







</div></blockquote>

 




I acutally tried the downloads both trailers and they are just the files right out of the game with no changes. I actually put a tilt raising the back suspension and you could move forward a little before the trailer just slid off the tractor/truck. I even made it smaller or scaled down and other various things and nothing works. It would work alright if the hook up part on the truck (horse shoe shaped mount) was just a plate with a hole in it. The mount just lets the trailer slide right off. The trailer does have a post that could work but its weak and bends like a car bumper or body pannel. I still think it has to be a lua true false thing to hook up because of hoe the frame resource reads with a "connecting point" written like a sea or wheel. The truck also has a "connecting point".
Title: Mafia II LUA scripts
Post by: zzzzzz2 on October 22, 2011, 04:15:59 AM
(//i54.tinypic.com/260ttp1.jpg&key=5b33ddb69651aede782819cf1e567554f4f38db811cc22ef16be20c34a2d6d61)




game.game:ChangePlayerModel()


 




I tried this script with Injector v7 but there was an error.Why?
Title: Mafia II LUA scripts
Post by: Restart on February 01, 2012, 10:05:09 AM
QuoteHi, Here is the Wiki of mafia scene. 




Mafia II - WiKi.rar (22.49 M :cool: (http://www.multiupload.com/60BPLSGPL9:gm2mfo5z)


 




Ex:




(//i54.tinypic.com/260ttp1.jpg&key=5b33ddb69651aede782819cf1e567554f4f38db811cc22ef16be20c34a2d6d61)





Can you re-upload Mafia Scene wiki file?
Title: Mafia II LUA scripts
Post by: Cole Phelps on February 01, 2012, 10:16:49 AM
Restart


 




I tried to suggest it to eXistenZ, but he's always been telling me quote "multiupload is ok". And you're right, this file needs to be reuploaded, cause link to RapidShare is broken (file is deleted from the server)
Title: Mafia II LUA scripts
Post by: Restart on February 01, 2012, 10:40:22 AM
QuoteRestart 




I tried to suggest it to eXistenZ, but he's always been telling me quote "multiupload is ok". And you're right, this file needs to be reuploaded, cause link to RapidShare is broken (file is deleted from the server)





You have this file?
Title: Mafia II LUA scripts
Post by: Cole Phelps on February 01, 2012, 10:58:34 AM
I would have, if link wasn't broken. I tried to download, but it was impossible. I'll send PM to eXistenZ and tell him to reupload it.
Title: Mafia II LUA scripts
Post by: ocram on April 14, 2012, 12:20:06 AM
Guys many people have this wiki, how do you want mod to improve if we cannot get info already found, I'll really need that mafia2 wiki lua file, anyone that can pm me a link is more than welcome as I have plenty time to give to this game modding (back injuries, and I really want to do the taxi and bus ride as a client).




I have got plenty time,now if someone want to send me the file ocram(at)lineone(dot)net.
Title: Mafia II LUA scripts
Post by: Cole Phelps on April 14, 2012, 08:00:40 PM
Maybe this ?


 




http]


 




In his profile there's a large base of commands. (//nav/modders-corner/itemlist/user/264-andrashi)
Title: Mafia II LUA scripts
Post by: ocram on April 15, 2012, 06:01:20 AM
wow, thanks a lot to andrashi, and to you Phelps.




It is hard to find things for this game regarding lua. such a shame they got that point of view on things,if they opted for modding tools, this game could have grown so much (if any 2k reading, why don't you go look at bis arma series...)


 




Mafia is a great game, and they achieved one of if not the best feeling in the streets, would have been so nice for people like me stuck at home, to be able to seat where you want and enjoy the view as well as take the public transport bus train subway, you know just to wander around and give you a feeling of freedom, might seem awkward to some people but it is much better to spend time like this then to watch true the window of your home  <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="(//wink.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">


 




by the way xcuse my french.


 




cant wait for fr ja v2.1   very good job eXistenZ34!
Title: Mafia II LUA scripts
Post by: Samo on April 15, 2012, 07:01:14 AM
Quotewow, thanks a lot to andrashi, and to you Phelps.

It is hard to find things for this game regarding lua. such a shame they got that point of view on things,if they opted for modding tools, this game could have grown so much (if any 2k reading, why don't you go look at bis arma series...)


 




Mafia is a great game, and they achieved one of if not the best feeling in the streets, would have been so nice for people like me stuck at home, to be able to seat where you want and enjoy the view as well as take the public transport bus train subway, you know just to wander around and give you a feeling of freedom, might seem awkward to some people but it is much better to spend time like this then to watch true the window of your home  <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="(//wink.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">


 




by the way xcuse my french.


 




cant wait for fr ja v2.1   very good job eXistenZ34!



 


 




You can do that in mafia 1.
Title: Mafia II LUA scripts
Post by: ocram on April 17, 2012, 02:38:13 AM
yes I know thanks but the graphic does not match it. have a forest walk inside the hunter looks very real and makes you really feel outside, now in mafia2 streets feeling does it, but the player is missing many possibilities on the wander side  (//confuse.gif)??:


 




there is the setpos setdir commands, anyone tried to play with the getpos ?


 




edited: and does anyone still have freeraid_main_Taxi_v1.sds , can't find it
Title: Mafia II LUA scripts
Post by: eXistenZ34 on April 17, 2012, 07:50:54 AM
Hi




http] (//forum/22-existenz34-s-mods/6490-mafia-ii-lua-command#6490)
Title: Mafia II LUA scripts
Post by: ocram on April 17, 2012, 10:40:45 AM
Well, I know I said thanx already two or three times, but I have to say thank you every time I see that link, ...just can't help it  <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="(//wink.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">
Title: Mafia II LUA scripts
Post by: eXistenZ34 on April 17, 2012, 04:25:27 PM
ocram




Ou as tu vu ce fichier "freeraid_main_Taxi_v1.sds".
Title: Mafia II LUA scripts
Post by: ocram on April 18, 2012, 02:49:37 PM
http://www.google.com/search?q=freeraid ... utf-8&aq=t (http://www.google.com/search?q=freeraid_main_Taxi_v1.sds&ie=utf-8&oe=utf-8&aq=t)


 




(NB: xcuse my french start)


 




c'est toi qui en parlais  <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">  cotÃÆé russe




j'arrive un peut tardivement dans ce jeu, et malheureusement les 3/4 des bonnes choses sont des liens mort,




mais bon avec les infos que tu a donn̮̩ (j'ai tellement tourn̮̩ cette semaine que je crois ̮̻tre pass̮̩ partout ou tu as du all̮̩, car j'avais d̮̩ja la majeur partie des choses)


 




pour le moment je mâââ‰â¢imprÃÆègne de la bÃÆête, au travers du net malgrÃÆé les traces qui s'efface ... et dans les codes mÃÆême du jeu, je t'en parlerais en pm il vaut peut ÃÆêtre mieux  <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="(//wink.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">


 




(/NB: xcuse my french end)
Title: Mafia II LUA scripts
Post by: eXistenZ34 on April 18, 2012, 04:38:20 PM
Ok c'etait juste pour savoir.
Title: Mafia II LUA scripts
Post by: Cole Phelps on April 26, 2012, 01:49:25 PM
QuoteYou have this file?

 




You can download it here


 




http://www.mediafire.com/?js6wtmw6f42xfqj (http://www.mediafire.com/?js6wtmw6f42xfqj)
Title: Mafia II LUA scripts
Post by: eXistenZ34 on April 26, 2012, 02:01:29 PM
why just put my download link, so I made a Topic on everything I had on the LUA command.


 




Here





http] (//forum/22-existenz34-s-mods/6490-mafia-ii-lua-command#6490)
Title: Mafia II LUA scripts
Post by: Cole Phelps on April 26, 2012, 05:11:01 PM
Sorry, eXistenZ  <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">
Title: Mafia II LUA scripts
Post by: Guest on October 28, 2012, 01:43:24 PM
where can  i see the codes


 




because I can not find them




and where can I find a tutorial on how to do it
Title: Mafia II LUA scripts
Post by: crazypreacher on October 28, 2012, 02:04:55 PM
http://www.mafiascene.net/forums/22/6490 (http://www.mafiascene.net/forums/22/6490)