|
You last visited: Today at 10:18
Advertisement
[Tiny]Traps System
Discussion on [Tiny]Traps System within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.
06/22/2013, 20:25
|
#1
|
elite*gold: 0
Join Date: Jan 2009
Posts: 586
Received Thanks: 336
|
[Tiny]Traps System
lately I've seen LordGragen. post about buffs and he was asking for the traps system so I've come up with something like that : //P.S don't Blame me for the coding way I'm less than a beginner
Steps :
1-sending map effect
2-code your action
floor effect has been released before :
Code:
if (ServerBase.Kernel.GetDistance(client.Entity.X, client.Entity.Y, 376, 392) < 17 && !client.Effect3)
{
client.Effect3 = true;
if (client.Entity.MapID == 1002) //mapid
{
Network.GamePackets.FloorItem floorItem = new Network.GamePackets.FloorItem(true);
floorItem.ItemID = 791; //effectid
floorItem.MapID = 1002;//mapid
floorItem.X = 376; //X,Co-ordinate
floorItem.Y = 392; //Y,Co-ordinate
floorItem.Type = Network.GamePackets.FloorItem.Effect;
client.Send(floorItem);
}
}
else
{
if (ServerBase.Kernel.GetDistance(client.Entity.X, client.Entity.Y, 376, 392) > 17)
{
client.Effect3 = false;
}
}
in packethandler:
Code:
if (client.Entity.MapID == 1002)//mapid
{
if (new_X == 376 && new_Y == 392) //x.y
{
if (client.Entity.EntityFlag == Projectname.Game.EntityFlag.Player)
{
client.Entity.Teleport(1004, 50, 50);//action
client.Send(new Message("You have been teleported to " + client.Entity.MapID + "!", System.Drawing.Color.Yellow, Message.Whisper));
}
}
}
Ive made it like a portal :
the end.
|
|
|
06/22/2013, 20:33
|
#2
|
elite*gold: 0
Join Date: Dec 2012
Posts: 606
Received Thanks: 68
|
yah the thing is i want them to get from monster, they kill the monster they get the buff 100 sec, making them step on it makes the dungeon a bit easy, so i need to make sure they work as a team they share the buff as a team and give the buff to the person who is doing the most dmg,
but the system you are showing i might use it for teleporting people XD looks cool.
i forgot about that edit.
|
|
|
06/22/2013, 23:05
|
#3
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
|
You can handle it any way you want.
Step on it = spell/damage triggered
Step on it = buffs/heals/revives
Step on it = teleport/knockback/etc
|
|
|
06/23/2013, 09:50
|
#4
|
elite*gold: 0
Join Date: Dec 2012
Posts: 606
Received Thanks: 68
|
thats my point pro4never, if we make people step on it then the whole team will get the buff every second and finish the dungeon in few min and there will not be point even putting a time when the buff will end,
my point is, if we make a mini boss who carry the buff and let 1 member only get the buff from the monster it will make the game fun, coz then the team will have to think who to give the buff,
i
|
|
|
06/23/2013, 10:05
|
#5
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,192
|
My traps are hidden. ;P They never reach the client as a packet (unless I want them to of course). Anyways, good job. It's nice to see someone developing with tiny maps. It's a very decent map system to say the least.
|
|
|
06/23/2013, 10:17
|
#6
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
|
Quote:
Originally Posted by LordGragen.
thats my point pro4never, if we make people step on it then the whole team will get the buff every second and finish the dungeon in few min and there will not be point even putting a time when the buff will end,
my point is, if we make a mini boss who carry the buff and let 1 member only get the buff from the monster it will make the game fun, coz then the team will have to think who to give the buff,
i
|
I think we have confusion yet again. I'm saying you can handle it any way you want.
Why would the whole team get it? Only spawn the effect to the client when you want the buff available and remove it from their screen the second the trap has been used up.
|
|
|
06/23/2013, 15:48
|
#7
|
elite*gold: 130
Join Date: Oct 2007
Posts: 1,655
Received Thanks: 706
|
Quote:
Originally Posted by pro4never
You can handle it any way you want.
Step on it = spell/damage triggered
Step on it = buffs/heals/revives
Step on it = teleport/knockback/etc
|
Reminds me a little of Squama, getting money or a db :O
|
|
|
06/23/2013, 15:56
|
#8
|
elite*gold: 0
Join Date: Jan 2009
Posts: 586
Received Thanks: 336
|
Quote:
Originally Posted by turk55
Reminds me a little of Squama, getting money or a db :O
|
yea exactly once i got a db in a squama in the tiger cave.
|
|
|
06/23/2013, 18:28
|
#9
|
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
|
< 18.
Quote:
Originally Posted by turk55
Reminds me a little of Squama, getting money or a db :O
|
Agree with this
|
|
|
06/24/2013, 04:29
|
#10
|
elite*gold: 0
Join Date: Dec 2012
Posts: 606
Received Thanks: 68
|
Quote:
Originally Posted by pro4never
I think we have confusion yet again. I'm saying you can handle it any way you want.
Why would the whole team get it? Only spawn the effect to the client when you want the buff available and remove it from their screen the second the trap has been used up.
|
ah i see your point now, yah that's a good idea to.
|
|
|
06/24/2013, 09:19
|
#11
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
|
Quote:
Originally Posted by LordGragen.
ah i see your point now, yah that's a good idea to.
|
You should have the trap move around the map aswell, giving the players only a couple of seconds to get to it before it disappears, then put it on a cooldown.
|
|
|
06/24/2013, 10:03
|
#12
|
elite*gold: 0
Join Date: Dec 2012
Posts: 606
Received Thanks: 68
|
Quote:
Originally Posted by Korvacs
You should have the trap move around the map aswell, giving the players only a couple of seconds to get to it before it disappears, then put it on a cooldown.
|
thats a Amazing idea,
for example when they enter the dungeon like 2 min later a message with red names pop up saying
" a damage buff has been summoned in x432 y232) hurry up and get it before it disable in 45sec XD
|
|
|
06/24/2013, 12:42
|
#13
|
elite*gold: 0
Join Date: Jan 2009
Posts: 586
Received Thanks: 336
|
Quote:
Originally Posted by LordGragen.
thats a Amazing idea,
for example when they enter the dungeon like 2 min later a message with red names pop up saying
" a damage buff has been summoned in x432 y232) hurry up and get it before it disable in 45sec XD
|
45 sec is too much.
|
|
|
06/25/2013, 06:02
|
#14
|
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
|
Quote:
Originally Posted by 2slam
45 sec is too much.
|
Depends on the area as well, if it's small or big.
|
|
|
07/31/2013, 21:11
|
#15
|
elite*gold: 0
Join Date: Dec 2011
Posts: 2
Received Thanks: 0
|
were we can find the efects ids to use on
floorItem.ItemID = 791; //effectid ?
|
|
|
Similar Threads
|
[ BOT TRAPS ] In Jangan
04/23/2014 - Silkroad Online - 8 Replies
Wtf , people gone crazy or what ? why are you doing bot traps in jangan ? there is only few gold bots lvl 80+ . Yesterday i came home high as a cow and gone to bed. i woke up and WTF -20 % ?? I got breakdown lol :D . In future , people , please dont do bot traps in jangan , cause in jangan 98 % = player bots ;) Bye
|
[Sammeltherad] Mob Traps
01/21/2011 - Minecraft - 11 Replies
Hier könnt ihr
- eure mob traps posten (mit bau einleitung)
- gegen seitig mob traps tauschen
- Oder Fragen zu mob traps stellen
Viel Spaß
Mfg
|
Be able to put infinite traps?
02/06/2009 - RF Online - 0 Replies
is there a way to be able to put more traps like 30 , 40 etc on a same spot?
|
heads aus fish traps
03/28/2008 - Kal Online - 4 Replies
hi ist es evl möglich aus fish traps oder so köpfe zu machen und diese dann einsetzen kann beim typen wo man exp für heads bekommt?
|
All times are GMT +1. The time now is 10:24.
|
|