Couple of questions about Scripting and GECK Object Collisio

Post » Wed Dec 07, 2011 3:03 pm

When you enter a script, does it have to be aligned in a certain way? For example, in the GECK quest and dialogue tutorial, it displays a certain script and tells you to enter it. Does it have to appear exactly in that layout, or
can it just be divided into lines? As in, without the spaces and alignments with the above line. And for creating cells in the GECK, how do you properly combine and align two pieces? For example, I need to create a room with
four sides, but when I use the same amount of pieces on each side, and align them to the same axis, it always leaves a small gap. I try to fill that in with another similar piece. Then I always end up with a collision issue that
causes the pieces to display a wierd line between them. Help will be appreciated.
User avatar
Suzy Santana
 
Posts: 3572
Joined: Fri Aug 10, 2007 12:02 am

Post » Wed Dec 07, 2011 8:16 am

Scripts can be entered left-aligned, right-alinged, or center-aligned. The only reason for tabs to make it more readable. For example, if you have a game mode block, everything in that block gets indented to separate it from, say, an OnLoad block. Indentation is a good practice to get into simply to make scripts more readable. Blank spaces are ignored by the engine whenever a script is processed, the same as indents and semicolons; the later is used for comments to further enhance readability.

I can't help with the collision issues, sorry. :sadvaultboy:
User avatar
Raymond J. Ramirez
 
Posts: 3390
Joined: Sun Oct 14, 2007 8:28 am

Post » Wed Dec 07, 2011 6:21 am

Grazie for the information.
User avatar
CHARLODDE
 
Posts: 3408
Joined: Mon Apr 23, 2007 5:33 pm

Post » Wed Dec 07, 2011 11:19 am

Have you tried grid snap? Right click an empty space in the view window and select the movement option and its at the bottom.
User avatar
James Hate
 
Posts: 3531
Joined: Sun Jun 24, 2007 5:55 am

Post » Wed Dec 07, 2011 5:54 pm

You can also activate it (and rotational snap) via two toolbar buttons. Snap distances/angles can be adjusted via the preferences dialog. The former needs to be a power of 2 ie 2, 4, 8, 16, 32, 64 etc. I like something large like 64 for dungeon pieces - much quicker.
User avatar
Shelby McDonald
 
Posts: 3497
Joined: Sat Jan 13, 2007 2:29 pm

Post » Wed Dec 07, 2011 6:24 am

I never use the grid, I enter the values manually, adding 256 to the next piece. After some copy/paste for similar axis it is very fast and acurate to create an entire vault.
Of course it is better if you start the first piece at 0,0,0 and a rotation of 0 or something making it easy to add multiples of 256. For the z axis as they are all the same, just ctrl-D and add or remove 256 to x or y.
Magic : There is no gap or overlap and the furniture is easy to align
User avatar
Cat Haines
 
Posts: 3385
Joined: Fri Oct 27, 2006 9:27 am


Return to Fallout 3