Empire of Sin

Empire of Sin

Not enough ratings
Mod Tutorial: Sugar Daddy
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
9.968 KB
11 Oct, 2021 @ 9:17am
11 Oct, 2021 @ 10:29am
4 Change Notes ( view )

Subscribe to download
Mod Tutorial: Sugar Daddy

Description
"I do say old chum, this criminal business of yours is bloody exciting! I tell you what, you let me tag along on your business escapades and I'll see if I can't find a good use for all this dosh in my wallet."

Lord Charles Sugarfather II has come to Chicago to have the true American Gangster experience, and has heard of your exploits through the article of a certain Veronica Lockhart. He has now made you an offer to become your patron if you allow him to shadow you through Chicago, but you might have a bit of trouble keeping him alive...

Along with being a fully playable mod, this mod code acts as a step by step modding tutorial that teaches a modder how to:
1. Listen for when a particular mission is successful.
2. Spawn a customized character in the world.
3. Add/Remove a conversation on a character.
4. Create a "follow" behaviour.
5. Create a new source of weekly income.
6. Adjust combat AI values.
7. And much more!


This mod showcases some key techniques for writing scripts in Empire of Sin.
10 Comments
UncleRich 28 Oct, 2023 @ 9:39am 
How do i install this mod?
chantzfortune 17 Oct, 2023 @ 1:48am 
Does this mod allow you to adjust how much you will make weekly?
S.Nek89 7 Dec, 2022 @ 12:55pm 
Hey pal ! do you know how to create new hiredguns and add them to the game or replace with some of the characters in blackbook ! this game is like any era but 20s !! having gangsters like women in 20s is meaningless for me or some of those men with appearance like clown!! i can't create mods because i don't know about that but if some one can do that it would be really cool .another option can be changing the color of guards in buildings and make difference between them all of em have blue suits because some one make a mod that you can hire them now
xIJustUsIx 24 Jul, 2022 @ 6:30am 
Someone should make a mod that allows you to create your own boss at startup. Or Romero games should give us this in a update. That would be amazing. Overall love the game. o7!!!
WhisperedLullaby 27 Jan, 2022 @ 2:41pm 
@DwarfKraft:

This may be embarrassing as I could be missing something simple. But looking through the codebase, I'm not sure how to add characters directly to the black book and make them hireable. I see configurations for 'forceHireable' and hireorfire. But I'm not sure how these get built to the menu. Any help would be greatly appreciated <3
(FLAH) Ken 19 Dec, 2021 @ 12:15am 
You need to talk to Veronica Lockhart after you finish your tutorial. She'll be a pedestrian somewhere around your city area. After talking to her, he'll come out immediately or after a few days.
dcb$510 18 Dec, 2021 @ 11:19pm 
broke cant find fellow
natgrett12 5 Dec, 2021 @ 12:19pm 
Will this or other mod tutorials allow for the creation of new factions.
i.e new criminal bosses and factions like Tony Montana or Vito Corleone for film buffs like me
DwarfKraft  [author] 22 Nov, 2021 @ 3:10am 
Hey Ken, unfortunately the modding tools don't yet support asset replacement but will be coming in a future update.

https://eos.paradoxwikis.com/Modding

"Please note that this initial release supports modding of text assets in the game, specifically BRScript, Lua scripts and localization files. This allows you to mod all gameplay code, configuration data, missions, conversations, displayed text, etc. in the game. We are working on supporting modding of other assets types in a future update, e.g. audio, sprites, 3d models, UI, etc."

You can use existing assets of course, which is what this mod has done. I recommend searching the source files for "prefab =" or "ragdollPrefab =" to find configs with existing character asset paths used throughout the game.

Good Luck!
(FLAH) Ken 19 Nov, 2021 @ 8:54pm 
Im trying to find character icons and the prefabs to make a different character. Where can I find that?