Thread Rating:
- 2 Votes - 3 Average
- 1
- 2
- 3
- 4
- 5
|
Help. Remove Skyscraper Hotel limit
|
| Author |
Message |
Jackaaa
Newbie

Posts: 3
Joined: Jun 2012
|
Help. Remove Skyscraper Hotel limit
Hi to all,
(my English is not perfect because I do not speak English very well, excuse me if I do a little grammatical error  )
however,
I have a problem with the hotel Paradise, this problem was also in Tropico 3 but I thought with Tropico 4 had removed this problem.
Does anyone know if there is a possibility even with a mod or maybe manually editing some files to remove the limit of construction for this hotel?
![[Image: Skyscraper_Hotel.png]](http://images.wikia.com/tropico/images/4/49/Skyscraper_Hotel.png)
I'd like to build this Hotel a lot, not just 1 as set by the creators of the game,
Thanks to all who help me  !!!
|
|
| 04-06-2012 08:47 PM |
|
Jackaaa
Newbie

Posts: 3
Joined: Jun 2012
|
RE: Help. Remove Skyscraper Hotel limit
(05-06-2012 12:50 AM)Swixel Wrote:
Code:
SimpleMod = function()
g_Classes.SkyscraperHotel.unique = 0 -- Remove Limit
g_Classes.SkyscraperHotelModern.unique = false -- Remove limit
end
-- Only fire once
local FiredOnce = false
-- UA Set Mode
OnMsg.UASetMode = function(actions,mode)
-- Fire until fired once
if not FiredOnce then
-- If we boot, trip it ...
if(mode == "Boot") then
FiredOnce = true
-- Run the thread to bypass it
CreateRealTimeThread(function()
-- Do mod loading code here.
SimpleMod()
end)
end
end
end
Thank you Swixel!
But, how can I use this code? what should I modify?
Thank you a lot!
|
|
| 05-06-2012 12:32 PM |
|
PizzaVideos555
Junior Member
 
Posts: 11
Joined: May 2012
|
RE: Help. Remove Skyscraper Hotel limit
(05-06-2012 12:50 AM)Swixel Wrote:
Code:
SimpleMod = function()
g_Classes.SkyscraperHotel.unique = 0 -- Remove Limit
g_Classes.SkyscraperHotelModern.unique = false -- Remove limit
end
-- Only fire once
local FiredOnce = false
-- UA Set Mode
OnMsg.UASetMode = function(actions,mode)
-- Fire until fired once
if not FiredOnce then
-- If we boot, trip it ...
if(mode == "Boot") then
FiredOnce = true
-- Run the thread to bypass it
CreateRealTimeThread(function()
-- Do mod loading code here.
SimpleMod()
end)
end
end
end
How can you make the same thing but for other buildings? (I'm new to modding  )
(16-08-2012 09:39 PM)PizzaVideos555 Wrote: (05-06-2012 12:50 AM)Swixel Wrote:
Code:
SimpleMod = function()
g_Classes.SkyscraperHotel.unique = 0 -- Remove Limit
g_Classes.SkyscraperHotelModern.unique = false -- Remove limit
end
-- Only fire once
local FiredOnce = false
-- UA Set Mode
OnMsg.UASetMode = function(actions,mode)
-- Fire until fired once
if not FiredOnce then
-- If we boot, trip it ...
if(mode == "Boot") then
FiredOnce = true
-- Run the thread to bypass it
CreateRealTimeThread(function()
-- Do mod loading code here.
SimpleMod()
end)
end
end
end
How can you make the same thing but for other buildings? (I'm new to modding )
Nevermind, I did it myself!
|
|
| 16-08-2012 09:39 PM |
|
User(s) browsing this thread: 1 Guest(s)