Announcement

If you are having trouble logging in, please reset your password.
If you are not getting an activation email, please check your spam or
use the "Contact Us" to contact an admin.
#15 April 20, 2012, 09:31:49 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
Zahar999 guessed it right. Karma increased.




"Ammunition loss when reloading" concept is a sheer luck. There is a LUA function




InventoryHowMuchAmmoCanAdd(weapon_id, max_ammo_to_add)




It returns how much ammo can be added till the inventory of the weapon is full. That means when Vito has a colt 1911 with 48 rounds in the inventory, this function will return 1. If Vito has 40 rounds in the inventory, it returns 9. And the deal-breaking part is that it counts ONLY with ammunition stored in the inventory, ammo stored in current clip is not counted!


 




Well Mike, here you are. Amunition loss when reloading clip/drum-fed weapons.


 




Zahar999




Modified clothing is planned to be in the story mode, not in a freeride. Modified clothing will have effect only on Vito, since Vito is the main character in the story mode. In the story mode, each mission has its unique weather. Some missions even contain changes in weather between mission checkpoints. The idea is to set weather restrictions specifically for each mission to reflect weather conditions.


 




General idea behind limited inventory is to make the game look more realistic and weather restrictions are made to force the player choose not only coat-type clothes all the time, but also other outfits.

#16 April 20, 2012, 09:47:42 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
That is awesome that you've already made it where the ammo clip removes the remaining bullets upon reload.


 




Concerning the magazines and bullet casings remaining on ground, even SR3 has bullets and magazines on the ground. Even all the HitMan games have the same, there is NO reason why 2K made it where the bullets go through floor, NONE. Should not really effect performance, unless you run the game on ultra low and are still lagging around 10-30FPS.

#17 April 20, 2012, 10:50:45 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
Andrashi Thank you!


 




and another




I understand that the main idea of ??mod - it is realistic




but I have long been interested in the question(for myself)




may be obtained through the Lua team




features such as the "trainer"




rate of fire




power of fire




Shoot without reloading




You know those Lua commands and you can tell them to me?

#18 April 21, 2012, 06:04:03 AM Last Edit: January 01, 1970, 12:00:00 AM by Guest
Cole Phelps




As you may have noticed when Andrashi started to fire a Tommygun and he reloaded while there was still ammo and he lost them you see.


 




Andrashi


 




About the anims it was just an idea no need to take it seriously.




Btw i know its too much for ya now but there is one thing about mafia 2 which is really unrealistic when talking about guns and action.




You know when you kill somebody and you shoot him the blood is no longer spilling out of him.I guess the collision of the blood is being remowed while he dies cuz the bullets goes through him when he lies on the floor or making hes last "dead" anim.Can you make this not happening?I guess 2k did it because of the low  HW demand.




THX

#19 April 22, 2012, 12:53:22 AM Last Edit: January 01, 1970, 12:00:00 AM by Guest
@CrAzY3AGL3, I agree with you entirely, reason for the upset with 2k over the casings and magazines. I'd be perfectly happy, if when you set PhysX on, it remains on ground, it annoys me that everything works and looks fantastic, but the bullets don't.

#20 April 22, 2012, 09:41:35 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
zahar999




Unfortunately, none of your requests can be done through LUA commands as far as I know. All of them are doable only through trainers.


 




Also I maybe finally understand what you want to know. The clothes-realism mod is intended for Vito only. If the model is switched to non-Vito one, glitches will occur. It could be coded for all possible models in the game, but I don't think it is neccessary.


 




Samo




Some tests were done regarding dead bodies. Unfortunately, dead bodies completely lose interaction with particles, only character-character and character-environment interaction remain. However, maybe it will be possible to bypass somehow. To make the game think the character is both dead and alive (SetDemigod, messing with ".health" etc). So far please consider your request as impossible to achieve. My apologies.


 




Mike & CrAzY3AGL3




Guys, looks like 2KCzech played this trick well and all players around the world took the bait <img src="/wp-content/uploads/invision_emoticons/happy.png" alt="" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/happy@2x.png 2x" width="20" height="20">.




Casing is so far a bit mystery for me, probably it is a particle, so finding it and altering it s lifetime property could solve this riddle.


 




But regarding magazines and drums, it is not possible to leave them on ground. And that is because if they were to be left on ground, Vito would not have a magazine/drum model to load the weapon with <img src="/wp-content/uploads/invision_emoticons/happy.png" alt="" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/happy@2x.png 2x" width="20" height="20">. Seriously, this is one of the best April fools I have ever seen. Basically, almost everybody here assumed that magazines/drums FALL THROUGH floor. The reality is that magazine/drum is a part of the weapon. So when Vito throws it away, it falls down and looks like it "falls" through the foor, while in fact it gets teleported back the Vito's hand, so he has a magazine/drum 3D model to reload the weapon with! Probably done in order to save memory space.


 




Well played, 2K Czech.

