This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Grenade Modes (Nomexous)


Post New Thread Reply   
 
Thread Tools Display Modes
Mikolas
Senior Member
Join Date: Aug 2006
Old 08-05-2008 , 13:46   Re: Grenade Modes (Nomexous)
Reply With Quote #21

Id like this plugin in my server.

However, I don't wish it to be enabled in many of my maps, I'm concerned it will conflict with my other grenade plugins. This will not cause issues with CSNADEDROPS will it?

Out of curiosity, can any of you guys who use this plugin suggest what particular maps this is fun to use? I'd love to try installing this mod onto a big map with a lot of corridors and tight places and make the gameplay a new sort of "he map" style. But I haven't played in too many maps to think of any.

Last edited by Mikolas; 08-05-2008 at 13:48.
Mikolas is offline
noobkake
Member
Join Date: Jul 2008
Old 09-21-2008 , 04:09   Re: Grenade Modes (Nomexous)
Reply With Quote #22

Pleasee , som screen shots

if karma +
__________________

noobkake is offline
Battousai-sama
Veteran Member
Join Date: Jul 2007
Old 04-27-2009 , 22:02   Re: Grenade Modes (Nomexous)
Reply With Quote #23

Code:
L 04/27/2009 - 21:57:22: [AMXX] Displaying debug trace (plugin "nademodes.amxx")
L 04/27/2009 - 21:57:22: [AMXX] Run time error 10: native error (native "pev")
L 04/27/2009 - 21:57:22: [AMXX]    [0] 31820.attach::get_grenade_type (line 1770)
L 04/27/2009 - 21:57:22: [AMXX]    [1] 31820.attach::fw_touch (line 1107)
Error i get in server logs.
__________________
Battousai-sama is offline
Send a message via MSN to Battousai-sama
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 04-28-2009 , 05:24   Re: Grenade Modes (Nomexous)
Reply With Quote #24

Quote:
Originally Posted by Battousai-sama View Post
Code:
L 04/27/2009 - 21:57:22: [AMXX] Displaying debug trace (plugin "nademodes.amxx")
L 04/27/2009 - 21:57:22: [AMXX] Run time error 10: native error (native "pev")
L 04/27/2009 - 21:57:22: [AMXX]    [0] 31820.attach::get_grenade_type (line 1770)
L 04/27/2009 - 21:57:22: [AMXX]    [1] 31820.attach::fw_touch (line 1107)
Error i get in server logs.
Use this! http://forums.alliedmods.net/showthread.php?p=663892 It is a remake by me .
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 08-17-2009 , 06:35   Re: Grenade Modes (Nomexous)
Reply With Quote #25

Request to the moderators.

Unapprove this plugin because my Nade Modes plugin is a better, newer and supported version of this plugin.
And the author said officially that he is passing torch to me.

Quote:
Originally Posted by Nomexous View Post
Wow. My baby has really grow up. I glanced at the code, and I have to say, ot_207, good job being able to read my code. I'm especially impressed that you figured out how to do the menus. I'm officially passing the torch on to you, and you deserve it.

Now, let me make one more contribution. I have two new, unreleased grenade modes. One is a homing mode, and the other is a rocket mode. I've attached the source code (still labeled version 3.1) so you can see how to implement them.

In homing mode, I detect when a player throws a grenade. Using TraceToss, I calculate where the grenade will land. Then, I use FindEntityInSphere to select the closest target. Each "think," the grenade will check if the target is in line of sight. If it is, it will seek the target. So, if you know there might be someone around the corner, don't bother bouncing the grenade. Just lob it, and it will curve around to the target once it reaches the corner.

ot_207, you might want to change the seek strength. It's a bit strong right now.

Rocket mode is supposed to be used in open areas. Again, I detect when a player throws the rocket grenade. Using TraceToss, I calculate where it will land, and store the location. Each "think" I check to see whether or not the grenade is falling or not by checking the sinage of the velocity in the Z-axis. If it's negative, meaning its passed the apogee of its flight, it'll shoot in a straight path at very high speed towards the location previously stored. This means the grenade should hit the same spot that it would if it were just a regular grenade.

As soon as the grenade is propelled, it is changed to an impact grenade. Unfortunately, because the velocity is a magnitude of 3000, it'll actually bounce off the target and get a good distance away before it explodes. This has to do with the time between thinks. It's pretty scary, though. ot_207, you might want to dress the rocket grenades up a little, too. Change the angles so the grenade's pointing towards the target, and draw a sprite and play a sound to make it look and sound like a rocket igniting.

Well, there you go! I'll return once in a while to check out the improvements you make to this. I'm busy with college, but who knows, I might return to the world of AMXX. Have fun!

PS. Will you take over Weapon Physics and Lie Flat too? Weapon Physics really needs some love and attention.
If you can, please edit the main topic title and add a link for redirection to my plugin.

Thank You!
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 08-18-2009 , 14:19   Re: Grenade Modes (Nomexous)
Reply With Quote #26

Unapproved because of autor request. A new supported version can be found here -> http://forums.alliedmods.net/showthread.php?p=663892
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
Reply



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 21:27.


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