Hand action actuating floor trigger
Moderator: George Gilbert
Forum rules
Please read the Forum rules and policies before posting.
Please read the Forum rules and policies before posting.
Hand action actuating floor trigger
Bear with me, I am still getting to grips with RTC!
When stood over a floor trigger can I get hand action to send a message to the trigger?
When stood over a floor trigger can I get hand action to send a message to the trigger?
Re: Hand action actuating floor trigger
You can intercept thowing actions (thanks to Sophia's request), and you can put put items in the hand...so technically you could create an 'invisible' empty hand object that would be thrown if the mouse was clicked while standing on a certain pad.
And since I created combining armour, I know it is possible to intercept a click in the inventory screen, so you can have the invisible item detroyed if they click on the inventory with the 'empty' hand
And of course, you can give an object an expiration time for if it is lying out on the dungeon floor.
Oh, wait, or are you wanting the party to actually be able to press an item on the floor? I think you can place wall item graphics in unusual places, so you could just fudge the x,y co-ordinates?
And since I created combining armour, I know it is possible to intercept a click in the inventory screen, so you can have the invisible item detroyed if they click on the inventory with the 'empty' hand
And of course, you can give an object an expiration time for if it is lying out on the dungeon floor.
Oh, wait, or are you wanting the party to actually be able to press an item on the floor? I think you can place wall item graphics in unusual places, so you could just fudge the x,y co-ordinates?
Re: Hand action actuating floor trigger
Something like having a spade with a dig action - which would create a pit for example.
Re: Hand action actuating floor trigger
Yeah, might be an idea to try and see if you can put wall items with the wrong x,y - i forget if they are clickable if they go into a floor zone, but I think they can intrude.
The other alternative is to create an unmoving monster - I believe GG implimented my clickable monster suggestion, so if the spade clicks on the 'mound of earth monster' it would create a pit.
Depends if this is for a puzzle, or if it's a general thing that can be done anywhere.
The other alternative is to create an unmoving monster - I believe GG implimented my clickable monster suggestion, so if the spade clicks on the 'mound of earth monster' it would create a pit.
Depends if this is for a puzzle, or if it's a general thing that can be done anywhere.
- Gambit37
- Should eat more pies
- Posts: 13715
- Joined: Wed May 31, 2000 1:57 pm
- Location: Location, Location
- Contact:
Re: Hand action actuating floor trigger
So you want the party to dig on the tile they are standing on, not dig a hole in the tile ahead? If it's the party tile, that's easy -- check out action CREATE_NEW_on_FLOOR which creates the item on the floor space where the action was first triggered.
So if you created a new ATTACK_METHOD called "DIG" which involved a CREATE_NEW_ON_FLOOR with a FLOORITEM_PIT as the first parameter, it would always dig a hole under the party
Of course, you probably don't want that to happen all the time as you need to make sure that there's empty space below before digging. There are a few ways I can think of for handling this -- if you need help, let me know.
So if you created a new ATTACK_METHOD called "DIG" which involved a CREATE_NEW_ON_FLOOR with a FLOORITEM_PIT as the first parameter, it would always dig a hole under the party
Of course, you probably don't want that to happen all the time as you need to make sure that there's empty space below before digging. There are a few ways I can think of for handling this -- if you need help, let me know.
Re: Hand action actuating floor trigger
Oh, sorry, totally missed what you meant by 'hand action' - nevber midn me! I thoguht you mean 'if you clicked on the dungeon with the pointer'
Yeah, item actions are easy. There should also be a 'tile in front' option to dig on the tile infront.
Yeah, item actions are easy. There should also be a 'tile in front' option to dig on the tile infront.
Re: Hand action actuating floor trigger
OK, many thanks!
Just getting to grips with the engine - I am thinking still in CSBWin lol. Lots to explore.
Also trying to work out the teleport thing (I need a rope and hook to swing across a 'chasm' - using item teleports to other side and vice versa). And various other 'use' that has an effect.
Just getting to grips with the engine - I am thinking still in CSBWin lol. Lots to explore.
Also trying to work out the teleport thing (I need a rope and hook to swing across a 'chasm' - using item teleports to other side and vice versa). And various other 'use' that has an effect.
- Gambit37
- Should eat more pies
- Posts: 13715
- Joined: Wed May 31, 2000 1:57 pm
- Location: Location, Location
- Contact:
Re: Hand action actuating floor trigger
Funnily enough, there isn't an action to do that. It's doable using other mechs though.beowuuf wrote:There should also be a 'tile in front' option to dig on the tile infront.
- Lord_BoNes
- Jack of all trades
- Posts: 1064
- Joined: Mon Dec 01, 2008 12:36 pm
- Location: Ararat, Australia.
Re: Hand action actuating floor trigger
To create an object on the tile in-front of you, simply use CREATE_HAZE_ON_TILE_INFRONT, and then GLOBAL_SWAP the haze to the object you want. This method even creates objects inside walls
1 death is a tragedy,
10,000,000 deaths is a statistic.
- Joseph Stalin
Check out my Return to Chaos dungeon launcher
And my Dungeon Master Clone
- Gambit37
- Should eat more pies
- Posts: 13715
- Joined: Wed May 31, 2000 1:57 pm
- Location: Location, Location
- Contact:
Re: Hand action actuating floor trigger
Ooh, cool, I never thought of that. Presumably you do GLOBAL_SWAP_FAST in a relay chain with no delays and thus never see the haze?
- Lord_BoNes
- Jack of all trades
- Posts: 1064
- Joined: Mon Dec 01, 2008 12:36 pm
- Location: Ararat, Australia.
Re: Hand action actuating floor trigger
Yep. I ALWAYS try to do everything WITHOUT any delays. But some things just can't be done without them
You do have to watch out though.... the above method can cause RTC to crash if the object is created outside the dungeon boundries, so be careful.
You do have to watch out though.... the above method can cause RTC to crash if the object is created outside the dungeon boundries, so be careful.
1 death is a tragedy,
10,000,000 deaths is a statistic.
- Joseph Stalin
Check out my Return to Chaos dungeon launcher
And my Dungeon Master Clone
- Lord_BoNes
- Jack of all trades
- Posts: 1064
- Joined: Mon Dec 01, 2008 12:36 pm
- Location: Ararat, Australia.
Re: Hand action actuating floor trigger
@Paul: I've had a crack at your "chasm thing" as you put it... here it is
1 death is a tragedy,
10,000,000 deaths is a statistic.
- Joseph Stalin
Check out my Return to Chaos dungeon launcher
And my Dungeon Master Clone
Re: Hand action actuating floor trigger
Many thanks, will take a look!
Can I be added to the Projects thread? I will discuss what I am doing
Can I be added to the Projects thread? I will discuss what I am doing