:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::

Do you want to advertise at Project Perfect Mod. Find out how to do it HERE.

The time now is Sat Jan 28, 2023 2:26 pm
All times are UTC + 0
 Forum index » Modding Central » Tiberian Sun Editing Forum
Question on patching TS
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
NickHavocParker
Civilian


Joined: 28 Dec 2022

PostPosted: Wed Dec 28, 2022 7:05 pm    Post subject:  Question on patching TS Reply with quote  Mark this post and the followings unread

Hi guys! I'm new here and I had a question for y'all. I was trying to implement a building that gives credits periodically (like the oil derricks from RA2) but buildable by a faction rather than having to capture them. I found several oil derrick tutorials in the Tutorial Factory and in the bottom of "Oil Derricks in TS (New Way)", I came across this:

Crimsonum wrote:
This thread is obsolete. CnCNet has a patch that makes Oil Derricks possible like in RA2, without complex workarounds. All you need to do is to compile a new game.exe with this patch enabled.

Instructions can be found here.


I followed the links, and found the .asm file, but when I follow the instructions in the readme, the resulting game.exe gives the error "Please run the game client."

Crimsonum wrote:

Assuming you're using the TS client, you need to list the patch in the TS client's makefile (src -> mods -> tsclient -> tsclient.mk) before compiling. Once you've compiled the new exe, replace your existing TS game.exe with it, then simply add the flag ProduceCashAmount to every building you want to act as an Oil Derrick. For example:
Code:

[CAOIL]
ProduceCashAmount=30 ;gives 30 credits every 180 frames (12 seconds on default speed)


I also have no idea where the src directory is, nor how to compile a game.exe. Any help would be appreciated!

Back to top
View user's profile Send private message
E1 Elite
Commander


Joined: 28 May 2013

PostPosted: Thu Dec 29, 2022 2:08 am    Post subject: Reply with quote  Mark this post and the followings unread

Latest TSClient already has the oil derrick patch.
Link -
https://ppmforums.com/post-608151/tiberian-sun-client/#608151

Back to top
View user's profile Send private message
NickHavocParker
Civilian


Joined: 28 Dec 2022

PostPosted: Thu Dec 29, 2022 7:25 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thank you very much!

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
 Forum index » Modding Central » Tiberian Sun Editing Forum
Jump to:  
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1583s ][ Queries: 11 (0.0084s) ][ Debug on ]