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
  #1  
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
  #2  
Old 04-04-2010, 03:18 AM
tsavo tsavo is offline
Approved Member
 
Join Date: Mar 2010
Posts: 73
Default

Quote:
Originally Posted by Goblin Wizard View Post
the same as what?


you place "wav" file in the ..\Data\SOUND folder.
position is the source of the sound e.g.:

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:


As example I've added horn3_2.wav that exists in the sound folder

for "X" there is function:
between these two lines you can add another sound.
busy dis week, will try later
thanks anyway
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 06:12 AM.


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