[3.1] Ultimate Scavenger AI Mod

Did you create a mod, map, music, or a tool? Present them here and earn feedback!
Note: addon requests do not belong here.
Note, everything uploaded to this forum, MUST have a license!
Swagmaster Bandit
Greenhorn
Posts: 9
Joined: 14 Dec 2014, 03:35
Location: Brazil

Re: [3.1] Ultimate Scavenger AI Mod

Post by Swagmaster Bandit »

So... 1.17 RC5... For what version of Warzone 2100 is it? If it's for different ones, could you point me towards the most stable one?

Sorry for asking, I can't PM the person that is updating it, so I will ask here instead. :/
User avatar
Berserk Cyborg
Code contributor
Code contributor
Posts: 938
Joined: 26 Sep 2016, 19:56

Re: [3.1] Ultimate Scavenger AI Mod

Post by Berserk Cyborg »

Swagmaster Bandit wrote: 21 Jan 2019, 23:28 So... 1.17 RC5... For what version of Warzone 2100 is it? If it's for different ones, could you point me towards the most stable one?

Sorry for asking, I can't PM the person that is updating it, so I will ask here instead. :/
That one is was an experiment and, in my opinion, too unfair. If you are on 3.2.3 then rc4 will work (viewtopic.php?f=49&t=9182&start=465#p137969). 3.1 version is at http://addons.wz2100.net/148.
Swagmaster Bandit
Greenhorn
Posts: 9
Joined: 14 Dec 2014, 03:35
Location: Brazil

Re: [3.1] Ultimate Scavenger AI Mod

Post by Swagmaster Bandit »

Thank you mate! Hope this mod continues being developed, I would dream to see Scavenger Infantry being spammed at me in very large groups. :)
cRiMiNaL
Rookie
Rookie
Posts: 21
Joined: 31 Jan 2019, 10:46

Re: [3.1] Ultimate Scavenger AI Mod

Post by cRiMiNaL »

Using on 3.23
Tested RC5, extreme lag
Some constant error about a droid of some sort
Testing RC4...
A little lag, not unbearable
Also changed skirmish name to Nexus as one post on here said to
Love this mod, I have a map perfect for it, fun trying to keep scavs off of you, it's a challenge
Had to remake the map to start out with a fortress though :lol2: :lol2: :lol2:
Swagmaster Bandit
Greenhorn
Posts: 9
Joined: 14 Dec 2014, 03:35
Location: Brazil

Re: [3.1] Ultimate Scavenger AI Mod

Post by Swagmaster Bandit »

Hey, is there anyway to remove the blue building beam from trucks? It triggers seizures in my friend, and he really loves RTS games so I want to present WZ2100 to him. I think the Scavenger Construction Vehicles also have that.
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: [3.1] Ultimate Scavenger AI Mod

Post by Berg »

I think by removing the effect from the pie files it would remove it visually
I will look at finding this.
So far i have found that the body pie name is trmcom.pie
At this stage i also note it has no connectors therefore for I will continue looking for the effect.
It seems there is no effect it is code generated.

Code: Select all

	/* Time to update the frame number on the construction sprite */
	if (graphicsTime - psEffect->lastFrame > psEffect->frameDelay)
	{
		psEffect->lastFrame = graphicsTime;
		pos.x = (psEffect->position.x + ((rand() % psEffect->radius) - (rand() % (2 * psEffect->radius))));
		pos.z = (psEffect->position.z + ((rand() % psEffect->radius) - (rand() % (2 * psEffect->radius))));

		// Effect is off map, no need to update it anymore
		if (!worldOnMap(pos.x, pos.z))
		{
			return false;
		}

		pos.y = map_Height(pos.x, pos.z);

		if (psEffect->type == FIRE_TYPE_SMOKY_BLUE)
		{
			addEffect(&pos, EFFECT_EXPLOSION, EXPLOSION_TYPE_FLAMETHROWER, false, nullptr, 0);
		}
		else
		{
			addEffect(&pos, EFFECT_EXPLOSION, EXPLOSION_TYPE_SMALL, false, nullptr, 0);
		}

		if (psEffect->type == FIRE_TYPE_SMOKY || psEffect->type == FIRE_TYPE_SMOKY_BLUE)
		{
			pos.x = (psEffect->position.x + ((rand() % psEffect->radius / 2) - (rand() % (2 * psEffect->radius / 2))));
			pos.z = (psEffect->position.z + ((rand() % psEffect->radius / 2) - (rand() % (2 * psEffect->radius / 2))));
			pos.y = map_Height(pos.x, pos.z);
			addEffect(&pos, EFFECT_SMOKE, SMOKE_TYPE_DRIFTING_HIGH, false, nullptr, 0);
		}
		else
		{
			pos.x = (psEffect->position.x + ((rand() % psEffect->radius) - (rand() % (2 * psEffect->radius))));
			pos.z = (psEffect->position.z + ((rand() % psEffect->radius) - (rand() % (2 * psEffect->radius))));

			// Effect is off map, no need to update it anymore
			if (!worldOnMap(pos.x, pos.z))
			{
				return false;
			}

			pos.y = map_Height(pos.x, pos.z);
			addEffect(&pos, EFFECT_EXPLOSION, EXPLOSION_TYPE_SMALL, false, nullptr, 0);
		}

		/*
		pos.x = psEffect->position.x;
		pos.y = psEffect->position.y;
		pos.z = psEffect->position.z;

		scatter.x = psEffect->radius; scatter.y = 0; scatter.z = psEffect->radius;
		addMultiEffect(&pos,&scatter,EFFECT_EXPLOSION,EXPLOSION_TYPE_SMALL,false,NULL,2,0,0);
		*/

	}

	if (graphicsTime - psEffect->birthTime > psEffect->lifeSpan)
	{
		return false;
	}
	return true;
}
This is in effects.cpp starting at line 1235.
As i do not code you will have to either remove this effect yourself and recompile or ask one of the game devs to make you a special version you can play with your friend.
Do note you might find only the same games with this code change can work together.
dantedante673
New user
Posts: 4
Joined: 15 Jun 2019, 15:53

