IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

This section is for obtaining help on creating and releasing tools

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


Pages: (4) « First ... 2 3 [4]   ( Go to first unread post ) Reply to this topicStart new topicStart Poll

 [SRC|REL] SCM Hook for Vice City

 Formerly "SCM Hooking - Part 2"
 
Nulldata  
Posted: Thursday, Aug 14 2008, 01:17
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Apr 28, 2008

XXXXX



Sorry for the bump of such an old topic, but does anyone still have this? It seems that Spookie's site has been taken over by a link farm sad.gif
PM
  Top
 

 
ceedj  
Posted: Thursday, Aug 14 2008, 15:00
Quote Post


PEDS Creator
Group Icon
Group: Members
Joined: May 21, 2005

us.gif

Member Award




Users WebsitePM
  Top
 

 
Nulldata  
Posted: Friday, Aug 15 2008, 00:22
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Apr 28, 2008

XXXXX



QUOTE (ceedj @ Aug 14 2008, 15:00)
http://www.gtaforums.com/index.php?showtop...dpost&p=4054408

Thank you inlove.gif
PM
  Top
 

 
xanser  
Posted: Wednesday, Dec 9 2009, 07:19
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Sep 12, 2006

XXXXX



Does anyone still have Spookie's Speedo Source Code (SCM Hook for VC)? rampage_ani.gif
PM
  Top
 

 
Swoorup  
Posted: Friday, Jan 20 2012, 07:08
Quote Post


innovator
Group Icon
Group: Members
Joined: Oct 28, 2008

au.gif

XXXXX



I know this is a very old topic and nobody maybe interested at all.

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.
PMMSNYahoo
  Top
 

 
Swoorup  
Posted: Saturday, Jan 21 2012, 11:05
Quote Post


innovator
Group Icon
Group: Members
Joined: Oct 28, 2008

au.gif

XXXXX



The solution was merely simple. I just found found that Spookie's SCM hook was giving Weapon_Index as parameter to REQUEST_MODEL and IS_MODEL_AVAILABLE opcodes, which was causing the goddamn error. They actually take MODEL ID as parameter.
I made replacements and here is the updated versions. Simply replace them with the old files.

ScriptClasses.cpp
ScriptClasses.h
GameDefines.h
MissionThreads.cpp

Have fun with OOP style Mission coding. rah.gif

EDIT:
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. moto_whistle.gif

This post has been edited by Swoorup on Saturday, Jan 21 2012, 13:56
PMMSNYahoo
  Top
 

 

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)

0 Members:

Pages: (4) « First ... 2 3 [4] 

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG