#1 2014-02-03 22:01:38

Butcher
Player
England
Reputation: +117
Registered: 2014-02-01
Posts: 125
Windows 7 Chrome 32.0

Anti-Bug Infantry Mod

For anyone that's interested...

Client:

https://drive.google.com/file/d/0B_YkXI … sp=sharing

Server:

https://drive.google.com/file/d/0B_YkXI … sp=sharing

Modifications    -     Prone animation disabled.  In other words, your 'Z' key won't work.
                     -     Ragdoll physics changed.  Death animation.

B

Last edited by Butcher (2014-02-03 22:07:17)

Offline

    Positive reputation 0   Negative reputation 0

#2 2014-02-03 22:54:21

Ramjet
Member
Austria
Reputation: +4
Registered: 2012-09-29
Posts: 146
Website
Windows 7 Chrome 32.0

Re: Anti-Bug Infantry Mod

Nice!

Offline

    Positive reputation 0   Negative reputation 0

#3 2014-02-04 01:46:35

HoOK
Kebab killer
Palestine
Reputation: +186
Location: Palestine- פלשתינה-فلسطين
Registered: 2012-06-30
Posts: 3,174
Android Safari 4.0

Re: Anti-Bug Infantry Mod

Great

Offline

    Positive reputation 0   Negative reputation 0

#4 2014-02-07 01:32:30

tuia
BFSoldier
Portugal
Reputation: +1093
Location: Lisbon
Registered: 2012-02-20
Posts: 6,344
Website
Windows XP Firefox 27.0

Re: Anti-Bug Infantry Mod

Thank you! I tested it, some comments about it. WinRAR self-extracting archive assumes by default you have Battlefield 1942 installed in C:\Program Files (x86)\EA Games\Battlefield 1942. I think it's better you package files in a .zip or .rar and include a readme text file saying to extract in <BF1942 DIR>\Mods folder. Prone is disabled, I am curious how you managed, maybe it can work server side.

Offline

    Positive reputation 0   Negative reputation 0

#5 2014-02-07 14:50:35

Butcher
Player
England
Reputation: +117
Registered: 2014-02-01
Posts: 125
Windows 7 Chrome 32.0

Re: Anti-Bug Infantry Mod

Yes, I know about the self extracting.  I'll fix it when i've added a couple more modifications.  It can't be done server side.  You have to either create a mod, or you can modify an existing mod, like i've done with the infantry mod.

I'm looking for a moddable idea on how to change soldier appearance to make axis/allied teams noticeably distinguishable from each other without the use of name tags.  Modding out name tags, mini-map and disabling prone would be ideal for a hardcore infantry map, leaving very little room for anyone looking to gain an unfair advantage.  xfire: davidjamessmith

Last edited by Butcher (2014-02-07 15:21:22)

Offline

    Positive reputation 0   Negative reputation 0

#6 2014-02-07 17:16:48

bud
maestro
Reputation: +1837
Location: shangri la
Registered: 2012-07-07
Posts: 3,946
Website
Windows 7 Firefox 26.0

Re: Anti-Bug Infantry Mod

Im a bit curious to, if it is the animation states there is some things i know works serverside like faster/slower swimming or alter the firedelay when you land from parachute etc

Offline

    Positive reputation 0   Negative reputation 0

#7 2014-02-07 21:24:12

Butcher
Player
England
Reputation: +117
Registered: 2014-02-01
Posts: 125
Windows 7 Chrome 32.0

Re: Anti-Bug Infantry Mod

I don't think it's possible to mess around with animations in a map side mod.  Although if you're making a mod, or tweaking a finished mod, you can disable prone (as far as i'm aware).  You do it by remming out the animation tweaks for all the handweapons that reference the prone animations and also removing the prone animation state.

I don't think the central animation state for prone can be removed.  But because no handweapons have it, due to remming out the animation codes for them, prone is disabled.

Last edited by Butcher (2014-02-07 21:24:39)

Offline

    Positive reputation 0   Negative reputation 0

#8 2014-02-07 21:42:30

bud
maestro
Reputation: +1837
Location: shangri la
Registered: 2012-07-07
Posts: 3,946
Website
Windows 7 Firefox 26.0

Re: Anti-Bug Infantry Mod

Im thinking serverside mod, i guess i try the server files in your post and see what happens smile

Im tinkering a bit with "knifebots" but its a bit stupid because many of them lay down on the ground when they get close so, it might be easier to erase the "lay down" in the AI code if i can find it.

http://www.youtube.com/watch?v=H35lLX92k14

Offline

    Positive reputation 0   Negative reputation 0

#9 2014-02-08 00:31:48

Black Mamba
Member
Canada
Reputation: +1450
Registered: 2012-12-01
Posts: 4,241
Android Safari 4.0

Re: Anti-Bug Infantry Mod

Good initiative Butcher, I will test this mod once I get the chance. If you're talking infantry then I'd like to work with you. PM me for details.

Offline

    Positive reputation 0   Negative reputation 0

#10 2014-02-11 20:46:44

moon'
Pariah
Reputation: -394
Registered: 2013-08-19
Posts: 1,919
Website
Windows 8 Chrome 32.0

Re: Anti-Bug Infantry Mod

Flipper found a way to bug here: http://www.xfire.com/videos/61eabe (Match: Me,1986,Fear vs Butcher,Lachesis,Flipper.. For the once interested in the video)
Bugging around 2:00

Last edited by moon' (2014-02-11 20:48:19)

Offline

    Positive reputation 0   Negative reputation 0