Re: [3.1] Ultimate Scavenger AI Mod

Post by dantedante673 »

NoQ there is any way to use labs, cyborg fabs or build advanced defenses by Scavs in skirmish? If I will "give" those labs and fabs to them? Or to produce by them any regular "in game" units apart of those funny buses and tractors?
User avatar
Galacticruler
Rookie
Rookie
Posts: 19
Joined: 19 Oct 2012, 02:14
Location: Look behind you.

Re: [3.1] Ultimate Scavenger AI Mod

Post by Galacticruler »

Is there an up to date version for 3.3.0 or plans to bring it up to date with that version?
User avatar
Berserk Cyborg
Code contributor
Code contributor
Posts: 938
Joined: 26 Sep 2016, 19:56

Re: [3.1] Ultimate Scavenger AI Mod

Post by Berserk Cyborg »

Galacticruler wrote: 05 Sep 2019, 16:21 Is there an up to date version for 3.3.0 or plans to bring it up to date with that version?
Yep. I have the version compatible with 3.3. The choppers look buggy though.

Does anyone know how to fix the PIE models for the choppers? It used to be the weapons didn't appear at all, but since I last worked on ultimate scavengers somehow the weapons are showing up again... and they are displaced.
ultimatescavs-1-17.wz
(531.24 KiB) Downloaded 283 times
scavChoppers.png
scavChoppers.png (428.48 KiB) Viewed 22246 times
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: [3.1] Ultimate Scavenger AI Mod

Post by Berg »

I edited the 2 choppers I don't know if they work please try and feedback.
chippers.tar.xz
Piefileschoppers.
(4.63 KiB) Downloaded 416 times
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: [3.1] Ultimate Scavenger AI Mod

Post by Berg »

chopper2.png
chopper2.png (95.14 KiB) Viewed 22220 times
User avatar
Berserk Cyborg
Code contributor
Code contributor
Posts: 938
Joined: 26 Sep 2016, 19:56

Re: [3.1] Ultimate Scavenger AI Mod

Post by Berserk Cyborg »

Helicopters look good, thanks! I just saw something is wrong with multiple turret truck now. It's second and third turrets are missing and replaced with boxes O_o . I know it used to work before.
truck.png
truck.png (64.53 KiB) Viewed 22212 times
ultimatescavs-1-17.wz
(531.22 KiB) Downloaded 278 times
Attachments
truck.png
truck.png (64.53 KiB) Viewed 22212 times
MIH-XTC
Trained
Trained
Posts: 368
Joined: 31 Jan 2014, 07:06

Re: [3.1] Ultimate Scavenger AI Mod

Post by MIH-XTC »

^^ that might be a stats issue. In bodies.json there is weaponSlots attribute and in EB mod I don't have any bodies with weaponSlots = 3.

I can't look into it at the moment but just throwing that out there. I'm not sure what the weaponSlots are set in Ult Scavs mod.

It also might be an issue in templates.json if there isn't 3 weapons specified for that template.
User avatar
Berserk Cyborg
Code contributor
Code contributor
Posts: 938
Joined: 26 Sep 2016, 19:56

Re: [3.1] Ultimate Scavenger AI Mod

Post by Berserk Cyborg »

MIH-XTC wrote: 06 Sep 2019, 03:24 ^^ that might be a stats issue. In bodies.json there is weaponSlots attribute and in EB mod I don't have any bodies with weaponSlots = 3.
That was it. It was set to 1 so I set it to 3 and the weapons showed up.
ultimatescavs-1-17.wz
For version 3.3.0+
(531.26 KiB) Downloaded 401 times
Swagmaster Bandit
Greenhorn
Posts: 9
Joined: 14 Dec 2014, 03:35
Location: Brazil

Re: [3.1] Ultimate Scavenger AI Mod

Post by Swagmaster Bandit »

Is this version still compatible with the Steam Version? As in, pretty stable for multiplayer? I remember back them having issues with newer versions with crashing.
Post Reply