Archived copy of warcraft-source.com, the Warcraft: Source (WCS) forum (2007–2011), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2010-02-05 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
February 05, 2010, 02:30:33 AM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Remember to check on the FAQ before start posting.
It may save you time and effort.
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
This topic has not yet been rated! You have not rated this topic. Select a rating:
Author Topic: grenade launcher request  (Read 77 times)
onasme
Level 0 Beginner

Offline Offline

United States United States

Posts: 1



« on: January 02, 2010, 06:14:21 AM »

hello.  I've been searching for days for a skill to resemble the MP5 grenade launcher mod that was made for cs1.6.  I've come to the conclusion that no such skill exists in the way i want it.  For those that do not know this mod, you are able to use your secondary fire button on a MP5 to launch a grenade at a high velocity toward your opponent or object and it would blow up on impact dealing damage to anyone near by similar to a grenades explosion.  As you buy HE grenades at spawn it would refill your MP5 with more grenades.  Otherwise known as an M203 attachment

I have been trying to get this skill made for a race idea I have but none of the coders i know of can change any of the variables for the HE grenade such as the velocity, arc, timer, even the detonation on impact wasn't going to be an easy task for this coder.  I could post a link to the forum where I have the race drawn up as an idea if anyone asks for it but I'm not too familiar with your rules yet and do not want to start breaking to many rules i have not read yet on my first post here.

If you do not wish to code this skill please at least show me how to change those variables of the HE grenade to do what I've asked.

Thank you in advance for any help that anyone can bring
Logged
[Oddity]TeacherCreature
Moderator
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 1432



WWW
bonggged

myServer 72.5.102.44:27015
(Warning: click connects through Steam)
« Reply #1 on: January 02, 2010, 05:42:04 PM »

I knwo the mod well for 1.6

There are a few ways to do this. You could manually do a check for nades, then if secondary attakc is fired reduce nade count by one and create a visual effect with a delayed explosion where your view coordinates are isntead of altering nade  components.

If not you need corelib noisy on and work off the eveny for weapon_fire and change the props for the nade entity all of thsse commands are on wiki although the first way woudl be way more simple.

My iron man race has missiles which are similiar so does one of Holidays races, he made a m3 rocketlauncher but same idea as what you are talking about. You can even add impact effects such as aoe dmg burning pushing away from explosion etc.
I suggest you add a cooldown to it and limit the push back to check for a key of someone diffusing so players dont be cheap when bomb is planted.

Good luck
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
February 04, 2010, 10:14:46 PM
Anyone know the if there is a code where if some kills someone with a knife they get hp and speed?
February 04, 2010, 02:33:47 AM
Sup?
February 04, 2010, 02:33:37 AM
hey Ghost
February 04, 2010, 01:44:10 AM
hey dark
February 02, 2010, 10:43:30 AM
Yap, he mean eventscripter xD
February 02, 2010, 01:03:48 AM
Eventscripter. lol
February 02, 2010, 12:23:17 AM
A WCS scripter?
Recent
[Today at 02:20:26 AM]

[February 04, 2010, 10:41:39 PM]

[February 04, 2010, 09:26:55 PM]

[February 04, 2010, 06:11:26 PM]

[February 04, 2010, 06:10:45 PM]

[February 04, 2010, 05:54:42 PM]

[February 04, 2010, 03:16:50 PM]

[February 04, 2010, 12:44:51 AM]

[February 03, 2010, 11:57:35 PM]

[February 03, 2010, 11:17:14 PM]
Theme switch

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2009, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.096 seconds with 23 queries.