• how do i make maps in lua?
    27 replies, posted
how do i make maps in lua? how do i create custom objects and place them in place that saves on startup?
:frog: What is this i dont even know? Lua is used to create things such as npcs, weapons, vehichles, entities, gamemodes and such. SourceSDK is used to create maps and mods.
@ OP :wtc: use sourcesdk ([url]http://developer.valvesoftware.com/wiki/Category:Level_Design[/url]) Go to "Tools" on steam and download it
thanks.. what are entities btw? is it hard to make a map in sourcesdk?
Entities are anything you see in-game that's not the world, or a special effect. Players, NPCs, weapons, and some entities are unseen. Not sure if props are considered entities. The Source SDK includes Valve's map editor, called Hammer. It's not hard to learn if you take some time to follow tutorials and learn everything. Mapping can be time-consuming.
[QUOTE=iTeehee;29423023]thanks.. what are entities btw? is it hard to make a map in sourcesdk?[/QUOTE] [url]http://en.wikipedia.org/wiki/Entity[/url] best explanation of an entity. Edit: [QUOTE=Rayne Mercury;29423121]Entities are anything you see in-game that's not the world, or a special effect. Players, NPCs, weapons, and some entities are unseen. Not sure if props are considered entities. The Source SDK includes Valve's map editor, called Hammer. It's not hard to learn if you take some time to follow tutorials and learn everything. Mapping can be time-consuming.[/QUOTE] yes props are entities too. Everything is an entity exept the world brushes of a map.
I should have known that. Yes, they're all entities, but only some are scripted. This is why we have the term SENTs, which means "scripted entities." As for saving objects like that, it's quite difficult to do on existing maps, in my experience. Someone made an add-on called PermaProps that lets you save prop positions for next time you play on a map, but that's just props. Trying it on scripted entities left them broken when I reloaded the map.
Is this the kind of thing you are looking for? [url]http://www.facepunch.com/threads/960173-PermaProps[/url]
The Disagree rating was unnecessary.. But PermaProps doesn't break saved SEnts, it's how their coded. Some SEnts will still work, some won't.
OK I downloaded it and i cant find garry's mod from the current game ... help? it doesnt even say that its supported in wiki?
Consult the mapping section
dont bullshit me pls, help me how to make maps !! u say its Hammer/source sdk but on their wiki it says gmod isnt supported -.-
[QUOTE=iTeehee;29441798]dont bullshit me pls, help me how to make maps !! u say its Hammer/source sdk but on their wiki it says gmod isnt supported -.-[/QUOTE] It is
[QUOTE=iTeehee;29441798]dont bullshit me pls, help me how to make maps !! u say its Hammer/source sdk but on their wiki it says gmod isnt supported -.-[/QUOTE] every source map works in every source game. you can create a map in the source SDK for CSS, and then copy it into your garrysmod folder.
[QUOTE=iTeehee;29441798]dont bullshit me pls, help me how to make maps !! u say its Hammer/source sdk but on their wiki it says gmod isnt supported -.-[/QUOTE] Thats how every gmod map has been made. Well im sure there is some made of 3rd party compilers but still. Make a tf2, css, hl2, or hl2dm map. Put it in your gmod maps folder. Play it.
[QUOTE=iTeehee;29441798]dont bullshit me pls, help me how to make maps !! u say its Hammer/source sdk but on their wiki it says gmod isnt supported -.-[/QUOTE] [QUOTE=pinecleandog;29441628]Consult the mapping section[/QUOTE] We are not bullshitting you, we are helping you.
When i saw the thread's title i thought i was about to learn something new, unfortunately not. although you could make a map in lua by using coordinateness and props and then placing them, The middle ages gamemode has a Prop placement system for some maps. I also think PERP uses one for placement of banks and Npcs.
Ok then, when i open the list with a game to choose(current game) it only shows team fortress 2 and css ?? not gmod??? and what engine version should i use? Edit : ok ill try making css map then put in the right gmod folder .. thnx
[QUOTE=kaukassus;29423130]Everything is an entity exept the world brushes of a map.[/QUOTE] Nitpicking here but the world is an entity too. However it's treated as a single entity - a combination of all brushes.
[QUOTE=iTeehee;29445937]Ok then, when i open the list with a game to choose(current game) it only shows team fortress 2 and css ?? not gmod??? and what engine version should i use? Edit : ok ill try making css map then put in the right gmod folder .. thnx[/QUOTE] Use Css on the source 2009 Engine.
Garry's mod will use the game "Half life 2" on the 2009 engine. Trust me im a mapper
[QUOTE=pinecleandog;29459589]Garry's mod will use the game "Half life 2" on the 2009 engine. Trust me im a mapper[/QUOTE] CSS uses the 2009 engine aswell, and you can use css content in your map without extracting them. Trust me i'm a professional pedophile.
I lol'd. Have a [img_thumb] http://www.facepunch.com/fp/ratings/funny2.png [/img_thumb]. But like you said any source map can work on any source game. Execpt I don't know if l4d2 maps will work for gmod. And I don't think people without hl2 can use the hl2 game for their maps.
[QUOTE=Brandan;29460222]I lol'd. Have a [img_thumb] http://www.facepunch.com/fp/ratings/funny2.png [/img_thumb]. But like you said any source map can work on any source game. Execpt I don't know if l4d2 maps will work for gmod. And I don't think people without hl2 can use the hl2 game for their maps.[/QUOTE] Left4Dead 1+2 maps have to be ported to the source 2009 engine in order to work. I think portal 2 maps have to be ported aswell.
[QUOTE=iTeehee;29445937]Ok then, when i open the list with a game to choose(current game) it only shows team fortress 2 and css ?? not gmod??? and what engine version should i use? Edit : ok ill try making css map then put in the right gmod folder .. thnx[/QUOTE] [url]http://wiki.garrysmod.com/?title=Configuring_Hammer[/url]
[QUOTE=Proost;29460527][url]http://wiki.garrysmod.com/?title=Configuring_Hammer[/url][/QUOTE] You don't even need to configure Hammer to a Gmod configuration, the HL2 or CSS config is perfect for it.
[QUOTE=faceguydb;29444519]Thats how every gmod map has been made. Well im sure there is some made of 3rd party compilers but still. Make a tf2, css, hl2, or hl2dm map. Put it in your gmod maps folder. Play it.[/QUOTE] [QUOTE=King Flawless;29445902]All your posts seem to be you waiting for someone to post advice then you just reword it trying to make your self look smarter.[/QUOTE] Almost exact the same as Kaukassus..
I recommend using the EP1 or EP2 config if possible. I use a custom CFG for gmod mapping so I can see all my models/materials, but that's up to you. I suggest you learn about using Hammer first, and then learn how to make custom entities to place in your maps.
Sorry, you need to Log In to post a reply to this thread.