[WIP] Valencia Street Circuit WIP

Discussion in 'Locations' started by hamiltonfan2205, May 3, 2014.

  1. hamiltonfan2205

    hamiltonfan2205 Registered

    Joined:
    Feb 2, 2013
    Messages:
    506
    Likes Received:
    5
    https://www.youtube.com/watch?v=BHRm5pd_Pqs&feature=youtu.be Here is what I've done so far.

    I know I said to expect no updates till all the BTB work is done, but I'm just gonna post this to ask for your opinions on whether I have the elevation correct. Also work can be a bit more rapid now as I have finished my GCSEs so expect work to be a little faster...
     
  2. hexagramme

    hexagramme Registered

    Joined:
    May 25, 2013
    Messages:
    4,245
    Likes Received:
    194
    Wow this is exciting! Looks very good so far!
     
  3. GTClub_wajdi

    GTClub_wajdi Registered

    Joined:
    Feb 28, 2012
    Messages:
    3,239
    Likes Received:
    572
    Amazing, keep it going:cool:
     
  4. hamiltonfan2205

    hamiltonfan2205 Registered

    Joined:
    Feb 2, 2013
    Messages:
    506
    Likes Received:
    5
    http://gyazo.com/2063f1db45b014a25545cf2f16b4b092
    I've started modelling the walls, but I am having an issue. When I try to create an XPACK for it it comes up with this error message.
    http://gyazo.com/d6c25386b5d5edab78ee20301fb9a0ff

    Here are the details
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.Exception: Can't create Icon file. Parameter is not valid.
    at †††
    ††‡‹š.†††
    ††‡‹™.CreateIcon(String SourceFile, String SourceExtension, String DestFile)
    at †††
    ††‡Š‰‰.†††
    ††‡Š‰ˆ.†††
    ††‡Ž“(Object , Object , Object )
    at †††
    ††‡Š‰‰.†††
    ††‡Š‰ˆ.CreateIconFile(†††
    ††‡‹š BobsMaterial)
    at †††
    ††‡‰˜”.†††
    ††‡‰˜“.†††
    ††‡Ž(Object , Object )
    at †††
    ††‡‰˜”.†††
    ††‡‰˜“.AddToXPack(†††
    ††‡Š‰ˆ XPack)
    at †††
    ††‡ˆŽ.†††
    ††‡ˆ.†††
    ††‡œš(Object , Object )
    at †††
    ††‡ˆŽ.†††
    ††‡ˆ.Add3dsObject(String FileName, Single ConversionScale)
    at †††
    ††‡ˆŽ.†††
    ††‡ˆ.Import3ds(String Filename)
    at †††
    ††‡ˆŽ.†††
    ††‡ˆ.butObjectAdd_Click(Object sender, EventArgs e)
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5477 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    _
    Assembly Version: 0.0.0.0
    Win32 Version: 2.0.50727.5477 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
    ----------------------------------------
    BTBXPacker
    Assembly Version: 0.4.0.0
    Win32 Version: 2.0.50727.5477 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
    ----------------------------------------
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    Microsoft.DirectX
    Assembly Version: 1.0.2902.0
    Win32 Version: 5.04.00.2904
    CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll
    ----------------------------------------
    357bb7bb-5fed-4b8e-9d3e-bedc7398da3b
    Assembly Version: 1.0.0.0
    Win32 Version: 2.0.50727.5477 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
    ----------------------------------------
    Microsoft.DirectX.Direct3D
    Assembly Version: 1.0.2902.0
    Win32 Version: 9.05.132.0000
    CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.dll
    ----------------------------------------
    Microsoft.DirectX.Direct3DX
    Assembly Version: 1.0.2911.0
    Win32 Version: 9.12.589.0000
    CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.Direct3DX/1.0.2911.0__31bf3856ad364e35/Microsoft.DirectX.Direct3DX.dll
    ----------------------------------------
    System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5476 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:

    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.


    Does anyone know what is the cause of the issue, I tried to do what this guy did on RD http://www.racedepartment.com/threads/cant-create-icon-file-xpacker-problem.88130/ but no difference. Does anyone know what the issue is?
     
  5. hamiltonfan2205

    hamiltonfan2205 Registered

    Joined:
    Feb 2, 2013
    Messages:
    506
    Likes Received:
    5
    I've posted this problem on many forums and have got no response. I'm afraid if no one replies I may have to call off this project because bobs track builder is the only easy way of placing barriers in their correct position and I don't have 3d studio max. Now I don't want to call off the project but I may not have a choice seen as I can't advance to the next stage till I have the barriers in position. So if you want this project to continue, either tell me how to sort out this issue or suggest another free method of placing the barriers correctly on the track.
     
  6. wgeuze

    wgeuze Registered

    Joined:
    Oct 1, 2012
    Messages:
    1,608
    Likes Received:
    63
    Wait a second, if you are modelling the walls yourself, why do you need to go through the x-pack BTB route in the first place???
     
    Last edited by a moderator: Jun 25, 2014
  7. hamiltonfan2205

    hamiltonfan2205 Registered

    Joined:
    Feb 2, 2013
    Messages:
    506
    Likes Received:
    5
    So I can create a string object and just simply drag the places where I want the walls to go, whereas in other methods I have to do a lot of positioning so it sits on the elevation correctly. Is there an easier method?
     
  8. wgeuze

    wgeuze Registered

    Joined:
    Oct 1, 2012
    Messages:
    1,608
    Likes Received:
    63
    You tell me, but placing each segment of a wall of barriers doesn't seem like the best one, especially when every segment is going to be a separate GMT later on. Isn't there something like a 'loft' operation in BTB?
     
    Last edited by a moderator: Jun 25, 2014
  9. hamiltonfan2205

    hamiltonfan2205 Registered

    Joined:
    Feb 2, 2013
    Messages:
    506
    Likes Received:
    5
    That wasn't my plan, my plan was to import the barrier into xpacker and use it as a string object.
     
  10. Emery

    Emery Registered

    Joined:
    Oct 24, 2010
    Messages:
    3,035
    Likes Received:
    1,654
    It might be easier to edit the standard BTB wall shapes and then substitute textures (that can all be done inside BTB) rather than trying to create a new string object.
     
  11. hamiltonfan2205

    hamiltonfan2205 Registered

    Joined:
    Feb 2, 2013
    Messages:
    506
    Likes Received:
    5
    The thing is, Valencia has barriers that kind of interlock with each other with catchfencing, and there are no barriers for BTB that look anything like that.
     
  12. wgeuze

    wgeuze Registered

    Joined:
    Oct 1, 2012
    Messages:
    1,608
    Likes Received:
    63
    Those barriers can be found all over, also, how many times do you see the sides of them or a loose segment in the first place? That they are separate segments in real life doesn't necessarily mean
    you should model them as such in 3d. All those triangles on the sides are wasted for every segment as well. Also expect possible horrors when it comes to collision detection.

    Sticking to your plan is fine, unless it's preventing you from continuing while different methods have been suggested.

    edit:
    to visualize, top barrier is segmented like you suggest, bottom one is one piece:
    [​IMG]

    Also worth noting, is with this piece, already you save 12 triangles, coincidentally precisely those who could give collision detection a hard time.

    As Emery points out:
     
    Last edited by a moderator: Jun 26, 2014
  13. SPASKIS

    SPASKIS Registered

    Joined:
    Sep 7, 2011
    Messages:
    3,155
    Likes Received:
    1,426
    I can provide help with xpacks if required. If you could zip the xpack folder and send a pm I'll look at it. It is very easy to create xpacks.
    Some tips and questions that might help...

    -Are you importing the object from the xpacker or are you simply doing things directly in the folder?
    -are you trying to create at first an xpack containing a single object? It is easier to check for errors.
    - icons are required for objects and are automatically created by xpacker. You can edit them later with an image of the object.

    enviado mediante tapatalk
     
  14. hamiltonfan2205

    hamiltonfan2205 Registered

    Joined:
    Feb 2, 2013
    Messages:
    506
    Likes Received:
    5
    k thanks, haven't really worked on the track for the past couple of weeks due to being busy with other things, including going to see the British GP yesterday, and yes i am importing them into xpacker, and I did actually find a fix to the issues i was having.
     
  15. hamiltonfan2205

    hamiltonfan2205 Registered

    Joined:
    Feb 2, 2013
    Messages:
    506
    Likes Received:
    5
    OK Now I'm having a new issue. I have got a string object working (up to a point where i know how to sort out a particular issue) and today I tried to do a test to see how the barriers behave in rFactor (they should behave in a similar way in rF2), but for some reason, when loading the track it says there is an error loading a particular texture. I checked and that texture is in the track folder, and when I load the track in 3DSimed it's fine, so why can't rfactor find it?
     
    Last edited by a moderator: Jul 7, 2014
  16. SPASKIS

    SPASKIS Registered

    Joined:
    Sep 7, 2011
    Messages:
    3,155
    Likes Received:
    1,426
    Is the texture related to the string object or does it have nothing to do with it? I remember having suffered this problem with textures from animations.
     
  17. hamiltonfan2205

    hamiltonfan2205 Registered

    Joined:
    Feb 2, 2013
    Messages:
    506
    Likes Received:
    5
    yes it is :/
     
  18. hamiltonfan2205

    hamiltonfan2205 Registered

    Joined:
    Feb 2, 2013
    Messages:
    506
    Likes Received:
    5
    And now the old issue has returned, the old icon file issue with another barrier variation. I am doing exactly what I did with the other files which worked, I thought it through and haven't done a single thing differently.

    1. Export it from ZModeler
    2. Import it into 3D Simed
    3. Update the texture attributes
    4. Export it to 3DS
    5. Export textures
    6. Create the icon files
    7. Import it to XPacker.
     
  19. hamiltonfan2205

    hamiltonfan2205 Registered

    Joined:
    Feb 2, 2013
    Messages:
    506
    Likes Received:
    5
    It's alright, that issue solved :D Still don't have the issue with it not loading the texture in rFactor solved though
     
  20. hamiltonfan2205

    hamiltonfan2205 Registered

    Joined:
    Feb 2, 2013
    Messages:
    506
    Likes Received:
    5

Share This Page