Looking for a new Research Center Gadget

Looking for a new Research Center Gadget

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
Senna
Posts: 315
Joined: 17 Mar 2009, 00:20

Looking for a new Research Center Gadget

Post by Senna »

i post this:

GRES(14,0,0);

00 ERES(2,10000,3000,5,3,RES_ED_WCH1,NULL,1,EDWCH1,0,0,1);
01 ERES(2,10000,3000,5,3,RES_ED_WCH2,NULL,1,EDWCH2,0,1,0,2);
02 ERES(2,10000,3000,5,4,RES_ED_WCA1,NULL,1,EDWCA1,1,0,3);
03 ERES(2,10000,3000,5,4,RES_ED_WCA2,NULL,1,EDWCA2,1,1,2,4);
04 ERES(2,10000,5000,10,7,RES_ED_WHC1,NULL,1,EDWHC1,1,1,3,5);
05 ERES(2,10000,5000,10,5,RES_ED_WHC2,NULL,1,EDWHC2,1,1,4,6);
06 ERES(2,10000,7000,10,14,RES_ED_WART,NULL,1,EDWART,1,1,5,7);
07 ERES(2,10000,10000,10,17,RES_ED_LRL,NULL,1,EDWLRL,1,1,25,8);
08 ERES(2,10000,3000,5,4,RES_ED_WSR1,NULL,1,EDWSR1,0,0,9);
09 ERES(2,10000,3000,5,4,RES_ED_WSR2,NULL,1,EDWSR2,0,1,8,10);
10 ERES(2,10000,3000,5,4,RES_ED_WSR3,NULL,1,EDWSR3,0,1,9,11);
11 ERES(2,10000,3000,5,4,RES_ED_ASR1,NULL,1,EDWAR1,0,1,8,12);
12 ERES(2,10000,3000,5,4,RES_ED_ASR2,NULL,1,EDWAR2,0,1,11,13);
13 ERES(2,10000,3000,5,4,RES_ED_UST1,NULL,0,EDUST1,1,0,0);

This is a hack data from the game earth2150, and uses the same excell system, wich is easy to add stuff or modify etc.
if we look at the list GRES is a building Research center wich enable the list , the number 14 inside ( means the number of research list that ERES want to search, then we look at this

(2,10000,3000,5,3,RES_ED_WCH1,NULL,1,EDWCH1,0,0,1);

the number 2 is the side wich u want that research, the numbers 10.000 and 3.000 is the energy and metal u want them to be researched, the number 5 is the time [in minutes] u want this research to be done, the RES_ED_WCH1 is the unit fbi u want to be researched.
the number 1 betwen NULL and EDWCH1 is the command list where u want the research appear, in units, weapons, ammo or special, the EDWCH1 is the picture u want to appear on research.

Now comes the most important part that were u want the research be located before or after what u want to.

the first number 0 means the size of the picture, EDWCH1 the second and third numbers are very important

00 ERES(2,10000,3000,5,3,RES_ED_WCH1,NULL,1,EDWCH1,0,0,1);
01 ERES(2,10000,3000,5,3,RES_ED_WCH2,NULL,1,EDWCH2,0,1,0,2);
02 ERES(2,10000,3000,5,4,RES_ED_WCA1,NULL,1,EDWCA1,1,0,3);
03 ERES(2,10000,3000,5,4,RES_ED_WCA2,NULL,1,EDWCA2,1,1,2,4);
04 ERES(2,10000,5000,10,7,RES_ED_WHC1,NULL,1,EDWHC1,1,1,3,5);
05 ERES(2,10000,5000,10,5,RES_ED_WHC2,NULL,1,EDWHC2,1,1,4,6);
06 ERES(2,10000,7000,10,14,RES_ED_WART,NULL,1,EDWART,1,1,5,7)

as we see the second line EDWCH2 it has 4 terminal numbers instead of 3. the last number is the ID of the research 1 it has ID 0 2 it has 1 , 3 it has 2 etc.. the second number after EDWCH2 is 1, means that ID need other ID before that start researching and where to locate that EDWCH2? well thats the third number does wich is 0 so the EDWCH2 is located after EDWCH1. lets see the third line on EDWCA1. the second number after that is 0, means that ID start being researched from scratch
now we look four line after EDWCA2 its located after EDWCA1
EDWHC1 is located after EDWCA2, EDWHC2 after EDWHC1 and EDWART after EDWHC2

Each ID done gets enabled on factory, if it has an upgrade the old unit disapear and get upgraded by new.

Im looking for a research gadget close like this pls if someone can would be a great help
Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

Re: Looking for a new Research Center Gadget

Post by Super Mario »

Is this for tech annihilation.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Looking for a new Research Center Gadget

Post by smoth »

I would never write a research config like that, it would be a nightmare to maintain.
Senna
Posts: 315
Joined: 17 Mar 2009, 00:20

Re: Looking for a new Research Center Gadget

Post by Senna »

Super Mario wrote:Is this for tech annihilation.
no is not for Tech Annihilation, its for a new mod gameplay im designing
Senna
Posts: 315
Joined: 17 Mar 2009, 00:20

Re: Looking for a new Research Center Gadget

Post by Senna »

smoth wrote:I would never write a research config like that, it would be a nightmare to maintain.
Why? :(
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Looking for a new Research Center Gadget

Post by smoth »

Why woul I not?

Or

Why is it a nightmare to maintain?
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Looking for a new Research Center Gadget

Post by knorke »

I think this is the only tech gadget that is really c&p-able:
http://springrts.com/phpbb/viewtopic.php?f=23&t=20680
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7049
Joined: 16 Nov 2004, 13:08

Re: Looking for a new Research Center Gadget

Post by zwzsg »

I think Senna knows of them.

But I've grown tired of him asking me to help him improve them because he feigns trying to learn Lua when he's just tricking me into getting so irritated I end up writing everything myself.

I mean, first I'd rather spend my evenings coding for Cursed/GRTS/EvoRTS/etc.. than for a smallish *A mod. But mostly, I feel fooled when I realise he keeps asking me tons of questions about my code not because he's trying to understand it, but because he's working on exhausting me until I give up explaining down to the numbest details and just type the damn thing.

While the version 5 & 6 of my tech gadget are complex and very hard to understand, the version 1, 2, 3 were intentionnaly left simple and clear enough that people should be able to get the idea of how they work and modify them to suit their own need.

So, while I could provide limited support on advanced version of my tech gadget, there's got to be some point at which you're supposed to realise that opening the file in Notepad++ and staring at the ~80 lines inside until you grok will prove more beneficial on the long term.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Looking for a new Research Center Gadget

Post by smoth »

senna trolls you into helping him LOL
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7049
Joined: 16 Nov 2004, 13:08

Re: Looking for a new Research Center Gadget

Post by zwzsg »

The sad thing is that it worked for so long. :cry:
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Looking for a new Research Center Gadget

Post by smoth »

Happens. At least you don't know me IRL. I troll constantly in IRL.. man that is a shame, I could have so much done in gundam if I knew you IRL..
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Looking for a new Research Center Gadget

Post by Forboding Angel »

Senna, use z's tech gadget. You can do just about anything with it.
zwzsg wrote:The sad thing is that it worked for so long. :cry:
Gah, what a jerk.


WRT to tech gadget, did you ever fix the "taking away" tech? As in, this area gives +10 weebles, but this structure takes away -6 weebles, leaving a total of 4 weebles available?
Senna
Posts: 315
Joined: 17 Mar 2009, 00:20

Re: Looking for a new Research Center Gadget

Post by Senna »

Forboding Angel wrote:Senna, use z's tech gadget. You can do just about anything with it.
The tech gadgets from Zwzsg are good but they cannot do that, they enable disable stuff by building stuff but wont make a res tree
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Looking for a new Research Center Gadget

Post by Forboding Angel »

You most certainly can make a research tree out of it. Use your brain.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Looking for a new Research Center Gadget

Post by smoth »

Senna wrote:The tech gadgets from Zwzsg are good but they cannot do that, they enable disable stuff by building stuff but wont make a res tree
*snicker*
Image
Post Reply

Return to “Game Development”