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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #27  
Old 12-27-2014, 08:49 PM
nocalora29's Avatar
nocalora29 nocalora29 is offline
¯\_ ͯ‿ ͯ_/¯
 
Join Date: Dec 2011
Posts: 518
Default @Neo Genesis

To add my ship to the others Menu you have to do this:

Open the File "gw.script" in the Scripts\Include\ Folder

-- I recommend Notepad++ to Mod Stuff like this!

Go to the section marked with
Code:
--------------------------------------------------------------------------------
---- Buy MOTHERSHIP section ----------------------------------------------------
--------------------------------------------------------------------------------
and Make a new Function above the DialogR_buy_GW_Alien_Dreadnought_0() One, with these Contents:

Code:
function DialogR_buy_GW_NOVA_Battleship()
	_buy_ms_GW("NOVA_Battleship");
end;
Then scroll down to the _buy_ms_GW(nameMS) Function

And Change the Table to this:
Code:
  local tab_MS = {
	{"Alien_Dreadnought_0",100},
  {"Alien_Frigate_0",100},
	{"Mega_Chimera",100},
	{"BattleshipImp_GK0",100},
	{"Chimera",100},
	{"Liner_gw",600000},
	{"Mothership",200000},
	{"Mothership_corporate",1000000},
	{"Mothership_empire",1000000},
	{"Mothership_KFNI",200000},
	{"Invincible_1",1200000},
	{"Mothership_Lion",1200000},
	{"Mothership_old",100000},
	{"Mothership_uel",1200000},
	{"P_transport",100},
	{"Starhammer_0",1500000},
	{"StoneArrow0",100},
	{"AngorFrigate",100},
	{"NOVA_Battleship",1}
	};
You can adjust the Price of the ship yourself, just Change the "1" to any other Price Number you want .

We are finished with this File, Save and Close it.

Now open up the file "DialogGW" in the Scripts\Trade\ Folder

Go to the DialogMessage "msg_MS_OTHER_list"

And add an new DialogAnswer to it.
Code:
        <DialogAnswer name="ans_MS_OTHER_13">
            <answer>#L_DR5_ans_MS_OTHER_13</answer>
            <lua_function>DialogR_buy_GW_NOVA_Battleship</lua_function>
            <go_message_name />
            <multi_pass>true</multi_pass>
            <sound_name />
        </DialogAnswer>
Alright, we are also Finished with this File.

Now were Moving on to the Last File named "DialogGW.loc" found in the LocData\English\ Folder

Go to the string named "#L_DR5_ans_MS_OTHER_11" and add another under it Like that:
#L_DR5_ans_MS_OTHER_13= NOVA Battleship - 1 credit

This is basically the text that will show up on the Dialog where you can buy this From, change it however you Like.

Thats it, Here are the End Result Files.
Link: https://mega.co.nz/#!5kQj1bjT!LaRpXJ...fgQjy4WYfq02rY

--

Explosion Distances are found in the "DistanceDetonator"'s

You gotta find out which one is used Tho, Before changing the
Code:
		<explosion_distance>NUMBER</explosion_distance>
__________________
Discord: Nocalora#6847 | SW3.Expansion Thread | SWX.MouseMovementFix | SWX.TUVMark+Src (.tuv editing Tool) | SWX.SLOTMark+Src (.ini Slots editing Tool)

Last edited by nocalora29; 12-28-2014 at 01:27 AM.
Reply With Quote
 


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 11:05 AM.


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