#21 April 23, 2012, 07:30:03 AM Last Edit: January 01, 1970, 12:00:00 AM by Guest
Andrashi


 




What are these restrictions which you posted earlier ?

#22 April 23, 2012, 08:02:55 AM Last Edit: January 01, 1970, 12:00:00 AM by Guest
QuoteUnfortunately, none of your requests can be done through LUA commands as far as I know. All of them are doable only through trainers.



too bad







QuoteIf the model is switched to non-Vito one, glitches will occur.



I was interested in this




now it is clear



<hr class="bbcode_rule" />





I tried your "Reminiscence of the hype"




but I did not like the camera




returns to shooting




weapons sights and ....


 




I really liked the fight




that the enemy's hard to beat




You can tell where I can make changes on their own for a fight?


 




thank you

#23 April 24, 2012, 02:16:41 AM Last Edit: January 01, 1970, 12:00:00 AM by Guest
Now that is crazy, the clip does not even drop out of hand, that is one hell of a fool, LOL. Maybe when we can crack open the 3D files etc, we can make it happen like Mafia I.

#24 April 26, 2012, 04:57:16 AM Last Edit: January 01, 1970, 12:00:00 AM by Guest
QuoteAndrashi

What are these restrictions which you posted earlier ?



 




I am trying to give Mafia II a touch of realistic approach to the game. And limited inventory is one of all those small changes which will ultimately add to the feeling of realism.




However, Vito can wear an array of different clothes. And it would be strange why simple shirt with trousers can store as much weaponry in the limited inventory as a long coat. So in the idea is that different type of clothing gives Vito different options how much weapons he can have in the inventory.


 




Finally, if that was all regarding limited inventory, then player would steal coat-type clothing from the first clothes shop and would play through the entire game with it, which wouls kind of defy the intended touch of realism (who wears coat when there is summer and 35 ̡̉C outside?). So weather restrictions are introduced to give the player various disadvantages if he decides to wear an outfit which is inapproppriate to the weather of the selected mission. Of course if the outfit is chosen approppriately to the weather, no extra restrictions are applied.


 


 




zahar999




I am not surprised you didn't like the camera in the RotH mod, almost nobody appreciates it  <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">  .




Regarding fight changes, there is an XML file named "HumanFight" or something like that. It is in tables.sds. It stores settings for close combat. Close combat is a state machine. If you figure the structure, you can add more states. That is how new possiblities in close combat were aded in the RotH mod.


 




If you talk about A.I. (they block more and counterattack more often), then again in the tables.sds there is a file called civilian.xml. That file contains settings for melee A.I.


 




I hope this helps you. If I had time, I would have updated modders's section, add various files and meaning of values stored inside. However, I curently don't have time. My apologies.

#25 April 26, 2012, 11:13:21 AM Last Edit: January 01, 1970, 12:00:00 AM by Guest
Quote
  • General weather restrictions




  • Winter day
     - no restrictions




  • Winter day snow
     - no restrictions




  • Winter night
     - no restrictions




  • Winter night snow
     - no restrictions




  • Summer day
     - health regeneration disabled and "drunk effect" present




  • Summer day rain
     - no restrictions




  • Summer night
     - health regeneration slowed to one quarter




  • Summer night rain
     - no restrictions


 




Are you going to add new weather forecast, Andrashi ?


 




One more question - will this mod only in FR or in every mode ? :cheer:

#26 April 26, 2012, 11:27:53 AM Last Edit: January 01, 1970, 12:00:00 AM by Guest
Andrashi


 




Thank you!




will look




I found "/config/animengine/ver0070/human_nodes/human_fight"




but I did not understand the "civilian"




there is such a "/config/AI/brains/ai_brain_civilian"




there is such a "/config/AI/closecombat/civilian"




where should I look?


 




and you have restored the health of a long




and the image on the screen in the fog




it is very prevents play


 




I like that you can meet Marty




He says "Hello, Mr. Scaletta"




but he can fight with Vito




how do you do it?

#27 May 29, 2012, 02:53:54 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
That's a great mod idea, I love that way of realistic intense gameplay !


 




I thought about the big guns carry problem mentioned before, and maybe the solution, if it's doable, it's to add the feature to stock them into the car trunk. This way we can be stealthy without wearing winter coats.


 




And sorry to ask this, but, for players who loves this mod but want it to play without health regeneration (yes it's madness), after the weapon is dropped in critical mode, can you let enable the use of weapons ? (maybe you can release a version with health regeneration, and another without)




I know I'm asking much, but that would be great !

#28 July 03, 2012, 05:59:41 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
hi Andrashi




i need help please.




i would like change the name, clip size and max ammo of all weapons in mafia 2 but i don't know where and what file to modify...


 




ps :s orry for my bad english i'm french

#29 July 03, 2012, 09:02:51 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
It's in tables.sds I guess. Use Rick's Tools to browse tables.sds and edit particular tables.