adding crime to list of possiable way to get to your prison

Discussion about Mods for Prison Architect

Moderator: NBJeff

benpowerman
level2
level2
Posts: 105
Joined: Fri Aug 20, 2010 3:42 am

adding crime to list of possiable way to get to your prison

Postby benpowerman » Fri Oct 16, 2015 7:53 pm

i modify the base-language.txt is any thing else i need to modify in order to add crime?

# =============================================================================
# Crime names
# =============================================================================

crime_bribery Bribery
crime_aggravatedburglary Aggravated Burglary
crime_burglary Burglary
crime_arson Arson
crime_criminaldamage Criminal Damage
crime_vandalism Vandalism
crime_violentdisorder Violent Disorder
crime_possession Possession
crime_possessionintenttosupply Possession Intent To Supply
crime_forgery Forgery
crime_fraud Fraud
crime_counterfeightingcurrency Counterfeighting Currency
crime_falseaccounting False Accounting
crime_insidertrading Insider Trading
crime_moneylaundering Money Laundering
crime_aggravatedvehicletheft Aggravated Vehicle Theft
crime_joyriding Joy Riding
crime_dangerousdriving Dangerous Driving
crime_deathbydangerousdriving Death By Dangerous Driving
crime_drivingunderinfluence Driving Under Influence
crime_kidnapping Kidnapping
crime_falseimprisonment False Imprisonment
crime_torture Torture
crime_assault Assault
crime_aggravatedassault Aggravated Assault
crime_assaultinganofficer Assaulting An Officer
crime_greviousbodilyharm Grevious Bodily Harm
crime_murder Murder
crime_attemptedmurder Attempted Murder
crime_manslaughter Manslaughter
crime_pervertingcourseofjustice Perverting Course Of Justice
crime_contemptofcourt Contempt Of Court
crime_drunkdisorderlybehaviour Drunk Disorderly Behaviour
crime_escapingfromlawfulcustody Escaping From Lawful Custody
crime_perjury Perjury
crime_rioting Rioting
crime_espionage Espionage
crime_violentdisorder Violent Disorder
crime_trafficking Trafficking
crime_armedrobbery Armed Robbery
crime_robbery Robbery
crime_carjacking Car Jacking
crime_blackmail Blackmail
crime_handlingstolengoods Handling Stolen Goods
crime_videogamepiracy Video Game Piracy
crime_indievideogamepiracy Indie Video Game Piracy
crime_shoplifting Shoplifting
crime_pickpocketing Pickpocketing
crime_cartheft Car Theft
crime_rape Rape
crime_grossindecency Gross Indecency
crime_voyeurism Voyeurism
crime_ComputerHacking Computer Hacking
crime_Cybercrime Cybercrime
crime_hackingthefbi Hacking fbi
crime_hackingthewhitehouse Hacking the white house
crime_hackingthecia Hacking the cia
crime_hackingabank Hacking a bank
crime_hackingbusness Hacking a busness
crime_hackingthearmy Hacking the army
User avatar
aubergine18
level2
level2
Posts: 231
Joined: Sun Jul 05, 2015 3:24 pm

Re: adding crime to list of possiable way to get to your pri

Postby aubergine18 » Sun Oct 18, 2015 2:51 am

base-language.txt is only the localisation of strings (eg. for different languages)

to add crimes you also need to edit biographies.txt

Note: I've never tried modding crimes so no idea if it will actually work. I imagine you'll have to copy the entire biographies.txt from main.dat/data/biographies.txt in to your mod's data/ folder and then add your extra stuff in as the mods' biographies.txt will overwrite rather than append/update the one in the game.

Please report back to let us know if it works or not.
benpowerman
level2
level2
Posts: 105
Joined: Fri Aug 20, 2010 3:42 am

Re: adding crime to list of possiable way to get to your pri

Postby benpowerman » Mon Oct 19, 2015 6:27 am

it work see pic in link below. you see.
make sure you edit biographies.txt and base-language.txt to get this result https://onedrive.live.com/redir?resid=C ... hoto%2cpng
if you only edit the biographies.txt you get this result https://onedrive.live.com/redir?resid=C ... hoto%2cjpg

here the end result http://steamcommunity.com/sharedfiles/f ... 537859205l
User avatar
Brento666
level3
level3
Posts: 290
Joined: Wed Sep 02, 2015 9:23 pm

