Attack on Titan Custom Skins
https://aotskins.com/

Remove objects without deleting and title code segments
https://aotskins.com/viewtopic.php?f=77&t=6668
Page 1 of 1

Author:  Jumpshift [ June 9th, 2015, 3:24 am ]
Post subject:  Remove objects without deleting and title code segments

In my delving of other people's code I noticed that many people don't have anything to help sort out what's what in the code.

Now, this may just be me, since I took several classes in webdesign, but I like to have an occasional note so I can know what I'm looking at in the raw code, rather than search for 30 minutes just to find the one thing I need. So I played around a bit with the code and I found this neat little trick:

Spoiler:
//main.center.area;
/wooden.post.structure;
custom,cylinder,bark4,3,7,3,0,1,1,1,1,2,-30,0,-30,0,0,0,1;
custom,cylinder,bark4,3,7,3,0,1,1,1,1,2,30,0,-30,0,0,0,1;
custom,cylinder,bark4,3,7,3,0,1,1,1,1,2,-30,0,30,0,0,0,1;
custom,cylinder,bark4,3,7,3,0,1,1,1,1,2,30,0,30,0,0,0,1;
custom,cuboid,bark4,5,1,1,0,1,1,1,2,1,0,64.8,30,0,0,0,1;
custom,cuboid,bark4,1,1,5,0,1,1,1,.5,2,30,64.8,0,0,0,0,1;
custom,cuboid,bark4,5,1,1,0,1,1,1,2,1,0,64.8,-30,0,0,0,1;
custom,cuboid,bark4,1,1,5,0,1,1,1,.5,2,-30,64.8,0,0,0,0,1;
/metal.center;
custom,cone,metal2,.75,1,.75,0,1,1,1,1,1,-3.5,70.5,0,0,0,-360,1;
custom,cone,metal2,.75,1,.75,0,1,1,1,1,1,0,95,0,0,0,0,1;
custom,cylinder,metal2,.25,7,.25,0,1,1,1,.4,7,-1.7,0,1,0,0,0,1;

you can use "/" to nullify any strand of script for the level editor.
so if we want only the posts, we would only need to do this:
Spoiler:
//main.center.area;
/wooden.post.structure;
custom,cylinder,bark4,3,7,3,0,1,1,1,1,2,-30,0,-30,0,0,0,1;
custom,cylinder,bark4,3,7,3,0,1,1,1,1,2,30,0,-30,0,0,0,1;
custom,cylinder,bark4,3,7,3,0,1,1,1,1,2,-30,0,30,0,0,0,1;
custom,cylinder,bark4,3,7,3,0,1,1,1,1,2,30,0,30,0,0,0,1;
/custom,cuboid,bark4,5,1,1,0,1,1,1,2,1,0,64.8,30,0,0,0,1;
/custom,cuboid,bark4,1,1,5,0,1,1,1,.5,2,30,64.8,0,0,0,0,1;
/custom,cuboid,bark4,5,1,1,0,1,1,1,2,1,0,64.8,-30,0,0,0,1;
/custom,cuboid,bark4,1,1,5,0,1,1,1,.5,2,-30,64.8,0,0,0,0,1;
/metal.center;
/custom,cone,metal2,.75,1,.75,0,1,1,1,1,1,-3.5,70.5,0,0,0,-360,1;
/custom,cone,metal2,.75,1,.75,0,1,1,1,1,1,0,95,0,0,0,0,1;
custom,cylinder,metal2,.25,7,.25,0,1,1,1,.4,7,-1.7,0,1,0,0,0,1;

And as you've probably noticed I have "/" set in front of what I'll call "mimic code." you can type whatever you want there so long as you don't use spaces (haven't tried with spaces, so I may be wrong), and end it with a semicolon: ";" so it does not read it with the next line of actual code.

I also use "/" at the beginning of titles/categories to avoid confusing myself.

Just thought it was neat, hope it helps someone!

tl;dr:
use: "/" to nullify code strands
use: ";" at the end of non-code to create reference titles for yourself in the code

Author:  xXSB101Xx [ June 9th, 2015, 4:59 am ]
Post subject:  Re: Remove objects without deleting and title code segments

Should have put this in the tutorial section instead.

Author:  Jumpshift [ June 9th, 2015, 3:57 pm ]
Post subject:  Re: Remove objects without deleting and title code segments

Edited to fit the category, thanks for the move.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/