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


The time now is Thu Apr 18, 2024 11:06 am
All times are UTC + 0
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
General


Joined: 28 May 2013

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


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
 
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.1555s ][ Queries: 11 (0.0114s) ][ Debug on ]