'Filters' And 'Effects'

'Filters' And 'Effects'

Postby Pommy15642 » 13 Jun 2013, 05:30

Would it be possible in any way to create an 'entity' (Not really an entity, but appears as such) that acts as a Filter? For things such as delay times, repeating/continuing for a specified amount of time, and changing values on available entities? I cannot script anything in the .cfg file that has a delay time or changes the state of a trigger/entity. It just doesn't work. Which is a big let down.

Also, what I mean by "effects" is an 'entity' that does something like a screen-shake or other client side screen/HUD effects.

If this is too much, fixing the script running errors would be fine.
Pommy15642
 
Posts: 2
Joined: 13 Jun 2013, 05:06

Re: 'Filters' And 'Effects'

Postby qreeves » 13 Jun 2013, 05:56

Instead of ambiguously giving examples, it'd be much easier to know what it is exactly that you are trying to accomplish. To my knowledge there is nothing that allows you to shake the screen, as this is gameplay controlled.
Quinton "quin" Reeves | Lead Developer, Red Eclipse | http://redeclipse.net/ | http://www.facebook.com/redeclipse.net
User avatar
qreeves
 
Posts: 1294
Joined: 17 Mar 2011, 03:46
Location: Queensland, Australia

Re: 'Filters' And 'Effects'

Postby greaserpirate » 13 Jun 2013, 19:31

Having script that work like this could be pretty cool.

I don't know about triggering other entities, but you can make delays with the 'sleep' command. For example, after you make a "script" trigger with an id of 1 you can do /worldalias on_trigger_1 [sleep 5000 [echo "Five seconds have passed."]] or something of the sort. There are also "do" and "while" loops, but I haven't messed with them much. There are some cubescript tutorials here: http://cube.wikispaces.com/Cubescript+Tutorial

Friendship is Magic Voice Chat Mod
(Map) Trespass
(Map) Suspended
Find out more about >DOOM< here: www.redoomclan.tk
User avatar
greaserpirate
 
Posts: 350
Joined: 22 Jun 2011, 18:23

Re: 'Filters' And 'Effects'

Postby Sniper-Goth » 14 Jun 2013, 00:32

Well, you could always make an script that turns-on one Post-Fx effect when you pass through the entity if you know the name of the command.
Like this example: /worldalias on_trigger_1 [rotoscope 1] to turn it on and /worldalias on_trigger_2 [rotoscope ] to turn it off.
Red Eclipse in game name: Sniper-Goth/Sniper-quake3. Maps in the making: DOTA style map, ringed, train, ladder race,.
User avatar
Sniper-Goth
 
Posts: 221
Joined: 27 Aug 2012, 20:10

Re: 'Filters' And 'Effects'

Postby Pommy15642 » 15 Jun 2013, 01:59

Wow...all I was missing was the 'worldalias' and 'on_trigger_<id>' Thanks so much!
Pommy15642
 
Posts: 2
Joined: 13 Jun 2013, 05:06

Who is online

Users browsing this forum: No registered users and 1 guest