Resource objects

Having problems with AMRTS? Having problems with your Computer?
Post Reply
User avatar
Petas
Map Maker
Map Maker
Posts: 563
Joined: Tue Jan 06, 2015 1:34 pm
Location: Czech Republic
Contact:
Czech Republic

Resource objects

Post by Petas »

Hi I have a problem
when I have the map object resource watergun
dumptruck and want to benefit watergun but goes into the midst of mine resource megarobo
How can I resolve that it benefited both at once? :PB

_______________________Code Game________________________
//////////////////////////////////////////////////////////////////////////
//
// Copyright 1998-2000 Pandemic Studios
//
// Code-Generated Configuration File
//

RuleSet("protect");

WorldInfo()
{
CellMapX(148);
CellMapZ(148);
MiniMapRotation(315.000000);
}

Environment()
{
Rain();

Light()
{
CycleTime(600.000000);
CurrentTime(0.892857);
LastTime(0.892857);
StartTime(0.892857);
DayStartTime(0.250000);
DayEndTime(0.750000);
SunriseStartTime(0.200000);
SunriseEndTime(0.300000);
SunsetStartTime(0.700000);
SunsetEndTime(0.800000);

Colors()
{
Add()
{
Fraction(0.500000);
Ambient(0, 0, 0, 255);
Sun(255, 255, 255, 255);
Fog(0, 0, 0, 255);
}
}
}

Time()
{
Day(1);
Month(1);
Year(2000);
}
}

DefineTeams()
{
CreateTeam("Team 7", 6)
{
Color(0, 0, 0);

Relations()
{
With("Team 7", "Ally");
With("Team 6", "Neutral");
With("Team 5", "Neutral");
With("Team 4", "Neutral");
With("Team 3", "Neutral");
With("Team 2", "Neutral");
With("Team 1", "Neutral");
With("Team 8", "Neutral");
}

DefaultClient(0);
AvailablePlay(1);
HasStats(1);
PermanentRadar(0);
RequireAI(0);
Side("army");
SideFixed(0);

Objectives()
{
ReaperId(26);
ReaperId(27);
ReaperId(28);
}

StartRegion(25);
StartPoint(0.921776, 0.085437);
StartYaw(0.000000);
Personality("None");
PainCurrentCluster(0);
UniqueScriptId(0);
ResourceStore(0);

Storage()
{
Add("Plastic", 2000);
Add("Electricity", 800);
}
}

CreateTeam("Team 6", 5)
{
Color(0, 0, 0);

Relations()
{
With("Team 7", "Neutral");
With("Team 6", "Ally");
With("Team 5", "Neutral");
With("Team 4", "Neutral");
With("Team 3", "Neutral");
With("Team 2", "Neutral");
With("Team 1", "Neutral");
With("Team 8", "Neutral");
}

DefaultClient(0);
AvailablePlay(1);
HasStats(1);
PermanentRadar(0);
RequireAI(0);
Side("army");
SideFixed(0);

Objectives()
{
ReaperId(22);
ReaperId(23);
ReaperId(24);
}

StartRegion(21);
StartPoint(0.105155, 0.096818);
StartYaw(0.000000);
Personality("None");
PainCurrentCluster(0);
UniqueScriptId(0);
ResourceStore(0);

Storage()
{
Add("Plastic", 2000);
Add("Electricity", 800);
}
}

CreateTeam("Team 5", 4)
{
Color(0, 0, 0);

Relations()
{
With("Team 7", "Neutral");
With("Team 6", "Neutral");
With("Team 5", "Ally");
With("Team 4", "Neutral");
With("Team 3", "Neutral");
With("Team 2", "Neutral");
With("Team 1", "Neutral");
With("Team 8", "Neutral");
}

DefaultClient(0);
AvailablePlay(1);
HasStats(1);
PermanentRadar(0);
RequireAI(0);
Side("army");
SideFixed(0);

Objectives()
{
ReaperId(18);
ReaperId(19);
ReaperId(20);
}

StartRegion(17);
StartPoint(0.066241, 0.095347);
StartYaw(0.000000);
Personality("None");
PainCurrentCluster(0);
UniqueScriptId(0);
ResourceStore(0);

Storage()
{
Add("Plastic", 2000);
Add("Electricity", 800);
}
}

CreateTeam("Team 4", 3)
{
Color(0, 0, 0);

Relations()
{
With("Team 7", "Neutral");
With("Team 6", "Neutral");
With("Team 5", "Neutral");
With("Team 4", "Ally");
With("Team 3", "Neutral");
With("Team 2", "Neutral");
With("Team 1", "Neutral");
With("Team 8", "Neutral");
}

DefaultClient(0);
AvailablePlay(1);
HasStats(1);
PermanentRadar(0);
RequireAI(0);
Side("army");
SideFixed(0);

Objectives()
{
ReaperId(14);
ReaperId(15);
ReaperId(16);
}

StartRegion(13);
StartPoint(0.103525, 0.883947);
StartYaw(0.000000);
Personality("None");
PainCurrentCluster(0);
UniqueScriptId(0);
ResourceStore(0);

Storage()
{
Add("Plastic", 2000);
Add("Electricity", 800);
}
}

CreateTeam("Team 3", 2)
{
Color(0, 0, 0);

Relations()
{
With("Team 7", "Neutral");
With("Team 6", "Neutral");
With("Team 5", "Neutral");
With("Team 4", "Neutral");
With("Team 3", "Ally");
With("Team 2", "Neutral");
With("Team 1", "Neutral");
With("Team 8", "Neutral");
}

DefaultClient(0);
AvailablePlay(1);
HasStats(1);
PermanentRadar(0);
RequireAI(0);
Side("army");
SideFixed(0);

Objectives()
{
ReaperId(10);
ReaperId(11);
ReaperId(12);
}

StartRegion(9);
StartPoint(0.062441, 0.881369);
StartYaw(0.000000);
Personality("None");
PainCurrentCluster(0);
UniqueScriptId(0);
ResourceStore(0);

Storage()
{
Add("Plastic", 2000);
Add("Electricity", 800);
}
}

CreateTeam("Team 2", 1)
{
Color(0, 0, 0);

Relations()
{
With("Team 7", "Neutral");
With("Team 6", "Neutral");
With("Team 5", "Neutral");
With("Team 4", "Neutral");
With("Team 3", "Neutral");
With("Team 2", "Ally");
With("Team 1", "Neutral");
With("Team 8", "Neutral");
}

DefaultClient(0);
AvailablePlay(1);
HasStats(1);
PermanentRadar(0);
RequireAI(0);
Side("army");
SideFixed(0);

Objectives()
{
ReaperId(6);
ReaperId(7);
ReaperId(8);
}

StartRegion(5);
StartPoint(0.881545, 0.870852);
StartYaw(0.000000);
Personality("None");
PainCurrentCluster(0);
UniqueScriptId(0);
ResourceStore(0);

Storage()
{
Add("Plastic", 2000);
Add("Electricity", 800);
}
}

CreateTeam("Team 1", 0)
{
Color(0, 0, 0);

Relations()
{
With("Team 7", "Neutral");
With("Team 6", "Neutral");
With("Team 5", "Neutral");
With("Team 4", "Neutral");
With("Team 3", "Neutral");
With("Team 2", "Neutral");
With("Team 1", "Ally");
With("Team 8", "Neutral");
}

DefaultClient(1);
AvailablePlay(1);
HasStats(1);
PermanentRadar(0);
RequireAI(0);
Side("army");
SideFixed(0);

Objectives()
{
ReaperId(2);
ReaperId(3);
ReaperId(4);
}

StartRegion(1);
StartPoint(0.937751, 0.870743);
StartYaw(0.000000);
Personality("None");
PainCurrentCluster(0);
UniqueScriptId(0);
ResourceStore(0);

Storage()
{
Add("Plastic", 2000);
Add("Electricity", 800);
}
}

CreateTeam("Team 8", 7)
{
Color(0, 0, 0);

Relations()
{
With("Team 7", "Neutral");
With("Team 6", "Neutral");
With("Team 5", "Neutral");
With("Team 4", "Neutral");
With("Team 3", "Neutral");
With("Team 2", "Neutral");
With("Team 1", "Neutral");
With("Team 8", "Ally");
}

DefaultClient(0);
AvailablePlay(1);
HasStats(1);
PermanentRadar(0);
RequireAI(0);
Side("army");
SideFixed(0);

Objectives()
{
ReaperId(30);
ReaperId(31);
ReaperId(32);
}

StartRegion(29);
StartPoint(0.874610, 0.084640);
StartYaw(0.000000);
Personality("None");
PainCurrentCluster(0);
UniqueScriptId(0);
ResourceStore(0);

Storage()
{
Add("Plastic", 2000);
Add("Electricity", 800);
}
}
}

World("Attic");
Camera();

Physics()
{
Gravity(9.800000);
}

MissionVar();
I'm not saying I have good maps and that I'm a great player. I'm giving into that the most of my time.
WebSite https://petasv.wixsite.com/petasvideos
Youtube : https://www.youtube.com/PetasVideosTV
GameRanger ID 5603072
DISCORD ID : PetasVideosTV#9499
User avatar
TommyCD1
Moderator
Moderator
Posts: 1143
Joined: Tue Jun 04, 2013 8:55 am
Location: East Coast
Contact:
United States of America

Re: Resource objects

Post by TommyCD1 »

:?

If you are trying to get the watergun to appear ingame, you need to open "types.cfg" and add this line:

#include "obj_resource_watergun.cfg"

If this is not the problem, then please explain yourself more. The error is not in game.cfg.
I may not make the best maps, or be the best player, but I put a lot of time, effort, and care into my stuff. That counts for something, right? No.
Image
"Can we order a pizza?"
GameRanger ID: 913974
User avatar
Petas
Map Maker
Map Maker
Posts: 563
Joined: Tue Jan 06, 2015 1:34 pm
Location: Czech Republic
Contact:
Czech Republic

Re: Resource objects

Post by Petas »

TommyCD1 wrote::?

If you are trying to get the watergun to appear ingame, you need to open "types.cfg" and add this line:

#include "obj_resource_watergun.cfg"

If this is not the problem, then please explain yourself more. The error is not in game.cfg.
I have it all.
dumptruck but does not want to suck the plastic of the objects
I'm not saying I have good maps and that I'm a great player. I'm giving into that the most of my time.
WebSite https://petasv.wixsite.com/petasvideos
Youtube : https://www.youtube.com/PetasVideosTV
GameRanger ID 5603072
DISCORD ID : PetasVideosTV#9499
User avatar
TommyCD1
Moderator
Moderator
Posts: 1143
Joined: Tue Jun 04, 2013 8:55 am
Location: East Coast
Contact:
United States of America

Re: Resource objects

Post by TommyCD1 »

Can you post the config of the dumptruck and the config of the resource?
I may not make the best maps, or be the best player, but I put a lot of time, effort, and care into my stuff. That counts for something, right? No.
Image
"Can we order a pizza?"
GameRanger ID: 913974
User avatar
Petas
Map Maker
Map Maker
Posts: 563
Joined: Tue Jan 06, 2015 1:34 pm
Location: Czech Republic
Contact:
Czech Republic

Re: Resource objects

Post by Petas »

TommyCD1 wrote:Can you post the config of the dumptruck and the config of the resource?
After all it is exactly the same as when you unpack the file base.x
I'm not saying I have good maps and that I'm a great player. I'm giving into that the most of my time.
WebSite https://petasv.wixsite.com/petasvideos
Youtube : https://www.youtube.com/PetasVideosTV
GameRanger ID 5603072
DISCORD ID : PetasVideosTV#9499
User avatar
TommyCD1
Moderator
Moderator
Posts: 1143
Joined: Tue Jun 04, 2013 8:55 am
Location: East Coast
Contact:
United States of America

Re: Resource objects

Post by TommyCD1 »

Very strange. Maybe try and make sure that the resource is zipped?

CreateObject("resource.watergun", 35)
{
MapObj()
{
HitPoints(0.000000);

Position()
{
Pos(388.000000, -26.564827, 88.000000);
Right(1.000000, 0.000000, 0.000000);
Up(0.000000, 1.000000, 0.000000);
Front(0.000000, 0.000000, 1.000000);
}

Zip();
}
}

Also, I'm sorry if I'm asking for too much, but do you think you can try and be more specific about it, or even post from screenshots and stuff?

I really have no idea what's going on here and I'll need to see it for myself. :?
I may not make the best maps, or be the best player, but I put a lot of time, effort, and care into my stuff. That counts for something, right? No.
Image
"Can we order a pizza?"
GameRanger ID: 913974
User avatar
Petas
Map Maker
Map Maker
Posts: 563
Joined: Tue Jan 06, 2015 1:34 pm
Location: Czech Republic
Contact:
Czech Republic

Re: Resource objects

Post by Petas »

TommyCD1 wrote:Very strange. Maybe try and make sure that the resource is zipped?

CreateObject("resource.watergun", 35)
{
MapObj()
{
HitPoints(0.000000);

Position()
{
Pos(388.000000, -26.564827, 88.000000);
Right(1.000000, 0.000000, 0.000000);
Up(0.000000, 1.000000, 0.000000);
Front(0.000000, 0.000000, 1.000000);
}

Zip();
}
}

Also, I'm sorry if I'm asking for too much, but do you think you can try and be more specific about it, or even post from screenshots and stuff?

I really have no idea what's going on here and I'll need to see it for myself. :?
Pictures can not be used because it could not be.
Nothing less if this error would not go correct map would have to be extinguished and will be deleted
__________
Makes 8 snowy train will soon be here on the forum.
I'm not saying I have good maps and that I'm a great player. I'm giving into that the most of my time.
WebSite https://petasv.wixsite.com/petasvideos
Youtube : https://www.youtube.com/PetasVideosTV
GameRanger ID 5603072
DISCORD ID : PetasVideosTV#9499
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests