Knuckle Cracker

Particle Fleet => Map Makers, Ship Builders, and Coders => Topic started by: RamenChef on June 21, 2019, 10:53:38 AM

Title: Multiplayer maps?
Post by: RamenChef on June 21, 2019, 10:53:38 AM
I want to experiment with multiplayer maps in Particle Fleet, but PRPL doesn't currently support any sort of network connectivity. Are there any plans for this down the road? Are there any mods for it?

Additionally, is it possible to spawn enemy ships using PRPL? I can't find a command for it, but from reading the forums it seems to be possible.
Title: Re: Multiplayer maps?
Post by: Sorrontis on June 21, 2019, 04:15:54 PM
Unfortunately (or fortunately for some), all KnuckleCracker games are single player only.
Title: Re: Multiplayer maps?
Post by: Karsten75 on June 21, 2019, 07:28:02 PM
Quote from: RamenChef on June 21, 2019, 10:53:38 AM
Additionally, is it possible to spawn enemy ships using PRPL? I can't find a command for it, but from reading the forums it seems to be possible.

https://knucklecracker.com/wiki/doku.php?id=prpl:createunit

https://knucklecracker.com/wiki/doku.php?id=prpl:unittypelist
Title: Re: Multiplayer maps?
Post by: RamenChef on June 22, 2019, 01:09:16 PM
I found that, but I don't see a "ship" unit type.
Title: Re: Multiplayer maps?
Post by: Karsten75 on June 22, 2019, 01:24:40 PM
At a guess, you'd need the "ship spawner"
Title: Re: Multiplayer maps?
Post by: FOXX on June 22, 2019, 01:48:05 PM
It is possible to spawn in units like this:

"Emitter" 50 50 createunit

This will spawn an enemy emitter with standard values on coords 50 50.
With an emitter you have commands to change values. Like setemitterproductioninterval or setemittermaxparticles. (there are more for the emitter)
Unfortunately these commands are not present for spawning in a shipspawner (or doppelspawner).
So if you spawn in a shipspawner it spawns in with standard values.

Now that i think of it, an emitter is the only unit wich has commands for changing values.

Hope this helps.
Greets
FOXX
Title: Re: Multiplayer maps?
Post by: kajacx on June 22, 2019, 05:15:39 PM
Online multiplier is not possible without modding the client, which I would not recommend. Instead, you can try a "local multiplayer" map, where 2 players play on 1 computer, once player can control most units while the other controls a really powerful ship with customs modules for example. For PRPL help you can start here: https://knucklecracker.com/wiki/doku.php?id=pf:particle_fleet or download other maps and inspect their scripts.