Show posts

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.

Messages - ocram

16
as already stated earlier by johncena1, those places are 'disabeled because there is no collision, so you'll fall into the void.


 




use injector:




bindKey ("I","v = game.game:GetActivePlayer():GetPos() v.y = v.y + 2 game.game:GetActivePlayer():SetPos(v)")




bindKey ("J","v = game.game:GetActivePlayer():GetPos() v.x = v.x - 2 game.game:GetActivePlayer():SetPos(v)")





bindKey ("K","v = game.game:GetActivePlayer():GetPos() v.y = v.y - 2 game.game:GetActivePlayer():SetPos(v)")





bindKey ("L","v = game.game:GetActivePlayer():GetPos() v.x = v.x + 2 game.game:GetActivePlayer():SetPos(v)")





bindKey ("U","v = game.game:GetActivePlayer():GetPos() v.z = v.z + 2 game.game:GetActivePlayer():SetPos(v)")





bindKey ("O","v = game.game:GetActivePlayer():GetPos() v.z = v.z - 2 game.game:GetActivePlayer():SetPos(v)")










and move yourself (on foot) through the invisible walls using I J K L for north east west south and  U O for up down.
17
Gameplay Tips / can anybody give me some tips?
July 21, 2012, 02:33:41 PM
Well I think you understood, now I don't know the names by heart so get the correct vehicle names, test them.




maybe some of the existing vehicle cannot be added into the garage.




You could check as well by using for example eXistenz FR JA and add trucks into the garage using the KEy menu, to see if the one you are trying is there or not.


 




but first try like this:




game.garage:CheatAddCar("Hank_B",true)


 


 




Edit :


 




<div class="ipsSpoiler_header">



 


 




Ascot_BaileyS200_pha




Berkley_Kingfisher_pha




Delizia_Grandeamerica    




Hot_Rod_1




Hot_Rod_2




Hot_Rod_3




Houston_Wasp_pha




ISW_508




Jeep




Jeep_civil




Jefferson_Futura_pha




Jefferson_provincial




Lassiter_69




Lassiter_75_pha




Milk_Truck




Potomac_Indian




Quicksilver_Windsor_pha




Quicksilver_Windsor_Taxi_pha




Shubert_34




Shubert_38




Shubert_Armoured




Shubert_Beverly




Shubert_Frigate_pha




Shubert_Hearse




Shubert_Panel




Shubert_PickUp




Shubert_Taxi




Shubert_Truck_CT




Shubert_Truck_SG




Shubert_Truck_SP




Smith_200_p_pha




Smith_200_pha




Smith_coupe




Smith_Mainline_pha




Smith_Stingray_pha




Smith_Truck




Smith_V8




Smith_Wagon_pha




Trautenberg_Grande  




Ulver_NewYorker




Ulver_NewYorker_p




Walker_Rocket




Walter_Coupe




Chaffeque




Elysium




Roller  




Waybar




Moscardo_AS37_pha




Hank_B




GAI_353_military_truck




Lassiter_75_FMV




Shubert_38_destr




Shubert_Truck_CC




Shubert_Truck_CT_cigar




Shubert_Truck_QD




Sicily_Military_Truck




Smith_coupe_wreck


 




</div>

 
18
Mod Help / How to add Enities to Mafia 2 City
July 21, 2012, 01:02:05 AM
You mean your streets are empty or you want to add more ?


 




If it is empty because you are in a fr mode, look out in menu E




traffic 40 or 50's, this will add the traffic to your map.


 




Now if you want more cars or pedestrian, the following self explanatory lua command exist:


 




game.traffic :P opulate(xxx
)   --> Pedestrian    




game.traffic:SetNumCars(
xxx
)    




game.traffic:SetNumStaticCars(
xxx
)









xxx
 = 0...100


 




or for specific entities:




game.entitywrapper:GetEntityByName("ENTITY_NAME"):Activate()
19
Gameplay Tips / can anybody give me some tips?
July 21, 2012, 12:55:03 AM
your welcome
20
Gameplay Tips / can anybody give me some tips?
July 21, 2012, 12:04:02 AM
yes the nocd is in fact a mafia2.exe that will not start steam.




to start the game once nocd is installed do not use steam, but mafia2.exe or injector when you want it  <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">




(always make backup of your files, in the case you want to play mafia2 with steam)


 




in short once nocd5 installed you do not use steam no more for mafia 2.
21
Mafia Mod Request / Mafia 2 beacon issue
July 20, 2012, 01:16:09 PM
Copy past the entire content of the spoiler into F7.lua .




it is only one script,( inside a lua file the --
 are just to specify a comment line and are part of the script, so the entire spoiler is the script itself )  <img src="/wp-content/uploads/invision_emoticons/tongue.png" alt="" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/tongue@2x.png 2x" width="20" height="20">


 


 




