Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > Star Wolves

Star Wolves 3D space RPG with deep strategy and tactical elements

Reply
 
Thread Tools Display Modes
  #11  
Old 04-02-2010, 05:42 PM
Rastix Rastix is offline
Approved Member
 
Join Date: Jul 2008
Posts: 79
Default

the internal code doesn't have such possibilities for now
Reply With Quote
  #12  
Old 04-02-2010, 08:08 PM
Nanaki Nanaki is offline
Approved Member
 
Join Date: Mar 2010
Posts: 338
Default

I just completed implimentation of the Military convoys. They can only be found in secure sectors (although a few iffy sectors have Patrol/Pirate convoys), and have approximately a 20% chance to spawn. Patrol convoys may spawn in some MSF-dominated systems, but with only a 10% chance. Pirate convoys may spawn in some Triada-dominated systems, but also with only a 10% chance. Convoys are mostly the same, having very heavy escorts.

In addition, I also made most stations in the universe indestructable. This is to solve issues with stations accumlating damage because of ship AIs (Random spawns, usually, although a few systems like Kruger even the normal spawns have this issue) colliding with them and causing them to slowly accumulate damage (as there is no way to repair stations, and stations themselves do not have self-repair) as they are collided with again and again.

Although I may replace the indestructable code with code that instead sets the HP of all alive stations in a sector to 100% every time you enter a system. This would solve the issue as well, and still allow you to blow up stations, but considering blowing up most stations produces no tangible award, it is kinda pointless (and I am not that good at lua, the more complex the code the more likely I will screw it up).

Cargo Containers are still destructable though, but they are largely exempt from the original issue since AI ships never get close to them.

Last edited by Nanaki; 04-02-2010 at 08:13 PM.
Reply With Quote
  #13  
Old 04-02-2010, 08:31 PM
Goblin Wizard Goblin Wizard is offline
Approved Member
 
Join Date: Oct 2008
Posts: 508
Default

Quote:
that is, to find a way adding radio comm sound file to docking procedure
say, if ok, u will hear a vioce "please go to docking bay 7"
if not, then u might hear "docking request denied", or what ever it suits the situation.
Quote:
Originally Posted by Rastix View Post
the internal code doesn't have such possibilities for now
You can easily add sound nearly anywhere you want. You need only this line
Quote:
PlaySound3D("wav filename", position, volume[0..1]);
Reply With Quote
  #14  
Old 04-02-2010, 08:35 PM
Nanaki Nanaki is offline
Approved Member
 
Join Date: Mar 2010
Posts: 338
Default

Is nobody interested in random contacts?
Reply With Quote
  #15  
Old 04-02-2010, 08:44 PM
Goblin Wizard Goblin Wizard is offline
Approved Member
 
Join Date: Oct 2008
Posts: 508
Default

What these convoys do except bringing more life to the space. They give missions or something?
Reply With Quote
  #16  
Old 04-02-2010, 08:55 PM
Nanaki Nanaki is offline
Approved Member
 
Join Date: Mar 2010
Posts: 338
Default

You can kill them for fighters and weapons.
Reply With Quote
  #17  
Old 04-03-2010, 01:28 AM
tsavo tsavo is offline
Approved Member
 
Join Date: Mar 2010
Posts: 73
Default

Quote:
Originally Posted by Goblin Wizard View Post
You can easily add sound nearly anywhere you want. You need only this line

PlaySound3D("wav filename", position, volume[0..1]);
wow!!!
in which file?
and what does position mean? is it only triggered by position?
Reply With Quote
  #18  
Old 04-03-2010, 08:13 AM
Rastix Rastix is offline
Approved Member
 
Join Date: Jul 2008
Posts: 79
Default

Quote:
Originally Posted by Goblin Wizard View Post
You can easily add sound nearly anywhere you want. You need only this line
It's not the same thing
Reply With Quote
  #19  
Old 04-03-2010, 02:00 PM
Goblin Wizard Goblin Wizard is offline
Approved Member
 
Join Date: Oct 2008
Posts: 508
Default

Quote:
Originally Posted by Rastix View Post
It's not the same thing
the same as what?

Quote:
Originally Posted by tsavo View Post
wow!!!
in which file?
and what does position mean? is it only triggered by position?
you place "wav" file in the ..\Data\SOUND folder.
position is the source of the sound e.g.:
Quote:
PlaySound3D("horn3_2.wav", mothership:GetPosition(), 1);
will make horning mothership at max volume . You have to place it in the right function or create own trigger to activate it.

if you want to add this to trade station dialog you can search dockstation.script for function: "__TradeStationDock_Ok". This function is executed when you click "V" when asked for docking. Function should look like this:

Quote:
function __TradeStationDock_Ok()
local MothershipPilot = mothership:GetPilot();
local MothershipFlight = MothershipPilot:GetFlight();
MothershipFlight:Stop();
PlaySound3D("horn3_2.wav", mothership:GetPosition(), 1);
UpdateTradeSystem(FALSE);
TradeStationDlg(_param);
end;
As example I've added horn3_2.wav that exists in the sound folder

for "X" there is function:
Quote:
function __TradeStationDock_Cancel()
end;
between these two lines you can add another sound.
Reply With Quote
  #20  
Old 04-03-2010, 05:06 PM
Goblin Wizard Goblin Wizard is offline
Approved Member
 
Join Date: Oct 2008
Posts: 508
Default

Quote:
Originally Posted by Rastix View Post
New header "FILETYPE MODDING" will help you

"FILETYPE STANDART" wouldn't work properly with "active dialogs" tasks
I don't know why but FILETYPE MODDING doesn't work at all for me. It gives "unknown file type MODDING" in the log.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:48 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.