Random Spawning of Solars in Zones
-
Ok I know that it is possible to spawn NPC with FLHook.
So i think it should be possible, too to spawn Solars (e.g. Stations; Asteroids…)But i want the solars to be spawn random in a Zone/Field automatically. So that maybe in Pittburgh debris field an enemy station spawn on different positions.
And: There should be a limited count of spawned solar, so that i have not 20 stations in my field.
Simple Question: Is this possible and, if yes, how I could insert it on my server AND: Would it slow down my server if I do this in nearly every field in Sirius, or would the just spawned in fields where players are?
-
I tried only on the server side, but after a while server crashed.
Try to use rm_ stations as npc ships, in the usual mod must succeed.
(There are a ships with rm_ prefix. Some of them are mission stations
Of course density of this npcs and repop time may slowdown your server… -
yes, you could let npc’s look like stations therefore give them an engine they do not move and movement entries just like that the ships cannot move at all. they would fire turrets as simple station and spawn randomly. it is a workaround but no player would ever recognise if they do not spawn just the same often as fighter wings.
-
My idea was to spawn big mineable asteroids in fields of asteroids. i dont konw why, but the only mineable asteroids are solars, while the other asteroids used in asteroidarch are not mineable.
gisterons idea might work, but an asteroid with shield and scanable? or could I set a different hull type, too?^^
-
…
Stations in tradelanes, Stations turning like ships ect.
…Just so I flew from Manhattan and in front of me was such a station, and suddenly it turned, I nearly … initially very scared:))
-
what about giving it no turning forces?
-
Psh, or you could have them fly around and be awesome.
-
its the same as spawning usual npc’s. you just define other models as starships (with adding of needed hp’s ofc, like HpMount) and make a faction fly this thing in a certain formation that would support the size of it’s hitbox. that’s it. in general the very same as spawning custom ship npc’s or battleship enounters.
-
Yeah, Flak just spawns them as regular NPCs. Just create a ship version of the station by setting up the ship as you always would, simply using the station model instead.
Note however that the station models will need an HpMount to be functional ships for NPC or player use. You can add these using HardCMP, or if you’re lazy can simply nab this zip which features all vanilla stations ready for piloting: http://www.memes.no/88flak/downloads/beta/MobileStationsWithHpMount.zip
-
http://cs4303.vkontakte.ru/u3924811/93471921/x_08086b49.jpg x)
How about question #7?
Mission stations are standing like a stone, but npc stations are rotating like yoyos ;(