Page 1 of 2

New Spanpoint

Posted: Thu Apr 22, 2010 7:12 pm
by Le Stroumphe
Hey guys, I'm Le Stroumphe founder from SL team (soldiersoflegend.com) and the modder too.

Your site helped me many when i start the modding. And I say thank you already for that.

But now i have a serious probleme, i want add a spawnpoint in much maps, exemple in bocage one axies other allieds. I dont know if i need to use a vehicle like shokaku or add a new spawnpoint.

Can you show me the way???

Greatz.

Re: New Spanpoint

Posted: Fri Apr 23, 2010 12:23 am
by Master Jay
dont get it? maybe you should move this to 1942 Modding Discussion :D

Re: New Spanpoint

Posted: Fri Apr 23, 2010 9:43 am
by Le Stroumphe
Hey,

Oh sry but i cant mouv myself this topic.

Re: New Spanpoint

Posted: Fri Apr 23, 2010 5:17 pm
by Jeronimo
Server side it's only possible to move or remove spawn points, not to add new ones. You could use a vehicle, though, indeed. Something with a spawner on it (typically Gato submarine etc.). Spawn it somewhere far up in the air, make the spawner "HoldObject 1" so it doesn't fall down, make the soldiers spawns "EnterOnSpawn 0" (if they arent already) and move them back down to the ground, relatively to the position of the spawned vehicle. That should be about it. :geek:

Re: New Spanpoint

Posted: Fri Apr 23, 2010 5:47 pm
by Le Stroumphe
You could use a vehicle, though, indeed. Something with a spawner on it (typically Gato submarine etc.). Spawn it somewhere far up in the air, make the spawner "HoldObject 1" so it doesn't fall down
That i understand.
make the soldiers spawns "EnterOnSpawn 0" (if they arent already) and move them back down to the ground, relatively to the position of the spawned vehicle. That should be about it.
That i dont understand.

I use this code in objectspanstemplates.con :

ObjectTemplate.Active Sub7C
ObjectTemplate.addTemplate Sub7CDriverSoldierSpawn
ObjectTemplate.setPosition 0/100/-4.7


If i use ObjectTemplate.setPosition 0/100/-4.7 i have 2 positions: 1- Normale position 2- the player does not appear inside the ground, he apear in the ground (the sub7c have a rotation like 0/0/180).

if i use a real position like 941.496/23.6565/1545.4564 the player does not appear at the location desired sometimes I see the spawnpoint (but no in the location desired) somethimes i dont see the spawnpoint.

Re: New Spanpoint

Posted: Fri Apr 23, 2010 7:13 pm
by Poow
If you want to make a Spawn at this coordinates "156/41/133" You can do this:
Spawn a Gato at:

Code: Select all

156/1041/133
(Y= 41+1000 -> above "156/41/133")

Add this lines to move the gato spawn back to the ground.

Code: Select all

	
rem *** Move gato Spawn ***
	ObjectTemplate.Active GatoComplex
	ObjectTemplate.setActiveTemplate 4
	ObjectTemplate.setPosition 0/-1000/0  
Summary:
Image

Questions?

Re: New Spanpoint

Posted: Fri Apr 23, 2010 7:26 pm
by HJGF
lol nice explanation

Re: New Spanpoint

Posted: Fri Apr 23, 2010 8:13 pm
by Le Stroumphe
lol tnx for this explanation I have test, this work very fine.

But unfortunately for you I want something else:

1- In this spainwpoint i want 3 different soldiers spawn.

2- And if possible find a way to put a coordinate from a map like 1567.466/2000.0/456.544 (and not a coordinates from the submarine like 0/2000/0).

And you realizes my dream :D

Re: New Spanpoint

Posted: Fri Apr 23, 2010 8:33 pm
by Master Jay
lol thats so funny

Re: New Spanpoint

Posted: Fri Apr 23, 2010 8:42 pm
by Poow
Le Stroumphe wrote:1- In this spainwpoint i want 3 different soldiers spawn.
Can you give an example? What do you mean with "3 different soldiers spawn" ? 3 points at the minimap linked to 'one' location?

€:Ah you mean one spawn Point at the Map linked to 3 places at the map right? Kind of 1:3 chance to spawn at one point?
Le Stroumphe wrote:2- And if possible find a way to put a coordinate from a map like 1567.466/2000.0/456.544 (and not a coordinates from the submarine like 0/2000/0).
You could move the submarine to 0/0/0 :P
But mhh, I don't know a method for that.