here is full of the LUA commands: http]
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
2
Mafia II mods / How to know the coordinates in Mafia 2?
August 16, 2012, 02:12:49 PMQuoteOh' date='real great,I konw how to use it,Thank you! <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20"> [/quote']
You are welcome <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20"> If questions will be, contact us. In this site questions without answers do not remain :cool:
3
Mafia II mods / How to know the coordinates in Mafia 2?
August 16, 2012, 01:11:45 PM
First download this lua injector:http://mafiascene.net/downloads/viewdownload/4-mafia-tools/504-injector-6
then, copy all files to "mafia2/pc"
Copy this script to the "F1.txt" in the folder "userscripts"
<div class="ipsSpoiler_header">
function loginf(log_text)log_text=".) "..log_text.."n"
f=assert(io.open("coords.txt", "a+"))
f:write(i,log_text)
io.close(f)
end
playerPos=game.game:GetActivePlayer():GetPos()
playerDir=game.game:GetActivePlayer():GetDir()
if i==nil then i=0 end
i=i+1
loginf(playerPos.x..", "..playerPos.y..", "..playerPos.z)
loginf(playerDir.x..", "..playerDir.y..", "..playerDir.z)
</div>
Tutorial how to use the "Injector":
<div class="ipsSpoiler_header">
1. Copy the script into the "F1.txt" in the folder "userscripts"
2. Run the game
3. Minimize the game
4. Run the "MafiaInjector.exe"
5. Go back to the game
6. Press the key "F1"
PS: You can also copy the script in any document (located in the folder "userscripts"). But then in the game you'll need to press the corresponding button (from "F1" to "F12")
</div>
After pressing F1 in the folder "pc" appears the file "accords.txt". And there are the coordinates <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">
then, copy all files to "mafia2/pc"
Copy this script to the "F1.txt" in the folder "userscripts"
<div class="ipsSpoiler_header">
function loginf(log_text)log_text=".) "..log_text.."n"
f=assert(io.open("coords.txt", "a+"))
f:write(i,log_text)
io.close(f)
end
playerPos=game.game:GetActivePlayer():GetPos()
playerDir=game.game:GetActivePlayer():GetDir()
if i==nil then i=0 end
i=i+1
loginf(playerPos.x..", "..playerPos.y..", "..playerPos.z)
loginf(playerDir.x..", "..playerDir.y..", "..playerDir.z)
</div>
Tutorial how to use the "Injector":
<div class="ipsSpoiler_header">
1. Copy the script into the "F1.txt" in the folder "userscripts"
2. Run the game
3. Minimize the game
4. Run the "MafiaInjector.exe"
5. Go back to the game
6. Press the key "F1"
PS: You can also copy the script in any document (located in the folder "userscripts"). But then in the game you'll need to press the corresponding button (from "F1" to "F12")
</div>
After pressing F1 in the folder "pc" appears the file "accords.txt". And there are the coordinates <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">
4
Mod Help / Need help with LUA injector
August 16, 2012, 01:07:30 PMQuoteI have 4 commands, F4 F1 F2 and F10 i think not sure about the last one.
EDIT: maybe it crashes because when ive used commands when last animation isnt finished, ive never actually used 5 commands in a row and using them to end. And is there like a list of ready made commands? like vomiting etc.? ive never saw one all of them are videos and i have kinda slow internet so id prefer using commands. I dont know much about how this thing works so maybe im wrong and need to download anyway?
Use this:
<div class="ipsSpoiler_header">
ply=game.game:GetActivePlayer()
if i==nil then i=0 end i=i+1
if i==8 then i=1 end
if i==1 then ply:SetControlStyle(enums.ControlStyle.LOCKED)CommandBuffer:Insert(l_6_0,{
function(l_1_0)return ply:AnimPlay("sc_man_smoke_in", false)end,
function(l_2_0)return ply:AnimPlay("sc_man_smoke_stat_c", false)end,
function(l_3_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end})end
if i==2 then ply:SetControlStyle(enums.ControlStyle.LOCKED)CommandBuffer:Insert(l_6_0,{
function(l_1_0)return ply:AnimPlay("sc_man_smoke_stat_c", false)end,
function(l_2_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end})end
if i= then ply:SetControlStyle(enums.ControlStyle.LOCKED)CommandBuffer:Insert(l_6_0,{
function(l_1_0)return ply:AnimPlay("sc_man_smoke_stat_c", false)end,
function(l_2_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end})end
if i==4 then ply:SetControlStyle(enums.ControlStyle.LOCKED)CommandBuffer:Insert(l_6_0,{
function(l_1_0)return ply:AnimPlay("sc_man_smoke_stat_c", false)end,
function(l_2_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end})end
if i==5 then ply:SetControlStyle(enums.ControlStyle.LOCKED)CommandBuffer:Insert(l_6_0,{
function(l_1_0)return ply:AnimPlay("sc_man_smoke_stat_c", false)end,
function(l_2_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end})end
if i==6 then ply:SetControlStyle(enums.ControlStyle.LOCKED)CommandBuffer:Insert(l_6_0,{
function(l_1_0)return ply:AnimPlay("sc_man_smoke_stat_c", false)end,
function(l_2_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end})end
if i==7 then ply:SetControlStyle(enums.ControlStyle.LOCKED)CommandBuffer:Insert(l_6_0,{
function(l_1_0)return ply:AnimPlay("sc_man_smoke_stat_c", false)end,
function(l_2_0)return ply:AnimPlay("sc_man_smoke_out", false)end,
function(l_3_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end})end
NOTE:
when the animation ends, again click on f7!
</div>
6
Mafia Mod Request / Car First Person View (with lua scripts)
August 12, 2012, 06:04:59 PM
With lua injector. Here's the link: http://www.mafiascene.net/downloads/vie ... injector-6
Backup original files, copy the pc folder to the game directory
<div class="ipsSpoiler_header">
Tutorial how to use the "Injector":
1. Copy the script into the "F1.txt" in the folder "userscripts"
2. Run the game
3. Minimize the game
4. Run the "MafiaInjector.exe"
5. Go back to the game
6. Press the key "F1"
PS: You can also copy the script in any document (located in the folder "userscripts"). But then in the game you'll need to press the corresponding button (from "F1" to "F12")
</div>
Backup original files, copy the pc folder to the game directory
<div class="ipsSpoiler_header">
Tutorial how to use the "Injector":
1. Copy the script into the "F1.txt" in the folder "userscripts"
2. Run the game
3. Minimize the game
4. Run the "MafiaInjector.exe"
5. Go back to the game
6. Press the key "F1"
PS: You can also copy the script in any document (located in the folder "userscripts"). But then in the game you'll need to press the corresponding button (from "F1" to "F12")
</div>
7
2009 Mods / Welcome in your private area
August 12, 2012, 01:45:28 PM
Welcome <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">
9
Mod Help / I need help with Real Driver Mod
August 09, 2012, 12:16:30 PMQuoteAs I've said, I posted wrong file name and corrected it.
RDM works with Mafia 1 only! <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">
I know. Let's wait for his reply :cool:
10
Mod Help / I need help with Real Driver Mod
August 09, 2012, 10:41:35 AMQuote<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="995" data-ipsquote-contentclass="forums_Topic"><div>wheredo I get tables.sds?
This file is in the Mafia 2, in the folder pc/sds/tables/tables.sds)
farhad_999 We are talking about Mafia 1 <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">
</div></blockquote>
However, this file is only in Mafia 2 <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">
11
Mod Help / I need help with Real Driver Mod
August 09, 2012, 01:24:11 AMQuotewheredo I get tables.sds?
This file is in the Mafia 2, in the folder pc/sds/tables/tables.sds)
12
Mafia General Discussion / 2 Mafia parody video's
August 08, 2012, 09:05:57 PMQuote<div class="ipsEmbeddedVideo"><div></div> </div>
2nd part <img src="/wp-content/uploads/invision_emoticons/biggrin.png" alt="" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/biggrin@2x.png 2x" width="20" height="20"> *happyface*
<div></div>
13
Mafia II mods / Free Ride Mod for M2 Base game
August 08, 2012, 08:55:33 PMQuoteYes it is but i'm not sure what is new in addition besides the cars at garage and other startng zone....or just those are new?
1.Change of characters (italian boss,chinese boss etc.)
2.Skirmish in the "Market Arcade" (only in winter!) exit near the glass doors on the street!
3.Shooting from the car (use the turn off the police or passenger modes)
4.Animation for the toilet in every house (in winter and summer)
5.Removed auto repair and cleaning of cars
And that's all <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">
14
Mafia II mods / Free Ride Mod for M2 Base game
August 08, 2012, 05:40:48 PM
In my opinion, the best M2 (not for dlcs) free ride.
Here's links:
http://www.playground.ru/files/mafia_2_ ... nie-53838/ (M2 mod by zahar999)
http://www.playground.ru/files/mafia_2_ ... nie-58878/ (addition to M2 mod by zahar999)
Enjoy)
Here's links:
http://www.playground.ru/files/mafia_2_ ... nie-53838/ (M2 mod by zahar999)
http://www.playground.ru/files/mafia_2_ ... nie-58878/ (addition to M2 mod by zahar999)
Enjoy)
15
Mod Help / I'm new to modding and could use some help.
August 08, 2012, 03:58:42 PM
If you want to play without errors, you just have to install an illegal version of the game. I don't understand why you want to have a legal version (there is no on any multiplayer)? Here's an illegal version of the game http://rutor.org/torrent/62590/mafija-2 ... haniki(mod would work, I guarantee)