New Spanpoint

Ask questions, discuss ideas, get answers
Le Stroumphe
Posts: 14
Joined: Thu Apr 22, 2010 7:05 pm

New Spanpoint

Post 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.
Master Jay
Posts: 139
Joined: Mon Mar 29, 2010 10:28 pm

Re: New Spanpoint

Post by Master Jay »

dont get it? maybe you should move this to 1942 Modding Discussion :D
Image
Im Watching You... When You Sleep!
Le Stroumphe
Posts: 14
Joined: Thu Apr 22, 2010 7:05 pm

Re: New Spanpoint

Post by Le Stroumphe »

Hey,

Oh sry but i cant mouv myself this topic.
Jeronimo
Posts: 196
Joined: Sun Dec 27, 2009 8:55 pm
Location: Germany
Contact:

Re: New Spanpoint

Post 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:
Image
Le Stroumphe
Posts: 14
Joined: Thu Apr 22, 2010 7:05 pm

Re: New Spanpoint

Post 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.
Poow
Posts: 271
Joined: Sun Nov 01, 2009 8:00 pm
Location: Germany
Contact:

Re: New Spanpoint

Post 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?
You’re entering a world of pain!
User avatar
HJGF
Posts: 233
Joined: Fri Feb 05, 2010 10:28 pm

Re: New Spanpoint

Post by HJGF »

lol nice explanation
Image
Image
Le Stroumphe
Posts: 14
Joined: Thu Apr 22, 2010 7:05 pm

Re: New Spanpoint

Post 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
Master Jay
Posts: 139
Joined: Mon Mar 29, 2010 10:28 pm

Re: New Spanpoint

Post by Master Jay »

lol thats so funny
Image
Im Watching You... When You Sleep!
Poow
Posts: 271
Joined: Sun Nov 01, 2009 8:00 pm
Location: Germany
Contact:

Re: New Spanpoint

Post 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.
You’re entering a world of pain!
Post Reply