In response to Evil_SSJ4Vegeta
Heh, I was away for a bit. No need to get so anxious. Despite what some people in the other threads might think, I do have a life ;)

The post where Lummox JR describes a good way to do the triplewide beam is here: [link] It's very similar to the way missiles work on both of my current projects.

If I get time, I'll whip up a little demo for you.
In response to Shadowdarke
Thank you both sooooooooo much, I am getting there little by little, but I hope I make it in he end :)
In response to Shadowdarke
Shadowdarke wrote:
Heh, I was away for a bit. No need to get so anxious. Despite what some people in the other threads might think, I do have a life ;)

The post where Lummox JR describes a good way to do the triplewide beam is here: [link] It's very similar to the way missiles work on both of my current projects.

If I get time, I'll whip up a little demo for you.

Sorry Shadowdarke, Thats the one I tried to understand earlier on, but I just couldnt understand it, sorry :(
In response to Evil_SSJ4Vegeta
Ok, I made a TripleWideBeam code. Promise me that you will study it and try to learn from it instead of just copying it. I tried to make it match your code somewhat, since you seemed to want people to get hurt by entering the beam...

http://shadowdarke.byond.com/snippets/TripleWideBeam_src.zip
In response to Shadowdarke
Thank you Shadowdarke, and yes I promise that I wont copy and paste it, I will type it all up into my code but before I do that I will read through this Multiple tile beam, and thank you

Evil_SSJ4Vegeta
In response to Evil_SSJ4Vegeta
I have edited your beam now to work with my game, only alittle but...I'm wondering how I actually get th damage in the code and also I need the beam to take off PL as I cant seem to figure it out :(

So could you help out yet again please?

Also thak you for taking the time to make the beam, I am really thankful to you for this.

Lee
In response to Evil_SSJ4Vegeta
Evil_SSJ4Vegeta wrote:
I have edited your beam now to work with my game, only alittle but...I'm wondering how I actually get th damage in the code and also I need the beam to take off PL as I cant seem to figure it out :(

The place that applies the effects of the beam is in the beam Trigger() proc.

O is the thing hit by the beam. Trigger() does a check to see if O is a mob. If it's a mob, it makes a mob var M that points to O so it can access mob vars and procs without the dread : operator.

The line that sets M.icon_state is where the spectra beam changes the mob's color. You would want to replace that line with one that modifies M.PL.

Also thak you for taking the time to make the beam, I am really thankful to you for this.

You're welcome. Sometimes I enjoy working on little problems to take my mind off things*. Besides, it was fun playing with rainbow attacks on smiley faces. ;)

* <font size=-1>Before anyone gets any ideas, this doesn't mean I'll always write code for people. It has to be a problem that interests me in some way, and I have to have free time to kill working on it. Cash sometimes makes a good substitute for either or both conditions.</font>
In response to Shadowdarke
Shadowdarke wrote:
Evil_SSJ4Vegeta wrote:
I have edited your beam now to work with my game, only alittle but...I'm wondering how I actually get th damage in the code and also I need the beam to take off PL as I cant seem to figure it out :(

The place that applies the effects of the beam is in the beam Trigger() proc.

O is the thing hit by the beam. Trigger() does a check to see if O is a mob. If it's a mob, it makes a mob var M that points to O so it can access mob vars and procs without the dread : operator.

The line that sets M.icon_state is where the spectra beam changes the mob's color. You would want to replace that line with one that modifies M.PL.

Also thak you for taking the time to make the beam, I am really thankful to you for this.

You're welcome. Sometimes I enjoy working on little problems to take my mind off things*. Besides, it was fun playing with rainbow attacks on smiley faces. ;)

* <font size=-1>Before anyone gets any ideas, this doesn't mean I'll always write code for people. It has to be a problem that interests me in some way, and I have to have free time to kill working on it. Cash sometimes makes a good substitute for either or both conditions.</font>

Ok thanks Shadow, I will try to get the M.PL to work also could you tell me alittle more by telling me what bit of code I should add to make the mob die and got to Snake Way?...Aswell as alittle help to take PL away from the User of the attack...not to mention I would like the players to be at level 1000 to use the attack, but keep the attack in the contents anyway...is this possible?
In response to Evil_SSJ4Vegeta
Heh, those were the words I was hoping I wouldnt hear from Evil..*Sigh* If you had read Shadowdarke's code thoroughly you would notice the comment thats nicely placed to show you exactly where to do this.

And if you mean that you dont know HOW, I seriously suggest you read the FAQ all the way through.

Alathon
In response to Alathon
I know where to put it, just dont know what to add yet
In response to Evil_SSJ4Vegeta
Thought so....Please do as I said, read the FAQ, really really read it. Dont skim over it, dont read a few select things. Read it word for word until you have a grasp of what it says, then read the guide and do the same. Once you read those you shouldnt ask this question. Why you went and tried to do something like creating a beam with this kind of complexity with the coding knowledge you have I cant figure out. You've got to start at the bottem, not the other way 'round :)

Alathon
In response to Alathon
Ok
Page: 1 2