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 Wed Apr 24, 2024 1:16 am
All times are UTC + 0
How to override the hardcoded Foundation= for GAPLUG
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [19 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
SeaMan
Man of the Sea


Joined: 07 Dec 2002
Location: Oulu, Finland

PostPosted: Mon Sep 01, 2003 11:39 am    Post subject:  How to override the hardcoded Foundation= for GAPLUG Reply with quote  Mark this post and the followings unread

In art.ini, find the GAPLUG entry and add Image= under it. Specify a building with different Foundation= than 2x3.

The rules entry for GAPLUG should have the same Image= tag you inserted in art.ini .

Example:

[GAPLUG]
Image=GARADR

GARADR is the GDI Communications Center/Radar.

_________________
Project Director of C4 Commando
C4 Commando's ModDb profile

Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger Account AIM Address
The DvD
TiberiumWeb.com Webmaster


Joined: 30 Dec 2002
Location: Netherlands

PostPosted: Mon Sep 01, 2003 1:14 pm    Post subject: Reply with quote  Mark this post and the followings unread

It might have to do with the IsPlug=yes tag in the rules.ini. It might specify where the add-on's should be placed (ion cannon, hunterseeker, drop pods)

Back to top
View user's profile Send private message Visit poster's website Skype Account
SeaMan
Man of the Sea


Joined: 07 Dec 2002
Location: Oulu, Finland

PostPosted: Mon Sep 01, 2003 3:00 pm    Post subject: Reply with quote  Mark this post and the followings unread

No... The game is hardcoded to to check if a structure called GAPLUG exists, and if so, it will have its Foundation= locked to 2x3.
Upgrade positions are specified with PowerUpNLocationX=.

_________________
Project Director of C4 Commando
C4 Commando's ModDb profile

Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger Account AIM Address
The DvD
TiberiumWeb.com Webmaster


Joined: 30 Dec 2002
Location: Netherlands

PostPosted: Mon Sep 01, 2003 6:37 pm    Post subject: Reply with quote  Mark this post and the followings unread

So what does the IsPlug=yes tag do then?

Back to top
View user's profile Send private message Visit poster's website Skype Account
hellfire
Commander


Joined: 09 Jan 2003
Location: Canada

PostPosted: Mon Sep 01, 2003 8:36 pm    Post subject: Reply with quote  Mark this post and the followings unread

I belive that was to show it is an upgrade for a building.

_________________

All hail me

Back to top
View user's profile Send private message Send e-mail Visit poster's website Skype Account Yahoo Messenger Account AIM Address
SMIFFGIG
General


Joined: 03 Mar 2003
Location: Great Britain

PostPosted: Mon Sep 01, 2003 10:18 pm    Post subject: Reply with quote  Mark this post and the followings unread

IsPlug is stated on the GAPLUG and not its plugins

Seaman im not sure if ive understood correctly but it sounds as if uve solved the problem, if so well done

_________________

Back to top
View user's profile Send private message Send e-mail Skype Account
The DvD
TiberiumWeb.com Webmaster


Joined: 30 Dec 2002
Location: Netherlands

PostPosted: Tue Sep 02, 2003 8:32 am    Post subject: Reply with quote  Mark this post and the followings unread

So what Seaman means, is that as soon as a building's internal name is GAPLUG, it will use 2x3 foundation no matter what art.ini entry is used?

Back to top
View user's profile Send private message Visit poster's website Skype Account
Mike
Commander


Joined: 11 Jan 2003
Location: Netherlands

PostPosted: Tue Sep 02, 2003 10:12 am    Post subject: Reply with quote  Mark this post and the followings unread

from what i understand yes

_________________
Please, read the signature rules of the forum.

Back to top
View user's profile Send private message Skype Account
SeaMan
Man of the Sea


Joined: 07 Dec 2002
Location: Oulu, Finland

PostPosted: Wed Sep 03, 2003 11:11 am    Post subject: Reply with quote  Mark this post and the followings unread

The DvD wrote:
So what does the IsPlug=yes tag do then?

AI targeting purposes, like IsTemple=yes

_________________
Project Director of C4 Commando
C4 Commando's ModDb profile

Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger Account AIM Address
SeaMan
Man of the Sea


Joined: 07 Dec 2002
Location: Oulu, Finland

PostPosted: Wed Sep 03, 2003 5:57 pm    Post subject: Reply with quote  Mark this post and the followings unread

SMIFFGIG wrote:

Seaman im not sure if ive understood correctly but it sounds as if uve solved the problem, if so well done


Play the tester map with latest version of TSR to see that the code works.

_________________
Project Director of C4 Commando
C4 Commando's ModDb profile

Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger Account AIM Address
SMIFFGIG
General


Joined: 03 Mar 2003
Location: Great Britain

PostPosted: Tue Sep 09, 2003 1:08 pm    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
Play the tester map with latest version of TSR to see that the code works.


When i get the computer and internet finally setup in the new house ill be able to do alot of things Wink

_________________

Back to top
View user's profile Send private message Send e-mail Skype Account
awrethien
Cyborg Firebomber


Joined: 01 Jan 2003
Location: You dont want to know.... Trust me.

PostPosted: Wed Sep 10, 2003 7:49 pm    Post subject: Reply with quote  Mark this post and the followings unread

Somethign I would like to ask is why not just name the building something else just to advoid the problem? To me that would seem alot easear.

_________________
No power is ever inherently good or evil.  It is how that power is used that determines if it is good or evil.

Back to top
View user's profile Send private message Send e-mail
The DvD
TiberiumWeb.com Webmaster


Joined: 30 Dec 2002
Location: Netherlands

PostPosted: Thu Sep 11, 2003 8:18 am    Post subject: Reply with quote  Mark this post and the followings unread

I don't think there really is a problem, but it's just an interesting observation.

Back to top
View user's profile Send private message Visit poster's website Skype Account
SMIFFGIG
General


Joined: 03 Mar 2003
Location: Great Britain

PostPosted: Thu Sep 11, 2003 9:14 am    Post subject: Reply with quote  Mark this post and the followings unread

I dont think you understand

IsPlug & the structure name GAPLUG are looked for in the .exe

which is unusual but as SeaMan has written can be transfered to other structure sizes

_________________

Back to top
View user's profile Send private message Send e-mail Skype Account
The DvD
TiberiumWeb.com Webmaster


Joined: 30 Dec 2002
Location: Netherlands

PostPosted: Thu Sep 11, 2003 7:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

Well than what's the problem you guys are having with it? You gonna change the upgrade center graphic orso?

Back to top
View user's profile Send private message Visit poster's website Skype Account
SeaMan
Man of the Sea


Joined: 07 Dec 2002
Location: Oulu, Finland

PostPosted: Thu Sep 11, 2003 7:14 pm    Post subject: Reply with quote  Mark this post and the followings unread

Yes... In TSR, GAPLUG is a clone of Comm Center.
This change was made for correcting the 10th Nod mission where you have to infiltrate Comm Centers, which are actually upgrade centers Confused

_________________
Project Director of C4 Commando
C4 Commando's ModDb profile

Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger Account AIM Address
awrethien
Cyborg Firebomber


Joined: 01 Jan 2003
Location: You dont want to know.... Trust me.

PostPosted: Thu Sep 11, 2003 7:27 pm    Post subject: Reply with quote  Mark this post and the followings unread

SeaMan wrote:
Yes... In TSR, GAPLUG is a clone of Comm Center.
This change was made for correcting the 10th Nod mission where you have to infiltrate Comm Centers, which are actually upgrade centers Confused


Ah now I see. That way you dont have to go back and edit thouse maps. Cool

_________________
No power is ever inherently good or evil.  It is how that power is used that determines if it is good or evil.

Back to top
View user's profile Send private message Send e-mail
The DvD
TiberiumWeb.com Webmaster


Joined: 30 Dec 2002
Location: Netherlands

PostPosted: Fri Sep 12, 2003 11:28 am    Post subject: Reply with quote  Mark this post and the followings unread

ok i understand it now

Back to top
View user's profile Send private message Visit poster's website Skype Account
Dragon Stein Cole
Grenadier


Joined: 25 Nov 2002
Location: Sutton, England

PostPosted: Fri Sep 12, 2003 12:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

a very useful find... well doney!!

Back to top
View user's profile Send private message Send e-mail Visit poster's website YouTube User URL Twitter Channel URL
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [19 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.1603s ][ Queries: 11 (0.0095s) ][ Debug on ]