Jump to content

6 posts in this topic Last Reply

Highlighted Posts

Posted:
Last Online:  
 

Hi! First of all, sorry if this has been asked before, with SC4D unavaliable I can't search the support forums properly.

I'm having a couple of problems with PIM-X, namely that I can't drag models to the Ploppable/Education/Opera category. When I try to do it I get this error message

Spoiler

[(u'Students', u'(max(SCCSOpera,50*int(1+Volume/40000.)))'), (u'CivicJobs', u'(int(ceil(Students/30.)))'), (u'Jobs1', u'(5+int(CivicJobs*1./8.))'), (u'Jobs2', u'(2+int(CivicJobs*5./8.))'), (u'Jobs3', u'(0+int(CivicJobs*2./8.))'), (u'Radius', u'(40*int(135+0.75*Students**0.4))'), (u'MCost', u'(10*int(13+0.035*Students**0.9))'), (u'PCost', u'(1000*int(20+0.020*Students**1.1))'), (u'BCost', u'(20*int(15+0.025*Students**1.1))'), (u'BaseCapacity', u'(round(3+Volume/(3*15)))'), (u'BiasedBC', u'(int(round(min(500.,BaseCapacity)*max(1.,sqrt(BaseCapacity/500.)))))'), (u'AirPollutionFactor', u'(0.006)'), (u'WaterPollutionFactor', u'(0.004)'), (u'GarbagePollutionFactor', u'(0.003)'), (u'PowerConsumedFactor', u'(0.01)'), (u'WaterConsumedFactor', u'(0.04)'), (u'CalculatedElevation', u'(max(Height,Volume/(Width*Depth)))'), (u'BiasedVol', u'(Volume*min(1,0.51+(Volume/26000.0)**2))')]
ItemOrderForOpera
Traceback (most recent call last):
  File "treeDnD.pyo", line 93, in OnData
  File "SC4PIMApp.pyo", line 2918, in OnDrop
  File "SC4PIMApp.pyo", line 2988, in CreateAnExamplar
  File "<string>", line 0, in ?
NameError: name 'ItemOrderForOpera' is not defined

The other problem is that I can't elevate props in the Lot Editor, I remember having no trouble with this in my old win7 computer. When I try to do it this error message appears:

Spoiler

Traceback (most recent call last):
  File "SC4LotPreview.pyo", line 2515, in OnMouseMotion
  File "SC4LotPreview.pyo", line 1464, in OnDraw
  File "SC4LotPreview.pyo", line 1711, in Draw2D
  File "SC4LotPreview.pyo", line 1486, in DrawQuad
OpenGL.GL.GLerror: (1283, '')

Thanks for any help you may be able to give me!!


Check out my content on the STEX

Or pay a visit to my Lot thread to see the projects I'm working on!

Mi taller de lotes, ¡Ahora en español!

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

I'm not sure about the LE one, but the Opera house issue would affect others too. I suspect it was missed in our testing all those years ago. (Myself and a few others in the BSC helped ripplejet with the PimX).

When I have made functional opera houses, I just created the file in the reader or you could use the PIM-X Major Art Museum (the closest building type to an Opera House available)  and then add the Opera, Taxi Maker, VIP, Park OGs via the reader.

You should remove the Museum OG. Make sure to increase the capacity to something high (at least 30K - 40K or else you'll get the opera house bug) and change the EQ Boost to 2.4 with values in the following age vs effectiveness categories 20|0, 30|0, 40|0.3, 50|0.3, 60|0.6, 70|1.5, 80|5 to approximate the ingame version. I tend to beef these up a little as these values are scarcely worth the costs. 

  • Thanks 1

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 
6 hours ago, Edvarz said:

I can't drag models to the Ploppable/Education/Opera category. When I try to do it I get this error message

This happens with certain categories, where the Item Order and/or Query have not been defined inside "settings.ini", found in the install location of SC4PIM. If you open that file using Notepad or similar, you can add this information manually, then it should work. These are the values used by the Maxis Opera House:

ItemOrderForOpera         = 300
QueryForOpera          = 0xCA8B9845

 

6 hours ago, Edvarz said:

The other problem is that I can't elevate props in the Lot Editor, I remember having no trouble with this in my old win7 computer. When I try to do it this error message appears:

So far as I can tell, the error message suggests some incompatibility between the drivers of your GPU and the OpenGL implementation used in PIM-X. There is unlikely to be anything in terms of tweaks to PIM-X that will resolve this. Updating your GPU drivers or possibly even using an older one, may change this behaviour. But for a function most won't use that much, I would consider using the Maxis LE as a work-around, when you need to adjust the height of props. Assuming that is a different driver didn't exist that resolved the issue.

  • Thanks 1

Head over to my Lot and Mod Shack to keep abreast of my latest developments.

Do you like custom textures, but don't like all the work involved creating them?, take a look at the Texture Automation options here. Change the look and feel of your transit networks, with the minimum of effort, for example customised versions of my Sidewalk NAM (SWN) and Terrain Grass NAM (TGN) mods, and much more besides.

New to the NAM? Check out my tutorials on YouTube. Latest upload: How to: RHW - MHO Roundabout Interchanges. (Nov 25).

p.s. - I'm MGB over on SC4D and a member of the NAM team.

Share this post


Link to post
Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

    Took me a while to try these solutions, I was away from my computer for a few days.

    I modified the settings.ini as shown by @rsc204 and indeed managed to get an exemplar. However the building didn't show up in any of my menus so I ended up modifying the OG's in the Reader anyway, as @mattb325 suggested; I changed the "Building:Civic" property to "Building:Reward" aaand it now shows up in the rewards menu, yay!!

    One little question though. What would the "Building:Park" property do? Would it just put the building in the Parks menu or does it do something else? I'm guessing the Park effect and CAP relief can be added to any building irrespective of the OG's, but I'm asking just to cover all bases.

    Oh and also, since I'm messing around in the Reader, I'm thinking I can maybe change the query reference to take advantage of the "Opera House fix" mod


    Check out my content on the STEX

    Or pay a visit to my Lot thread to see the projects I'm working on!

    Mi taller de lotes, ¡Ahora en español!

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    It does indeed place it in the parks menu as well, just like the ingame version. Note,  you don't actually need to add this OG if you've added the cap reliefs.

    • Thanks 1

    Share this post


    Link to post
    Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

    Thank you both for your help! I haven't tried updating the graphics driver to solve the raising issue but the Maxis LE will do just fine in the meantime, or if the issue can't be resolved


    Check out my content on the STEX

    Or pay a visit to my Lot thread to see the projects I'm working on!

    Mi taller de lotes, ¡Ahora en español!

    Share this post


    Link to post
    Share on other sites

    Sign In or register to comment...

    To comment in reply, you must be a community member

    Sign In  

    Already have an account? Sign in here.

    Sign In Now

    Create an Account  

    Sign up to join our friendly community. It's easy!  

    Register a New Account


    ×

    Thank You for the Continued Support!

    Simtropolis depends on donations to fund site maintenance costs.
    Without your support, we just would not be in our 24th year online!  You really help make this a great community. *:thumb:

    But we still need your support to stay online. If you're able to, please consider a donation to help us stay up and running. This helps sustain a platform where we can share our community creations for years to come.

    Make a Donation, Get a Gift!

    Expand your city with the best from the Simtropolis Exchange.
    Make a Donation and get one or all three discs today!

    STEX Collections

    By way of a "Thank You" gift, we'd like to send you our STEX Collector's DVD. It's some of the best buildings, lots, maps and mods collected for you over the years. Check out the STEX Collections for more info.

    Each donation helps keep Simtropolis online, open and free!

    Thank you for reading and enjoy the site!

    More About STEX Collections