SC4 Devotion Forum Archives

SimCity 4 General Discussion and Tutorials => SimCity 4 General Discussion => General Custom Content Discussion => Topic started by: feelingshehides on August 13, 2008, 08:11:47 PM

Title: Editing Building Description Problems
Post by: feelingshehides on August 13, 2008, 08:11:47 PM
I usually edit building descriptions that doesn't have capacity nor monthly cost without problems but i cant seem to edit Simgoober's Hospitals o_O

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fs3.supload.com%2Fthumbs%2Fdefault%2Fitemsim.JPG&hash=ddfa617731040724757f91c4f6d6d2d74334f55e) (http://s3.supload.com/free/itemsim.JPG/view/)
Web Hosting with cPanel (http://www.made2own.com/)


xD Maybe someone can shed some light >_< Thanks

I usually edit descriptions like that =o it doesn't seem to be working for this hospitals thou

I was able to edit his education buildings without problems

Also Bywater Springs Hospital building description can't seem to be edited, well you can't seem to use "Monthly Cost:   #m:ea54d286#" "Capacity : #0x4AA60EBC#" It will just display the same thing

I just manually typed the Actual Capacity and Cost.
Title: Re: Editing Building Description Problems
Post by: RippleJet on August 14, 2008, 12:10:22 AM
Quote from: feelingshehides on August 13, 2008, 08:11:47 PM
Also Bywater Springs Hospital building description can't seem to be edited, well you can't seem to use "Monthly Cost:   #m:ea54d286#" "Capacity : #0x4AA60EBC#" It will just display the same thing

The Capacity ID needs to be without the "0x", but with a preceeding "d:" instead.
Like this:

Monthly Cost:  #m:ea54d286#
Capacity:        #d:4aa60ebc#
Title: Re: Editing Building Description Problems
Post by: feelingshehides on August 14, 2008, 12:47:47 AM
Quote from: RippleJet on August 14, 2008, 12:10:22 AM
The Capacity ID needs to be without the "0x", but with a preceeding "d:" instead.
Like this:

Monthly Cost:  #m:ea54d286#
Capacity:        #d:4aa60ebc#

I copy+pasted the wrong ones in the thread but i use those when i edit building descriptions and works.
This one has 2 missing things in there .. should be 2 LTEXT file for description but i see none =o

Bywater Springs

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fs3.supload.com%2Fthumbs%2Fdefault%2Fsimcityprob.JPG&hash=29783a8c0ee8418f69c41a36c05cd97f25886b57) (http://s3.supload.com/free/simcityprob.JPG/view/)
cheap web hosting (http://www.made2own.com/)
Title: Re: Editing Building Description Problems
Post by: BarbyW on August 14, 2008, 01:35:34 AM
The reason that there are no LTEXT files is that the Item Name and Item Description have been left in the exemplar and not converted to LTEXT files.

When you edit LTEXT files in Reader you need to click on Apply at the top of the right hand window for it to take effect.
Title: Re: Editing Building Description Problems
Post by: feelingshehides on August 14, 2008, 01:47:47 AM
Quote from: BarbyW on August 14, 2008, 01:35:34 AM
The reason that there are no LTEXT files is that the Item Name and Item Description have been left in the exemplar and not converted to LTEXT files.

When you edit LTEXT files in Reader you need to click on Apply at the top of the right hand window for it to take effect.

Ahhh =o but i still can't seem to change the descriptions in the 3 simgoober hospitals thou :( They are all edited correctly if you look at the first screenshot of my post. Right now in-game those 3 show there name in the description like the screenie lol.

for the Bywater Springs, how do i convert them to LTEXT ?
Title: Re: Editing Building Description Problems
Post by: Diggis on August 14, 2008, 02:09:33 AM
Try LEProp for editing the lot descrpition.  For someone who usually edits descriptions you seem to have a lot of trouble.  I would suggest looking through the modding tutorials section:

http://sc4devotion.com/forums/index.php?board=54.0
Title: Re: Editing Building Description Problems
Post by: feelingshehides on August 14, 2008, 03:18:32 AM
I tried the program.. the same result :/ I tried editing the other 2 hospitals as well.. same thing.
The Program is weird, it says there's no monthly cost on the hospital, even thou there is. If i use SC4Tool or Reader.
Pic:

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fs3.supload.com%2Fthumbs%2Fdefault%2Fsameresult.JPG&hash=f4dd5e0abff64aaaccfdc610910c3522c44ae394) (http://s3.supload.com/free/sameresult.JPG/view/)
cPanel Web Hosting (http://www.made2own.com/)


Diggis: Please try editing it yourself, its a different problem. Unless there is something i am missing
Title: Re: Editing Building Description Problems
Post by: RippleJet on August 14, 2008, 03:42:43 AM
If the LTEXT file pointed to by the Item Description Key contains invalid characters or LUA tokens,
or if the TGI address is wrong, the game will pick whatever is written in Item Description instead.

I suppose SG_GooberGenUrgentCare is what the Item Description property contains.
EDIT: And if the Item Description is missing, the Exemplar Name would be shown instead.

I'm not sure if it's a copy/paste error, but you are still using an invalid token in that LTEXT file.
#0x4AA60EBC# is not a valid token. #d:4AA60EBC# would be valid though.
Title: Re: Editing Building Description Problems
Post by: Andreas on August 14, 2008, 03:43:57 AM
The "Monthly Cost" input field that is displayed in LEProp is intended for "basic" lots, like parks. Civic buildings require a more comprehensive treatment since they have several properties that control the budget sliders. Click on the icon with the "ยง" sign, then you should see two lines - "Health Staff" and "Health Coverage", which are associated with the two budget sliders. If you look at the building exemplar file with the Reader, you will see that there are four "Budget Item" properties in total.

For displaying the capacity (or other variables) in the LTEXT file, you also need to add special properties to the building exemplar file, in this case "Catalog Capacity". For the monthly cost, there's a similar one called "Catalog Monthly Cost". This is due to the fact that the actual capacity or monthly cost of the building is varying due to the budget sliders, but a fixed value is displayed in the LTEXT file. For the monthly cost, it's the sum of "Health Staff" and "Health Coverage".

BTW, when adding LTEXT files (name and description) with LEProp, you might encounter a small bug. For some reason, only one LTEXT file is created, even if you enter a text in both fields. In this case, add only one, Apply and Save, then reopen the lot and add the other one. Once both LTEXT files are created, it shouldn't matter anymore, though. Also, when you're done with the LTEXT files, open the lot with the Reader and delete both the "Item Name" and "Item Description" properties, so they don't interfere with the LTEXT files anymore.
Title: Re: Editing Building Description Problems
Post by: RippleJet on August 14, 2008, 04:16:48 AM
Quote from: Andreas on August 14, 2008, 03:43:57 AM
For displaying the capacity (or other variables) in the LTEXT file, you also need to add special properties to the building exemplar file, in this case "Catalog Capacity". For the monthly cost, there's a similar one called "Catalog Monthly Cost".

Quite right! Thanks, Andreas! :thumbsup:
The ingame medical clinic uses this in the Item Description LTEXT file:

Monthly Cost:      #m:6ad54804#
Patient Capacity:  #d:4aa60ebc#

0x6ad54804 is the Name Value for the property Catalog Monthly Cost
Title: Re: Editing Building Description Problems
Post by: feelingshehides on August 14, 2008, 04:19:08 AM
Ahhh! Thanks so much it was stupid of me, i did a wrong copy+paste again  :'(
Thank you guys so much for having such patience with me..

The mistake was

Monthly Cost:      #m:6ad54804#
Patient Capacity:  #d:4aa60ebc#

x_X ZZzzz stupid stupid  ()sad() :'(

Sorry guys.

Btw, i was able to add the LText for that other hospital :D Thanks again