Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
hey everybody. In between making my RPG i always have fun ideas for other games with CGE. Recently I created a fun little game that I like to call EV Arcade. You fly around in an Argosy (all graphics are taken from original EV, and made larger) and have to complete level where you kill alieens, pirates, and mines. Anyway, so I'm making powerups and i have this great idea for a mine that the player can lay. I have it all worked out about the floating in space and everything, but I have 2 questions. First of all, can you make a projectile blow up when it hits a hostile, for instance, my mine is a projectile with a speed of 0 and a range of 75, and i want it to blow up when it hits an enemy. Any ideas? Ok, number two, can you do area of effect damage, or "Splash" damage in coldstone? A mine really isn't a mine without a huge explosion that damages surrounding hostiles. Ok well my mine question is done.
I also wonder if you can place an explosion when an NPC dies. I already made a gb_newX and NewY, set ActualX and ActualY to newX and newY, multiplied them by 32, and subtracted the appropriate numbers (so it appears in the middle of the dying NPC). This doesn't work at all. No explosion appears. Not even in a random place in the map.
One more question. Can you make a heat seeking projectile? I wanted to make a torpedo, but this I can't find a way to do it. Any thoughts?
Well, thanks for bearing with me, and replies are appreciated. Peace out.
------------------ I'm not laughing at you, I'm laughing with you in mind
Quote
Originally posted by OgreBob: First of all, can you make a projectile blow up when it hits a hostile, for instance, my mine is a projectile with a speed of 0 and a range of 75, and i want it to blow up when it hits an enemy. Any ideas?
Mr. OgreBob,
In theory, yes, though I haven't tested this.
My thought is that your projectile would be best suited to be done as an NPC. Yes, an NPC. Reason being is that if you make it an Item then you will have to script all the movements, figure out the delay in movements and make them manually, etc. A lot of difficult variables.
However, if you make the projectile an NPC then you can set its speed, range of movement, etc. If you give it 0 stamina then it will simply go where you have told it to go. In the "reaches target" event you can replace the npc with either an animation of an explosion, and then call an area-effect spell with the spell wizard to dish out damage.
The only problem I can see in this is specifying where the NPC would go; ie, what it would target. I'm not sure if you can specify a mouse click or not. If so then I would do it that way. If not, well, maybe this will stimulate someone else to offer ideas... heh.
Ok, number two, can you do area of effect damage, or "Splash" damage in coldstone? A mine really isn't a mine without a huge explosion that damages surrounding hostiles.
Using the tail end of the above method, just have the effect animation call a spell that damages enemies. I think that the range of the spell will let you limit the damage to however large of an area you wish. And it will damage all enemies in that affected range.
------------------ "But soon, soon, soon... the world will be a better place, with meadows and bunnies and fiber optics in every home..." - Tom Dowdy, Apple Computer ------------------ (url="http://"http://www.avalon.net/~honda/pog/pogwalkthrough2a.htm")PoG Walkthrough and Compendium(/url) | (url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/dl-redirect.pl/PoG_Dev_Tools_Source.sit?path=coldstone/resources&file;=PoG_Dev_Tools_Source.sit")PoG Dev Tools(/url)