IPB

Welcome Guest ( Log In | Register )


> #0001 -- ThirdSide And More...
SeekSomethingNew
post Jul 28 2009, 05:33 PM
Post #1

Stealth Tank
Group Icon

Group: Members
Posts: 1,025
Joined: 31-October 06
Member No.: 208
Alliance: GDI
Favorite game: Tiberian Sun



HyperPatch Development Discussion #0001

Alright, first discussion topic of the sub forum!


Topic Theme: Adding full support for more than two houses into the game engine.

Ok then, now how should i go about coding this up? Remember this includes everything that is house related, Loading Screens, Sidebars, EVA Speech and so on. There are many ways to do so, but i want to hear what works best for the modders themselfs! smile.gif

Remember to think simple, while try to expanded as many hardcoded problems as we can. I can add new INI keys to HouseTypes, so if you wish, you can suggest a full list of keys to be definable on the HouseType in the INI.

Have fun and remember, its just a game at the end of the day, dont take it too seriously!

Basically anything goes here, as long as your polite and respectful to peoples views and to myself, i wont take action towards you like deleting your posts or even getting you banned from the Tiberium Web forums itself if it has to come to that. I want to lay them rules down in the first post, and i hope people stick to this.

-Hyper

This post has been edited by CCHyper: Aug 3 2009, 12:12 AM


--------------------
Go to the top of the page
 
: | +Quote Post
 
Start new topic
Replies
SeekSomethingNew
post Jul 31 2009, 11:30 AM
Post #2

Stealth Tank
Group Icon

Group: Members
Posts: 1,025
Joined: 31-October 06
Member No.: 208
Alliance: GDI
Favorite game: Tiberian Sun



QUOTE (Bittah Commander @ Jul 30 2009, 05:49 PM) *
On a side-note, would it be possible to make it so that when a helipad has HoverPad=yes and the aircraft that comes with it has a build limit, the helipad can't be built when the build limit of the aircraft has been reached? Adding a build limit to the helipad as well would be useless, since then the player would just be able to keep building and selling the helipad to get as many of the aircraft that come with it as he wants, regardless of the build limit.

So like, the house can only have a certain number of the free AircraftType, say 10, and then when the player builds that helipad after 10, it comes with no free AircraftType?


QUOTE (Bittah Commander @ Jul 30 2009, 05:49 PM) *
Also, I just did a quick test on the house controls; they all work flawlessly smile.gif

Thats good news, thanks!


QUOTE (Bittah Commander @ Jul 30 2009, 05:49 PM) *
I noticed something else however... Apparently PadAircraft (even though it only uses the first unit specified) needs to have at least 2 aircraft specified, or the game will crash as soon as you click to build the helipad on the sidebar.
Attached except.txt just in case Hyper gets curious.

Well, i never had that problem, and that internal error you get is inside BuildingTypeClass::Raw_Cost(), in the area where it gets the PadAircraft= entrys cost. Could you test this more for me please?


QUOTE (Lin Kuei Ominae @ Jul 30 2009, 10:53 PM) *
I'm so glad that my beloved tibweb is more active again. Thanks Hyper, for doing this research here. smile.gif

No problem, i plan on making this forum more active, spread the word, we need input! For the future of HyperPatch!


QUOTE (Lin Kuei Ominae @ Jul 30 2009, 10:53 PM) *
One thing we really need when new sides/subfactions work, is a key which works the other way round as prerequisite and forbids to build something, when one object in the specified list is present for this player.

BuildingType.NegativePrerequisite=NATMPL

in this case, if you have already a temple you can't build the thing where this is set.
This would make it possible to forbid Nod to build the MMKII even if it has everything necessary.

I like how people have accepted the new style of keys ^^

Anyways, Prerequisites are a very sticky logic, quite a lot of code. WW changed the code so much between the last true TS patch and the release of Firestorm, of course the PrerequisiteNodFactory etc...

But ill keep looking at it.


QUOTE (Lin Kuei Ominae @ Jul 30 2009, 10:53 PM) *
In this context it might be also useful to add the Ra2 key ForbiddenHouses=, so you can make one object completely unbuildable for certain houses.

The Ra2 TechnoType key PrerequisiteOverride would be useful too, as we have only a very limited number of the global PrerequisiteGroups like PrerequisitePower and these are the only way to achieve an "OR" conjunction, while Prerequisite itself is an "AND" conjunction. However it would be of course useful to have more of the PrerequisiteGroups too like...

PrerequisiteGroup1= to PrerequisiteGroup9= ;9 should be enough imo as you don't have so many different types of buildings like powerplants ,factories. Then you can assign the group on a unit /building with Prerequisite=GDIFactory,PrereqGroup1, Especially when new sides are fully working, would this be useful for e.g. a group of all refineries, all helipads, all shipyards etc

Well tongue.gif

ForbiddenHouses= might be possible, but again, i really dont know yet how all that works...

This post has been edited by CCHyper: Jul 31 2009, 04:41 PM


--------------------
Go to the top of the page
 
: | +Quote Post

Posts in this topic
- CCHyper   #0001 -- ThirdSide And More...   Jul 28 2009, 05:33 PM
- - Aro   I'm not entirely sure on what to say as I...   Jul 28 2009, 05:42 PM
- - CCHyper   Well, allowing sidebars for a infinite amount of h...   Jul 28 2009, 05:48 PM
- - Bittah Commander   In my opinion the most practical way to do this wo...   Jul 28 2009, 06:16 PM
- - Python   A new mod ... excellent! Can't wait to ...   Jul 28 2009, 06:26 PM
- - CCHyper   Python, its not a mod HyperPatch is unofficial p...   Jul 28 2009, 06:52 PM
- - Python   Ah I see.   Jul 28 2009, 06:56 PM
- - Team Black   this is a good idea. Personally I think side-speci...   Jul 28 2009, 09:16 PM
- - Aro   A simple tag for the .ini files to specify a certa...   Jul 29 2009, 01:04 AM
|- - ^Rampastein   I agree with Bittah, making it work like it alread...   Jul 29 2009, 09:17 AM
|- - Lin Kuei Ominae   Bittah's Idea to expand the Houses and move so...   Jul 29 2009, 01:50 PM
- - CCHyper   QUOTE (Bittah Commander @ Jul 28 2009, 07...   Jul 29 2009, 02:20 PM
|- - ^Rampastein   QUOTE (CCHyper @ Jul 29 2009, 05:20 PM) T...   Jul 29 2009, 03:41 PM
|- - Bittah Commander   QUOTE (CCHyper @ Jul 29 2009, 04:20 PM) H...   Jul 29 2009, 07:23 PM
|- - Lin Kuei Ominae   QUOTE (CCHyper @ Jul 29 2009, 02:20 PM) H...   Jul 29 2009, 10:16 PM
|- - ^Rampastein   QUOTE (Lin Kuei Ominae @ Jul 30 2009, 01...   Jul 30 2009, 06:23 AM
- - CCHyper   QUOTE (^Rampastein @ Jul 29 2009, 04:41 P...   Jul 29 2009, 07:12 PM
- - CCHyper   Ill add support for 768 only, any higher and the c...   Jul 29 2009, 09:04 PM
- - Orac   Oh shi- this is all beautiful.   Jul 30 2009, 05:31 AM
- - Bittah Commander   Yes, it works... But it doesn't just affect th...   Jul 30 2009, 10:21 AM
- - CCHyper   QUOTE (Lin Kuei Ominae @ Jul 29 2009, 11...   Jul 30 2009, 01:19 PM
|- - Lin Kuei Ominae   QUOTE (CCHyper @ Jul 30 2009, 02:19 PM) D...   Jul 30 2009, 03:06 PM
- - Bittah Commander   Dock= only assigns a preferred docking building, b...   Jul 30 2009, 02:59 PM
- - CCHyper   QUOTE (Bittah Commander @ Jul 30 2009, 03...   Jul 30 2009, 04:24 PM
- - Bittah Commander   On a side-note, would it be possible to make it so...   Jul 30 2009, 04:49 PM
|- - Lin Kuei Ominae   I'm so glad that my beloved tibweb is more act...   Jul 30 2009, 09:53 PM
- - Bittah Commander   QUOTE (CCHyper @ Jul 31 2009, 01:30 PM) S...   Jul 31 2009, 02:31 PM
- - CCHyper   QUOTE (Bittah Commander @ Jul 31 2009, 03...   Jul 31 2009, 04:43 PM
- - Dubzac   i think this stuff above is fantastic. but try and...   Aug 14 2009, 10:25 PM


Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 12th May 2025 - 04:39 PM


XGhozt.com