Comments (7)
Next to the executable should be an error_log.log
file. Copy the contents and paste here
from engine-sim.
Next to the executable should be an
error_log.log
file. Copy the contents and paste here
test(6): error R0010: Undefined node type
from engine-sim.
the engine your trying to load node's name is not correct, you can find node names inside the engines .mr file
example of what a node name looks like:
from engine-sim.
In the assets
folder there is a file named test.mr
.
In that file, there are imports at the top. Make sure to import all the engines you want.
Example:
import "engine_sim.mr"
import "part-library/part_library.mr"
import "video-scripts/454-tuning/engine_01.mr"
import "video-scripts/454-tuning/engine_02.mr"
import "video-scripts/454-tuning/engine_03.mr"
import "video-scripts/454-tuning/engine_04.mr"
Now if I want to use the engine_03, then you need to change the set_engine's engine value to that node's name.
Inside of the engine_03.mr:
...
output wire8: ignition_wire();
}
public node video_engine_454_03 {
alias output __out: engine;
wires wires()
engine engine(
name: "Chev. 454 V8",
...
There is this line, which one's name we need:
public node video_engine_454_03 {
Copy its name, in this example it's: video_engine_454_03
, and change the test.mr file set_engine's engine value to it.
Like this:
set_engine(
engine: video_engine_454_03()
)
I don't know if this is how it should work but this way the engine_03 will load.
Hope this helped.
from engine-sim.
the engine your trying to load node's name is not correct, you can find node names inside the engines .mr file example of what a node name looks like:
this is all thats in the engines.mr file
from engine-sim.
In the
assets
folder there is a file namedtest.mr
.In that file, there are imports at the top. Make sure to import all the engines you want.
Example:
import "engine_sim.mr" import "part-library/part_library.mr" import "video-scripts/454-tuning/engine_01.mr" import "video-scripts/454-tuning/engine_02.mr" import "video-scripts/454-tuning/engine_03.mr" import "video-scripts/454-tuning/engine_04.mr"
Now if I want to use the engine_03, then you need to change the set_engine's engine value to that node's name.
Inside of the engine_03.mr:
... output wire8: ignition_wire(); } public node video_engine_454_03 { alias output __out: engine; wires wires() engine engine( name: "Chev. 454 V8", ...
There is this line, which one's name we need:
public node video_engine_454_03 {
Copy its name, in this example it's:
video_engine_454_03
, and change the test.mr file set_engine's engine value to it.Like this:
set_engine( engine: video_engine_454_03() )
I don't know if this is how it should work but this way the engine_03 will load.
Hope this helped.
heeeeeeeeey this resolved the issue thanks, is there any documentation on the working of the app so that i can know such?
from engine-sim.
the engine your trying to load node's name is not correct, you can find node names inside the engines .mr file example of what a node name looks like:
this is all thats in the engines.mr file
btw i meant by the engine you downloaded .mr file
from engine-sim.
Related Issues (20)
- Cannot compile and getting the error from piranha HOT 1
- Program crashes HOT 1
- failed to create game window HOT 1
- build in linux HOT 4
- the game slowly stopped working and doesn't open anymore HOT 1
- How to change AFR? HOT 1
- Engine can't maintain idle after revving to rev limit
- cmake load βboostβ error
- Simulating the fuel system HOT 1
- Opposed piston engines in the default library HOT 1
- Webassembly and browser support HOT 4
- Torque caps out at 10000 lb-ft in dynamometer HOT 5
- Add ECM
- Issue with Conrods on custom engine HOT 3
- engine sim proplem
- Is there a brake button? HOT 2
- Controller Support HOT 2
- Cannot install error code 13
- not found d3dx11_43.dlll and vulkan-1.dlll
- 8>LINK : fatal error LNK1104: cannot open file 'Debug\engine-sim.lib' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from engine-sim.