Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

Limiting LasSat #1227

Closed
wzdev-ci opened this issue Dec 16, 2009 · 6 comments
Closed

Limiting LasSat #1227

wzdev-ci opened this issue Dec 16, 2009 · 6 comments

Comments

@wzdev-ci
Copy link
Contributor

keyword_LasSat resolution_fixed type_patch (an actual patch, not a request for one) | by 13KukYNexus666


I would be good to have that option.
I made it now.

Changes:

In "multilim.slo"

public	STRUCTURESTAT		factory;				
public	STRUCTURESTAT		oilDerrick;		
public	STRUCTURESTAT		powerGen;		
public	STRUCTURESTAT		research;
public	STRUCTURESTAT		comdroid;
public	STRUCTURESTAT		cybfac;
public	STRUCTURESTAT		repair;
public	STRUCTURESTAT		vtolfact;
public	STRUCTURESTAT		vtolpad;
public	STRUCTURESTAT		lassat;

event initialisedEvent(init)
{
	setStructureLimits(factory,	5,	0);
	setStructureLimits(oilDerrick,	30,	0);
	setStructureLimits(powerGen,	10, 	0);
	setStructureLimits(research,	5, 	0);
	setStructureLimits(comdroid,	1, 	0);
	setStructureLimits(cybfac,	5, 	0);
	setStructureLimits(repair,	5, 	0);
	setStructureLimits(vtolfact,	5, 	0);
	setStructureLimits(vtolpad,	50,	0);
	setStructureLimits(lassat,	1,	0);

}

In "multilim.vlo"

script "multilim.slo"
run
{

//structures

factory			STRUCTURESTAT		"A0LightFactory"
oilDerrick		STRUCTURESTAT		"A0ResourceExtractor"
powerGen		STRUCTURESTAT		"A0PowerGenerator"
research		STRUCTURESTAT		"A0ResearchFacility"
comdroid		STRUCTURESTAT		"A0ComDroidControl"
cybfac			STRUCTURESTAT		"A0CyborgFactory"
repair			STRUCTURESTAT		"A0RepairCentre3"
vtolfact		STRUCTURESTAT		"A0VTolFactory1"
vtolpad			STRUCTURESTAT		"A0VtolPad"
lassat		STRUCTURESTAT		"A0LasSatCommand"	
}

Issue migrated from trac:1227 at 2022-04-15 20:15:53 -0700

@wzdev-ci
Copy link
Contributor Author

Zarel commented


In http://forums.wz2100.net/viewtopic.php?f=30&t=3645
13KukYNexus666 wrote:

Ability to limit (ie turn off) the lassat from the building limits dialog.
I did it in #1227

...you know, you're terrible at following instructions. The post says in bold, read, at the top and the bottom, not to post in the thread unless you have a suggestion for a new FPI.

That said, changing the default limit is not the same thing as making it adjustable in the limits dialog...

@wzdev-ci
Copy link
Contributor Author

13KukYNexus666 commented


It can be adjusted in limits menu...
This is it in mod form:
http://forums.wz2100.net/download/file.php?id=5107
Try it.

@wzdev-ci
Copy link
Contributor Author

Buginator changed status from new to closed

@wzdev-ci
Copy link
Contributor Author

Buginator set resolution to fixed

@wzdev-ci
Copy link
Contributor Author

Buginator commented


Applied in [8729]

@wzdev-ci
Copy link
Contributor Author

Buginator commented


(In [8730]) Add the laser satellite to the limits screen.

fixes #1227
Patch by 13KukYNexus666

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant