Jump to content

24,733 posts in this topic Last Reply

Highlighted Posts

Posted:
Last Online:  
 

SimCity 4 Vanilla gameplay V !

9MAtkDB.jpg

Altana City heart of this vanilla region. With the business and eventually administrative designation, this city was started with business and resiential only. Eventually, temporarly I had to add some army bases as this is the only purpose source of income without too much security of enviromental impact !

Qxj7THv.jpg

For this city a variation on 5x5 6x8 and for central busines area 8x8 grid used wich works very fine ! The central residental area midrise started . Some hghrise near the river eventually. Civic services updated to cover a wider area . City college last great addton to enhance knowledge path !At the center of the business district a space is left for a park area!

0jzSvTP.jpg

City income still significantly have to rise to afford and support more development ! Little parks and plaza to follow next, raise status and regional play infuence ! What you may notice some props or textures are missing this is a SimCity 4 Vanilla issue ? Anyone know about that ,noticed !

ReqseGs.jpg

The graph show the steady residential growth up to the +- point, armybase income to add some more temporal viability !

Enjoy !


  Edited by kschmidt  

question about
  • Like 6

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 
12 hours ago, Null 45 said:

I am working on a Lua extensions DLL that adds more functions for Lua code to call.

  Function list (Hide contents)


-- The Maxis files that define the game and sc4game tables have already been run.

---------------------------------------------------------------------------------
-- Global functions
---------------------------------------------------------------------------------

-- Writes the specified arguments to SC4LuaExtensions.log
print = function() end

---------------------------------------------------------------------------------
-- game table extensions
---------------------------------------------------------------------------------

-- Executes the specified cheat code or command.
-- Takes a single string parameter.
-- The return value will vary depending on the input string:
--   1. A valid cheat code will return a Boolean (true or false).
--   2. A string that is not recognized as a valid cheat code or command will
--	    return the Boolean value false.
--   3. Commands will return various values, Boolean, numbers, arrays, strings, etc.
game.execute_cheat = function(cheat_string) return false end

-- Pauses the game.
game.pause = function() end

-- Resumes the game.
game.resume = function() end

---------------------------------------------------------------------------------
-- sc4game table extensions
---------------------------------------------------------------------------------
-- The GameDataRegistry class that is used to register the sc4game methods appears to
-- have been intended as a way for C++ classes to add lua functions, it allows a 
-- pointer to the class to be stored as user data for the function.

-- budget table - Maxis already defined this

-- Gets the total expense for the specified budget department.
-- Takes a single number parameter, the department GUID.
sc4game.budget.get_department_total_expense = function(department_guid) return 0 end

-- Gets the total income for the specified budget department.
-- Takes a single number parameter, the department GUID.
sc4game.budget.get_department_total_income = function(department_guid) return 0 end

-- language table

sc4game.language = {}

  -- Gets a value indicating if left-hand drive (LHD) is in use for the current language.
  -- This is true for UKEnglish and Japanese; otherwise, false.
  sc4game.language.is_left_hand_drive = function() return false end
  
  -- Gets a value indicating if the last name precedes the first name.
  sc4game.language.are_first_and_last_names_reversed = function() return false end
  
  -- Gets the currency symbol.
  -- This is always the 'Simolean' symbol, a UTF-8 encoded section sign.
  sc4game.language.get_currency_symbol = function() return "" end
  sc4game.language.does_currency_symbol_precede_amount = function() return false end
  sc4game.language.is_space_between_currency_symbol_and_amount = function() return false end
  
  -- Gets a string containing the decimal separator for the current language.
  sc4game.language.get_decimal_separator = function() return "" end
  -- Gets a string containing the thousands separator for the current language.
  sc4game.language.get_thousands_separator = function() return "" end  
  
  sc4game.language.get_date_string = function(month, day, year) return "" end  
 
  -- Converts a number to a money string.
  sc4game.language.get_money_string = function(number) return "" end
   
  -- Converts a number to a string using SC4's formatting code with
  -- the specified number of decimal places.
  sc4game.language.get_formatted_number_string = function(number, decimal_places) return "" end
  
  -- Converts a number to a string using SC4's formatting code.
  sc4game.language.get_number_string = function(number)
    return sc4game.language.get_formatted_number_string(number, 0)
  end

-- city table

sc4game.city = {}

  -- Gets the city name as a UTF-8 string.  
  sc4game.city.get_city_name = function() return "" end
  
  -- Sets the city name.
  sc4game.city.set_city_name = function(new_city_name) end
  
  -- Gets the mayor name as a UTF-8 string.
  sc4game.city.get_mayor_name = function() return "" end
  
  -- Sets the mayor name.
  sc4game.city.set_mayor_name = function(new_mayor_name) end
  
  -- Constructs a lot at the the specified coordinates.
  -- This function requires SimCity 4 Deluxe version 641.
  -- The facing parameter is a number in the range of 0 to 3 that sets the lot orientation. 
  -- The buildingExemplarIID parameter is optional unless you want a specific variant
  -- for a lot that is used by multiple building families.
  sc4game.city.place_lot = function(city_x, city_z, facing, lot_exemplar_iid, building_exemplar_iid) return false end
  
-- camera table
  
sc4game.camera = {}

  -- Gets the cell the camera is focused on.
  -- Returns the X and Z cell coordinates.
  sc4game.camera.get_current_cell = function() return {} end
  
  -- Gets the cell the camera is focused on.
  -- Returns the X, Y (altitude), and Z cell coordinates.
  sc4game.camera.get_current_position = function() return {} end

  -- Moves the camera to the specified cell.
  sc4game.camera.jump_to_cell = function(cell_x, cell_z) end

  -- Moves the camera to the specified cell and sets the zoom level to zoom_level.
  sc4game.camera.jump_to_cell_and_zoom = function(cell_z, cell_z, zoom_level)
    sc4game.camera.jump_to_cell(cell_x, cell_z)
    game.camera_zoom(zoom_level)
  end
  
  -- Moves the camera to the specified position.
  sc4game.camera.jump_to_position = function(x, y, z) end

  -- Moves the camera to the specified position and sets the zoom level to zoom_level.
  sc4game.camera.jump_to_position_and_zoom = function(x, y, z, zoom_level)
    sc4game.camera.jump_to_position(x, y, z)
    game.camera_zoom(zoom_level)
  end
  
  -- Rotates the camera in a clockwise direction.
  sc4game.camera.rotate_clockwise = function() end
  
  -- Rotates the camera in a counter-clockwise direction.
  sc4game.camera.rotate_counter_clockwise = function() end
  
  -- Takes a snapshot of the game window and saves it to the specified file.
  -- The area parameters are optional, when omitted the entire game window will be captured.
  sc4game.camera.take_snapshot = function(file_path, area_x, area_y, area_width, area_height) return false end

 

The highlights include Lua code being able to:

  • Run cheats and pause/resume the game.
  • Have better access to SC4's built-in number formatting.
  • Get or set the city/mayor names and plop lots.
  • Manipulate the in-game camera and take screenshots.

I also re-enabled the Lua error logging that Maxis disabled in retail builds, which has proved incredibly helpful when writing the mod's Lua code.

Feedback and suggestions are welcome. :)

This sounds like it would make possible to create custom tutorials and directed scenarios, maybe even something like interactive City Journals, when coupled with SC4pac as means to distribute an specific setting of plugins.

  • Like 2

matias93's Unexpected Mod Workshop (dev thread)             Ciudad del Lago in the making (dev City Journal)

"Let us be scientists and as such, remember always that the purpose of politics
is not freedom, nor authority, nor is any principle of abstract character,
but it is to meet the social needs of man and the development of the society"

— Valentín Letelier, 1895

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
Currently: Viewing Forums Index
 
1 hour ago, matias93 said:

This sounds like it would make possible to create custom tutorials and directed scenarios, maybe even something like interactive City Journals, when coupled with SC4pac as means to distribute an specific setting of plugins.

Directed scenarios sounds like the challenge scenarios that prior SimCity titles had, but I am not sure how an interactive City Journal would work.

Maxis wrote their tutorials in Lua, but I don't know if that system is extendable by plugins. Even if it is, it would probably be restricted to the Timbuktu region.

  • Like 2

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 
23 hours ago, 9gruntsand1hammer said:

Traverse City after 50 years of development. This is the last city tile in the region to be developed.

7ac5f6cf-cb17-4a18-8249-a690ad802c7b.png

Very nice. Are you planning on posting a region view? I think it would look really good by the way your cities looks and blend with eachother

  • Like 2

*;)

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 
1 hour ago, JulioC said:

Very nice. Are you planning on posting a region view? I think it would look really good by the way your cities looks and blend with eachother

Thanks, and yes, when everything is completed I'll post the region view.

  • Like 1

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
Currently: Viewing Forums Index
 

Just for fun, I wrote a tool to try and recover the original file names for SC4's Lua scripts. It extracts all of the Lua files from SimCity_1.dat, parses out the names from the dofile commands, and matches the hashed IID value to the original name.
It worked surprisingly well, of the 158 Lua scripts only 10 didn't have their file name referenced in a dofile command. Here is the list grouped by script type:

Spoiler

advisor\adv_advisors.lua
advisor\adv_advisors_anim.lua
advisor\adv_cityplanning.lua
advisor\adv_citysituations.lua
advisor\adv_const.lua
advisor\adv_csi_ambulance.lua
advisor\adv_csi_armytruck.lua
advisor\adv_csi_attackhelicopter.lua
advisor\adv_csi_attackjet.lua
advisor\adv_csi_citybus.lua
advisor\adv_csi_crime.lua
advisor\adv_csi_cropdusting.lua
advisor\adv_csi_drivingtutorials.lua
advisor\adv_csi_ferryboat.lua
advisor\adv_csi_fireplane.lua
advisor\adv_csi_firetruck.lua
advisor\adv_csi_fishingboat.lua
advisor\adv_csi_freighttrain.lua
advisor\adv_csi_garbagetruck.lua
advisor\adv_csi_hearse.lua
advisor\adv_csi_icecream.lua
advisor\adv_csi_mayor.lua
advisor\adv_csi_medicalshelicopter.lua
advisor\adv_csi_metalwhale.lua
advisor\adv_csi_monorail.lua
advisor\adv_csi_motorboat.lua
advisor\adv_csi_mysim.lua
advisor\adv_csi_newshelicopter.lua
advisor\adv_csi_newsvan.lua
advisor\adv_csi_offshore.lua
advisor\adv_csi_passengertrain.lua
advisor\adv_csi_policecar.lua
advisor\adv_csi_policehelicopter.lua
advisor\adv_csi_schoolbus.lua
advisor\adv_csi_skydiver.lua
advisor\adv_csi_skywriter.lua
advisor\adv_csi_speedboat.lua
advisor\adv_csi_steamtrain.lua
advisor\adv_csi_tank.lua
advisor\adv_csi_taxicab.lua
advisor\adv_csi_toxicwaste.lua
advisor\adv_csi_tugboat.lua
advisor\adv_csi_ufo.lua
advisor\adv_csi_yacht.lua
advisor\adv_environment.lua
advisor\adv_ep1_cityplanning.lua
advisor\adv_ep1_finances.lua
advisor\adv_ep1_rewards.lua
advisor\adv_ep1_transportation.lua
advisor\adv_finances.lua
advisor\adv_fluffnews.lua
advisor\adv_game_data.lua
advisor\adv_hq.lua
advisor\adv_mysim.lua
advisor\adv_mysim_balloon.lua
advisor\adv_mysim_data.lua
advisor\adv_nd.lua
advisor\adv_rewards.lua
advisor\adv_safety.lua
advisor\adv_transportation.lua
advisor\adv_utilities.lua
advisor\FF1A27EC.lua
advisor\FF263B45.lua
advisor\FF7D91E7.lua
advisor\FF8085FD.lua
advisor\FFAEC42B.lua
advisor\package_advisors.lua
advisor\package_ep1_advisors.lua
advisor\package_startup.lua
advisor\package_sys.lua
advisor\package_tutorial.lua
advisor\sit_constants.lua
advisor\tutorial_big_city.lua
advisor\tutorial_getting_started.lua
advisor\tutorial_make_money.lua
advisor\tutorial_tasks.lua
advisor\tutorial_tasks2.lua
advisor\tutorial_whats_new.lua
advisor\_adv_advice.lua
advisor\_adv_sys.lua
automata\accidents.lua
automata\aircraft.lua
automata\ambulance.lua
automata\ape_escape.lua
automata\armybase.lua
automata\armytank.lua
automata\army_jumpjacks.lua
automata\army_peds.lua
automata\arson.lua
automata\attractors.lua
automata\biz.lua
automata\bus_stop.lua
automata\college.lua
automata\construction.lua
automata\convention.lua
automata\countryclub.lua
automata\courthouse.lua
automata\crowd.lua
automata\crowd_biz.lua
automata\crowd_mower.lua
automata\crowd_sm.lua
automata\crowd_sm_stand.lua
automata\crowd_whitecoat.lua
automata\disasters.lua
automata\dmv.lua
automata\doggy.lua
automata\FF42D86B.lua
automata\FF7ECF10.lua
automata\FF823A6D.lua
automata\FFE6C952.lua
automata\FFED1389.lua
automata\FFFA8EF0.lua
automata\fire.lua
automata\fireworks_crowd.lua
automata\garbage.lua
automata\generators.lua
automata\hearse.lua
automata\icecream.lua
automata\jailbreak.lua
automata\kidcrowd.lua
automata\landmark_ogle.lua
automata\landmark_queue.lua
automata\maxis.lua
automata\mayorlimo.lua
automata\museum.lua
automata\my_sim_died.lua
automata\niteclub.lua
automata\nuclear.lua
automata\opera.lua
automata\pedestrians.lua
automata\police_stations.lua
automata\police_station_big.lua
automata\recycle.lua
automata\reward.lua
automata\riots.lua
automata\schools.lua
automata\schools_hs.lua
automata\simcrowd.lua
automata\stadium.lua
automata\statefair.lua
automata\strikers.lua
automata\Taxi.lua
automata\toxic.lua
automata\trains.lua
automata\tv_magnet.lua
automata\tv_station.lua
automata\vehicles.lua
automata\vip.lua
automata\watercraft.lua
automata\wildlife.lua
automata\worship.lua
automata\zoomanji.lua
automata\_config.lua
automata\_constants.lua
automata\_keycodes.lua
automata\_sfx.lua
automata\_system.lua
automata\_templates.lua

 

 

  • Like 8

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 
4 hours ago, Honolulu said:

The construction of the second part of the marina resulted in a complete redesign of the entrance to the walled city.....

Shot183.jpg.05e8fa1e0f6e7b88fd73bc48668bcbc7.jpg

Stunning!   Thank you for sharing screen shots of this masterpiece!  Very inspiring.

  • Like 2
  • Thanks 1

Share this post


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

@Honolulu hey now that looks fine. Now you just need to do the same for the road bridge. *:)

  • Like 4

I'll take a quiet life... A handshake of carbon monoxide.

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 
8 hours ago, Honolulu said:

Not having a clear idea of the difficulties encountered when creating a BAT, I don't know whether to continue learning, this time with Blender 4.2, or to give up for good.

Give up, are you kidding? Just imagine all the things you could make as a BATter, and let yourself be tempted *;)

  • Like 5

Share this post


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

The 20th and last transition:

Models100.jpg.dc74b5482219cb62dad565dda38b057e.jpg

Now all the models are ready for the upcoming pack. No ploppable version this time, sorry guys, these will need to be used with the LotPlop extracheat only. 

  • Like 8

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