MartinJK / Mafia-Definitive-Edition-ScriptHook

Other
16 stars 5 forks source link

Expanding Freeride #4

Open SimonMeskens opened 3 years ago

SimonMeskens commented 3 years ago

I'm looking to potentially expand Freeride to be more of a sandbox type game, with taxi missions, mobsters, like the original, etc. Is this something I could accomplish with ScriptHook? I've been look at the API and globals and I'm having a hard time trying to figure out what's possible.

Ekey commented 3 years ago

In fact, in the scripts, there is a mention of the non-released FreeRide Extreme with any difficulty, races > here a list

sm_ef_010_bike_racing
sm_ef_020_crazy_taxi
sm_ef_030_race_chinatown
sm_ef_040_race_classic
sm_ef_050_tram_challenge
sm_ef_060_race_track_01
sm_ef_070_farm_defence
sm_ef_080_farm_towers
sm_ef_090_parking_shootout
sm_ef_100_race_farm
sm_ef_110_wild_hunt
sm_ef_120_armored_truck
sm_ef_130_race_mm_010_chase
sm_ef_140_race_mm_020_taxi
sm_ef_150_race_mm_030_molotov
sm_ef_160_race_mm_040_motel
sm_ef_170_race_mm_050_race
sm_ef_180_race_mm_060_sarah
sm_ef_190_race_mm_070_hoodlums
sm_ef_200_race_mm_080_brothel
sm_ef_210_race_mm_100_farm
sm_ef_220_race_mm_110_omerta
sm_ef_230_race_mm_120_mansion
sm_ef_240_race_mm_130_parking
sm_ef_250_race_mm_140_salieri
sm_ef_260_race_mm_150_boat
sm_ef_270_race_mm_160_harbor
sm_ef_280_race_mm_170_plane
sm_ef_290_race_mm_180_sniper
sm_ef_300_race_mm_190_cigars
sm_ef_310_race_mm_200_bank
sm_ef_320_race_mm_210_gallery
Race MM 010 Chase
Race MM 020 Taxi
Race MM 030 Molotov
Race MM 040 Motel
Race MM 050 Race
Race MM 060 Sarah
Race MM 070 Hoodlums
Race MM 080 Brothel
Race MM 100 Farm
Race MM 110 Omerta
Race MM 120 Mansion
Race MM 130 Parking
Race MM 140 Salieri
Race MM 150 Boat
Race MM 160 Harbor
Race MM 170 Plane
Race MM 180 Sniper
Race MM 190 Cigars
Race MM 200 Bank
Race MM 210 Gallery
Race - Autodrome - A

Strings

Drive through the city and beat the others

Drive your bike like a pro and win the race

Take passengers to their destination Drive around the city and pick up impatient customers Drop them off at requested locations to gain points Your time is limited so hurry up and do not crash

Drive through Chinatown backstreets and beat the others Experience the thrill of racing on Lost Heaven circuit

Tram Tracks Stay on the tram tracks till the very end Stay on tram tracks Drive as fast as possible Do not crash

Autodrome Race See the Lost Heaven circuit in different light

Farm Defence Protect barn from gansgter invasion Kill all enemies Enemies come in waves

Parking Shootout Fight your way through three floors of enemies Escape the parking garage Do not let you health reach 0

Farm Race Look at the racing from an alternate perspective

Wild Hunt Hunt down and destroy three vehicles There are three cars driving in the city Destroy them all Time is important

Armored Truck Take control over the armored turck machine gun and lay some hell You will be in charge of roof-mounted machine gun Destroy as many police cars as possible Do not kill civilians

Purchase and/or spawn various vehicles

Race Car Beast of a car making you the center of any racing crowd

Wreak havoc with this heavily reinforced truck

Purchase and/or equip selected outfits

Purchase and/or equip various weapons Railgun Snipe anything you desire with this high-powered high-precission weapon

Animal Mask Stylish brown animal mask will help you fit into the Lost Heaven underground characters/game/dlc03_opera_house/dlc03_opera_high_priest

Hazmat Suit Protect yourself in this beautiful full-body impenetrable suit characters/game/garbagedump/game_garbagedump_crew1

mult_time
mult_wave
mult_kill
mult_accuracy
mult_headshot
mult_health

Also race's must be with a race trophies which you can sell to the shop. Taxi missions are also mentioned and much more.

AwardRaceTrophy
CurrencyAdd
CurrencyRemove
CurrencyGet

ShopMenu
ShopMenuCreate
ShopMenuRewardSelected
ShopRewardIsEnabled
ShopMenuClose
ShopMenuEvent
ShopRewardDescription

GetScoreDataRace
DrawScoreScreen
HideScoreScreen
GetTopScore
GetScoreTrophies

Maybe they release it as DLC ? :)

MartinJK commented 3 years ago

That's exactly what we are working on. As mentioned in the other issue, we're working hard on creating a stable and overhaul version of ScriptHook that is not limited to but will allow you to create the exact things you've just mentioned and many more (UI stuff, etc...). I don't want to promise or spoil too much at this point, but we're doing our best. I'll keep you posted once it's available to the public :)

GalacticUnknowns commented 3 years ago

I'm in your same position. There is no documentation anywhere and MANY functions do not work that exist in the game's LUA files. Talking about HUD stuff and spawning NPCs, etc

SimonMeskens commented 3 years ago

I'm sure it'll be fixed GalacticUnknowns, give em some time :)

MartinJK commented 3 years ago

Hey guys,

gome some nice update for you. On Tuesday, October 6th NOMAD Group is going to release the overhaul for the Mafia ScriptHook with a ton of new features. This GitHub project is deprecated from now on, for more information visit

https://community.nomad-group.net/index.php?/blogs/entry/10-development-blog-10-mplus-mafia-definitive-edition-scripthook/

https://www.youtube.com/watch?v=pQ9HM20a83g