Scripting Help needed MD!!
Scripting Help needed MD!!
AHHHHHHHHHHHHHHHHHH!!!
MD, my minimalist level has only one life ><!! It was supposed to be infinite lives, I don't know what happened. I would go in and change it, but I have had problems when I go to change something that the scripting I put in there will disappear. Any suggestions would be appreciated.
MD, my minimalist level has only one life ><!! It was supposed to be infinite lives, I don't know what happened. I would go in and change it, but I have had problems when I go to change something that the scripting I put in there will disappear. Any suggestions would be appreciated.
The world keeps a balance, through mathematics, defined by whatever you've added and subtracted.
Atmosphere, Godlovesugly
It's better to be choking your chicken in hand than to be tossing your rocks off in a bush.
Shin Chan
Atmosphere, Godlovesugly
It's better to be choking your chicken in hand than to be tossing your rocks off in a bush.
Shin Chan
Wow, I had no idea there were issues in loading levels, but indeed I tried it for myself and it's not working properly. Here's a workaround though: Open your level, open the editor, hit play, and open the editor again.Redsatori wrote:No, it was supposed to be infinite lives. I don't know what happened, and I can't change it until I get a chance to talk to MD, since I have had issues when going in to an already completed level and the script that I had written not loading as well. And I don't remember what all the piece's numbers are...
I'll get that fixed as soon as i can.
~MD
I've experienced this as well when I went back to make edits to Four Corners. First I had to load the level in the editor, then hit the play button in there, then hit p for the pause menu and hit edit again. Then my ai commands would be present. It took several tries to figure out during which my level was unbeatable because the switches were out of order.
-
- Posts: 47
- Joined: Thu Nov 29, 2007 7:30 pm
I have to do the same thing; my AI panel won't even open otherwise.
Another problem, just as annoying if not more so, is about key-presses. Sometimes they don't work at all no matter how much I hit them. Particularly with changing anchors, sometimes it'll lock onto the core and not allow it to cycle through. I can take it off with 'v' to unlock it, but as soon as I try and cycle through it locks on the core again.
I think the option of a 'text only' editor window would be helpful as a way of copying properties of levels easier and handling things like linking on complex maps, but exams come first. Just a suggestion I saw somewhere and wanted to repeat.
Another problem, just as annoying if not more so, is about key-presses. Sometimes they don't work at all no matter how much I hit them. Particularly with changing anchors, sometimes it'll lock onto the core and not allow it to cycle through. I can take it off with 'v' to unlock it, but as soon as I try and cycle through it locks on the core again.
I think the option of a 'text only' editor window would be helpful as a way of copying properties of levels easier and handling things like linking on complex maps, but exams come first. Just a suggestion I saw somewhere and wanted to repeat.
Thanks for the tip MD, it now has the proper number of lives. I like things difficult, but even I cannot beat that level with only one life.
The world keeps a balance, through mathematics, defined by whatever you've added and subtracted.
Atmosphere, Godlovesugly
It's better to be choking your chicken in hand than to be tossing your rocks off in a bush.
Shin Chan
Atmosphere, Godlovesugly
It's better to be choking your chicken in hand than to be tossing your rocks off in a bush.
Shin Chan
Re: Scripting Help needed MD!!
Hi I've just registered, and I need some help in my scripting
What you're now seeing is the problemic part
(In fact I want it to change into orange(ff6600) and become vulnerable at the same time after 3 seconds.
And after another 3 seconds, return to purple(9900ff) and become invincible again)
And the above process is repeated many times
This is my script(which doesn't work....):
What you're now seeing is the problemic part
(In fact I want it to change into orange(ff6600) and become vulnerable at the same time after 3 seconds.
And after another 3 seconds, return to purple(9900ff) and become invincible again)
And the above process is repeated many times
This is my script(which doesn't work....):
How should I change it so that the circle behaves as the above description?AI_makeTrigger,timeRepeat,90,90,col,ff6600,7848
AI_makeTrigger,timeRepeat,90,90,makeVulnerable,7848
Re: Scripting Help needed MD!!
That's a good question, it takes a hint of math to get it like that.
Here's my interpretation of what you're saing:
-the entire cycle takes 6 seconds
-at the start of the cycle it should go orange/vulnerable
-at the middle (3 seconds) it should go purple/invincible
thus:
makeTrigger,timeRepeat,0,180,col,9900ff,1
starting at 0 seconds, repeat every 6 seconds, go purple
makeTrigger,timeRepeat,90,180,col,ff6600,1
starting at 3 seconds, repeat every 6 seconds, go orange
same idea for vulnerable/invincible
Post a link to your level when you're done
~MD
ps, is the grey box, that says Plain Square, always so wide? it should only be as wide as the text. Also, seven thousand parts? are you crazy?
Here's my interpretation of what you're saing:
-the entire cycle takes 6 seconds
-at the start of the cycle it should go orange/vulnerable
-at the middle (3 seconds) it should go purple/invincible
thus:
makeTrigger,timeRepeat,0,180,col,9900ff,1
starting at 0 seconds, repeat every 6 seconds, go purple
makeTrigger,timeRepeat,90,180,col,ff6600,1
starting at 3 seconds, repeat every 6 seconds, go orange
same idea for vulnerable/invincible
Post a link to your level when you're done
~MD
ps, is the grey box, that says Plain Square, always so wide? it should only be as wide as the text. Also, seven thousand parts? are you crazy?
Re: Scripting Help needed MD!!
MD wrote:That's a good question, it takes a hint of math to get it like that.
Here's my interpretation of what you're saing:
-the entire cycle takes 6 seconds
-at the start of the cycle it should go orange/vulnerable
-at the middle (3 seconds) it should go purple/invincible
thus:
makeTrigger,timeRepeat,0,90,col,9900ff,1
starting at 0 seconds, repeat every 6 seconds, go purple
makeTrigger,timeRepeat,90,180,col,ff6600,1
starting at 3 seconds, repeat every 6 seconds, go orange
same idea for vulnerable/invincible
Post a link to your level when you're done
~MD
ps, is the grey box, that says Plain Square, always so wide? it should only be as wide as the text. Also, seven thousand parts? are you crazy?
Certainly I'm not crazy
Actually the editor sometimes gone unrespond
When I refresh the page and "recover" my level
The piece no. of the newest piece will add one digit
E.g. 7,8,9,10....
After recover: 80,81,82,83....
After 2nd recover:706,707,708,709....
After 3rd recover:7869,7870,7871,7872....
Etc.
But if you use "My level" to recover your level, the piece no. won't become weird
This is why some pieces are 7806 while others are 567
And to your gray box problem
Sometimes it display normally
Sometimes it is very wide
Maybe there are bugs in the editor
Well sadly my level got overwritten accidentially
So I need to build it alll over again.............
Btw I've just tested the code
It works fine except
It still cannot become orange and vulnerable at the same time, it always turns to blue when it becomes vulnerable.....
Is it impossible to make it orange and vulnerable at the same time??
- XxoriginxX
- Posts: 10
- Joined: Sat Aug 08, 2009 10:09 pm
- Location: Far away from you.
Re: Scripting Help needed MD!!
I know this topic hasn't been replied on in a while, but i have a way to fix your problem: Make the vulnerability start 1 frame before the color change. That or switch the commands, from
AI_makeTrigger,timeRepeat,90,90,col,ff6600,7848
AI_makeTrigger,timeRepeat,90,90,makeVulnerable,7848
to
AI_makeTrigger,timeRepeat,90,90,makeVulnerable,7848
AI_makeTrigger,timeRepeat,90,90,col,ff6600,7848
AI_makeTrigger,timeRepeat,90,90,col,ff6600,7848
AI_makeTrigger,timeRepeat,90,90,makeVulnerable,7848
to
AI_makeTrigger,timeRepeat,90,90,makeVulnerable,7848
AI_makeTrigger,timeRepeat,90,90,col,ff6600,7848
"A wise man can see more from the bottom of a well then a fool can from a mountain top."-Unknown