Page 1 of 1

Parachute spawn

Posted: Sun May 16, 2010 6:19 pm
by assasinseye1
How to i get a spawn point or any object for that matter in the air? im useing ed42 plz dont tell me to use battle crap because it wont detect my OpenGL :)

Re: Parachute spawn

Posted: Sun May 16, 2010 9:00 pm
by Anthy
I'm new to modding myself, but I would guess, in the ObjectSpawn.con, define the object with an elevation higher than the ground level, for example in the code below, the tank spawns at an altitude of 200:

Code: Select all

Object.create lighttankspawner
Object.absolutePosition 1883.34/200/1990.05
Object.rotation -3.95996/2.277/-0.0740356
Object.setOSId 3

Re: Parachute spawn

Posted: Sun May 16, 2010 9:11 pm
by assasinseye1
cool tnx

Re: Parachute spawn

Posted: Sun May 16, 2010 9:12 pm
by Poow
Just move it in to the air.

To make a paradrop (soldier only)
e.g:

Code: Select all

ObjectTemplate.create SpawnPoint ParashutSpawnPoint_3
ObjectTemplate.setSpawnId 39
ObjectTemplate.setGroup 10
ObjectTemplate.setSpawnAsParaTroper 1
in the soldierspawntemplates.con

I don't know if there is any option in editor42 to enable this. But you can change that by hand.