RICOCHET INFINITY

For all things Ricochet...
It is currently Sat May 25, 2013 8:04 am

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: PROBLEM with 'If' plug-in
PostPosted: Tue May 08, 2012 3:57 pm 
Offline
User avatar

Joined: Tue Dec 20, 2011 9:47 pm
Posts: 687
Location: Washington, USA
When I creating a position marker and creating 'If' plug-in into it and filling 'Condition' [ Fire Button Pressed ] and 'Then' plug-in place and testing the level, the plug-in DIDN'T work. The 'If' plug-in changes to no condition and no 'Then' plug-in place.

And no added any hack to my Ricochet Infinity game.

Any help would be appreciated.

_________________
I'm in Grand Master of Infinity, Platinum Chalice, Tier I. ;) Need 500 gold rings for next rank, total rings: 11,098


Top
 Profile  
 
 Post subject: Re: PROBLEM with 'If' plug-in
PostPosted: Tue May 08, 2012 7:36 pm 
Offline
Ghost Buster
Ghost Buster
User avatar

Joined: Mon Jul 12, 2004 11:11 pm
Posts: 6439
Location: Queensland, Australia
mhispider, there is a dedicated forum for level editor questions and problems. The Help Desk is for forum issues, not level editor issues. I'll move this one again, but please post them in the correct place from now on.

The plugin does work. I suspect it's something wrong with the way your conditions are set up. Your wording is also very confusing. What do you have in the "then" section? Can you provide a screen shot that shows how you have it set up?

Is there also an option to evaluate every frame? If not, it runs once, the moment the script becomes active, at which point your fire button would not be pressed. It does not sit around waiting for you to press your fire button. I'm not sure if you have to check a box to tell it to evaluate every frame, or if you have to put the plugin into a sequence. Someone who's used it more recently than I would be able to clarify that.

_________________
The optimist sees opportunity in every danger; the pessimist sees danger in every opportunity


Top
 Profile  
 
 Post subject: Re: PROBLEM with 'If' plug-in
PostPosted: Wed May 09, 2012 10:38 am 
Offline
User avatar

Joined: Tue Dec 20, 2011 9:47 pm
Posts: 687
Location: Washington, USA
shaz wrote:
What do you have in the "then" section?

I have this plug-in in the 'Then' plug-in place:
Create Bricks 999:
Delay Before First Creation: 2
Delay Between Each Creation: 2
Create Brick Style: Red
Create Brick Details: Normal
Z Order: Create In Front
Direction Type: Current Angle
Scale Type: Current Scale
Name Suffix: (none)
Variable Onto Created Brick: No

And I played my level, this plug-in didn't work. Heh.eh...


Attachments:
File comment: Create Bricks plug-in in 'If' plug-in
ScreenshotSavedByClickingSysRqButton.PNG
ScreenshotSavedByClickingSysRqButton.PNG [ 21.16 KiB | Viewed 1137 times ]

_________________
I'm in Grand Master of Infinity, Platinum Chalice, Tier I. ;) Need 500 gold rings for next rank, total rings: 11,098
Top
 Profile  
 
 Post subject: Re: PROBLEM with 'If' plug-in
PostPosted: Wed May 09, 2012 7:37 pm 
Offline
Ghost Buster
Ghost Buster
User avatar

Joined: Mon Jul 12, 2004 11:11 pm
Posts: 6439
Location: Queensland, Australia
I don't see anything wrong with it. Can you also attach an image of your IF plugin?

The position marker is on the screen? If you play via F7, can you see the position marker at all times?
Try simplifying the plugin - instead of creating 999 bricks after a 2 second delay, create a single brick immediately.
Try using that plug-in as part of a sequence rather than a response to an IF test - that will let you know if it's the plugin, or the IF test, that has the problem.
What OTHER plugins do you have on that position marker?

Do you realize that creating 999 bricks with a 2 second delay will last for half an hour? Is there a way to interrupt the process or destroy the marker so the player doesn't HAVE to spend half an hour on the level?

