ideas for activated rumbling

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Lorul1
Rebel Colonel
Rebel Colonel
Posts: 562
Joined: Wed Apr 24, 2013 10:34 pm
Projects :: Assault on Theed
Games I'm Playing :: Battlegrounds
xbox live or psn: No gamertag set
Location: Your House

ideas for activated rumbling

Post 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 ?
JimmyAngler
High General
High General
Posts: 837
Joined: Mon Nov 04, 2013 10:37 am
Projects :: Battlefront Halation
Games I'm Playing :: SWBF 1-2-2015
xbox live or psn: none
Location: Area 51

Re: ideas for activated rumbling

Post by JimmyAngler »

Did you look at the Tantive IV? It has rumble. See how it was done there.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: ideas for activated rumbling

Post 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.
User avatar
Locutus
1st Lieutenant
1st Lieutenant
Posts: 420
Joined: Fri Jun 04, 2010 10:08 am
Projects :: Stargate Battlefront Pegasus
Location: Germany
Contact:

Re: ideas for activated rumbling

Post by Locutus »

That's done by lua?
Always though this was done with a region, that's at least what the docs say.
Hidden/Spoiler:
Rumble Regions
Name Prefix: rumble
Parameters: <string(rumbleclassname)> <string(effectname)>
Usage: Use any type. Name must be “rumble” only (“rumble0” or “rumbleregion” will not work!)
Results: Create the given rumble effect and attached particle effects when the local player enters this region.
Questions to: Josh Verrall
Or is that an other outdated function?
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: ideas for activated rumbling

Post 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.
User avatar
Lorul1
Rebel Colonel
Rebel Colonel
Posts: 562
Joined: Wed Apr 24, 2013 10:34 pm
Projects :: Assault on Theed
Games I'm Playing :: Battlegrounds
xbox live or psn: No gamertag set
Location: Your House

Re: ideas for activated rumbling

Post 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?
Post Reply