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 Mon Apr 22, 2024 3:41 pm
All times are UTC + 0
Why is the structure version of the core defender not sellable despite having a buildup animation?
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [7 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
w20adm
Vehicle Drone


Joined: 02 Mar 2019

PostPosted: Fri Mar 01, 2024 3:54 am    Post subject:  Why is the structure version of the core defender not sellable despite having a buildup animation? Reply with quote  Mark this post and the followings unread

I thought it didn't have one at first, but checking the art.ini it's DDEFDMK, but it won't sell :/.....

Back to top
View user's profile Send private message
w20adm
Vehicle Drone


Joined: 02 Mar 2019

PostPosted: Sat Mar 02, 2024 2:49 am    Post subject: Reply with quote  Mark this post and the followings unread

Also, does anyone know how to make light posts switch off at low power? The powered=yes doesn't work Sad

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


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sat Mar 02, 2024 8:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

w20adm wrote:
I thought it didn't have one at first, but checking the art.ini it's DDEFDMK, but it won't sell :/.....

The same reason why you can't sell a deployed tick tank or a deployed artillery.
The deployer key IsCoreDefender=yes, TickTank=yes etc which links unit and building prevents that.

w20adm wrote:
Also, does anyone know how to make light posts switch off at low power? The powered=yes doesn't work Sad

Powered=yes works only if the building actually uses power, which the light posts don't.
Try with Power=1 or higher.

_________________
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
w20adm
Vehicle Drone


Joined: 02 Mar 2019

PostPosted: Sun Mar 03, 2024 1:35 am    Post subject: Reply with quote  Mark this post and the followings unread

Lin Kuei Ominae wrote:
w20adm wrote:
I thought it didn't have one at first, but checking the art.ini it's DDEFDMK, but it won't sell :/.....

The same reason why you can't sell a deployed tick tank or a deployed artillery.
The deployer key IsCoreDefender=yes, TickTank=yes etc which links unit and building prevents that.

So will changing IsCoreDefender to no make ot sellable?

w20adm wrote:
Also, does anyone know how to make light posts switch off at low power? The powered=yes doesn't work Sad

Powered=yes works only if the building actually uses power, which the light posts don't.
Try with Power=1 or higher.


And I have done this. Power set to -1 (so it uses power rather than gives it) and it still won't switch off on low power. I can use the power off function to turn it off but the light remains on when base goes to low power.

Back to top
View user's profile Send private message
w20adm
Vehicle Drone


Joined: 02 Mar 2019

PostPosted: Mon Mar 04, 2024 2:06 am    Post subject: Reply with quote  Mark this post and the followings unread

I've tried iscoredefender=no and tried to up the power drain of my light posts to see if they'll turn off on low power but neither has worked Sad. What else could be at play here to make it not work?

Back to top
View user's profile Send private message
djohe
Cyborg Informer


Joined: 07 May 2006
Location: Sweden, Gothenburg

PostPosted: Mon Apr 01, 2024 8:25 am    Post subject: Reply with quote  Mark this post and the followings unread

Lin Kuei Ominae wrote:
w20adm wrote:
I thought it didn't have one at first, but checking the art.ini it's DDEFDMK, but it won't sell :/.....

The same reason why you can't sell a deployed tick tank or a deployed artillery.
The deployer key IsCoreDefender=yes, TickTank=yes etc which links unit and building prevents that.

w20adm wrote:
Also, does anyone know how to make light posts switch off at low power? The powered=yes doesn't work Sad

Powered=yes works only if the building actually uses power, which the light posts don't.
Try with Power=1 or higher.

You forgot that this is a Tiberian Sun oversight, light emitting buildings are unaffected by low power as seen here https://github.com/Vinifera-Developers/Vinifera/issues/871

w20adm wrote:
I've tried iscoredefender=no and tried to up the power drain of my light posts to see if they'll turn off on low power but neither has worked Sad. What else could be at play here to make it not work?
the game is case sensitive, you can not write or mix upper and lower case letters in the way you wrote, it is IsCoreDefender= not iscoredefender=, I recommend you copy already existing lines in the .ini files if you do not know how something is supposed to be written instead of just manually writing it.

Back to top
View user's profile Send private message
w20adm
Vehicle Drone


Joined: 02 Mar 2019

PostPosted: Thu Apr 04, 2024 11:36 pm    Post subject: Reply with quote  Mark this post and the followings unread

djohe wrote:
Lin Kuei Ominae wrote:
w20adm wrote:
I thought it didn't have one at first, but checking the art.ini it's DDEFDMK, but it won't sell :/.....

The same reason why you can't sell a deployed tick tank or a deployed artillery.
The deployer key IsCoreDefender=yes, TickTank=yes etc which links unit and building prevents that.

w20adm wrote:
Also, does anyone know how to make light posts switch off at low power? The powered=yes doesn't work Sad

Powered=yes works only if the building actually uses power, which the light posts don't.
Try with Power=1 or higher.

You forgot that this is a Tiberian Sun oversight, light emitting buildings are unaffected by low power as seen here https://github.com/Vinifera-Developers/Vinifera/issues/871

w20adm wrote:
I've tried iscoredefender=no and tried to up the power drain of my light posts to see if they'll turn off on low power but neither has worked Sad. What else could be at play here to make it not work?
the game is case sensitive, you can not write or mix upper and lower case letters in the way you wrote, it is IsCoreDefender= not iscoredefender=, I recommend you copy already existing lines in the .ini files if you do not know how something is supposed to be written instead of just manually writing it.


Sorry just to be clear, how I wrote it here was just a for instance. On the ini file the case sensitive letters follow what's already there.

And is that github post just pointing out the issue? Or is there a fix?

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