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).
Sorry in advanced to Coldstone developers,
But I've searched all the forums and tried all of the advice located in these forums to no avail.
The problem I'm have is; using the TAG Values; &&ActualX;,&&ActualY.;
What I would like to happen is after NPC Death, a stamp will appear at those same co-ordinates.
I don't have problems with placing stamps at pixel locations, I just would like to know how to do this at the same location as an NPC (combatant).
If someone could explain how these TAG Values (I assume it works to same as &&PlayerX;,Y), then that would be greatly appreciated.
I made a game (Taken By Darkness) ages ago and didn't recall have troubles with it then..
Again Thank you.
-MayaPLE (url="http://"http://mayaple.spymac.net/")http://mayaple.spymac.net/(/url) (Is this an OS issue with TAGS?, Panther running Coldstone in Classic)
Hey May...
Right. In my game, I used items for the NPCs corpses. That was a rushed idea and worked pretty bad so don't try it. I think the actualX and actualY are just like the playerX/Y, movement tile coordinates. Therefore, if you take two globals and set them to be actualX and Y, then multiply them by the number of pixels your movement tiles are, you can place a stamp using those globals (just don't forget wich one is wich or you'll have a problem O.o). I have never used actualX/Y myself so I don't know if they work.
Good luck.
------------------ I want to die on a rainy day...
Quote
Originally posted by MayaPLE: **Sorry in advanced to Coldstone developers . . .
What I would like to happen is after NPC Death, a stamp will appear at those same co-ordinates. **
Hi MayaPLE. Welcome (or is it welcome back?) to the boards. Please don't apologize for what seems like a simple question, we like those - they're easier to answer. Actually, your's is not that easy.
An NPC doesn't drop a stamp in the same way as it drops an item because a stamp is placed at pixel co-ordinates and an item is dropped at movement tile co-ordinates. I had the same problem with placing a smoke animation stamp at the death of an NPC. For some reason (I don't remember now why) I had trouble using the NPC actual co-ordinates so I based the placement on &&playerX; and &&playerY.;
Here's the way I solved my problem: Create two globals for gb_stampX and gb_stampY. In the NPC death event, use "change global" to set gb_stampX to &&playerX.; Now since this number in in movement tiles, use another "change global" to multiply gb_stampX by 32 (or whatever the pixel / tile ratio is.) Now do the same for gb_stampY. Now use a "place stamp" to be at &&gb;_stampX, &&gb;_stampY.
Your stamp should now end up pretty close to where the NPC dies (unless the player is using a ranged weapon) but you may have to tinker with the global settings a bit.
Now that I understand a little more than I did when I had the problem, I'd like to go back and see if I can make this work using &&ActualX;, &&ActualY.; The key is changing the tile co-ordinates to pixel co-ordinates.
Please let us know how it works. ~RD
Edit: I see Ledorax beat me to the "submit" button with the same idea. :frown:
------------------ My Doctor said I was having too much wine, women, and song - so I gave up singing because 2 out of 3 is not so bad. The (url="http://"http://www.evula.org/rduck/")Kingdom of Garendall(/url) sectional map is easily printed from gif format pages. (url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/dl-redirect.pl/damsels.sit?path=pog/addons&file;=damselsV1.1.sit")Damsels in Distress(/url) - A plugin for PoG. (url="http://"http://www.evula.org/rduck/RD-DEL.jpg")RD-DEL(/url)
(This message has been edited by Rubber Ducky (edited 08-14-2004).)
Cool, thanks. That was more prompt than I expected, so thanks again. I'll give it a try.. If I can't get it working I'll no doubt yell, and then post again.
Mmm, yes, it's a "welcome back".. I was the artist (joking) formally known as "Gray", but I can't remember Ambrosia's password and my email address expired ages ago (.Mac sucks.. It's tooooo low-end, the guys at worked laughed at me for using it. It'll get better no doubt. Virus software? Please I've used macs forever and only had one virus, under System 8, and it wasn't very harmful.)
Been so busy with work over the past two years, I've almost forgot everything about Coldstone I had learnt!
At least I get to work with cool apps at work like FCP HD, Adobe CS, After Effects, Lightwave and soon Motion.. We do game dev, but only with Flash MX, and I think Flash sucks.. Director was once a great app left out to dry for too long, that's why I have to (sadly) campaign for it to go.
I can't wait to be able to play Coldstone content back on Panther, though there's no hurry, Classic reminds me of the good old days when I started with System 7 (I had 6 on an SE, but mainly used an LC II).
-MayaPLE PS, Keep up, keeping up.
------------------
Thanks! It worked great!
I ended up using "&&ActualX;,Y".
I found the results slightly more accurate. To adjust the death animation, I made an offset of x28 instead of x32. (Even though my titles are 32...)
This will save heaps of time since I don't have to use per-basis stamps like I was already doing.
Thanks again guys!
-MayaPLE
I'm glad you got it working and you're off and running. The reason for the offset may be because the stamp is placed according to one corner of the picture (the upper left corner if I remember correctly) and not the center of the picture, so rather than an offset you could have factored in a subtraction for the difference between the corner and the center. If your NPC dies a different places on the map, you may have to adjust your formula.