Originally posted by dandeekiller
am i the only one confused by adding stuff to maps? like i added a thing in game and typed it out the coords and what not and ended the line then added another thing but it froze me when i started it?
CreateDoor(model, open, close, angles, modelangles, width, height, lengthspace, heightspace, duration, health)
like when you make one in game it pops up i guess the angles modelangles width and height and we have to just input and keep testing to get desired for everything else? and it doesnt automatically choose the default carepackage as model when adding it to the maps.gsc
GREAT GAME MODE THOUGH PLAYED IT AND STREAMED IT FOR LIKE 6 HOURS TODAY!
-Note Platform/Grid you input like an x- or y- or something it spawns in facing the wrong way just saying
They just tell you the necessary information you will need, no point in displaying like the door health, model name and width/height spacing between each carepackage on screen etc, because you can't change that in game and really only needs to be done in the mapedits.gsc
In this thread under "Creating Map Edits" it shows examples of how to layout this.
The Arguments:
CreateDoor(model, open, close, angles, modelangles, width, height, lengthspace, heightspace, duration, health)
An Example:
CreateDoor("t6_wpn_supply_drop_axis", (-495, -812, -67), (-41, -819, -67), (0, 90, 0), (90, 0, 0), 5, 2, 72, 33, 2, 30);
You'd just keep copy and pasting that CreateDoor function and replace the origin and angles, green brackets are start origin, red brackets are end origin, angles are always at the end of the line.
When you are creating a CreateGrid or CreateDoor in game, the angles for them are determined by which way you face when you select "Location 2" origin during creation.