Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
[[LVS] - Star Wars] lua/entities/lvs_base_starfighter/cl_camera.lua:5: bad argument #1 to 'WorldToLocal' (Vector expected, got nil)
1. WorldToLocal - [C]:-1
2. LVSCalcView - lua/entities/lvs_base_starfighter/cl_camera.lua:5
3. v - lua/lvs_framework/autorun/cl_camera.lua:68
4. unknown - lua/includes/modules/hook.lua:102 (x21)
line 10,11:
self:AddDriverSeat( Vector(38,0.88,155.95), Angle(0,-90,0) ).HidePlayer = true
local Gunner = self:AddPassengerSeat( Vector(-40,-0.1,160.95), Angle(0,90,-0) )
TIE/SF Turret【lua\entities\lvs_starfighter_firstordertie_sf\shared.lua】
line227:
if (ent:AngleBetweenNormal(dir, ent:GetUp()) <= 60 or ent:AngleBetweenNormal(dir, ent:GetUp()) >= 130) or (ent:AngleBetweenNormal(dir, ent:GetForward()) >= 45 and ent:AngleBetweenNormal(dir, ent:GetForward()) <= 150) then return true end
--(dir, ent:GetUp()) <= 60[angle limt over the horizon, bigger the number, lower the angle limit]
--(dir, ent:GetUp()) >= 130[angle limit below the horizon, smaller the number, upper the angle limit]
--Therefore, it's impossible to fire with 60<=(dir, ent:GetUp())<=130.
line 255:
bullet.Src = ent:LocalToWorld( Vector(-48.38,-14.78 * i,-70) )
Please make this as the update
line 10:
self:AddDriverSeat( Vector(38,0.88,155.95), Angle(0,-90,0) ).HidePlayer = true
Here's the correct code with relative files: