View topic - Starting a mod, need a workaround.



All times are UTC + 1 hour


Post new topic Reply to topic  [ 19 posts ] 
Author Message
PostPosted: 23 Feb 2007, 00:01 

Joined: 01 Feb 2007, 00:58
Location: God only knows where.
The principal behind my mod idea was that each side can't extract res, but instead one or multiple unbuildable units slowly generate linear res (or exponentially for a quicker ending, say ^1.03). This way one player can't overpower the rest because everyone is working with the same res, and the dude who lost almost everything can still afford to throw up L3 later in the game.

I was thinking some COB/BOS <-> LUA stuff, but it's not integrated yet so, no.

Any workarounds? I can't have any of the unit scripts or FBI relate to say, the clock variable, or something else, and the LUA scripting is still rather unstable.

Possibly something related to .atm? A script that slowly gives more and more res on the .atm method? But would that show on the +-counter?

I want to use non-TA units, but is it worth the effort and time? I can model, from exp in engineering classes, but nothing fancy. I sure as hell can't animate though, Servo any use?

Limited ammo, ammunition factories, and ammo transports was another idea, but I need to see if my first thought is possible. As well as units manufactured in seperate parts, and assembled elsewhere for 'custom' units, but that would require some fancy scripting to get seperate units to function as one.

I think that's all my questions for now.
Thnx

Edit:
Found this somewhere on the forums:
"
.editdefs 1
/luaui setudef armcom radarRange 400
.cheat 1
.give armcom
"
But you need to make a new unit for it to be in effect, and it usually crashes.


Top
 Offline Profile  
 
 Post subject:
PostPosted: 23 Feb 2007, 00:41 
Expand & Exterminate Developer
User avatar

Joined: 22 Nov 2005, 22:58
Location: My Relationship with Spring is complicated!
someone else can correct me, but I do not believe it is possible through script or otherwise to increase the amount of metal/energy something gives as the game progresses. It might be possible through LUA GUI however I am not sure..

My only suggestion would be to have this structure be able to duplicate itself for a very small cost, and have it take a set time to build.. so that basically when the game starts you tell it to Quenue up a bunch of itself around itself and then as time elapses it finishes these and increase your resource amount at a roughly linear rate. Im sure this is not what you want but at the moment it is not possible to upgrade stuff.. as cool as that would be..

Hope that ismarginally helpful..


Top
 Offline Profile  
 
 Post subject:
PostPosted: 23 Feb 2007, 00:49 

Joined: 01 Feb 2007, 00:58
Location: God only knows where.
Quote:
Possibly something related to .atm? A script that slowly gives more and more res on the .atm method? But would that show on the +-counter?

The duplicate thing is possible, but rather ridiculous.


Top
 Offline Profile  
 
 Post subject:
PostPosted: 23 Feb 2007, 02:22 
Expand & Exterminate Developer
User avatar

Joined: 22 Nov 2005, 22:58
Location: My Relationship with Spring is complicated!
you could possibly have the LUA GUI do a .atm style setup at certain intervals, however Im not positive on the workings of that. ATM the idea I suggested is the only one I can think of as being possible, However I would hold out to see if anyone else with alternative information shows up..


Top
 Offline Profile  
 
 Post subject:
PostPosted: 23 Feb 2007, 07:21 
Game Developer
User avatar

Joined: 25 Jun 2006, 07:44
Location: Germany
Ammo is perfectly feasible, problem is that since inter-unit communication is lacking you can't make transports, the units that withdraw from the transport can only see that a transport exists, not if it's loaded and they can't tell it how much they are withdrawing. An idea I had for that was to make the ammo carrier a plane with limited fuel but giving out ininite ammo as long as it's in the area.

Oh and of course the unit AI isn't aware of the ammo and the GUI can't show the remaining ammo.


Top
 Offline Profile  
 
 Post subject:
PostPosted: 23 Feb 2007, 13:07 
BT: Legacy & Spring 1944 Developer

Joined: 21 Sep 2004, 07:25
Location: Needlessly hostile.
It's not all that ridiculous. Either that or don't have gradually increasing resources.


Top
 Offline Profile  
 
 Post subject:
PostPosted: 24 Feb 2007, 01:46 

Joined: 01 Feb 2007, 00:58
Location: God only knows where.
I want linear res for my mod, I'm trying to eliminate one of the lamest advantages, simply being able to afford more cr*p than the other guy. After that the ammo and custom units would just be cool.

Is there any way to make LUA automatically .atm at intervals? Possibly in a unit script? How?

After that I can worry about attempting any thing else.

:-) Someone replied to my stupid questions! yay!


Top
 Offline Profile  
 
 Post subject:
PostPosted: 24 Feb 2007, 01:54 
Malcontent
User avatar

Joined: 27 Feb 2006, 22:04
Location: Hurrrrrr.
Hmmm...you could also make metal makers stackable (each is a mobile unit with 0 maxvelocity, and they each can transport one other on top of itself).


Top
 Offline Profile  
 
 Post subject:
PostPosted: 24 Feb 2007, 02:33 

Joined: 01 Feb 2007, 00:58
Location: God only knows where.
But with metal makers you can still produce more res by controlling more patches.


Top
 Offline Profile  
 
 Post subject:
PostPosted: 24 Feb 2007, 03:21 
Expand & Exterminate Developer
User avatar

Joined: 22 Nov 2005, 22:58
Location: My Relationship with Spring is complicated!
no...


Top
 Offline Profile  
 
 Post subject:
PostPosted: 24 Feb 2007, 06:17 
Zero-K Developer

Joined: 28 Nov 2006, 13:22
If you want a linear workaround thats not hard.

Have a factory (limit 1, or just make it the commander) that builds resource producing units. Put it on repeat.

Making a transport to keep them inside so they dont clutter up the space isnt such a bad idea either. Make it a transport of infinite size that can only hold these resource-producing units, and stick the carrying point under the ground (Like land sea and hover transports do currently).

Clean, neat, and the transport can lift them out of the factory as soon as they are built.

All you need to do is make the factory create a builder and a transport, put the builder to work, put the transport and factory on repeat, give the transport a 'load area' order on the factory, and make the factory produce these resource producing units.

Thats probably the tidiest way to do it, but isnt exactly elegant.


Top
 Offline Profile  
 
 Post subject:
PostPosted: 24 Feb 2007, 06:36 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
Limited res.

1 mex limited to 1. no con assist. so people cannot circumvent build times.

boom.


Top
 Offline Profile  
 
 Post subject:
PostPosted: 24 Feb 2007, 07:09 

Joined: 01 Feb 2007, 00:58
Location: God only knows where.
Trying the stackable res units.

Anyway to reload the FBI values in game? Could set FBI Res gen to Comm health. That'd be interesting. Have to get the comm exp to get more res. Probably won't work, but I wont know unless I can reload the FBI in game.

How does the exp increase the unit max health? That's an FBI variable. Could tweak something around that do directly edit other FBI vars. I'd have to edit the source though... I think...

Thanks for the help so far.


Top
 Offline Profile  
 
 Post subject:
PostPosted: 24 Feb 2007, 07:36 
Game Developer
User avatar

Joined: 25 Jun 2006, 07:44
Location: Germany
smoth wrote:
Limited res.

1 mex limited to 1. no con assist. so people cannot circumvent build times.

boom.


No con assist is bugged, if all cons are outside of build range (i.e. have to move closer) when you give the build order they'll happily work together on one construction.

El Idiot wrote:
Trying the stackable res units.

Anyway to reload the FBI values in game? Could set FBI Res gen to Comm health. That'd be interesting. Have to get the comm exp to get more res. Probably won't work, but I wont know unless I can reload the FBI in game.

How does the exp increase the unit max health? That's an FBI variable. Could tweak something around that do directly edit other FBI vars. I'd have to edit the source though... I think...

Thanks for the help so far.


Experience is hardcoded to act as a multiplier in the relevant functions. The FBI values cannot be changed at runtime.


Top
 Offline Profile  
 
 Post subject:
PostPosted: 24 Feb 2007, 07:50 

Joined: 01 Feb 2007, 00:58
Location: God only knows where.
Quote:
No con assist is bugged


Well I suppose that's it then. Dang, just blew 30 minutes testing the stacked idea.

Eh. Oh well, it was a pretty crazy idea anyway.

You sure there's no way to script a .atm function at intervals?


Top
 Offline Profile  
 
 Post subject:
PostPosted: 24 Feb 2007, 08:00 
Game Developer
User avatar

Joined: 25 Jun 2006, 07:44
Location: Germany
No assist willl prevent assisting with a factory but it won't prevent assisting with a building.


Top
 Offline Profile  
 
 Post subject:
PostPosted: 24 Feb 2007, 08:06 

Joined: 01 Feb 2007, 00:58
Location: God only knows where.
Any particular mod I could start off of that no one would care if I did? I don't feel like spending my week making it from scratch.



So I can have the stackable res built by a factory. That works. Any way to limit the max # of buildings in the mod file itself? Otherwise you could keep building more factories, and there goes the point.

EDIT: Oh, wait, Com factory, like NOTA. It works I guess.

Well I'll make a tweaked XTA then and see how it turns out.

Thanks for the help.
Yay! I've been edjamacated!:P


Top
 Offline Profile  
 
 Post subject:
PostPosted: 24 Feb 2007, 08:33 
Game Developer
User avatar

Joined: 25 Jun 2006, 07:44
Location: Germany
There's a tag that puts a hard limit on a unit, don't ask me what it's called though. The Gundam fbi files should teach you.


Top
 Offline Profile  
 
 Post subject:
PostPosted: 24 Feb 2007, 09:49 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
You can look at gundam but it is not open for people to make varients. I permit no one to modify or take parts out of it. Just wanted to put that out there.

This is the tag that limits units:


Quote:
UnitRestricted=6;

In this case you can only build 6 of a unit.


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.