This section is for obtaining help on creating and releasing tools
Please read the Official Modification Forum Rules & Procedure BEFORE posting!
The following topics contain extremely useful information on creating tools:
Requests are to be made in the pinned topic.
[SRC|REL] SCM Hook for Vice City
Posted 14 August 2008 - 01:17 AM
Posted 09 December 2009 - 07:19 AM
Posted 20 January 2012 - 07:08 AM
I am been playing around with these tool for the past days and I found out that the load models / load requested models does not work at all in the Hook. It does not work for some unknown reasons. In the mission Sample the MP5 weapon loaded because of spawning the feds ( FBI). The fed models spawns with pre-loaded weapons like the cops do with a nitestick and a pistol.
If you try to give other weapon to the player at the first place, it does not work at all.
The REQUEST MODEL( 0247) and LOAD REQUESTED MODEL (038B) could be replaced by functions from CStreaming function address but I am not sure it would work though.
Hope someone would be able to help.
Posted 21 January 2012 - 11:05 AM
I made replacements and here is the updated versions. Simply replace them with the old files.
Have fun with OOP style Mission coding.
I have added a marker next to the original The Sample mission just for the sake of debugging. It just spawns a FBI and a vending machine so it may not be of any use.
Edited by Swoorup, 21 January 2012 - 01:56 PM.