[Guide] Portals

09/01/2013 02:46 XxFearReaperXx#1
Hey guys coming to you with a new little update. I've seen alot of people asking about how Portals work. Well I'm here to explain how they work.
Tables you will need to use
cq_action
cq_portal
cq_trap
cq_traptype


So lets get started.
Placement of the portal
cq_trap = places the portal spawn.
cq_trap.look = Lookface of portal. 3001/4000
cq_trap.type = Links cq_traptype to cq_trap
cq_trap.data = unknown at the moment

cq_traptype = Links to the cq_trap
cq_traptype.id = cq_trap.type
cq_traptype.look = Look face must match cq_trap.look
cq_traptype.action_id = Link to the action
cq_traptype.atk_mode = 1 or it will not work

cq_portal.id = Must match cq_trap.type and cq_traptype.id

cq_action/cq_task
This will be what ever action you want it to perform. Whether it be damage/loss of stat/gain of stat/random/portal to location, etc. Make sure to set the stats high in public areas because players can destroy them windbeading.
I'll update more later when I have time.
09/18/2013 20:08 pretzel666#2
Quote:
Make sure to set the stats high in public areas because players can destroy them windbeading.
Didnt understand that part , Can you explain it to me? :)
09/19/2013 06:26 XxFearReaperXx#3
The stats in the generator, Atk speed and dexterity and etc. Set them high unless you're in market, Players have found ways to destroy spawns this way (as found out in my CT Server)
09/19/2013 08:04 pretzel666#4
Ohhh ok Thank you :D
11/14/2013 03:04 I Am Murtah#5
Very useful! Thanks.
11/15/2013 15:47 cruey#6
Hey ryan have you looked into damage on traps. Because I've been trying to get it so that traps will deal damage when activated, but I can only have it doing 1 damage. :\ I've done some research but can't find anything let me know if you do ^^
11/15/2013 20:51 XxFearReaperXx#7
Set action
ID IDNEXT IDFAIL Type PARAM DATA
1 | 2 | 3 |1001| 0 | life += -1000
11/16/2013 05:31 funhacker#8
Quote:
Originally Posted by XxFearReaperXx View Post
Set action
ID IDNEXT IDFAIL Type PARAM DATA
1 | 2 | 3 |1001| 0 | life += -1000
Exactly what I did.
If cruey has access to ACME database, could always look in the elemental temples for the motrid staff quest.

But be warned though, the player won't die from that stuff, it's a little buggy :/
11/16/2013 06:37 cruey#9
Yeah thats my problem lmao, you can always do it through an action but it fucks up when they are 0 health. If only there was an action that like killed the player. We need a source code thingy soooo bad :(
11/16/2013 14:07 XxFearReaperXx#10
Yeah we do. Add a health check life == 0 then next/fail for teleport. Upon teleport player will auto dc or arrive dead.
11/21/2013 18:00 .Horror.#11
Quote:
Yeah we do. Add a health check life == 0 then next/fail for teleport. Upon teleport player will auto dc or arrive dead.
Check life == 1? because if you leave it at 0 it wont be recognized as a death just a teleport action?
~Your Horrors
11/21/2013 23:10 XxFearReaperXx#12
You can also do it by check life <= 100 which will teleport anything under 100 hp left. I've also used this to limit players from entering certain events and other things like that. It's amazing the things you can do with portals.
11/25/2013 21:49 .Horror.#13
Quote:
You can also do it by check life <= 100 which will teleport anything under 100 hp left. I've also used this to limit players from entering certain events and other things like that. It's amazing the things you can do with portals.
Yeah it is , i modded all the traps that come up randomly from monsters to add a random amount of eps to a char :)
~Your Horrors
11/26/2013 06:26 Timore[PM]#14
I was thinking of setting up the godship thing as a quest and releasing a template to the community.
11/26/2013 17:30 .Horror.#15
Godships pretty simple , i do mine differently i have it setup where theres different effects of traps , where one effect is fire , or ice etc. :)
~Your Horrors