AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   orpheu: shotgun modification (https://forums.alliedmods.net/showthread.php?t=126460)

Voi 05-09-2010 14:26

orpheu: shotgun modification
 
How to change number of pellets in shotgun shells and their spread.

fysiks 05-09-2010 14:31

Re: orpheu: shotgun modification
 
Why do you assume this is an orpheu question? Just curious.

Voi 05-09-2010 14:47

Re: orpheu: shotgun modification
 
Cause if it is doable, first thing I could think of is orpheu.

ConnorMcLeod 05-09-2010 16:54

Re: orpheu: shotgun modification
 
Quote:

Originally Posted by fysiks (Post 1175739)
Why do you assume this is an orpheu question? Just curious.

Because you can't access FireBulletsXXX function without orpheu

joropito 05-09-2010 18:16

Re: orpheu: shotgun modification
 
Quote:

Originally Posted by ConnorMcLeod (Post 1175889)
Because you can't access FireBulletsXXX function without orpheu

As far as I know, Firebullets uses a type of data (vector) that isn't supported by orpheu.

Other way is to use *Fire methods of weapon classes, but that's hard to find signatures for windows...

Arkshine 05-09-2010 18:38

Re: orpheu: shotgun modification
 
There is another way, what I have done for Prone Position, but there is a problem and I'm waiting for Quim's feedback.

EDIT: For shotgun the method won't work, you would need to patch the memory.

Voi 05-09-2010 19:39

Re: orpheu: shotgun modification
 
Quote:

Originally Posted by Arkshine (Post 1175994)
you would need to patch the memory.

Well that was what i was thinking about. Well it got to be defined somewhere :P.

Arkshine 05-10-2010 04:19

Re: orpheu: shotgun modification
 
In windows it's referenced in FireBullets, and in linux in the rodata section. Anyway making signatures should be ok.


All times are GMT -4. The time now is 03:33.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.