Page 1 of 1

Removing Templates via tmp.con?

Posted: 2017-10-02 21:33
by Jabil_One
Hello all,

i have a question about this codeline:

Code: Select all

objectTemplate.removeTemplate 
For what is it?
Is it possible with this codeline to remove seats from vehicles when i edit the tweak of the vehicle in the tmp.con?? or i must test myself?!

Re: Removing Templates via tmp.con?

Posted: 2017-10-03 05:47
by AfterDune
I think you can only edit/remove templates that have been addTemplated in the .tweak file.

So in your case, if a seat (PlayerControlObject) has been created in the .con file, you can't remove it. But if it's been created in the .tweak (and addTemplated there), you can.

Re: Removing Templates via tmp.con?

Posted: 2017-10-03 11:15
by Jabil_One
Dankje well mijn vriend,

i will give it a try and look how it works.
I will remove some vehicle the ballast seats from coop gameplay mapbased without making a second SP variant of that vehicle. I want more boots on the ground.