:: 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 Mon Jul 06, 2020 5:46 am
All times are UTC + 0
 Forum index » Modding Central » Tiberian Sun Editing Forum
Structures not appearing in sidebar using custom game.exe
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [16 Posts] View previous topic :: View next topic
Author Message
A.Productions
Vehicle Drone


Joined: 17 Aug 2019

PostPosted: Thu Jun 18, 2020 6:16 pm    Post subject:  Structures not appearing in sidebar using custom game.exe Reply with quote

I was using the new ts patches from Github and I tried using a similar method from DTA to use different MCV's. Currently, four factions, everything spawns in correctly, however I cannot build any structures even though they have the same owner.


rules.ini
 Description:

Download
 Filename:  rules.ini
 Filesize:  273.98 KB
 Downloaded:  2 Time(s)


Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Thu Jun 18, 2020 6:40 pm    Post subject: Reply with quote

A.Productions wrote:
I cannot build any structures even though they have the same owner.

doesn't look like that to me

[Houses]
00=GDI
01=Nod
02=Enriched
03=Scrin
04=Neutral
05=Special

[ECONST]
Owner=Enriched

[MAPOWR]
Owner=MySide ???

searching for Owner=Enriched, you only find the mcv and the conyard. no other building has this Owner.
Same for Owner=Scrin.

So there is no chance for either of the new sides to show any building, since they have none.
_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

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


Joined: 28 May 2013

PostPosted: Fri Jun 19, 2020 1:34 am    Post subject: Reply with quote

I suppose you are trying the 2nd example from here. As LKO mentioned, you haven't replaced the MySide from the example to your new sides.

With buildconst_harvesterunit_baseunit.asm patch, you can avoid the spawner method for separate MCV and ConYards, for which the coding becomes similar to the first example. Just remember when using this patch, ActsLike number in maps shouldn't exceed the number of houses in rules. Better to use the updated FinalSun for TSClient from here.

Back to top
View user's profile Send private message
A.Productions
Vehicle Drone


Joined: 17 Aug 2019

PostPosted: Fri Jun 19, 2020 10:28 am    Post subject: Reply with quote

Well, I thought there was nothing wrong, however, even playing as Nod...


Game.exe Screenshot 2020.06.19 - 11.32.19.03.png
 Description:
 Filesize:  1.91 MB
 Viewed:  220 Time(s)

Game.exe Screenshot 2020.06.19 - 11.32.19.03.png



Back to top
View user's profile Send private message
A.Productions
Vehicle Drone


Joined: 17 Aug 2019

PostPosted: Fri Jun 19, 2020 10:30 am    Post subject: Reply with quote

It's only GDI that can place structures down and I have no idea why.

Back to top
View user's profile Send private message
A.Productions
Vehicle Drone


Joined: 17 Aug 2019

PostPosted: Fri Jun 19, 2020 10:48 am    Post subject: Reply with quote

Here's the updated rules:


rules.ini
 Description:

Download
 Filename:  rules.ini
 Filesize:  275.54 KB
 Downloaded:  1 Time(s)


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


Joined: 28 May 2013

PostPosted: Fri Jun 19, 2020 2:48 pm    Post subject: Reply with quote

There are additional files that need change, like in the example 2, the Bases
flag is set to no in INI file in resource folder. With your updated rules, can't say
whether you are using the spawner method for separate MCV or the newer
patch from AlexB. DTA mod uses the newer patch but the example 2 is for
spawner method only.

Back to top
View user's profile Send private message
A.Productions
Vehicle Drone


Joined: 17 Aug 2019

PostPosted: Sat Jun 20, 2020 2:38 pm    Post subject: Reply with quote

Ah well I assume I'm using a mixture of both. How would I be able to get it to work with just AlexB's patch?

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


Joined: 28 May 2013

PostPosted: Sat Jun 20, 2020 3:11 pm    Post subject: Reply with quote

As you mentioned that you are using ts-patches and compiling on your own,
compile the game.exe by including mods/buildconst_harvesterunit_baseunit.asm
patch in your tsclient.mk file.

It would be more simpler than the spawner method. You could use the
Example1 and build upon it by adding separate MCV and conyards.

Also you would need to put the side specific MCVs in HarvesterUnit flag as
you already did in your last rules.ini update.

Back to top
View user's profile Send private message
A.Productions
Vehicle Drone


Joined: 17 Aug 2019

PostPosted: Sat Jun 20, 2020 5:14 pm    Post subject: Reply with quote

So does that mean I do not need BLDCNSTU and BUILDCONST dummy entries then? I see that DTA's rules says that they're obsolete, so I can just remove them if they're not needed?

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


Joined: 28 May 2013

PostPosted: Sat Jun 20, 2020 5:19 pm    Post subject: Reply with quote

Yes.

Back to top
View user's profile Send private message
A.Productions
Vehicle Drone


Joined: 17 Aug 2019

PostPosted: Sat Jun 20, 2020 8:06 pm    Post subject: Reply with quote

Thank you.

Back to top
View user's profile Send private message
A.Productions
Vehicle Drone


Joined: 17 Aug 2019

PostPosted: Mon Jun 22, 2020 1:13 pm    Post subject: Reply with quote

Same thing happens even with the changes. I think it's an INI problem, but I have no idea where it is.

EDIT// I really need to get Nod to start building again. They don't think they have any structures they can build, even though everything's organised correctly.


rules.ini
 Description:

Download
 Filename:  rules.ini
 Filesize:  275.08 KB
 Downloaded:  1 Time(s)


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


Joined: 28 May 2013

PostPosted: Mon Jun 22, 2020 3:04 pm    Post subject: Reply with quote

Did minor changes to rules in a few minutes, attaching. If this doesn't work,
problem may be somewhere else.


rules.zip
 Description:

Download
 Filename:  rules.zip
 Filesize:  54.27 KB
 Downloaded:  1 Time(s)


Back to top
View user's profile Send private message
A.Productions
Vehicle Drone


Joined: 17 Aug 2019

PostPosted: Mon Jun 22, 2020 4:59 pm    Post subject: Reply with quote

Testing.

Back to top
View user's profile Send private message
A.Productions
Vehicle Drone


Joined: 17 Aug 2019

PostPosted: Mon Jun 22, 2020 5:02 pm    Post subject: Reply with quote

The problem is somewhere else it seems. I'll provide you with a link later so that you can download the mod. I am gonna rest for a bit.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [16 Posts] 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.4893s ][ Queries: 13 (0.1645s) ][ Debug on ]