Not accecible vehicles from enemy team

Ask questions, discuss ideas, get answers
Post Reply
Rensa
Posts: 18
Joined: Wed Jul 28, 2010 7:56 am

Not accecible vehicles from enemy team

Post by Rensa »

Hey, im new here and with a question: How to make it that one base can`t enter other bases vehicles. Example: Noobs fly over the base and chute them selves to other teams planes and go away... Any tips?
Jeronimo
Posts: 196
Joined: Sun Dec 27, 2009 8:55 pm
Location: Germany
Contact:

Re: Not accecible vehicles from enemy team

Post by Jeronimo »

Give the objectSpawner the property

Code: Select all

ObjectTemplate.teamOnVehicle 1    <--- red team only
or
ObjectTemplate.teamOnVehicle 2    <--- blue team only
For more info please search this board or the backup of the old forums (same link as found on forum index) - you should definitely find it there!
Image
User avatar
fo0k
Posts: 1433
Joined: Fri Oct 16, 2009 4:21 pm
Location: UK

Re: Not accecible vehicles from enemy team

Post by fo0k »

Hi Rensa, welcome.

Can you give us an idea about your knowlege of modding too. have you even done a serverside mod? Just wondering so people can assist you in a worthwhile way ;)
Rensa
Posts: 18
Joined: Wed Jul 28, 2010 7:56 am

Re: Not accecible vehicles from enemy team

Post by Rensa »

Pretty good.. I can make the most stuff on my own the only things i am wondering about is this one that i just asked (answered and thanks Jeronimo) and spawn bike.. Everything else i can do...
And yes i have made several SSM for my friends servers.... And am good in modding (not "very" good xD) I can get the most stuff done on my own...
User avatar
fo0k
Posts: 1433
Joined: Fri Oct 16, 2009 4:21 pm
Location: UK

Re: Not accecible vehicles from enemy team

Post by fo0k »

ahh ok cool! sometimes hard to know whethere someone has even opened an rfa before :)

great to have more experience onboard.
ZOOMER
Posts: 10
Joined: Mon Oct 19, 2009 12:44 am

Re: Not accecible vehicles from enemy team

Post by ZOOMER »

ObjectTemplate.teamOnVehicle 1

Follow-up question: If I kill the driver while he gets out to repair his vehicle is the vehicle still locked?
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Re: Not accecible vehicles from enemy team

Post by freddy »

ZOOMER wrote:Follow-up question: If I kill the driver while he gets out to repair his vehicle is the vehicle still locked?
yes
Post Reply