|
Post by ragdoller2010 on Mar 20, 2011 4:37:13 GMT -5
I am trying to find a place to mod cash which is dropped by breaking machines to a large sum. However i could find nowhere. i try to download ubitri's mod but i do not want to replace my old save (because i mod some already)
Can any experts tell me how to mod in some txt file??? Thx a lot
|
|
tommah
Veteran
Where's My Wiskey
Posts: 1,270
|
Post by tommah on Mar 20, 2011 12:38:35 GMT -5
good questions and a surprising very easy answer/mod that you would be able to do yourself.
1.Unpack datafile.big 2. open items.txt 3. search for "cmoneyitem"
there's about 6 cmoneyitem entries and these are the values for the money you pick up or win with gambling.
for example, if you want TONS of money all you have to do is change the "Amount" number underneath "cMoneyItem OneHundredDollars" to say.... 10,000,000. Now every time you pick up $100 laying on the floor, you will instead get $10,000,000.
Hope this helps!
|
|
|
Post by ragdoller2010 on Mar 22, 2011 18:45:35 GMT -5
Oh god thx a lot man
|
|
tommah
Veteran
Where's My Wiskey
Posts: 1,270
|
Post by tommah on Mar 22, 2011 21:44:05 GMT -5
absolutely, have fun.... I had to do the exact same thing cause I had a lvl 50 and got a corrupt saved game.
... also had to mod PP so that I got 50 levels in one kill.... mwuhahaha
|
|
|
Post by anno1404 on May 19, 2011 21:49:28 GMT -5
Ubiquitous found a way to get chuck to loose money: In items.txt find cMoneyItem OneHundredDollars change Amount = "100" to Amount = "-10000" In the area file (example: fortune_exterior.txt) or in missions.txt spawn a hundred dollar stack. Chuck can actually end up with negative amounts of money. Your save file has 40,000K
Now you drop 1 Stack of cash on Chuck worth -100,000 (it will show -60,000 but he will actually have ZERO)
Now drop a second stack on the player worth +1.
chuck is back to $1
|
This means you can: a) create a stack of money worth some huge amount, i.e. negative 1 billion or (chuck has to walk over or money has to drop on him) b) create a mission rule at beginning of game worth some huge amount, i.e. negative 1 billion (better) This will make Chuck go down to Zero (but it shows a negative) if he had less that $500,000 in a previous game. This allows the modder to make sure every person starts the game at the same amount = 0 Missions.txt example one USE THIS ONE: cMissionDefinition Tutorial1 //INFINITY MODE START LOCATION { Duration = "30000" ExplicitStart = "true" LevelToStartAtIfDebuggingMission = "BIKETUTORIAL" ShowInDebugMenu = "true" cMissionLevelReady deadlyfriends { LevelName = "LEVEL_BIKETUTORIAL" //required line for survivor to spawn cMissionSpawnNPC SpawnKatey { NPCName = "cast_katey" Rotation = "15" SpawnPoint = "-76, 8.7, -64" WithProp = "BowieKnife" } cMissionSetChuckState takeMoney1 { ChuckState = "9" Value = "-500000000" } cMissionSetChuckState onedollar { ChuckState = "9" Value = "1" } } } }
Items.txt example DON'T USE, here only to explain how it could be done differently: cMoneyItem OneHundredDollars { Amount = "100" AssetFilename = "data/models/interactables/dollarstack" AudioActionBits = "16" AudioFilename = "fx_onehundreddollars" AudioItemName = "OneHundredDollars" AudioUnloadDeferralTime = "2.0" CollidableQuality = "0" CollisionAudioDissipationFactor = "0.01" CollisionBits = "WORLDCOLLISIONFILTER_CAMERA_TRANSPARENCY" CollisionType = "3" DisplayName = "50001" DR2 = "true" DR2PRO = "true" InteractDistance = ".95" LoadDistance = "25" MergedFileNotUsed = "true" Restitution = "0.05" RestrictedByRegion = "false" Source = "0" UnlimitedDurability = "true" Weight = "5" }
Changed to:
cMoneyItem nomoney { Amount = "-1000000000" AssetFilename = "data/models/interactables/dollarstack" AudioActionBits = "16" AudioFilename = "fx_onehundreddollars" AudioItemName = "OneHundredDollars" AudioUnloadDeferralTime = "2.0" CollidableQuality = "0" CollisionAudioDissipationFactor = "0.01" CollisionBits = "WORLDCOLLISIONFILTER_CAMERA_TRANSPARENCY" CollisionType = "3" DisplayName = "50001" DR2 = "true" DR2PRO = "true" InteractDistance = ".95" LoadDistance = "25" MergedFileNotUsed = "true" Restitution = "0.05" RestrictedByRegion = "false" Source = "0" UnlimitedDurability = "true" Weight = "5" }
In missions.txt:
cItemPlacement nomoney // money to negative dollars drops on chuck { ItemName = "nomoney" Location = "-72.2, -9.4, -64.9" IsStatc = "" } cItemPlacement OneHundredDollars { ItemName = "OneHundredDollars" Location = "-72.2, 2, -64.9" IsStatc = "" }
Immediate change:I want to try -500K stack and right on top of that a $1 stack to see if it will immediately change If there is an immediate change back to 1 then we can set a negative one billion dollar stack and a $1 above it. It shows money going down but once at $1 no more sound. negative 1 billion dollars
|
|
moloko
Veteran
Got Milk?
Posts: 494
|
Post by moloko on May 20, 2011 6:30:58 GMT -5
If we add this and force Lv 0 for Infinity Mode, people won't make it past the first couple hours.
|
|
|
Post by anno1404 on May 20, 2011 7:32:44 GMT -5
If we add this and force Lv 0 for Infinity Mode, people won't make it past the first couple hours. not to worry, only the money will reduce not levels. Tom was adamant, and I think he is right and made some eloquent points, that most people will dislike and not play if we put them to level 1.
|
|
moloko
Veteran
Got Milk?
Posts: 494
|
Post by moloko on May 20, 2011 7:45:55 GMT -5
Agreed.
|
|