-
Posts
265 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Downloads
Posts posted by ESP
-
-
Pack #5 here. A few melee weapons in there as well
Robin
-
Use control key
Robin
-
1
-
-
Anyone know why if I run this in the Script editor (outside of Editor) it is very slow to load, and runs ten times slower than just dropping the .lua file on engine.exe ?
Robin
Happy new year everyone
-
Just tried it and it is only the first item chosen, not the whole order
Robin
Happy new year everyone
-
All working now
-
56%
Still coming down....
Robin
-
Trying another update.
Robin
-
It's a shader model 3 thing. Josh says it's fixed in the tracker, just have to wait for the update.
Robin
-
No change
Robin
-
Trying that now.
Robin
-
Still not working after last couple of syncs
Robin
-
I see this is resolved now in the Tracker
Roll on next sync.
Robin
-
Any chance of an .exe?
Robin
-
Sweet. What have you got against lockers
Robin
-
Yeh... Chrome works. All I need now is to be able to sculpt
Robin
-
-
Notepad++ gives me...
dofile("Scripts/base.lua")function InitDialog(grid) base_InitDialog(grid) --custom properties group=grid:AddGroup( "Beacon" ) group:AddProperty( "blinkspeed",PROPERTY_INTEGER,1000,"Blink Speed") group:AddProperty("beaconcolor",PROPERTY_COLOR,"","Beacon Color") group:Expand(1)endfunction Spawn(model) local entity=base_Spawn(model) entity.antennalight={} entity.blinkspeed = tonumber(model:GetKey("blinkspeed","1000")) entity.beaconcolor = Vec4(1.0,0,0,1) entity.lasttime = AppTime() entity.blinktoggle = 1 for i=0,2 do entity.antennalight[i] = CreateCorona(model) entity.antennalight[i]:Paint(LoadMaterial("abstract::flare1.mat"),1) entity.antennalight[i]:SetParent(model,0) entity.antennalight[i]:SetColor(entity.beaconcolor,0) SetCoronaRadius(entity.antennalight[i],1,1) EntityViewRange(entity.antennalight[i],800,1000) end -- Fixed light positions on our antenna entity.antennalight[0]:SetPosition(Vec3(0,35,0.1),0) entity.antennalight[1]:SetPosition(Vec3(1.5,25.2,0.1),0) entity.antennalight[2]:SetPosition(Vec3(-1.5,25.2,0.1),0) base_SetKey("collisiontype",COLLISION_PROP) --An update function for one instance. Declaring the function as part of the entity table allows us to use "self" for the table function entity:Update() if (AppTime()-self.lasttime>entity.blinkspeed) then self.lasttime = AppTime() self.blinktoggle = -self.blinktoggle if (self.blinktoggle>0) then self.antennalight[0]:Hide() else self.antennalight[0]:Show() end end endendfunction SetKey(model, key, value) local entity=entitytable[model] if entity==nil then return 1 end if entity.model==nil then return 1 end if key=="blinkspeed" then entity.blinkspeed = tonumber(value) elseif key=="beaconcolor" then entity.beaconcolor=StringToColor(value) entity.beaconcolor.w = 1 entity.antennalight[0]:SetColor(entity.beaconcolor,0) entity.antennalight[1]:SetColor(entity.beaconcolor,0) entity.antennalight[2]:SetColor(entity.beaconcolor,0) end return 1end--Update function, called during every UpdateWorld()function Update(world) if world==world_main then local model,entity for model,entity in pairs(entitytable) do if model.world==world then entity:Update() end end endend
Nice looking editor though
Robin
-
I get...
dofile("Scripts/base.lua")function InitDialog(grid) base_InitDialog(grid) --custom properties group=grid:AddGroup( "Beacon" ) group:AddProperty( "blinkspeed",PROPERTY_INTEGER,1000,"Blink Speed") group:AddProperty("beaconcolor",PROPERTY_COLOR,"","Beacon Color") group:Expand(1)endfunction Spawn(model) local entity=base_Spawn(model) entity.antennalight={} entity.blinkspeed = tonumber(model:GetKey("blinkspeed","1000")) entity.beaconcolor = Vec4(1.0,0,0,1) entity.lasttime = AppTime() entity.blinktoggle = 1 for i=0,2 do entity.antennalight[i] = CreateCorona(model) entity.antennalight[i]:Paint(LoadMaterial("abstract::flare1.mat"),1) entity.antennalight[i]:SetParent(model,0) entity.antennalight[i]:SetColor(entity.beaconcolor,0) SetCoronaRadius(entity.antennalight[i],1,1) EntityViewRange(entity.antennalight[i],800,1000) end -- Fixed light positions on our antenna entity.antennalight[0]:SetPosition(Vec3(0,35,0.1),0) entity.antennalight[1]:SetPosition(Vec3(1.5,25.2,0.1),0) entity.antennalight[2]:SetPosition(Vec3(-1.5,25.2,0.1),0) base_SetKey("collisiontype",COLLISION_PROP) --An update function for one instance. Declaring the function as part of the entity table allows us to use "self" for the table function entity:Update() if (AppTime()-self.lasttime>entity.blinkspeed) then self.lasttime = AppTime() self.blinktoggle = -self.blinktoggle if (self.blinktoggle>0) then self.antennalight[0]:Hide() else self.antennalight[0]:Show() end end endendfunction SetKey(model, key, value) local entity=entitytable[model] if entity==nil then return 1 end if entity.model==nil then return 1 end if key=="blinkspeed" then entity.blinkspeed = tonumber(value) elseif key=="beaconcolor" then entity.beaconcolor=StringToColor(value) entity.beaconcolor.w = 1 entity.antennalight[0]:SetColor(entity.beaconcolor,0) entity.antennalight[1]:SetColor(entity.beaconcolor,0) entity.antennalight[2]:SetColor(entity.beaconcolor,0) end return 1end--Update function, called during every UpdateWorld()function Update(world) if world==world_main then local model,entity for model,entity in pairs(entitytable) do if model.world==world then entity:Update() end end endend
Robin
-
This is a fresh install of XP (with its 150+patches
) purely to run LE. Nothing else but Blitzmax installed
The right mouse button still pans the camera...
Robin
-
U suppose I just have to wait till Josh awakens
Robin
-
Exactly the same.
Robin
-
Downloading now.
Robin
-
Hi,
I can use paint, visibility and vegetation. I cannot sculpt, flatten or smooth. That applies to loaded 2.28 into 2.3 and created 2.3...
Robin
-
Cheers. A bit tortuous and we loose formatting, but at least I get the code.
Robin
where is the chat go to?
in General Discussion
Posted
I'm leaving a chat server running for you guys to test.
Robin