#11 2014-02-12 00:28:05

Kobra
Member
Germany
Reputation: +179
Registered: 2012-12-01
Posts: 868
Windows 8 Chrome 32.0

Re: Anti-Bug Infantry Mod

you can mod firedelay when you land with parachute? then let me say, on SiMPLE it's too high!

Offline

    Positive reputation 0   Negative reputation 0

#12 2014-02-12 01:02:49

tuia
BFSoldier
Portugal
Reputation: +1093
Location: Lisbon
Registered: 2012-02-20
Posts: 6,344
Website
Windows XP Firefox 27.0

Re: Anti-Bug Infantry Mod

Moonlight wrote:

Flipper found a way to bug here: http://www.xfire.com/videos/61eabe (Match: Me,1986,Fear vs Butcher,Lachesis,Flipper.. For the once interested in the video)
Bugging around 2:00

Crazy video, soldiers freeze when killed, but I don't see where is bugging in that video.

Kobra wrote:

you can mod firedelay when you land with parachute? then let me say, on SiMPLE it's too high!

I don't understand you. Nothing has been changed in weapon properties.

Offline

    Positive reputation 0   Negative reputation 0

#13 2014-02-12 01:25:05

tuia
BFSoldier
Portugal
Reputation: +1093
Location: Lisbon
Registered: 2012-02-20
Posts: 6,344
Website
Windows XP Firefox 27.0

Re: Anti-Bug Infantry Mod

Offline

    Positive reputation 0   Negative reputation 0

#14 2014-02-12 09:57:13

Butcher
Player
England
Reputation: +117
Registered: 2014-02-01
Posts: 125
Windows 7 Chrome 32.0

Re: Anti-Bug Infantry Mod

Moonlight wrote:

Flipper found a way to bug here: http://www.xfire.com/videos/61eabe (Match: Me,1986,Fear vs Butcher,Lachesis,Flipper.. For the once interested in the video)
Bugging around 2:00

No he didn't.  From his perspective it looks like he is proning, but from everyone else's, everything is as it should be.  He can only get this effect from one or two ways:

He's either not installed my mod and is still using the original Infantry 1.3 mod

He's messing with client files trying to find a way around my mod.

I tried both ways and it's more of a hindrance than anything.  Other teammates and opposing players animations are all out of whack.  Whilst you think you are prone, you're still a sitting target for anyone else on the server.

Long story short... download the mod and/or don't f**k with the files to try and get around it.

Offline

    Positive reputation 0   Negative reputation 0

#15 2014-02-12 14:54:59

bud
maestro
Reputation: +1837
Location: shangri la
Registered: 2012-07-07
Posts: 3,946
Website
Windows 7 Firefox 26.0

Re: Anti-Bug Infantry Mod

Butcher wrote:

I don't think it's possible to mess around with animations in a map side mod.

It is possible to manipulate the AnimationStateMachine per map basis with the "Set" command, i have used the "no parachute delay" and "swim faster" code in some maps as a serverside mod. The arm and leg movements still look the same for the clients for the swim mod, but for the chute mod it just release you from the shute harness faster.

AnimationStateMachine.SetActiveState Lb_ParachuteHitGround
AnimationStateMachine.setSpeed 7 0 0

AnimationStateMachine.SetActiveState Ub_ParachuteHitGround
AnimationStateMachine.setSpeed 7 0 0

AnimationStateMachine.setActiveState Lb_SwimForward
AnimationStateMachine.setSpeed 20 0.5 1

AnimationStateMachine.setActiveState Lb_SwimBackward
AnimationStateMachine.setSpeed 20 0.5 1

Offline

    Positive reputation 0   Negative reputation 0

#16 2014-02-12 15:07:49

bud
maestro
Reputation: +1837
Location: shangri la
Registered: 2012-07-07
Posts: 3,946
Website
Windows 7 Firefox 26.0

Re: Anti-Bug Infantry Mod

tuia wrote:
Kobra wrote:

you can mod firedelay when you land with parachute? then let me say, on SiMPLE it's too high!

I don't understand you. Nothing has been changed in weapon properties.

Its a animation tuia, its starts playing when you touch the ground and last for about a second?, never really thought about it if it shows anything or if its just a delay for smoothing out ping differences a bit.

edit: it seems it plays 3PParachuteGroundUpper.baf and 3PParachuteGroundLower.baf it also has the "3P_NoWeapon" flag


rem *** Soldier hang in Parachute Lower body and hit ground.
AnimationStateMachine.createState Lb_ParachuteHitGround
AnimationStateMachine.addAnimation animations/3P_NoWeapon/3PParachuteGroundLower.baf 1 c_AsmPlayOnce
AnimationStateMachine.setSpeed 0 0 0
AnimationStateMachine.setMorphFactor 10.0
AnimationStateMachine.addTransitionWhenDone Lb_Stand
AnimationStateMachine.setSoundTrigger c_SstParachuteLand

AnimationStateMachine.createState Ub_ParachuteHitGround
AnimationStateMachine.addAnimation animations/3P_NoWeapon/3PParachuteGroundUpper.baf 1 c_AsmPlayOnce
AnimationStateMachine.setSpeed 0 0 0
AnimationStateMachine.setMorphFactor 10.0
AnimationStateMachine.addTransitionWhenDone Ub_StandAim
AnimationStateMachine.setSoundTrigger c_SstParachuteLand

Last edited by bud (2014-02-12 15:17:09)

Offline

    Positive reputation 0   Negative reputation 0

Board footer