Portable turrets slipping

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
Dakota
Field Commander
Field Commander
Posts: 991
Joined: Mon Dec 06, 2010 8:21 pm
Projects :: making random weapon assets
Games I'm Playing :: SWBF2 and more
xbox live or psn: PS3 beats xbox
Location: at a computer desk floating around in space

Portable turrets slipping

Post by Dakota »

i've noticed that any type of portable turret (it doesn't always need a weapon) will slide off of other ones. in my red vs blue mods i have a brick dispenser weapon and i've noticed that other bricks and even auto turrets will just slide off of them. i'm just wondering if anyone here has figured out a way to make them not slide off of each other and also maintain their colision. i've tried setting throw strength to 0 and then the things wouldn't slide off but they would have no collision...

so does anyone have any idea of what to do or if there is a code to fix it? i even tried adding the stick to lines from the grenade.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: portable turrets slipping

Post by DarthD.U.C.K. »

try setting the classlabel to "armedbuilding", i think that will prevent it from slipping but may cause the bricks to fly in the air.
User avatar
Dakota
Field Commander
Field Commander
Posts: 991
Joined: Mon Dec 06, 2010 8:21 pm
Projects :: making random weapon assets
Games I'm Playing :: SWBF2 and more
xbox live or psn: PS3 beats xbox
Location: at a computer desk floating around in space

Re: portable turrets slipping

Post by Dakota »

it does i tried it before.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: portable turrets slipping

Post by Fiodis »

Dakota wrote:it does i tried it before.
It stops them slipping or it makes them float in the air? Or both?
User avatar
Dakota
Field Commander
Field Commander
Posts: 991
Joined: Mon Dec 06, 2010 8:21 pm
Projects :: making random weapon assets
Games I'm Playing :: SWBF2 and more
xbox live or psn: PS3 beats xbox
Location: at a computer desk floating around in space

Re: Portable turrets slipping

Post by Dakota »

both, they just float and don't move once you place one.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Portable turrets slipping

Post by Maveritchell »

Try making them hover vehicles. You'll probably want to make sure you make your own primitive collisionmesh.
User avatar
Dakota
Field Commander
Field Commander
Posts: 991
Joined: Mon Dec 06, 2010 8:21 pm
Projects :: making random weapon assets
Games I'm Playing :: SWBF2 and more
xbox live or psn: PS3 beats xbox
Location: at a computer desk floating around in space

Re: Portable turrets slipping

Post by Dakota »

i think i may have tried that before but i am not sure i had the collision meshes at the time. i'll try it again now that i do have them. i'll also need to adjust the LUA for the higher amount of hovers instead of turrets.

-_-

i thought i posted this already.

I tested it again and it is now actually crashing when i tried to set it up as a hover unit when i went to place one.
Post Reply