Hurray! Another multiplayer clone project. :)

Discuss and distribute tools and methods for modding. Moderator - Grognak
User avatar
Hak86
Posts: 108
Joined: Thu Mar 31, 2016 8:58 am

Re: Hurray! Another multiplayer clone project. :)

Postby Hak86 » Mon Sep 26, 2016 11:47 pm

@Spektor What does this do?: <event_param nonstop="0"></event_param>

EDIT: Do I need it for my event?
This is a bad signature. :|
kcd.Spektor
Posts: 586
Joined: Thu Nov 26, 2015 8:21 am

Re: Hurray! Another multiplayer clone project. :)

Postby kcd.Spektor » Tue Sep 27, 2016 5:51 am

Hak86 wrote:@Spektor What does this do?: <event_param nonstop="0"></event_param>
EDIT: Do I need it for my event?


When a ship enters a sector, that sector get's a flag - EVENT HAPPENED, so that if another ship(your friend's for example) enters the same sector right after you, another event will not happen.
Because when his ship enters the sector, a check is made - does this sector have a flag EVENT HAPPENED, if yes - no sector event is applied.

But if that event that was applied when your ship entered the sector, had nonstop="1", then that flag is not set on the sector, and when your friend's ship enters the same sector, can trigger another sector event there to be applied.

This flag is suposed to limit the amount of event's happening at nearly the same time.
The flag is dropped when that sector is unloaded from memory.
Sector is unloaded from memory when it has no players and no ships with AI = LEVEL_LOADER in it, for 2 minutes(this timeout is configured in the server.cfg file).
So the next time this sector is loaded, another event can happen in it.
kcd.Spektor
Posts: 586
Joined: Thu Nov 26, 2015 8:21 am

Re: Hurray! Another multiplayer clone project. :)

Postby kcd.Spektor » Tue Sep 27, 2016 7:05 am

kcd.Spektor wrote:
Perogie wrote:I got a decent editing program (sony movie studio 13 etc.) and I think I could find time to make the trailer. Give me a due date to be sure I actually work on it (born to procrastinate ;) ).
I guess the easiest way to send me the footage would be to either post the stuff in this forum or you could share via google drive. (email is cheezybug98@gmail.com)
Ill record my own clips to fill in bits I need. Also if there's any specific list of things for me to mention, tell me.
I can start work on it on Wednesday.

Add me on skype(kcd.Spektor) so we can discuss this in more detail.


Anyone else can help with the trailer?
I'm asking because Perogie again asked, and dissapeared...
Perogie
Posts: 11
Joined: Tue May 31, 2016 2:02 pm

Re: Hurray! Another multiplayer clone project. :)

Postby Perogie » Tue Sep 27, 2016 1:13 pm

kcd.Spektor wrote:
kcd.Spektor wrote:
Perogie wrote:I got a decent editing program (sony movie studio 13 etc.) and I think I could find time to make the trailer. Give me a due date to be sure I actually work on it (born to procrastinate ;) ).
I guess the easiest way to send me the footage would be to either post the stuff in this forum or you could share via google drive. (email is cheezybug98@gmail.com)
Ill record my own clips to fill in bits I need. Also if there's any specific list of things for me to mention, tell me.
I can start work on it on Wednesday.

Add me on skype(kcd.Spektor) so we can discuss this in more detail.


Anyone else can help with the trailer?
I'm asking because Perogie again asked, and dissapeared...


Reset my Microsoft account 3 times and made 2 new accounts and still can't get Skype working. Is there another way to do this? Also I stated I can begin using my editing software on Wednesday so I've been waiting till then. I feel cursed with technology but if you still want me to create it on Wednesday I still can.

Edit: 4 resets, 3 accounts, 2 hours wasted on skype.
Image
The_Bear
Posts: 225
Joined: Mon Jan 04, 2016 5:57 pm

Re: Hurray! Another multiplayer clone project. :)

Postby The_Bear » Tue Sep 27, 2016 3:38 pm

kcd.Spektor wrote:
kcd.Spektor wrote:
Perogie wrote:I got a decent editing program (sony movie studio 13 etc.) and I think I could find time to make the trailer. Give me a due date to be sure I actually work on it (born to procrastinate ;) ).
I guess the easiest way to send me the footage would be to either post the stuff in this forum or you could share via google drive. (email is cheezybug98@gmail.com)
Ill record my own clips to fill in bits I need. Also if there's any specific list of things for me to mention, tell me.
I can start work on it on Wednesday.

Add me on skype(kcd.Spektor) so we can discuss this in more detail.


Anyone else can help with the trailer?
I'm asking because Perogie again asked, and dissapeared...

I can help.
Manters
Posts: 62
Joined: Thu Jul 17, 2014 2:28 pm

Re: Hurray! Another multiplayer clone project. :)

Postby Manters » Wed Sep 28, 2016 6:39 am

Wow... They grow up so fast;

Yeah, I've been busy with some things in my life, but anyway, I'm back now.

We're putting together a trailer now? Woah!

Is there still anything I can do for the project, or has it all been squared away?
kcd.Spektor
Posts: 586
Joined: Thu Nov 26, 2015 8:21 am

Re: Hurray! Another multiplayer clone project. :)

Postby kcd.Spektor » Wed Sep 28, 2016 10:53 am

Manters wrote:Wow... They grow up so fast;
Yeah, I've been busy with some things in my life, but anyway, I'm back now.
We're putting together a trailer now? Woah!
Is there still anything I can do for the project, or has it all been squared away?

There's always a way you can help.
Just check out the first page.
Also I do need help in making the trailer.
kcd.Spektor
Posts: 586
Joined: Thu Nov 26, 2015 8:21 am

Re: Hurray! Another multiplayer clone project. :)

Postby kcd.Spektor » Wed Sep 28, 2016 5:20 pm

Perogie wrote:Reset my Microsoft account 3 times and made 2 new accounts and still can't get Skype working. Is there another way to do this? Also I stated I can begin using my editing software on Wednesday so I've been waiting till then. I feel cursed with technology but if you still want me to create it on Wednesday I still can.
Edit: 4 resets, 3 accounts, 2 hours wasted on skype.


Well it's wednesday today.
I'm not sure what your time zone is, maybe you read my replies when I'm sleeping.
Can you reply to my PM pls?
Manters
Posts: 62
Joined: Thu Jul 17, 2014 2:28 pm

Re: Hurray! Another multiplayer clone project. :)

Postby Manters » Wed Sep 28, 2016 9:28 pm

kcd.Spektor wrote:
Manters wrote:Wow... They grow up so fast;
Yeah, I've been busy with some things in my life, but anyway, I'm back now.
We're putting together a trailer now? Woah!
Is there still anything I can do for the project, or has it all been squared away?

There's always a way you can help.
Just check out the first page.
Also I do need help in making the trailer.


I might be able to help with the trailer; what bit are you guys stuck at?
User avatar
Hak86
Posts: 108
Joined: Thu Mar 31, 2016 8:58 am

Re: Hurray! Another multiplayer clone project. :)

Postby Hak86 » Thu Sep 29, 2016 3:50 am

@Spektor I tested this and I didn't work, where did I go wrong? Am I testing it wrong?
Do you think you could make a guide on the wiki: How to create an event?

Code: Select all

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<events>
   <event type="SECTOR_ENTER" name="Pirate trap SEC(0-4) LVL(0) SHIPS(1)">
      <event_param nonstop="1"></event_param>
      <event_param level="0"/>
      <event_param chance="100"/>
      <event_param only_empty="1"/>
      <event_param min_event_qty="1"/>
      <event_param max_event_qty="1"/>
      <event_param chain_event="PIRATE_LIGHT_SCOUT"></event_param>
      <event_param trigger_message="Looks like you have run into a trap, set up by pirates"/>
      <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>
   </event>
   <event type="SPAWN_SHIP" name="PIRATE_LIGHT_SCOUT">
      <event_param nonstop="1"></event_param>
      <event_param random_ship="1"/>
      <event_param min_event_qty="1"></event_param>
      <event_param max_event_qty="1"></event_param>
      <add_ship>
         <ship_param gen_ship_model="PIRATE_LIGHT_SCOUT_L1_1"></ship_param>
         <ship_param gen_ship_model="PIRATE_LIGHT_SCOUT_L1_2"></ship_param>
         <ship_param gen_ship_model="PIRATE_LIGHT_SCOUT_L1_3"></ship_param>
         <ship_param gen_ship_model="PIRATE_LIGHT_SCOUT_L1_4"></ship_param>
         <ship_param ship_qty="1"></ship_param>
         <ship_param ship_name="Pirate scout"></ship_param>
         <ship_param random_pos="1"></ship_param>
         <ship_param min_missile_ammo="6"></ship_param>
         <ship_param max_missile_ammo="12"></ship_param>
         <ship_param min_drone_ammo="6"></ship_param>
         <ship_param max_drone_ammo="12"></ship_param>
         <ship_param min_scrap="26"></ship_param>
         <ship_param max_scrap="52"></ship_param>
         <ship_param min_health="6"></ship_param>
         <ship_param max_health="24"></ship_param>
         <ship_param distress="Someone please help"></ship_param>
         <ship_ai type="LIFE_SUPPORT"></ship_ai>
         <ship_ai type="SENTRY"></ship_ai>
         <ship_ai type="PIRATE_OWNER"></ship_ai>
         <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">
               <npc_ai_param SYSTEMS="SHIELDS:PILOTING"></npc_ai_param>
               <npc_ai_param WORK_TIME="10"></npc_ai_param>
            </npc_ai>
            <npc_ai type="NPC_TALKER">
               <npc_ai_param TIMER="30"></npc_ai_param>
               <npc_ai_param RAND="1"></npc_ai_param>
               <npc_ai_param MES="Give us all of you scrap!"></npc_ai_param>
               <npc_ai_param MES="Or we'll blow you to small pieces!"></npc_ai_param>
               <npc_ai_param MES="Your ship will make good scrap!"></npc_ai_param>
               <npc_ai_param MES="I'm going to salvage what's left of your ship!"></npc_ai_param>
               <npc_ai_param MES="I'm going to use the scrap from your ship to upgrade my Poop deck!"></npc_ai_param>
            </npc_ai>
         </spawn_npc_on_ship>
         <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="OXYGEN"></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">
               <npc_ai_param SYSTEMS="DOOR_CONTROL:OXYGEN"></npc_ai_param>
               <npc_ai_param WORK_TIME="20"></npc_ai_param>
            </npc_ai>
         </spawn_npc_on_ship>
         <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="SHIELDS"></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">
               <npc_ai_param SYSTEMS="SHIELDS:LASER_WEAPONS"></npc_ai_param>
               <npc_ai_param WORK_TIME="20"></npc_ai_param>
            </npc_ai>
         </spawn_npc_on_ship>
         <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="ENGINES"></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">
               <npc_ai_param SYSTEMS="ENGINES:HYPERDRIVE"></npc_ai_param>
               <npc_ai_param WORK_TIME="20"></npc_ai_param>
            </npc_ai>
         </spawn_npc_on_ship>
      </add_ship>
   </event>
</events>
This is a bad signature. :|