FlyingAce's Shipyards
Moderator: pyramid
-
- ISO Party Member
- Posts: 398
- Joined: Fri Apr 11, 2003 1:17 am
- Contact:
-
- Elite
- Posts: 1671
- Joined: Fri Jan 03, 2003 12:46 am
- Location: Earth, Sol system.
- Contact:
-
- ISO Party Member
- Posts: 398
- Joined: Fri Apr 11, 2003 1:17 am
- Contact:
-
- Elite
- Posts: 1465
- Joined: Thu Jan 02, 2003 12:01 pm
- Location: Seattle, WA
- Contact:
-
- ISO Party Member
- Posts: 398
- Joined: Fri Apr 11, 2003 1:17 am
- Contact:
-
- Elite
- Posts: 1671
- Joined: Fri Jan 03, 2003 12:46 am
- Location: Earth, Sol system.
- Contact:
-
- Trader
- Posts: 30
- Joined: Wed Jan 08, 2003 2:53 am
-
- Elite
- Posts: 1454
- Joined: Sun Jan 12, 2003 6:24 pm
- Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
- Contact:
@FlyingAce:
See here:
http://vegastrike.sourceforge.net/forum ... =6247#6247
and here:
http://vegastrike.sourceforge.net/forum ... .php?t=789
There is a sample config-data in the newest plugin-package.
Or is it the nightly that doesn't work for you?
Pontiac
See here:
http://vegastrike.sourceforge.net/forum ... =6247#6247
and here:
http://vegastrike.sourceforge.net/forum ... .php?t=789
There is a sample config-data in the newest plugin-package.
Or is it the nightly that doesn't work for you?
Pontiac
-
- ISO Party Member
- Posts: 398
- Joined: Fri Apr 11, 2003 1:17 am
- Contact:
-
- Elite
- Posts: 1454
- Joined: Sun Jan 12, 2003 6:24 pm
- Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
- Contact:
Sorry for the confusion.FlyingAce wrote:ok, I didn't realize u had to entirely rewrite the config file for each model.
If you have Problems with the config file just post it, i then can look into it.however, I'm still having problems even after I rewrote the file.
The erlang-console is also very informative.
Three rules for the erlang syntax used in the config file:
*be sure you end opened bracket: [] {} ()
* list look like this (commas!):
Code: Select all
[item1,
item2,
item3]
Code: Select all
[singleitem]
And finally a tip: delete the coomments for better overview
syntax errors: yeswill it fail to export if theye are syntax errors in the config file?
inadequately information: yes
too much information: no
EDIT:The console will tell you about errors (scroll up).
If you have some ideas to make the sample config better pleas tell me.
Pontiac
-
- ISO Party Member
- Posts: 398
- Joined: Fri Apr 11, 2003 1:17 am
- Contact:
config file:
Erlang output:
Code: Select all
{unit_data,
[
{"Intrepid" , "unit.txt",
[
{"tag_m_3","weapon='PhaserBeam' size='Light Medium Heavy'"},
{"tag_m_4","weapon='PhaserBeam' size='Light Medium Heavy'"},
{"tag_m_5","weapon= 'PhaserBeam' size='Light Medium Heavy'"},
{"tag_m_6","weapon= 'PhaserBeam' size='Light Medium Heavy'"},
{"tag_m_7","weapon= 'PhaserBeam' size='Light Medium Heavy'"},
{"tag_m_8P","weapon= 'PhotonTorpedo' size='Light Medium Heavy'"},
{"tag_m_9P","weapon= 'PhotonTorpedo' size='Light Medium Heavy'"},
{"tag_m_10","weapon= 'PhaserBeam' size='Light Medium Heavy'"},
{"tag_m_11","weapon= 'PhaserBeam' size='Light Medium Heavy'"},
{"tag_m_12","weapon= 'PhaserBeam' size='Light Medium Heavy'"},
{"tag_m_13","weapon= 'PhaserBeam' size='Light Medium Heavy'"},
{"tag_m_14P","weapon= 'PhotonTorpedo' size='Light Medium Heavy'"},
{"tag_m_15","weapon= 'PhaserBeam' size='Light Medium Heavy'"},
{"tag_m_16","weapon= 'PhaserBeam' size='Light Medium Heavy'"},
{"tag_m_17P","weapon= 'PhotonTorpedo' size='Light Medium Heavy'"},
]},
]}.
{mesh_data,
[
{"front","texture='Intrepid_front.jpg' texture1='front_light.jpg' texture2='front_damage.jpg' texture3='front_glow.jpg'
sharevertex='0' blend=''"}
,
{"back","texture='Intrepid_back.jpg' texture1='back_light.jpg' texture2='back_damage.jpg' texture3='back_glow.jpg'
sharevertex='0' blend=''"}
]}.
Erlang output:
Code: Select all
wpc_xmesh:command/3: bad return value: {'EXIT',
{badarg,
[{lists,
keysearch,
[unit_data,
1,
{{20,
erl_parse,
["syntax error before: "|
...]},
"Error when trying to cons
ult CONFIG file:",
"c:/Documents and Settings
/Jaques Strap/My Documents/My Pictures/3D Ships/trek/Akira/VS/config/config.txt"
}]},
{e3d_xmesh,config_get_value,2},
{e3d_xmesh,export,4},
{wpc_xmesh,export_1,4},
{wings_file,do_export,4},
{wpa,export,3},
{wings_plugin,command,3},
{wings,do_command_1,2},
{wings,do_command,3}|
more]}}
-
- Elite
- Posts: 1454
- Joined: Sun Jan 12, 2003 6:24 pm
- Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
- Contact:
Code: Select all
...
{"tag_m_15","weapon= 'PhaserBeam' size='Light Medium Heavy'"},
{"tag_m_16","weapon= 'PhaserBeam' size='Light Medium Heavy'"},
{"tag_m_17P","weapon= 'PhotonTorpedo' size='Light Medium Heavy'"},
that's the bad guy--------------------------------^
]},
^------------and another one
]}.
To check your syntax of the code you can also do this:
*Copy the whole unit_data or mesh_data thing (including he ".").
*Paste it into the erlang shell started by wings
*Hit enter (oh that's an easy one )
In this case you get the error message:
40: syntax error before: ']' **
Pontiac
-
- ISO Party Member
- Posts: 398
- Joined: Fri Apr 11, 2003 1:17 am
- Contact:
-
- ISO Party Member
- Posts: 398
- Joined: Fri Apr 11, 2003 1:17 am
- Contact:
-
- Elite
- Posts: 1454
- Joined: Sun Jan 12, 2003 6:24 pm
- Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
- Contact:
If all the tags are gone in the xunit file than it is a bug i fixed lately in the nightly:
http://members.chello.at/stefbuer/vegas ... xmesh.beam
Just copy it over your existing e3d_xmesh.beam - file.
A workaround is to open the model directly from your file-browser and the export.
The bug has something to do with absolute/relative paths.
HTH
Pontiac
http://members.chello.at/stefbuer/vegas ... xmesh.beam
Just copy it over your existing e3d_xmesh.beam - file.
A workaround is to open the model directly from your file-browser and the export.
The bug has something to do with absolute/relative paths.
HTH
Pontiac
-
- ISO Party Member
- Posts: 398
- Joined: Fri Apr 11, 2003 1:17 am
- Contact:
-
- Elite
- Posts: 1465
- Joined: Thu Jan 02, 2003 12:01 pm
- Location: Seattle, WA
- Contact:
-
- ISO Party Member
- Posts: 398
- Joined: Fri Apr 11, 2003 1:17 am
- Contact:
-
- Elite
- Posts: 1465
- Joined: Thu Jan 02, 2003 12:01 pm
- Location: Seattle, WA
- Contact:
I don't think that there will be any more mission-briefing features in Vega Trek than is in regular Vega Strike.
I would envision missions starting off with you in your ship... and then recieving a communication message from Starfleet Command or whoever, telling you to go to the X system, and take care of the situation (possibly with a bit of exposition).
Or it can just be a disembodied mysterious entity giving you instructions, like the being that tells you to "fly into the blue balls" or whatever when you start a new Vega Striek game. : )
I would envision missions starting off with you in your ship... and then recieving a communication message from Starfleet Command or whoever, telling you to go to the X system, and take care of the situation (possibly with a bit of exposition).
Or it can just be a disembodied mysterious entity giving you instructions, like the being that tells you to "fly into the blue balls" or whatever when you start a new Vega Striek game. : )
-
- ISO Party Member
- Posts: 398
- Joined: Fri Apr 11, 2003 1:17 am
- Contact:
-
- Elite
- Posts: 1465
- Joined: Thu Jan 02, 2003 12:01 pm
- Location: Seattle, WA
- Contact:
-
- ISO Party Member
- Posts: 398
- Joined: Fri Apr 11, 2003 1:17 am
- Contact:
-
- ISO Party Member
- Posts: 398
- Joined: Fri Apr 11, 2003 1:17 am
- Contact:
-
- ISO Party Member
- Posts: 398
- Joined: Fri Apr 11, 2003 1:17 am
- Contact:
-
- Elite
- Posts: 1671
- Joined: Fri Jan 03, 2003 12:46 am
- Location: Earth, Sol system.
- Contact: