Page 145 of 164
Re: Hurray! Another multiplayer clone project. :)
Posted: Tue Sep 20, 2016 4:02 pm
by jrb00001
kcd.Spektor wrote:Is everyone ok with Friday 7PM
UCT?
19:00 UTC is 21:00 CEST. As I have something planned on this friday between 20:00 CEST and ~22:00 CEST, I might not be able to join. It would be better if we could move it to 20:00 UTC or to saturday (whole day) / sunday (morning / afternoon).
Re: Hurray! Another multiplayer clone project. :)
Posted: Tue Sep 20, 2016 4:13 pm
by The_Bear
kcd.Spektor wrote:Is everyone ok with Friday 7PM
UCT?
I am busy from friday to sunday the next 4 weeks.
Re: Hurray! Another multiplayer clone project. :)
Posted: Tue Sep 20, 2016 8:25 pm
by kcd.Spektor
My plans have also changed a bit for friday.
So let's move the CBT to satruday, any time.
Galactix, Chickengames, Hak86, PixelBrummagem
You ok with saturday?
Re: Hurray! Another multiplayer clone project. :)
Posted: Tue Sep 20, 2016 8:31 pm
by The_Bear
kcd.Spektor wrote:My plans have also changed a bit for friday.
So let's move the CBT to satruday, any time.
Galactix, Chickengames, Hak86, PixelBrummagem
You ok with saturday?
But then I want be able to join.
Re: Hurray! Another multiplayer clone project. :)
Posted: Tue Sep 20, 2016 8:48 pm
by kcd.Spektor
The_Bear wrote:But then I want be able to join.
I'd realy like for you to join.
But I can't wait for 4 weeks
Maybe you can find some time on satruday dirung the whole day?
Re: Hurray! Another multiplayer clone project. :)
Posted: Tue Sep 20, 2016 10:25 pm
by Hak86
kcd.Spektor wrote:Hak86 wrote:
It didn't work

I've found why it didn't work.
I forgot that I split this into 2 separate events SECTOR_ENTER and SPAWN_SHIP
So now you can't just add ships from the SECTOR_ENTER event, instead you need to have a SPAWN_SHIP event.
Which you will call from your SECTOR_ENTER event by using
<event_param chain_event="SPAWN_SHIP_EVENT_NAME"></event_param>
<event_param chain_event="SPAWN_SHIP_EVENT_NAME2"></event_param>
This way you can reuse the same SPAWN_SHIP event in different SECTOR_ENTER events, in different combinations.
Also this allows to call any other type of event when a ship enter the sector.
Check out the example.xml2 file
Look for SECTOR_ENTER event, and see how it's calling the Spawn an asteroid event.
Thanks for the help

Re: Hurray! Another multiplayer clone project. :)
Posted: Tue Sep 20, 2016 10:27 pm
by Hak86
kcd.Spektor wrote:My plans have also changed a bit for friday.
So let's move the CBT to satruday, any time.
Galactix, Chickengames, Hak86, PixelBrummagem
You ok with saturday?
I can't do this Saturday or the next one.
EDIT: I can't do Friday next week either.
Re: Hurray! Another multiplayer clone project. :)
Posted: Wed Sep 21, 2016 5:10 am
by kcd.Spektor
I will soon post a tested example event that spawns some random pirates.
Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<events>
<event type="SECTOR_ENTER" name="PIRATE_AMBUSH_L0">
<event_param nonstop="0"></event_param>
<event_param min_event_qty="1"></event_param>
<event_param max_event_qty="1"></event_param>
<event_param chain_event="SPAWN_B_LS_L4_1"></event_param>
<event_param level="0"></event_param>
<event_param chance="100"></event_param>
<event_param trigger_message="You have run into an ambush,"></event_param>
<event_param trigger_message="set up by pirates."></event_param>
<event_param broadcast_message="Sensors indicate that a new ship"></event_param>
<event_param broadcast_message="has entered this sector"></event_param>
<condition type="SECTOR_TYPE_PRESENT">
<condition_param sector_type="0"></condition_param>
<condition_param sector_type="1"></condition_param>
<condition_param sector_type="2"></condition_param>
<condition_param sector_type="3"></condition_param>
<condition_param sector_type="4"></condition_param>
</condition>
<condition type="SECTOR_SHIPS_ABSENT">
<condition_param qty="2"></condition_param>
</condition>
</event>
<event type="SPAWN_SHIP" name="SPAWN_B_LS_L4_1">
<event_param nonstop="1"></event_param>
<event_param min_event_qty="1"></event_param>
<event_param max_event_qty="1"></event_param>
<event_param random_ship="1"></event_param>
<add_ship>
<ship_param free_doors="0"></ship_param>
<ship_param free_med="0"></ship_param>
<ship_param free_oxygen="0"></ship_param>
<ship_param free_sensors="0"></ship_param>
<ship_param safe_zone="0"></ship_param>
<ship_param transparent_cells="0"></ship_param>
<ship_param gen_ship_model="B_LS_L4_1"></ship_param>
<ship_param ship_qty="1"></ship_param>
<ship_param random_ship_name="1"></ship_param>
<ship_param ship_owner="THE_BEARS"></ship_param>
<ship_param random_pos="1"></ship_param>
<ship_param min_missile_ammo="4"></ship_param>
<ship_param max_missile_ammo="10"></ship_param>
<ship_param min_drone_ammo="4"></ship_param>
<ship_param max_drone_ammo="10"></ship_param>
<ship_param min_scrap="40"></ship_param>
<ship_param max_scrap="80"></ship_param>
<ship_param min_health="6"></ship_param>
<ship_param max_health="10"></ship_param>
<ship_ai type="LIFE_SUPPORT"></ship_ai>
<ship_ai type="SENTRY"></ship_ai>
<ship_param random_npc_on_ship="0"></ship_param>
<spawn_npc_on_ship>
<npc_param npc_qty="1"></npc_param>
<npc_param npc_is_crew="1"></npc_param>
<npc_param npc_random_name="1"></npc_param>
<npc_param npc_race="HUMAN"></npc_param>
<npc_param npc_home_system="PILOTING"></npc_param>
<npc_param npc_spawn_at_home="1"></npc_param>
<npc_ai type="NPC_LIFESUPPORT"></npc_ai>
<npc_ai type="NPC_FIREMAN"></npc_ai>
<npc_ai type="NPC_REPAIRMAN"></npc_ai>
<npc_ai type="NPC_WORKER" SYSTEMS="PILOTING" WORK_TIME="10"></npc_ai>
</spawn_npc_on_ship>
</add_ship>
</event>
</events>
Re: Hurray! Another multiplayer clone project. :)
Posted: Wed Sep 21, 2016 5:36 am
by kcd.Spektor
As for the CBT.
The first CBT will be this saturday.
Whoever can join this saturday please post,
So far it's only JRB.
If you can't make it this saturday, then you will have a chance to join the next CBT.
Because I plan to have several of them anyway - to ballance the scenario a bit.
Re: Hurray! Another multiplayer clone project. :)
Posted: Wed Sep 21, 2016 6:10 am
by TehBobo
I am interested in participating in the CBT but I am not sure if I will have Internet. If I do I will let you know. If not then I won't be able to post.