Couple of questions about Scripting and GECK Object Collisio

Post » Thu May 03, 2012 10:54 am

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
MatthewJontully
 
Posts: 3517
Joined: Thu Mar 08, 2007 9:33 am

Post » Thu May 03, 2012 9:02 pm

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
Channing
 
Posts: 3393
Joined: Thu Nov 30, 2006 4:05 pm

Post » Thu May 03, 2012 11:46 pm

Grazie for the information.
User avatar
Jessica Stokes
 
Posts: 3315
Joined: Fri Jul 28, 2006 11:01 am

Post » Thu May 03, 2012 10:09 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
Farrah Lee
 
Posts: 3488
Joined: Fri Aug 17, 2007 10:32 pm

Post » Thu May 03, 2012 11:56 am

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
jasminĪµ
 
Posts: 3511
Joined: Mon Jan 29, 2007 4:12 am

Post » Thu May 03, 2012 9:03 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
Melanie Steinberg
 
Posts: 3365
Joined: Fri Apr 20, 2007 11:25 pm

Post » Thu May 03, 2012 10:41 am

Thanks, guys.
User avatar
Christine
 
Posts: 3442
Joined: Thu Dec 14, 2006 12:52 am


Return to Fallout 3