• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Solid carepackages
#1
Hello,
I tried to spawn solid carepackages in MW3.
This is my code so far:

Code:
Entity e = SpawnModel("script_model", "com_plasticcase_friendly", t);
Extensions.CloneBrushModelToScriptModel(e, Extensions.FindAirdropCrateCollisionId());

I have also tried adding this:

Code:
Extensions.SetContents(e, 1)

The care package spawns but its not solid.

what am I doing wrong? do I need some additional files or different dll's  ? ( other than the Extensions class )
Thanks in advance.
  Reply
#2
(01-18-2017, 21:38)huhu Wrote: Hello,
I tried to spawn solid carepackages in MW3.
This is my code so far:

Code:
Entity e = SpawnModel("script_model", "com_plasticcase_friendly", t);
Extensions.CloneBrushModelToScriptModel(e, Extensions.FindAirdropCrateCollisionId());

I have also tried adding this:

Code:
Extensions.SetContents(e, 1)

The care package spawns but its not solid.

what am I doing wrong? do I need some additional files or different dll's  ? ( other than the Extensions class )
Thanks in advance.

Well, that solved the problem?
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Help Help Solid carepackages vViP 0 282 03-05-2019, 10:35
Last Post: vViP

Forum Jump:


Users browsing this thread: 1 Guest(s)