Fixing glitches ?

Ask questions, discuss ideas, get answers
Scoop M
Posts: 73
Joined: Wed Oct 31, 2012 2:49 am

Fixing glitches ?

Post by Scoop M »

I know four ways to prevent glitching : placing

- barb wire
- deathbubbles
- objects (that block)
- "outside map" zones

inside glitchable structures / areas.

Are there other methods ?

Any problems related to having 100+ deathbubbles (not overlapping) on a map ?

Can deathbubbles be set to have a radius less than one meter ? If yes, will they still work properly ?
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Fixing glitches ?

Post by Swaffy »

Just make invisible barbed wire.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
Scoop M
Posts: 73
Joined: Wed Oct 31, 2012 2:49 am

Re: Fixing glitches ?

Post by Scoop M »

Yes, but some objects diameter / outer area are less than the barb wires, so the barb wire will protrude around the object, meaning players that touch the objects surface or stand near to it will take damage as well ... and the goal is only to damage players that glitch inside, not innocent bystanders :)

Examples : The outer wall that sticks out of one of the common bunkers, and barrels generally. I've seen players standing / crouching inside those two structures many times.

How can you prevent that ? Scaling / shrinking the barb wire so that it's smaller than its surrounding object ?



Image .......... Image


Image .......... Image



And what objects are best to prevent land vehicles glitching inside large structures like factories, hangars, ets ?

As just mentioned, I've read that objects can be scaled ("shrinked" / "enlarged"), so that only one is needed. Is scaling a good option ? How do you scale objects ?
Last edited by Scoop M on Sat Jun 01, 2013 3:07 pm, edited 4 times in total.
User avatar
Vilespring
Posts: 740
Joined: Sat Nov 24, 2012 5:47 am
Location: Somewere in the United States

Re: Fixing glitches ?

Post by Vilespring »

Object.geometry.scale 0/0/0
use your scale factor in all coordinates for a proportional change.

EDIT: you might have to open the staticObjects.CON to edit the size if using BattleCraft.
A picture is worth a thousand words, but takes up three thousand times the memory.

Area 51: http://battlefieldarea51mod.weebly.com/

Image
"I didn't steal your pizza"
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Fixing glitches ?

Post by Swaffy »

Code: Select all

ObjectGeometry.scale 1/1/1
1/1/1 is the default (original) size, right?
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
User avatar
Vilespring
Posts: 740
Joined: Sat Nov 24, 2012 5:47 am
Location: Somewere in the United States

Re: Fixing glitches ?

Post by Vilespring »

yes :]

PS: don't forget the dot after Object. You BF isn't very flexible when it comes to dots and spaces
A picture is worth a thousand words, but takes up three thousand times the memory.

Area 51: http://battlefieldarea51mod.weebly.com/

Image
"I didn't steal your pizza"
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Fixing glitches ?

Post by Swaffy »

Actually, isn't it this code?

GeometryTemplate.scale #.#
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
User avatar
Vilespring
Posts: 740
Joined: Sat Nov 24, 2012 5:47 am
Location: Somewere in the United States

Re: Fixing glitches ?

Post by Vilespring »

he's talking about changing the size of static objects as they are placed on a map. I looked at code produced from ED42, so I can't be wrong. That code is used when creating a geometry for, well anything. I saw that code in the soccer mod, in the RC Tiger, using the same geometry, just scaled
A picture is worth a thousand words, but takes up three thousand times the memory.

Area 51: http://battlefieldarea51mod.weebly.com/

Image
"I didn't steal your pizza"
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Re: Fixing glitches ?

Post by freddy »

Well i tested with a stick made of bomb material to see if i could kill soldiers with it, but it seems there must be a certain speed involved or nothing happens

User avatar
Vilespring
Posts: 740
Joined: Sat Nov 24, 2012 5:47 am
Location: Somewere in the United States

Re: Fixing glitches ?

Post by Vilespring »

wow. the first real boom stick. That could be used for some things, like bombs on vehicle fronts. Did you use a "ObjectTemplate.material" line, or was it modified in 3DSmax/Gmax?

EDIT: with needing movement, can it just be an object spinning really fast inside the area?
A picture is worth a thousand words, but takes up three thousand times the memory.

Area 51: http://battlefieldarea51mod.weebly.com/

Image
"I didn't steal your pizza"
Post Reply