Need Chip Type?
2 posters
RigidChips :: Rigid-Chips :: Files :: Works In Progress
Page 1 of 1
Need Chip Type?
Hey guys, I'm having a bit of a problem with one of my models that I am working on, it says Error At Line 107 Need-Chip-Type, Line 107 is where you type Lua/Script to give your model a Script, I messed around with it for about half an hour but I still could not get it to work, Here is the model if you want/have the time to look at it.
PS : if you can get it to work then you can see what i'm working on
-DarkEye22
PS : if you can get it to work then you can see what i'm working on
- Code:
Val
{
Brake(default=0,min=0,max=80,step=80)
HBrake(default=0,min=0,max=100,step=100)
Handle(default=0,min=-20,max=20,step=5)
Engine(default=0,min=-2500,max=2500,step=2500)
MJET(default=0,min=-100000,max=1000000,step=0)
NJET(default=0,min=0,max=10000,step=1000)
SJET(default=0,min=0,max=10000,step=1000)
EJET(default=0,min=0,max=10000,step=1000)
WJET(default=0,min=0,max=10000,step=1000)
}
Key
{
0:MJET(step=1000)
1:MJET(step=-1000)
15:NJET(step=1000)
8:SJET(step=1000)
7:EJET(step=1000)
9:WJET(step=1000)
}
Body {
Core(){
N:Jet(power=-NJET,effect=2){
N:Weight(angle=-90,color=#FF000){
N:Weight(){
N:Weight(){
N:Weight(){
}
}
}
}
N:Weight(angle=90){
E:Weight(angle=-90){
E:Weight(){
}
}
W:Weight(angle=-90){
W:Weight(){
}
}
}
}
S:Jet(power=-SJET,effect=2){
S:Weight(angle=-90,color=#FF0000){
S:Weight(){
S:Weight(){
S:Weight(){
}
}
}
}
S:Weight(angle=90){
E:Weight(angle=-90){
E:Weight(){
}
}
W:Weight(angle=-90){
W:Weight(){
}
}
}
E:Jet(power=-EJET,effect=2){
E:Weight(angle=-90){
E:Weight(){
E:Weight(){
E:Weight(){
}
}
}
}
E:Weight(angle=90){
N:Weight(angle=-90){
N:Weight(){
}
}
S:Weight(angle=-90){
S:Weight(){
}
}
}
}
W:Jet(power=-WJET,effect=2){
W:Weight(angle=-90){
W:Weight(){
W:Weight(){
W:Weight(){
}
}
}
}
W:Weight(angle=90){
N:Weight(angle=-90){
N:Weight(){
}
}
S:Weight(angle=-90){
S:Weight(){
}
}
}
}
N:Jet(angle=-180,power=MJET){
}
}
}
Lua
{
function OnFrame()
out(1,"The Sub, Made By DarkEye22")
out(2,"FPS=",_FPS())
out(3,"Forward Speed=",-_VZ()," Sideways Speed=",_VX())
out(4,"Up/Downward speed=",_VY())
end
}
-DarkEye22
Last edited by darkeye22 on Fri Dec 30, 2011 6:55 pm; edited 1 time in total (Reason for editing : added Need-Chip-Type)
darkeye22- Tank
- Posts : 55
Join date : 2011-06-01
Location : Stuck inside RigidChips trying to find a way out
Re: Need Chip Type?
Here you go, good as new!
The error was due to a missing }.
Next time use the TAB key to space things out instead of the space bar, it helps to keep things easier to read and locate errors.
EXAMPLE:
(Your Text)
MODEL:
The error was due to a missing }.
Next time use the TAB key to space things out instead of the space bar, it helps to keep things easier to read and locate errors.
EXAMPLE:
(Your Text)
- Code:
N:Chip(){
N:Chip(){
}
}
- Code:
N:Chip(){
N:Chip(){
}
}
MODEL:
- Code:
Val
{
Brake(default=0,min=0,max=80,step=80)
HBrake(default=0,min=0,max=100,step=100)
Handle(default=0,min=-20,max=20,step=5)
Engine(default=0,min=-2500,max=2500,step=2500)
MJET(default=0,min=-100000,max=1000000,step=0)
NJET(default=0,min=0,max=10000,step=1000)
SJET(default=0,min=0,max=10000,step=1000)
EJET(default=0,min=0,max=10000,step=1000)
WJET(default=0,min=0,max=10000,step=1000)
}
Key
{
0:MJET(step=1000)
1:MJET(step=-1000)
15:NJET(step=1000)
8:SJET(step=1000)
7:EJET(step=1000)
9:WJET(step=1000)
}
Body {
Core(){
N:Jet(power=-NJET,effect=2){
N:Weight(angle=-90,color=#FF000){
N:Weight(){
N:Weight(){
N:Weight(){
}
}
}
}
N:Weight(angle=90){
E:Weight(angle=-90){
E:Weight(){
}
}
W:Weight(angle=-90){
W:Weight(){
}
}
}
}
S:Jet(power=-SJET,effect=2){
S:Weight(angle=-90,color=#FF0000){
S:Weight(){
S:Weight(){
S:Weight(){
}
}
}
}
S:Weight(angle=90){
E:Weight(angle=-90){
E:Weight(){
}
}
W:Weight(angle=-90){
W:Weight(){
}
}
}
E:Jet(power=-EJET,effect=2){
E:Weight(angle=-90){
E:Weight(){
E:Weight(){
E:Weight(){
}
}
}
}
E:Weight(angle=90){
N:Weight(angle=-90){
N:Weight(){
}
}
S:Weight(angle=-90){
S:Weight(){
}
}
}
}
W:Jet(power=-WJET,effect=2){
W:Weight(angle=-90){
W:Weight(){
W:Weight(){
W:Weight(){
}
}
}
}
W:Weight(angle=90){
N:Weight(angle=-90){
N:Weight(){
}
}
S:Weight(angle=-90){
S:Weight(){
}
}
}
}
N:Jet(angle=-180,power=MJET){
}
}
}
}
Lua
{
function OnFrame()
out(1,"The Sub, Made By DarkEye22")
out(2,"FPS=",_FPS())
out(3,"Forward Speed=",-_VZ()," Sideways Speed=",_VX())
out(4,"Up/Downward speed=",_VY())
end
}
Last edited by JosefYurnov99 on Fri Dec 30, 2011 9:22 pm; edited 1 time in total (Reason for editing : Forgot to say what I fixed!)
JosefYurnov99- Plane
- Posts : 43
Join date : 2011-03-11
Age : 28
Location : America
Re: Need Chip Type?
Thanks you just saved me a lot of time(even though its a small model)! Oh and I do use Tab to space things out, I think the code boxes make everything smaller so the text will fit inside them that is why it looks like I use space instead of Tab
EDIT : Nvm you fixed it so it does't say Error at line [Blah], but now its deformed So.... I think I will just remake it.
EDIT : Nvm you fixed it so it does't say Error at line [Blah], but now its deformed So.... I think I will just remake it.
Last edited by darkeye22 on Sat Dec 31, 2011 9:34 am; edited 1 time in total (Reason for editing : Error At Line [Blah] fixed, but now its deformed)
darkeye22- Tank
- Posts : 55
Join date : 2011-06-01
Location : Stuck inside RigidChips trying to find a way out
Similar topics
» Possible new chip?
» Need help with trim chip
» ufo type thing
» Type 92 Cruiser prototype
» Type 5 Anti Tank Gun
» Need help with trim chip
» ufo type thing
» Type 92 Cruiser prototype
» Type 5 Anti Tank Gun
RigidChips :: Rigid-Chips :: Files :: Works In Progress
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum