Difference between revisions of "9 Wonders Tutorial"
m (Text replacement - "http://www.twcenter.net" to "https://www.twcenter.net") |
m (rtw template) |
||
Line 1: | Line 1: | ||
+ | {{RTW Modding Logo}} | ||
==Summary== | ==Summary== | ||
Ever wanted to add Stonehenge (ala Arthurian TW) to the game, or some other wonder and not lose any of the default 7 well you're in luck. Here's a quick and dirty guide to adding two extra wonders to the game. This is the wiki version of the tutorial found at [https://www.twcenter.net/forums/showthread.php?t=199249 9 World Wonders Tutorial]. | Ever wanted to add Stonehenge (ala Arthurian TW) to the game, or some other wonder and not lose any of the default 7 well you're in luck. Here's a quick and dirty guide to adding two extra wonders to the game. This is the wiki version of the tutorial found at [https://www.twcenter.net/forums/showthread.php?t=199249 9 World Wonders Tutorial]. |
Revision as of 11:04, 19 May 2020
Contents
Summary
Ever wanted to add Stonehenge (ala Arthurian TW) to the game, or some other wonder and not lose any of the default 7 well you're in luck. Here's a quick and dirty guide to adding two extra wonders to the game. This is the wiki version of the tutorial found at 9 World Wonders Tutorial.
Background
I was fixing various sound problems with RS1.5 and came across the following code in descr_sounds_stratmap.txt:
what landmark wonder temple, statue, pyramids_and_sphinx, mausoleum, pharos, colossus, stonehenge, barge, gardens event folder data/sounds/SFX/Environment/Structures end
Since this code didn't cause the engine to bark, it got me thinking if the engine recognizes stonehenge and barge here, where else? Gotthard, another coder on the RS team had suggested the exe seemed to allow for 9 wonders.
So with this in mind I decided to see if I could add extra wonders into the game. Here's what you need to add:
text\landmarks.txt
{stonehenge_title} Title {stonehenge_short_descr} Short Description {stonehenge_long_descr} Long Description {stonehenge_effects} Effects Description {barge_title} Title {barge_short_descr} Short Description {barge_long_descr} Long Description {barge_effects} Effects Description
descr_offmap_models.txt
change the model entries for stonehenge and barge to wonder_stonehenge.cas and wonder_barge.cas (they can probably be named anything)
descr_sm_landmarks.txt
add new entries for barge and stonehenge, update information to be similar to the other entries in the file
descr_strat.txt
More information on descr_strat.txt
In the landmark section add the co-ordinates for stonehenge and barge
landmark stonehenge X1, Y1 landmark barge X2, Y2
Models
The models (wonder_stonehenge.cas and wonder_barge.cas) should be placed in the models_strat folder
Textures
The textures for the models should be placed in the models_strat/textures folder
Addendum
The exact bonuses for the wonders is not known at this time.