UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Disabling limbs falling off to prevent g_spawn error

broken avatar :(
Created 7 years ago
by c.h.n
0 Members and 1 Guest are viewing this topic.
2,540 views
broken avatar :(
×
broken avatar :(
Location: trİstanbul
Date Registered: 26 December 2014
Last active: 11 days ago
Posts
126
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Community Mapper Elite
My Groups
More
My Contact & Social Links
More
×
c.h.n's Groups
Community Mapper Elite Has shown excellence and experience in the area of custom mapping in the UGX-Mods community.
c.h.n's Contact & Social Linksc_h_ncihan_gurbuzRadiantCHNCihan#5042
Hey everyone.

I keep hitting those sweet limits everytime i fix another one. i can trim the fat of fx, sound, material, image, brush, vertex limits and the likes but this limit i'm hitting at the moment drives me nuts.

Motherfucking g_spawn limit is what i'm talking about of course :D

I play Der Berg from til round 20 from time to time but yesterday, when i threw a grenade among the zombies on round 13, the game crashed and gave me this error.



johndoe told me how and why this happens but i guess he doesn't know much either :D

Question 1: Can you guys give me more detail about this limit?
Question 2: I don't want zombies to spawn limbs upon gibbing. Can we make this happen without disabling gibbing? If that's possible i think the issue will be solved.

By the way, when the corpse setting is large or insane, i get free entities flooding the console log so it kinda implies the coming of the error. This doesn't happen on medium or below.

Thanks in advance.
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
U could modify ur character.

This is a stock one.

Code Snippet
Plaintext
main()
{
codescripts\character::setModelFromArray(xmodelalias\char_ger_honorgd_bodyzalias::main());
self.headModel = codescripts\character::randomElement(xmodelalias\char_ger_honorgd_zombieheadalias::main());
self attach(self.headModel, "", true);
self.voice = "german";
self.torsoDmg1 = "char_ger_honorgd_body1_g_upclean";
self.torsoDmg2 = codescripts\character::randomElement(xmodelalias\char_ger_hnrgrd_body1_g_rarmoffalias::main());
self.torsoDmg3 = codescripts\character::randomElement(xmodelalias\char_ger_hnrgrd_body1_g_larmoffalias::main());
self.torsoDmg4 = codescripts\character::randomElement(xmodelalias\char_ger_hnrgrd_body1_g_torsoalias::main());
self.torsoDmg5 = "char_ger_honorgd_body1_g_behead";
self.legDmg1 = "char_ger_honorgd_body1_g_lowclean";
self.legDmg2 = codescripts\character::randomElement(xmodelalias\char_ger_hnrgrd_body1_g_rlegoffalias::main());
self.legDmg3 = codescripts\character::randomElement(xmodelalias\char_ger_hnrgrd_body1_g_llegoffalias::main());
self.legDmg4 = codescripts\character::randomElement(xmodelalias\char_ger_hnrgrd_body1_g_legsoffalias::main());
self.gibSpawn1 = "char_ger_honorgd_body1_g_rarmspawn";
self.gibSpawnTag1 = "J_Elbow_RI";
self.gibSpawn2 = "char_ger_honorgd_body1_g_larmspawn";
self.gibSpawnTag2 = "J_Elbow_LE";
self.gibSpawn3 = "char_ger_honorgd_body1_g_rlegspawn";
self.gibSpawnTag3 = "J_Knee_RI";
self.gibSpawn4 = "char_ger_honorgd_body1_g_llegspawn";
self.gibSpawnTag4 = "J_Knee_LE";
}

Remove this and it should stop spawning gibs.

Code Snippet
Plaintext
self.gibSpawn1 = "char_ger_honorgd_body1_g_rarmspawn";
self.gibSpawnTag1 = "J_Elbow_RI";
self.gibSpawn2 = "char_ger_honorgd_body1_g_larmspawn";
self.gibSpawnTag2 = "J_Elbow_LE";
self.gibSpawn3 = "char_ger_honorgd_body1_g_rlegspawn";
self.gibSpawnTag3 = "J_Knee_RI";
self.gibSpawn4 = "char_ger_honorgd_body1_g_llegspawn";
self.gibSpawnTag4 = "J_Knee_LE";
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 4 years ago
Posts
1,895
Respect
Forum Rank
Zombie Destroyer
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
BE ORIGINAL
Signature
×
MakeCents's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
I also have scripts to replace triggers, if you have many triggers. http://ugx-mods.com/forum/index.php/topic,11221.0.html That cuts down on entity use.

You could also add a watch, checking the ents, and setting zombies to not gib, by setting .gibbed to true, if over that ent limit... maybe...

I was told that this error is due to too many interactive entities atm. That's why throwing a grenade into a group of 24 zombies causes it.
Last Edit: December 09, 2016, 06:44:14 pm by MakeCents
broken avatar :(
×
broken avatar :(
Location: trİstanbul
Date Registered: 26 December 2014
Last active: 11 days ago
Posts
126
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Community Mapper Elite
My Groups
More
My Contact & Social Links
More
×
c.h.n's Groups
Community Mapper Elite Has shown excellence and experience in the area of custom mapping in the UGX-Mods community.
c.h.n's Contact & Social Linksc_h_ncihan_gurbuzRadiantCHNCihan#5042
Hi. @RDV

johndoe showed me a solution similar to yours but when i do that the zombies don't lose any limbs or anything.

but i want zombies to lose them only without spawning limb models and i achieved it by deleting those lines.

Code Snippet
Plaintext
// in char_ger_honorguard_zombies.csv and char_ger_honorguard2_zombies.csv
xmodel,char_ger_honorgd_body1_g_rarmspawn
xmodel,char_ger_honorgd_body1_g_larmspawn
xmodel,char_ger_honorgd_body1_g_rlegspawn
xmodel,char_ger_honorgd_body1_g_llegspawn

i can play until round 13 if i set the corpse count to insane or large and i can play until round 20 with the solution above. but this time i hit g_spawn because of the corpses on the ground (ragdoll).

this is how i fixed it.

i don't get any errors when corpse count is on medium so i made the mod force it to medium and disabled it on the menu.

it's kinda cruel but i had no choice :)

@MakeCents

I'll look into your script but it doesn't seem it'll reduce much even if i trim the triggers.

 
Loading ...