For injector V6 download




link on animation topic by eXistenZ http://www.mediafire.com/?7ix394nrvoakbs5




or Link to the original project files http://code.google.com/p/mafia2injector/downloads/list
22
Mafia Mod Request / Mafia 2 beacon issue
July 20, 2012, 12:54:58 AM
@Cole


 




Sorry to reactivate this old closed topic but I just saw it


 







Quotehttp]

 




So cole, if you want to keep the police car beacon switched on when you are outside of the car




use the injector with my commented script bellow  <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">


 




@eXistenZ




en:it doesn't matter if we do not know the NPC entity, if we had an interaction with it once ...




fr :s i on a une interaction avec une entit̮̩, il n'est pas grave de ne pas connaitre le nom de l' entit̮̩ utilis̮̩ par le jeu ...


 







 




for example F7.lua


 




<div class="ipsSpoiler_header">



 




-- A little gift for Cole from Ocram  <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">




-- as an example, to activate only from inside the car at first !




-- here you store inside the variable 'car' the ''unknown'' car entity name




if m==nil then car=game.game:GetActivePlayer():GetOwner() end


 




-- now with the trick above the variable 'car' will not be overiden no more as it is only taken when variable 'm' is activated/created for the first time


 


 




if m==nil then m=0 end




m=m+1




if m= then m=1 end




if m==1 then CommandBuffer:Insert(l_6_0,{function(l_1_0)return car:SetBeaconLightOn(true)end})end




if m==2 then CommandBuffer:Insert(l_6_0,{function(l_2_0)return car:SetBeaconLightOn(false)end})end


 




-- you can now activate this script as many time you want from inside or outside the car




-- It will light the police car beacon on or off, enjoy


 




</div>

 
23
above in green



 




it show you that ingame they also use the command motionspeed for the lift,




you do not necessarily need it, because there must be  a default value somewhere,




wich explain why 'in chapter elevator rides quickly in FR it slowly'




motionspeed meanning is : speed of movement (animation speed)


 




but I do not know how to use it.   <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">


 




nb:the info I posted above is not key names from files but it is what the game execute inside memory .
24
Gameplay Tips / can anybody give me some tips?
July 19, 2012, 11:16:24 PM
you need to install nocd5.




NoCD5




start the game with injector, it will start mafia2.exe by itself.


 




then injector got a directory called userscript with lua script inside as f1.lua .... f12.lua




that are activated ingame when you press the corresponding key




use injector v6 avoid v7 as it doesn't handle certain function


 




for a start head  HERE
25
Zahar




No regarding the lifts ingame they have an animation speed.




not being able to get info on lift inside chinese restaurant, I look all over the places and here is the infos I got:


 




C_WrapperLift




C_Lift




MotionSpeed





InitialFloor




?SetFloor@C_Lift@@QAEXI@Z




Lift




PNB




>%d_LiftItemFloor_%d




GCLIFT BODY




LIFT BUTTON




LIFT LIGHT


 




?LIFT AI LEAVE




LIFT AI ENTER




BLIFT INTERNAL DOOR




OnLiftUse




LIFT FLOOR


 




E_LIFT




LIFT




USE_LIFT
26
eXistenZ34's Mods / Tests for FreeRide
July 19, 2012, 10:01:35 PM
@eXistenZ




Well no extra info with level13,the only thing I get is:




BLIFT




GLIFT




E_LIFT




unluckily no more infos sorry  ??: maybe I get more luck in the hotel




____________________________________________________________________________________________




Edit: got more infos for lift
27
eXistenZ34's Mods / Tests for FreeRide
July 19, 2012, 11:30:58 AM
no with summer, winter, there is no info coming out from it for the lift, anything else to get me inside the chines restaurant ?


 




Si tu as une autre faÃÆçon de m'amener dans le resto chinois, que le streammap du test de stress,dans greenfield villa, irish bar, greenfield bar, j'ai les infos qui resortent, mais avec l'utilisation summer  ou winter, c'est vide...
28
Gameplay Tips / can anybody give me some tips?
July 18, 2012, 10:42:19 PM
with the injector


 




to increase the possibilities of storing == game.garage:SetMaxGaragePlaces(100)


 




to add a car truck or else               == game.garage:CheatAddCar("name_Car",true)


 




to add all cars only                     == game.garage:CheatAddCars(true)


 


 




*hope this help
29
eXistenZ34's Mods / Tests for FreeRide
July 18, 2012, 10:25:43 PM
Give me the lines to activate Chinese Restaurant and Empire Arms Hotel , I'll give you the info I get from the game once inside.
30
effectively this is only phase alpha release 4




it just test player synchronization for now, release alpha 5 will probably add the player cars synced ...