AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Tutorial for making Fire , Water ,... attacks (https://forums.alliedmods.net/showthread.php?t=76198)

grimvh2 08-20-2008 08:08

Tutorial for making Fire , Water ,... attacks
 
Hello guys ,

I am seeking for a tutorial how to code attacks .
Like fire balls , water swipes , throwing rocks . The problem is I dont know really how and I think its not going to be easy . So i am seeking a tutorial for this . Is there anyone here that knows a good tutorial ore can explain it to me?

Zero [UM-wFs] 08-20-2008 08:24

Re: Tutorial for making Fire , Water ,... attacks
 
for what mod ?

grimvh2 08-20-2008 08:29

Re: Tutorial for making Fire , Water ,... attacks
 
I dont think that matters but its for my Avatar mod I am starting with

Zero [UM-wFs] 08-20-2008 09:00

Re: Tutorial for making Fire , Water ,... attacks
 
Quote:

Originally Posted by grimvh2 (Post 672587)
I dont think that matters but its for my Avatar mod I am starting with

i mean what mod: CS, ESF, HL, etc

grimvh2 08-20-2008 09:12

Re: Tutorial for making Fire , Water ,... attacks
 
Cs 1.6

Alka 08-20-2008 09:13

Re: Tutorial for making Fire , Water ,... attacks
 
That don't matter so much...you must block the original fire attack and hook attack,then make a custom ent with model/sprite, add a beam or w/e...set it velocity in direction of player aiming , then hook touch with that ent, and make damage to player that is touching it. Also you can emit a custom sound, and replace the model of original weapon, add some recoil,or screen fade effects and so...

A good example can be -> http://forums.alliedmods.net/showthread.php?p=175993 'plasma shot'

grimvh2 08-20-2008 09:27

Re: Tutorial for making Fire , Water ,... attacks
 
Yeah thanks , I want this to be good . I am even going to make a special map for it . So skills can get advantage of in wich area they are . I am going to start with Fire , there are already some out here like flamethrowers so thats copy paste but I also want to learn cause thats the point of this .

Zero [UM-wFs] 08-20-2008 09:58

Re: Tutorial for making Fire , Water ,... attacks
 
it does matter Alka, because if he use ESF he just need to replace sprites and hook damage ;)

Alka 08-20-2008 09:59

Re: Tutorial for making Fire , Water ,... attacks
 
No. You don't need to do copy/paste. Just take a look at plugin to see how it's made, some of them are with message TE_SPRAY with custom sprite, you can make it with TE_BEAMPOINTS ,take a custom sprite, set a bit of noise,then do a trace to check if some one is in line of fire (defined distance) and so...


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

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