Raised This Month: $32 Target: $400
 8% 

Realistic Bullet: Real-Life Bullet physics to CS - FINAL VERSION


Post New Thread Reply   
 
Thread Tools Display Modes
Siska1
Senior Member
Join Date: Feb 2020
Location: BedRock
Old 10-17-2022 , 11:58   Re: Realistic Bullet: Real-Life Bullet physics to CS - FINAL VERSION
Reply With Quote #61

I can't figure out how to fix this thing. When I set the values to 0 the bullets went straight into the ground.
__________________
Siska1 is offline
Send a message via Skype™ to Siska1
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 10-18-2022 , 04:15   Re: Realistic Bullet: Real-Life Bullet physics to CS - FINAL VERSION
Reply With Quote #62

The problem was with the movetype set to the bullet. It must be MOVETYPE_TOSS so EngFunc_TraceToss can do it's work. Instead of setting it to MOVETYPE_FLY when the parameter of gravity was 0.0 in the .ini file, now I just set the pev_gravity to 0.000001 with pev_movetype always set to MOVETYPE_TOSS. It is working as it should now.

Use this version, now you can make the parameter 0.0.
Attached Files
File Type: sma Get Plugin or Get Source (realisticBullet.sma - 40 views - 68.0 KB)
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo

Last edited by EFFx; 10-18-2022 at 21:11.
EFFx is offline
Siska1
Senior Member
Join Date: Feb 2020
Location: BedRock
Old 11-12-2022 , 18:48   Re: Realistic Bullet: Real-Life Bullet physics to CS - FINAL VERSION
Reply With Quote #63

When I get killed my player model bounces very strangely to the side.
There is some error here. Did they tell you something?
Code:
L 11/13/2022 - 01:35:29: Log file started (file "cstrike/addons/amxmodx/logs/realistic_bullet.log") (game "cstrike") (amx "1.10.0.5461")
L 11/13/2022 - 01:35:29: [Realistic Bullet]: Invalid speed value set at line 3. The current min speed is 4000.0.
L 11/13/2022 - 01:35:29: [Realistic Bullet]: Invalid speed value set at line 4. The current min speed is 4000.0.
L 11/13/2022 - 01:35:29: [Realistic Bullet]: Invalid speed value set at line 5. The current min speed is 4000.0.
L 11/13/2022 - 01:35:29: [Realistic Bullet]: Invalid speed value set at line 6. The current min speed is 4000.0.
L 11/13/2022 - 01:35:29: [Realistic Bullet]: Invalid speed value set at line 7. The current min speed is 4000.0.
L 11/13/2022 - 01:35:29: [Realistic Bullet]: Invalid speed value set at line 8. The current min speed is 4000.0.
L 11/13/2022 - 01:35:29: [Realistic Bullet]: Invalid speed value set at line 9. The current min speed is 4000.0.
L 11/13/2022 - 01:35:29: [Realistic Bullet]: Invalid speed value set at line 10. The current min speed is 4000.0.
L 11/13/2022 - 01:35:29: [Realistic Bullet]: Invalid speed value set at line 11. The current min speed is 4000.0.
L 11/13/2022 - 01:35:29: [Realistic Bullet]: Invalid speed value set at line 12. The current min speed is 4000.0.
L 11/13/2022 - 01:35:29: [Realistic Bullet]: Invalid speed value set at line 13. The current min speed is 4000.0.
L 11/13/2022 - 01:35:29: [Realistic Bullet]: Invalid speed value set at line 14. The current min speed is 4000.0.
L 11/13/2022 - 01:35:29: [Realistic Bullet]: Invalid speed value set at line 15. The current min speed is 4000.0.
__________________
Siska1 is offline
Send a message via Skype™ to Siska1
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 11-12-2022 , 21:01   Re: Realistic Bullet: Real-Life Bullet physics to CS - FINAL VERSION
Reply With Quote #64

Inside of the sma there is a minimum definition of speed defined. BULLET_MIN_SPEED IIRC, make it 0.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
Siska1
Senior Member
Join Date: Feb 2020
Location: BedRock
Old 11-13-2022 , 19:18   Re: Realistic Bullet: Real-Life Bullet physics to CS - FINAL VERSION
Reply With Quote #65

So far so good
When I shoot it's like I'm with no recoil.
I find this plugin a bit complicated.
That which option comes from ?
__________________
Siska1 is offline
Send a message via Skype™ to Siska1
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 11-13-2022 , 22:26   Re: Realistic Bullet: Real-Life Bullet physics to CS - FINAL VERSION
Reply With Quote #66

Quote:
Originally Posted by Siska1 View Post
So far so good
When I shoot it's like I'm with no recoil.
The plugin follow the game's default recoil pattern, it just doesn't open the crosshair since I had to block the default animations to block client-sided effects.

Quote:
Originally Posted by Siska1 View Post
I find this plugin a bit complicated.
That which option comes from ?
I take that as a compliment. It took me years to write this project. Each bullet has it's own calculations throughout the path it goes to.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
Siska1
Senior Member
Join Date: Feb 2020
Location: BedRock
Old 11-14-2022 , 06:24   Re: Realistic Bullet: Real-Life Bullet physics to CS - FINAL VERSION
Reply With Quote #67

Your plugins are all nice, although I can't use them all. Errors occur sometimes when they get tangled up with other plugins. But I have a few of yours on the servers. So the one with the crosshairs remains the same?
__________________

Last edited by Siska1; 11-14-2022 at 06:25.
Siska1 is offline
Send a message via Skype™ to Siska1
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 11-14-2022 , 09:31   Re: Realistic Bullet: Real-Life Bullet physics to CS - FINAL VERSION
Reply With Quote #68

Which crosshair plugin are you talking about? The recoil pattern? Also, leave me your server IP, I could join sometime.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
Siska1
Senior Member
Join Date: Feb 2020
Location: BedRock
Old 11-14-2022 , 15:39   Re: Realistic Bullet: Real-Life Bullet physics to CS - FINAL VERSION
Reply With Quote #69

That's what I meant with the crosshair here, can't it be normal?

Quote:
I will send you our servers in a message
__________________
Siska1 is offline
Send a message via Skype™ to Siska1
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 11-14-2022 , 16:37   Re: Realistic Bullet: Real-Life Bullet physics to CS - FINAL VERSION
Reply With Quote #70

It cannot since I had to block default animations to recreate the bullet hit effects due the client-sided sparks and smoke puff of players.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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