Jump to content

Recommended Posts

Posted

I decided to try learning lua script as a change from c++. I created a new project using advanced fp shooter template, but when I run it I just get a frozen screen containing a cube.

Is there more to it than that? What to do next?

amd quad core 4 ghz / geforce 660 ti 2gb / win 10

Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++

Posted

how do I get rid of 07-AI and Events.map and replace it with my own terrain based map without losing the gun.

I tried getting rid of all the models but when game runs they are still there..

amd quad core 4 ghz / geforce 660 ti 2gb / win 10

Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++

Posted

 

Is this the code you refer to.

 

--Load the next map

Time:Pause()

if Map:Load("Maps/"..changemapname..".map")==false then return end

Time:Resume()

 

changemapname = nil

end

 

amd quad core 4 ghz / geforce 660 ti 2gb / win 10

Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++

Posted

No, I am referring to the Map:Load() before the main loop:

--Load a map

local mapfile = System:GetProperty("map","Maps/start.map")

if Map:Load(mapfile)==false then return end

 

Just load the name of your map instead of the default start.map

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...