Posts by lenidcamper
-
-
The -applauch approach works without any issues.
I have been using this for at least a year.
The only difference is that you can avoid the overhead of the Steam client launching (with a confirmation dialog.)
Much cleaner way to launch AFS2 with Oculus
/Stu
-
The -applaunch 434030 style shortcut does not start the Steam client or SteamVR
-
For me the vanilla aerofly_fs_2.exe shortcut would not work with -othervr
However the target
"C:\Program Files (x86)\Steam\Steam.exe" -applaunch 434030 -othervr
does work.
I forget how I discovered the 434030
/Stu
-
I opened a separate thread a few hours ago on the same issue.
Lack of broadcast events on the latest release.
-
Is anyone using network position events in the latest release (production or beta. I have tried both)?
Last year I wrote an app that captured position events and wrote them out to a KML file for display in Google Earth. It was working back in June.
When I try the same app now with the latest release it detects no events.
The Wireshark Network Analyzer detects no activity on port 49002
I am using the the same config (I think ) in main.mcf that I used last year
<[connection][network_position_broadcast][]
<[bool][Active][true]>
<[string8][Type][default]>
<[string8][IPAddress][192.168.0.255]>
<[uint32][Port][49002]>
>
Local network is 192.168.0.XXX
cheers
Stu
-
I wish moving traffic was that easy!!!
By "collision" I meant more than one vehicle occupying the same coordinates
-
Published release 0.7.2 of ObjectGen
Some bug fixes plus intersection exclusion functionality.
Without exclusion collisions are unavoidable.
With exclusion
-
Yes, what looks like a valid expression is always returning false.
I will have to see if I can reproduce the problem.
-
sorry I did not scroll down in the include.
Based on the log, the string compare (without leading zero) should have exported 2 different models.
But it is actually exporting <[string8][geometry][..\objects\Piers\Pier_Wood_1_6\pier_wood_1_6]> ???
I don't see where that could possibly come from based on the included config.
"1_6" does not appear anywhere in the config!!!
-
As I mentioned in the postscript to a previous post, the expression engine did not internally resolve data types of
variables and all variables defaulted to string. So it was doing a string compare for all numeric variables in expressions.
I am testing a fix that loads int or float variables as required.
In the pier example what is the expression in the model map?
-
Hi Thomas
A number of issues here
At first I thought
"Of course, you are not using the operator alias #GE# for >="
The expression engine provides the alias/escape strings for operators to avoid special characters in XML. However >= will actually evaluate correctly.
"<=" will give a syntax error. for consistency it is probably better to always use the alias strings
The (...) construct is intended to define precedence in the expression. The ($pier:width) defeats my variable preload algorithm.
I am parsing the expression into tokens on spaces to pick out variable names to preload before tag data is loaded. This avoids a "variable not defined" exception from the expression engine and allows the sparse tag negation functionality added in 0.7.1
Use $pier:width #GE# '10' or ($pier:width #GE# '10')
That lead me to the core problem. It appears there is a bug in the XSharper engine with comparison of left justified numeric values.
($height #LE# '90') will evaluate true for height tag value '100'
but
($height #LE# ' 90') will evaluate to false
I need to look under the hood of the XSharper engine to see if there is any way to fix this or find a workaround.
/Stu
PS
what tag data are you comparing?
zero padding will work.
'090' will evaluate correctly compared with '100'
where '90' will not.
If you have added these tags using leading zero pad
PPS
turns out XSharper variables were defaulting to string type.
need to detect tag datatype and force a cast to int or float as the variable is set.
-
-
I have a request for parking density:
Thomas
I have looked at the parking density issue. Adding a computed parameter is possible but is a can of worms I would rather not open right now.
Particularly since there is a work around for this issue.
All it requires is separate configurations for the few (3? 5??) different parking densities.
Each configuration would have a selectionCondition expression with the appropriate parking_density value and randomInteger upperLimit.
Using sharedModelMaps there will only be a dozen lines for each configuration.
If there is a scenario that cannot be solved without numeric tag operations I can look at the issue again.
/Stu
-
could it already work?
There is currently no way to specify arithmetic operations on tags. The XSharper expression engine has that capability. I only exposed what was needed for boolean selection expressions.
I need to think about a generic way to expose this.
Under Windows \ or / might both work
I had not placed any attention towards platform independence. I can update examples and documentation to forward slash and lower case.
-
Updated ObjectGen with v0.7.1
Minor release
- Allow output file name as optional command line argument
- Add support for negation of sparse tags eg ($highway == 'primary') #AND# ($tunnel #NEQ# 'yes')
-
command to set the name of the file(s) to save?
I overlooked the embedded name issue with the TOC.
Since I use tile based cultivation with a folder for each tile, renaming was never an issue for me.
No problem to add the output file name argument.
-
It is possible with the current release of ObectGen to place a building object at the "midpoint" of a building footprint.
As with the scenProc FLENGTH the wayLength derived tag could be used to distinguish residential vs commercial.
The random tag could be used to mix model types.
Currently the objects would have random orientation.
It is difficult to derive a meaningful orientation for an arbitrary polygon. If the way has 5 nodes it is a square or rectangle and an axis of orientation could be derived. But few houses are simple rectangles (particularly in NA housing developments).
-
all necessary direction and randomizing features I ever wished.
thanks Thomas
I am sure you will think of something
-
Uploaded version v0.7 of ObjectGen
The main feature is XREF library support.
There are some schema changes to support this.
There is a standalone xmlConvert utility to migrate locally modified configuration files to the current schema.
See the readme and User Guide