New Spanpoint
-
- Posts: 14
- Joined: Thu Apr 22, 2010 7:05 pm
New Spanpoint
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.
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.
-
- Posts: 139
- Joined: Mon Mar 29, 2010 10:28 pm
Re: New Spanpoint
dont get it? maybe you should move this to 1942 Modding Discussion 


Im Watching You... When You Sleep!
-
- Posts: 14
- Joined: Thu Apr 22, 2010 7:05 pm
Re: New Spanpoint
Hey,
Oh sry but i cant mouv myself this topic.
Oh sry but i cant mouv myself this topic.
Re: New Spanpoint
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. 

-
- Posts: 14
- Joined: Thu Apr 22, 2010 7:05 pm
Re: New Spanpoint
That i understand.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 dont 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.
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
If you want to make a Spawn at this coordinates "156/41/133" You can do this:
Spawn a Gato at: (Y= 41+1000 -> above "156/41/133")
Add this lines to move the gato spawn back to the ground.
Summary:

Questions?
Spawn a Gato at:
Code: Select all
156/1041/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

Questions?
You’re entering a world of pain!
-
- Posts: 14
- Joined: Thu Apr 22, 2010 7:05 pm
Re: New Spanpoint
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
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

-
- Posts: 139
- Joined: Mon Mar 29, 2010 10:28 pm
Re: New Spanpoint
Can you give an example? What do you mean with "3 different soldiers spawn" ? 3 points at the minimap linked to 'one' location?Le Stroumphe wrote:1- In this spainwpoint i want 3 different soldiers spawn.
€: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?
You could move the submarine to 0/0/0Le 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).

But mhh, I don't know a method for that.
You’re entering a world of pain!