So I want to have a map where there are no 'normal' spawn points as such..
you can only spawn when a vehicle is free and then when you select that spawn point you spawn into the driving seat (only one seat in vehicle anyway)
Ive never done/tried this before.. is it possible/difficult?
how?
Spawn in vehicle
Re: Spawn in vehicle
FH mod, omaha. Allied amphibious tank. (Don't know the exactly name)
(Yes it's possible but don't ask me how^^)
Some time ago I looked in the code and it was quite simple.
(Yes it's possible but don't ask me how^^)
Some time ago I looked in the code and it was quite simple.
You’re entering a world of pain!
Re: Spawn in vehicle
Create a spawn point and attach it to the object complex.
Give the spawnpoint the following attributes:
Give the spawnpoint the following attributes:
Code: Select all
ObjectTemplate.create SpawnPoint Entry_SoldierSpawn <----obviously irrelevant, name it as you wish
ObjectTemplate.setSpawnRotation 0/0/0
ObjectTemplate.setSpawnPositionOffset 0/0/0
ObjectTemplate.setSpawnPreventionDelay 0
ObjectTemplate.setSpawnId 0
ObjectTemplate.setGroup 75 <---use a free group, you obviously have to set up that group too (like in spawnpointmanager.con), be careful not to use a group number that is used by other vehicles! Sadly this also means if there are multiple objects of one type, they share the spawner...so you get one spawn point on the map for 3 vehicles, causing you to be put into a random one. Sometimes desired, sometimes not. If not, you have to create a new PCO...
ObjectTemplate.setEnterOnSpawn 1 <----- that's the line you are looking for
ObjectTemplate.setAIEnterOnSpawn 1
ObjectTemplate.setSpawnAsParaTroper 0
Re: Spawn in vehicle
DC also have one for the blackhawk in the wake island map or iwo jima.
Re: Spawn in vehicle
great will try!
these are the little critters in question
(they are a wip.. )
these are the little critters in question
(they are a wip.. )