Re: adding crime to list of possiable way to get to your pri

Postby Brento666 » Mon Oct 19, 2015 3:25 pm

Great stuff!! Will get this... But some texts need attention first;

please consider changing:
crime_ComputerHacking Computer Hacking
crime_Cybercrime Cybercrime
crime_hackingthefbi Hacking fbi
crime_hackingthewhitehouse Hacking the white house
crime_hackingthecia Hacking the cia
crime_hackingabank Hacking a bank
crime_hackingbusness Hacking a busness

to:
crime_identitytheft(1) Identity theft
crime_hackingfed1 Intruding a federal network
crime_hackingfed2 Compromising a federal network (with higher punishment)
crime_hackinggov Hacking a governmental network
crime_hackingfin Hacking a financial institution
crime_hackingbus Hacking private businesses
crime_hackingthearmy1 Intrusion on a military network
crime_hackingthearmy2 Compromising a military network (with higher punishment)

Also please consider adding:
crime_identitytheft2 Sold stolen information for profit
crime_leaking1 Leaked secret documents to media
crime_leaking2 Leaked state secrets to media (with an extremely long punishment)
crime_recruiting1 Recruiting for overseas terrorist faction
crime_recruiting2 Recruiting for anti state terrorism (with a longer punishment)
crime_terrorism1 Planning of terrorist acts abroad
crime_terrorism2 Planning of a terrorist act (with higher punishment)
crime_terrorism3 Coordinating terrorist activities (with slightly higher punishment)
crime_terrorism4 Failed terrorist plot (with even higher punishment)
crime_terrorism5 Executing a terrorist act (with an extremely long punishment)
crime_insurgency Insurgency


I am temped to re-release your work with my edits otherwise :twisted:
But would rather you have a more awesome mod yourself!
benpowerman
level2
level2
Posts: 105
Joined: Fri Aug 20, 2010 3:42 am

Re: adding crime to list of possiable way to get to your pri

Postby benpowerman » Tue Oct 20, 2015 1:10 am

http://steamcommunity.com/sharedfiles/f ... 538271073l

get most to work but one i still get crime_Insurgency
User avatar
Brento666
level3
level3
Posts: 290
Joined: Wed Sep 02, 2015 9:23 pm

Re: adding crime to list of possiable way to get to your pri

Postby Brento666 » Tue Oct 20, 2015 1:31 am

Cool beans!!

Shame insurgency wont work straight away!...

two edits to the text (also used in the screenshot at steam, that's why I noticed my error);

crime_hackingfed1 Intruding on a federal network
crime_hackingthearmy1 Intruding on a military network

I am not a native English speaker (dutch), so tend to get things slightly wrong when in a hurry.

ps. The text at steam I'd change to:

Code: Select all

(title:) Expanded Crimes! Modern Terror Acts!

This adds NEW (extra) crimes to (fresh) prisoner's convictions!...
examples:  Identity theft, Compromising a federal network, Hacking a financial institution, Intruding on a military network, Leaked state secrets to media, Recruiting for anti state terrorism, Failed terrorist plot ... and more!

Enjoy!


Again, thanks for modding this, it is way cool! Brento666 out.
benpowerman
level2
level2
Posts: 105
Joined: Fri Aug 20, 2010 3:42 am

Re: adding crime to list of possiable way to get to your pri

Postby benpowerman » Tue Oct 20, 2015 1:38 am

make sure you have one line no text in the it bottom of base-language.txt that one do fix problem i had
Last edited by benpowerman on Tue Oct 20, 2015 1:52 am, edited 1 time in total.
User avatar
Brento666
level3
level3
Posts: 290
Joined: Wed Sep 02, 2015 9:23 pm

Re: adding crime to list of possiable way to get to your pri

Postby Brento666 » Tue Oct 20, 2015 1:49 am

benpowerman wrote:make sure you one line no text in the it bottom of base-language.txt that one do fix problem i had

Ahhh, yes always important for some reason, the empty lines! :o

edit: I just looked at the base game convictions; they are all "capitalized":
"Gross Bodily Harm"

-You could capitalize the crimes (if you have the time). For instance: Intruding on a Federal Network
(don't capitalize 'on', 'a', 'of' ,'for')

Then it 'd blend nicer with the game convictions!

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 6 guests