I decided to go with what you suggested and remove the spawn templates.
Going off the Yamato/Objects.con in the objects.rfa it looked like I would need to remove templates 1,2 & 3.
Code: Select all
rem *** YamatoComplex ***
ObjectTemplate.create Bundle YamatoComplex
rem ObjectTemplate.setNetworkableInfo YamatoBodyInfo
ObjectTemplate.geometry Yamato_hull_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate YamatoDriverSoldierSpawn
ObjectTemplate.setPosition 0/12.5/3.5
ObjectTemplate.addTemplate YamatoSoldierSpawn
ObjectTemplate.setPosition -18.6/12.5/-44.999
ObjectTemplate.addTemplate YamatoSoldierSpawn
ObjectTemplate.setPosition 18.6/12.5/-44.999
However when I did that it didn't remove the YamatoDriverSoldierSpawn.
So I removed the "ObjectTemplate.removeTemplate 1" that I had in my patch file as I thought it had failed to remove a soldierspawn, it turns out it hadn't.
There are actually three YamatoSoldierSpawn and two of them share the same position (-18.6/12.5/-44.999).
I ended up adding this to my ObjectSpawnTemplate.con
Code: Select all
ObjectTemplate.Active YamatoComplex
ObjectTemplate.removeTemplate 3
ObjectTemplate.removeTemplate 2
ObjectTemplate.removeTemplate 1
ObjectTemplate.addTemplate YamatoSoldierSpawn
ObjectTemplate.setPosition 12.2/12.5/-33.6
ObjectTemplate.setRotation -140/0/0
ObjectTemplate.addTemplate YamatoSoldierSpawn
ObjectTemplate.setPosition 7.4/12.5/-45.6
ObjectTemplate.setRotation -30/0/0
ObjectTemplate.addTemplate YamatoSoldierSpawn
ObjectTemplate.setPosition -12.6/12.5/-32
ObjectTemplate.setRotation -150/0/0
I now have 3 different YamatoSoldierSpawn at the back of the ship in the positions I want as well as to the YamatoDriverSoldierSpawn which I was not able to move.
I would still like to be able to move the YamatoDriverSoldierSpawn though but I have no idea what template it is?
