You are viewing our Forum Archives. To view or take place in current topics click here.
Is this how models would be done mw2?
Posted:

Is this how models would be done mw2?Posted:

Dvar
  • TTG Contender
Status: Offline
Joined: Jul 23, 201113Year Member
Posts: 3,869
Reputation Power: 174
Status: Offline
Joined: Jul 23, 201113Year Member
Posts: 3,869
Reputation Power: 174
Just checking because i am not sure how they are done on mw2.
Jtag.Call(0x8220D310, -1, 0, "vehicle_ac130_low_mp");
This is with rpc.xex btw.
#2. Posted:
ZZ9_x_iHaXoRZz
  • Rigged Luck
Status: Offline
Joined: Mar 11, 201113Year Member
Posts: 4,436
Reputation Power: 8964
Status: Offline
Joined: Mar 11, 201113Year Member
Posts: 4,436
Reputation Power: 8964
This is what i do.

first i create a private void like this,



 private void SetModel(int Client, string Model)
        {
            Jtag.Call(MMW2, getEntity(Client), Model);//Jtag.Call(MMW2, 0, 0,
        }
        private uint getEntity(int clientIndex)
        {
            return (uint)(-2098186752 + (clientIndex * 640));
        }



Then to spawn the model i do this.

 Jtag.Call(MMW2, getEntity(0), "com_plasticcase_friendly");


i also recommend to set third person to so do this.


Jtag.Call(MMW2, getEntity(0), "com_plasticcase_friendly");
            Jtag.Call(SVMW2, 0, 0, "s cg_thirdperson 1");

#3. Posted:
Dvar
  • TTG Contender
Status: Offline
Joined: Jul 23, 201113Year Member
Posts: 3,869
Reputation Power: 174
Status: Offline
Joined: Jul 23, 201113Year Member
Posts: 3,869
Reputation Power: 174
ZZ9_x_iHaXoRZz wrote This is what i do.

first i create a private void like this,



 private void SetModel(int Client, string Model)
        {
            Jtag.Call(MMW2, getEntity(Client), Model);//Jtag.Call(MMW2, 0, 0,
        }
        private uint getEntity(int clientIndex)
        {
            return (uint)(-2098186752 + (clientIndex * 640));
        }



Then to spawn the model i do this.

 Jtag.Call(MMW2, getEntity(0), "com_plasticcase_friendly");


i also recommend to set third person to so do this.


Jtag.Call(MMW2, getEntity(0), "com_plasticcase_friendly");
            Jtag.Call(SVMW2, 0, 0, "s cg_thirdperson 1");

Ok thanks. Models are confusing because it looks like there is 2 or more ways to do them
#4. Posted:
Dvar
  • TTG Contender
Status: Offline
Joined: Jul 23, 201113Year Member
Posts: 3,869
Reputation Power: 174
Status: Offline
Joined: Jul 23, 201113Year Member
Posts: 3,869
Reputation Power: 174
ZZ9_x_iHaXoRZz wrote This is what i do.

first i create a private void like this,



 private void SetModel(int Client, string Model)
        {
            Jtag.Call(MMW2, getEntity(Client), Model);//Jtag.Call(MMW2, 0, 0,
        }
        private uint getEntity(int clientIndex)
        {
            return (uint)(-2098186752 + (clientIndex * 640));
        }



Then to spawn the model i do this.

 Jtag.Call(MMW2, getEntity(0), "com_plasticcase_friendly");


i also recommend to set third person to so do this.


Jtag.Call(MMW2, getEntity(0), "com_plasticcase_friendly");
            Jtag.Call(SVMW2, 0, 0, "s cg_thirdperson 1");

btw what is MMW2? Is that just the setmodel offset did you do this?
private uint MMW2 = 0x8220D310;
#5. Posted:
ZZ9_x_iHaXoRZz
  • Winter 2022
Status: Offline
Joined: Mar 11, 201113Year Member
Posts: 4,436
Reputation Power: 8964
Status: Offline
Joined: Mar 11, 201113Year Member
Posts: 4,436
Reputation Power: 8964
Dvar wrote
ZZ9_x_iHaXoRZz wrote This is what i do.

first i create a private void like this,



 private void SetModel(int Client, string Model)
        {
            Jtag.Call(MMW2, getEntity(Client), Model);//Jtag.Call(MMW2, 0, 0,
        }
        private uint getEntity(int clientIndex)
        {
            return (uint)(-2098186752 + (clientIndex * 640));
        }



Then to spawn the model i do this.

 Jtag.Call(MMW2, getEntity(0), "com_plasticcase_friendly");


i also recommend to set third person to so do this.


Jtag.Call(MMW2, getEntity(0), "com_plasticcase_friendly");
            Jtag.Call(SVMW2, 0, 0, "s cg_thirdperson 1");

btw what is MMW2? Is that just the setmodel offset did you do this?
private uint MMW2 = 0x8220D310;


Yea mate, that is correct.
#6. Posted:
Dvar
  • TTG Contender
Status: Offline
Joined: Jul 23, 201113Year Member
Posts: 3,869
Reputation Power: 174
Status: Offline
Joined: Jul 23, 201113Year Member
Posts: 3,869
Reputation Power: 174
ZZ9_x_iHaXoRZz wrote
Dvar wrote
ZZ9_x_iHaXoRZz wrote This is what i do.

first i create a private void like this,



 private void SetModel(int Client, string Model)
        {
            Jtag.Call(MMW2, getEntity(Client), Model);//Jtag.Call(MMW2, 0, 0,
        }
        private uint getEntity(int clientIndex)
        {
            return (uint)(-2098186752 + (clientIndex * 640));
        }



Then to spawn the model i do this.

 Jtag.Call(MMW2, getEntity(0), "com_plasticcase_friendly");


i also recommend to set third person to so do this.


Jtag.Call(MMW2, getEntity(0), "com_plasticcase_friendly");
            Jtag.Call(SVMW2, 0, 0, "s cg_thirdperson 1");

btw what is MMW2? Is that just the setmodel offset did you do this?
private uint MMW2 = 0x8220D310;


Yea mate, that is correct.
Ahhh ok i get it now thank you <3
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.