Page 1 of 1
ideas for activated rumbling
Posted: Tue Feb 11, 2014 6:19 pm
by Lorul1
I need my map to rumble at a certain time and i just cant figure out how to do it.
I did boost the value of an objects rumble when its destroyed however every time i pause the game and go back on it it doesn't rumble any more. its just kinda ... cheap.
any ideas how I can get my map, or even part of my map to rumble at a certain time ?
Re: ideas for activated rumbling
Posted: Tue Feb 11, 2014 6:24 pm
by JimmyAngler
Did you look at the Tantive IV? It has rumble. See how it was done there.
Re: ideas for activated rumbling
Posted: Tue Feb 11, 2014 6:28 pm
by Maveritchell
Toss up your lua script.
I played with this years ago and my solution ended up being to set the properties of the rumble class to null values ("0" or "") at the beginning of the script (instead of having the values in the rumble class be 0 in the .odf) and then to turn them on when I needed them (and then off again when I was done). I don't know if that's because I encountered the same issue as you or simply because I was an idiot and didn't know what I was doing.
Either way, need to see your script to know for sure.
Re: ideas for activated rumbling
Posted: Thu Feb 13, 2014 2:54 pm
by Locutus
That's done by lua?
Always though this was done with a region, that's at least what the docs say.
Or is that an other outdated function?
Re: ideas for activated rumbling
Posted: Thu Feb 13, 2014 7:58 pm
by Maveritchell
Locutus wrote:That's done by lua?
Always though this was done with a region, that's at least what the docs say.
It
is done with a region. The OP's talking about modifying the rumble effect's .odf in the lua, though.
Re: ideas for activated rumbling
Posted: Tue Mar 04, 2014 11:59 pm
by Lorul1
Maveritchell wrote:
It is done with a region. The OP's talking about modifying the rumble effect's .odf in the lua.
Well I'm just trying to get my map to rumble once an event is triggerd like someone walking into a region or something.
If this can be done by "modifying the rumble effect's .odf in the lua." Then i will try it.
So what Lua do you want me to put up ? The lua from the odf file, or the Lu's that I add my characters into?