_________________
The optimist sees opportunity in every danger; the pessimist sees danger in every opportunity


Top
 Profile  
 
 Post subject: Re: PROBLEM with 'If' plug-in
PostPosted: Wed May 09, 2012 9:07 pm 
Offline
User avatar

Joined: Tue Dec 20, 2011 9:47 pm
Posts: 687
Location: Washington, USA
Here it is:


Attachments:
File comment: 'If' plug-in
ScreenShotSavedByClickingTheSysRqButton2.PNG
ScreenShotSavedByClickingTheSysRqButton2.PNG [ 24.38 KiB | Viewed 1130 times ]

_________________
I'm in Grand Master of Infinity, Platinum Chalice, Tier I. ;) Need 500 gold rings for next rank, total rings: 11,098
Top
 Profile  
 
 Post subject: Re: PROBLEM with 'If' plug-in
PostPosted: Thu May 10, 2012 9:05 pm 
Offline
Ghost Buster
Ghost Buster
User avatar

Joined: Mon Jul 12, 2004 11:11 pm
Posts: 6439
Location: Queensland, Australia
When you say it "changes to" the second image, I assume it doesn't actually CHANGE it, but what you see LOOKS LIKE that's what's happening?

Did you try some of the simplifications I suggested above?

Have you tried holding down the fire button to see if that makes a difference?

_________________
The optimist sees opportunity in every danger; the pessimist sees danger in every opportunity


Top
 Profile  
 
 Post subject: Re: PROBLEM with 'If' plug-in
PostPosted: Fri May 11, 2012 10:21 am 
Offline
User avatar

Joined: Tue Dec 20, 2011 9:47 pm
Posts: 687
Location: Washington, USA
I created a new If plug-in (For Example: If/Condition:FireButtonPressed/Then:CreateBricks999). And creates bricks in 2 seconds. I tested the level and nothing happened.

_________________
I'm in Grand Master of Infinity, Platinum Chalice, Tier I. ;) Need 500 gold rings for next rank, total rings: 11,098


Top
 Profile  
 
 Post subject: Re: PROBLEM with 'If' plug-in
PostPosted: Fri May 11, 2012 3:17 pm 
Online
User avatar

Joined: Mon May 14, 2007 7:13 pm
Posts: 3129
Location: Equestria
Shaz is right.
You'd need to hold the mouse button down, in order to get it to work as you thought.
Why not change the code to make a marker to create 999 bricks?
That would work. but then afterwards make the marker delete it's self..

code:
M1 : if mousebutton1pressed (FireButton) == true then
M1 : if.Statement:CreateBricks(1,RedMarker:Sequence(2, 1:CreateBricks(999,Brick) 2:DeleteSelf))

Basic Code Instructions:
If : Fire button pressed
Then : CreateBricks (1) Marker > Sequence (2) 1:Create Bricks (999) Brick, 2: Delete Self
Else : (NONE!)

_________________
Here to assist and smooth out any lumps in the mix, what more do you want?


Top
 Profile  
 
 Post subject: Re: PROBLEM with 'If' plug-in
PostPosted: Fri May 11, 2012 3:24 pm 
Offline
User avatar

Joined: Tue Dec 20, 2011 9:47 pm
Posts: 687
Location: Washington, USA
I holded the left mouse button, the If plug-in didn't work.
And I created the same new plug-in, the plug-in was nothing happened.

_________________
I'm in Grand Master of Infinity, Platinum Chalice, Tier I. ;) Need 500 gold rings for next rank, total rings: 11,098


Top
 Profile  
 
 Post subject: Re: PROBLEM with 'If' plug-in
PostPosted: Thu Jun 21, 2012 12:22 pm 
Offline
User avatar

Joined: Wed Mar 05, 2008 12:16 pm
Posts: 1697
Location: Belgium
Try putting "delay before first creation" to "0"
Should do it.

_________________
Image
It's a levelset that's isn't on the catalogus. It's worth it --> viewtopic.php?f=28&t=22838


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group