• Welcome to SC4 Devotion Forum Archives.
 

News:

The SC4 Devotion Forums are no longer active, but remain online in an archived, read-only "museum" state.  It is not possible for regular members to post or use the private messaging system, and no technical support will be provided for any issues pertaining to the forums in their current state.  Attachments (those that still work) are accessible without login.

The LEX has been replaced with SC4Evermore (SC4E), and SC4E maintains an active Discord server.  For traditional forums, we recommend Simtropolis.

Main Menu

functional City Hall with conditions

Started by supremec, July 06, 2011, 01:03:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

supremec

Hello everybody,
If you don't know it I made a town hall, I tried and I succeed in putting it in game as town hall, but it is ploppable from the beginning of party and ploppable several times.  :( I found how to add conditions, but my city hall is always locked  :-[
I don't want to replace the Maxis city hall, just add this with functional conditions to unlock this.
Thanks in advance for your help   :thumbsup:
Click on the banner to see my BATs

Rayden

The best way is to look at other similar rewards and try to understand how the conditions on the lua file works. Have a look at my Rural Mayor's House lua file, it's very simple with 2 or 3 conditions. You can find it on the LEX.

supremec

Thank for your help, but it's difficult for me to understand the software (especially some properties...). I know how to lock with conditions but What is the conditions property, to know how to unlock in the game?  &ops
Click on the banner to see my BATs

Rayden

I will have a look at your problem during the weekend and give you a help.

FrankU

Hi supremec,

I do not have the complete answer to your question, but maybe you can use my information to proceed.
If you want to make a lot that replaces the Maxis City Hall and has exactly the same conditons and other values, then the following tutorial is for you. I found out yesterday night and wrote it just ten minutes ago. Here it is.

It is quite simple actually. But that is easy to say after a problem is solved.  :D

Maybe you just need to edit some of the values in the building exemplar in order to get what you want?
On the other hand: why should a city have two city halls? I'd say: replace the Maxis thing with your superior model!  :thumbsup:

supremec

Hi FrankU,
Thank you for this tutorial  :thumbsup: I haven't read yet, but I think it will help me for an other city hall  ;D
Because Rayden helped me, my city hall is functional, thank to him  ::).

Quote from: FrankUOn the other hand: why should a city have two city halls? I'd say: replace the Maxis thing with your superior model!

Yes, I understand what you want, but it is preferable to have choice between maxis city hall or other (members) city hall  ;)
I think your tutorial will help Alex_bervoets, because I think he make a splendid city hall too  ;)
Click on the banner to see my BATs