Increase limits

Ideas and suggestions for how to improve the Warzone 2100 base game only. Ideas for mods go in Mapping/Modding instead. Read sticky posts first!
User avatar
Black NEXUS
Trained
Trained
Posts: 100
Joined: 12 Sep 2009, 14:11
Location: Germany

Increase limits

Post by Black NEXUS »

Hiho,

I have no desire to slow as Mod-Developer more! The limitations of the research, buildings and their results are far too low! How shall I develop a reasonable modification? I would like to retain the original data and add my own, but that's not really, because the limitations are too low.

I wonder at all, why are kept so low. Is there any explanation?
Join NeoX-Virt - The Software-Forge on neox-virt.de
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: Increase limits

Post by Zarel »

The limits were instated by Pumpkin because of performance limitations.

They really aren't necessary these days, but it's a good upper bound - too much game complexity simply isn't fun. :/
User avatar
Black NEXUS
Trained
Trained
Posts: 100
Joined: 12 Sep 2009, 14:11
Location: Germany

Re: Increase limits

Post by Black NEXUS »

Yes ok, it must be a limit to give, but it can not be earlier?
Let's take the building, which can be added as results that are all 4, if not something new comes. Us there is not much space, we need more, even if it's only 20, but it must simply be more and do anywhere!
Join NeoX-Virt - The Software-Forge on neox-virt.de
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: Increase limits

Post by Zarel »

...um... I'm used to bad English, but I really couldn't understand that.

Can you write in German?
User avatar
Black NEXUS
Trained
Trained
Posts: 100
Joined: 12 Sep 2009, 14:11
Location: Germany

Re: Increase limits

Post by Black NEXUS »

Ok, than in german:
Wir als Modder haben ein großes Problem mit den Begrenzungen. Es sind ja beispielsweise bei den Gebäuderesultaten nich mal mehr Platz für 5 neue Gebäude. Wir haben keinen Spielraum, müssten anderes entfernen, was aber gerade ich nicht möchte. Die orginalen Daten sind mir schon wichtig, ich möchte mehr anhängen, aber bestehendes nicht überschreiben.
Was ist daran so schlimm, die Grenzen überall um mindesten 20 zu erhöhen? Klar muss irgendwann auch einmal schluss sein, aber sollen wir als Modder alles zerstören?

Hoffe dies ist jetzt verständlich genug. Ich kann es selber auch ändern, aber dann müsste jeder meine Version besitzen...
Join NeoX-Virt - The Software-Forge on neox-virt.de
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: Increase limits

Post by Zarel »

There are a lot of buildings that aren't being used, aren't there? Collective and Nexus buildings, for instance. Can you just overwrite those?
User avatar
Black NEXUS
Trained
Trained
Posts: 100
Joined: 12 Sep 2009, 14:11
Location: Germany

Re: Increase limits

Post by Black NEXUS »

You're right, and there is a mp-mod is, there should be no problems with the sp.

Only then at least these limits must be raised:
Structure results
Components results
Researches
Structures


Is this possible?

When it comes to increase to twenty. Then some others would definitely be satisfied.
Join NeoX-Virt - The Software-Forge on neox-virt.de
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: Increase limits

Post by Zarel »

Black NEXUS wrote:You're right, and there is a mp-mod is, there should be no problems with the sp.

Only then at least these limits must be raised:
Structure results
Components results
Researches
Structures


Is this possible?

When it comes to increase to twenty. Then some others would definitely be satisfied.
There are quite a few research topics that are no longer used, too... And we recently raised one of the limits from 450 to 500, I think.

The other limits do deserve to be raised. I'll see what I can do.
dannystrube

Re: Increase limits

Post by dannystrube »

ahem, what limits are you ppl talking about? i am confused :/ it makes no sense what u peeps are writing......:(
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: Increase limits

Post by Zarel »

dannystrube wrote:ahem, what limits are you ppl talking about? i am confused :/ it makes no sense what u peeps are writing......:(
Mod limits. They're used for writing mods. :P
User avatar
Black NEXUS
Trained
Trained
Posts: 100
Joined: 12 Sep 2009, 14:11
Location: Germany

Re: Increase limits

Post by Black NEXUS »

Ok, here is the actual code from the research.c:

Code: Select all

#define MAX_RESEARCH_STRUCT_PR      (44 + 5)
#define MAX_RESEARCH_FUNC           (250 + 25)
#define MAX_RESEARCH_STRUCT_RED     (30 + 2)
#define MAX_RESEARCH_ARTE_RED       (40 + 5)
#define MAX_RESEARCH_STRUCT_RES     (84 + 5)
#define MAX_RESEARCH_ARTE_RES       (125 + 5)
By now it should be clear what I mean ;)
Join NeoX-Virt - The Software-Forge on neox-virt.de
User avatar
Black NEXUS
Trained
Trained
Posts: 100
Joined: 12 Sep 2009, 14:11
Location: Germany

Re: Increase limits

Post by Black NEXUS »

How it looks now, it is done, or do I do that alone?
Can I send an SVN-Patch, which is then taken over? I need this change is really urgent!

Edit:
I have uploaded my SVN-Patch.
You do not have the required permissions to view the files attached to this post.
Join NeoX-Virt - The Software-Forge on neox-virt.de
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: Increase limits

Post by cybersphinx »

User avatar
Black NEXUS
Trained
Trained
Posts: 100
Joined: 12 Sep 2009, 14:11
Location: Germany

Re: Increase limits

Post by Black NEXUS »

Big THX!!! ;)
Join NeoX-Virt - The Software-Forge on neox-virt.de