Tripwire Interactive Forums

Go Back   Tripwire Interactive Forums > Red Orchestra: Ostfront 41-45 Forums > Red Orchestra Modifications > Coding

Reply
 
Thread Tools Display Modes
  #1  
Old 09-11-2007, 04:06 PM
Six_Ten's Avatar
Six_Ten Six_Ten is offline
Senior Member
 
Join Date: Mar 2006
Posts: 1,382
Default What causes the "Zombie Bug?"

In my custom roles I now have the zombie bug: in earlier versions this sometimes did not occur; what code error causes this?

Solved.

Searching forum led to this answer from KHReese:

The zombie bug is caused by the files not being in the main "texture" and "system" folders. If they are in subfolders anywhere besides the main RO folder you will get the bug.
Easy fix is to download from maporchestra and manually place the texture and system files where they belong.
__________________
NEMO ME IMPVNE LACESSIT

Last edited by Six_Ten; 09-11-2007 at 04:38 PM.
Reply With Quote
  #2  
Old 09-21-2007, 11:50 AM
Fennich_FJR6 Fennich_FJR6 is offline
Member
 
Join Date: Mar 2006
Posts: 83
Default

The zombie bug isn't a code error, its due to the fact that ragdoll info is in a .upl file and these files cannot be downloaded from servers - you have to manually install them. this is an engine limitation. there is a way around this, and that is to creat a set of MOD.u files which contain the info in the .upl - these can be got from server, but the server needs to have its .ini edited to include them.
__________________
[FONT=Franklin Gothic Medium]Ihr Vater ist ein Hamster und Ihre Mutter geruche der Holunderbeeren[/FONT]

http://www.fjr6.co.uk/
Reply With Quote
  #3  
Old 09-23-2007, 05:46 PM
Deeival Deeival is offline
On Vacation
 
Join Date: Sep 2006
Posts: 674
Default

An even easier fix is for the server admin to instal the required files properly.
Reply With Quote
  #4  
Old 09-27-2007, 03:22 PM
EvilHobo's Avatar
EvilHobo EvilHobo is offline
Senior Member
 
Join Date: Dec 2005
Posts: 2,596
Default

Quote:
Originally Posted by Deeival View Post
An even easier fix is for the server admin to instal the required files properly.
Exactly. It's not that hard, admins.
__________________

why even bother
Reply With Quote
  #5  
Old 09-27-2007, 08:21 PM
Six_Ten's Avatar
Six_Ten Six_Ten is offline
Senior Member
 
Join Date: Mar 2006
Posts: 1,382
Default

I asked because I'm setting up my mod. What are the "easy" steps to doing it correctly?
__________________
NEMO ME IMPVNE LACESSIT
Reply With Quote
  #6  
Old 09-27-2007, 10:06 PM
EvilHobo's Avatar
EvilHobo EvilHobo is offline
Senior Member
 
Join Date: Dec 2005
Posts: 2,596
Default

Well for your mod, you may as well do it all in a .upl file to save you the hassle of setting up your skins via several tiny script packages. Your .upl is located in System/RedOrchestra.upl. It will contain all of the information for setting up new classes.

What you will see are things like "G_Heer1," for instance. Now provided that you actually have your classes set up and have script files equivalent to those in RO, "G_Heer1" would be found in RORoles/ROGE_Standard_Heer. In this script you should see the following

Code:
class ROGE_Standard_Heer extends ROGE_Heer_Units
    abstract;

defaultproperties
{
    Models(0)="G_Heer1"
    Models(1)="G_Heer2"
    Models(2)="G_Heer3"
    Models(3)="G_Heer4"
    Models(4)="G_Heer5"
    Models(5)="G_Heer6"
    Models(6)="G_Heer7"

    RolePawnClass="RORoles.GERiflemanPawn"
}
And of course you can see "G_Heer1" there again. This class -- ROGE_Standard_Heer -- is what the Heer units we have in RO are currently based off of, as it is their parent class. The models stated are how we get variations in the faces (or so I imagine, a more experienced coder can correct me but that is what I was able to gather from things like the .upl)

Anyway, back to the .upl. Let's go to where it said "G_Heer1." Now it's a long line, but it contains everything you need to implement a new character. Anyway, I'll break it up for you:

Code:
Species=ROEngine.ROSPECIES_Human
Mesh=Characters_anm.ger_rifleman_tunic
BodySkin=Characters_tex.ger_uniforms.ger_rifleman_tunic
FaceSkin=Characters_tex.ger_heads.ger_face01
Portrait=Characters_tex.ger_heads.ger_face01
Text=ROPlayers.HeerStandardSoldier
Sex=Male
Menu="ROSP"
Tactics=0.3 The italicized values are mainly for bots, not important
CombatStyle=1
StrafingAbility=-2.0
Accuracy=.5,
RagDoll=German_tunic
BotUse=1
Race="German"
The things you are going to want to tamper with for your mod are Mesh, BodySkin, and FaceSkin. Everything else can virtually be left the same (experienced codes please correct if I am wrong). The values for Mesh, BodySkin, and FaceSkin are self-explanatory, so there you go. The RagDoll=German_tunic is what you need for fighting the Zombie Bug, but for your new characters I don't know if it will still apply (Soviet models use German_tunic for their ragdoll values, just for reference).

This is the easy way.
__________________

why even bother
Reply With Quote
  #7  
Old 09-28-2007, 03:04 AM
worluk's Avatar
worluk worluk is offline
Senior Member
 
Join Date: Nov 2005
Posts: 2,219
Default

With a new character, as mentioned in that other thread, i would suggest you try to stay with the RO skeleton or at least a modified version of it.
I'd say you have 2 options then for the ragdolls:
-make sure all bones referenced in the Karmafile are still on your model (especially mind the spade )
-create a new KA file or alter the existing

Did both and both works

As for the variations EH mentioned, yeah, i think in vanilla RO its main purpose is to change stuff like faces etc. Basically each of those entries describes a new model though, where one is randomly chosen. So basically you could have a wider variety of models too for one class. Keep in mind that every model has to be cached and loaded though, same with the textures for it.
Reply With Quote
  #8  
Old 03-28-2008, 08:44 PM
7-CLOWN-7 7-CLOWN-7 is offline
Senior Member
 
Join Date: Jan 2007
Location: Pittsburgh
Posts: 482
Default How does and admin fix???

I was wondering how does an admin fix the zombie bug problem on their server?

If you download the map with all the proper files and they are all placed in the proper locations then what is causing the zombie bug?

What items would be missing and what would need to be done by the admin to fix? I'd like to fix my server from having them on a few of the customs I have running on our server.

TIA
Reply With Quote
  #9  
Old 03-29-2008, 01:29 AM
Deeival Deeival is offline
On Vacation
 
Join Date: Sep 2006
Posts: 674
Default

Something like this
Code:
ServerPackages=EH-M43Uniforms
ServerPackages=G_Late1StandardMod
ServerPackages=G_Late2StandardMod
ServerPackages=G_Late3StandardMod
ServerPackages=G_Late4StandardMod
ServerPackages=G_Late5StandardMod
ServerPackages=G_M43OakCamo1SSMod
ServerPackages=G_M43OakCamo2SSMod
ServerPackages=G_M43OakCamo3SSMod
ServerPackages=G_M43OakCamo4SSMod
ServerPackages=G_M43OakCamo5SSMod
ServerPackages=G_M43Standard1SSMod
ServerPackages=G_M43Standard2SSMod
ServerPackages=G_M43Standard3SSMod
ServerPackages=G_M43Standard4SSMod
ServerPackages=G_M43Standard5SSMod
ServerPackages=R_Late1GreatcoatMod
ServerPackages=R_Late2GreatcoatMod
ServerPackages=R_Late3GreatcoatMod
ServerPackages=R_Late4GreatcoatMod
ServerPackages=R_Late5GreatcoatMod
ServerPackages=R_Late1StandardMod
ServerPackages=R_Late2StandardMod
ServerPackages=R_Late3StandardMod
ServerPackages=R_Late4StandardMod
ServerPackages=R_Late5StandardMod
under

Code:
[Engine.GameEngine]
in the RedOrchestra.ini on the server.
Also make sure all those files (with .u ending) are in the /system directory.
Reply With Quote
  #10  
Old 03-29-2008, 11:11 AM
7-CLOWN-7 7-CLOWN-7 is offline
Senior Member
 
Join Date: Jan 2007
Location: Pittsburgh
Posts: 482
Default Great...

Thanks Deeival. I actually found what I needed to do but I only added a bunch of other skins but thanks for your reply to let me know that I missed quit a few others. I saw your replies yesterday in game and when you said it was server side I went out looking and found the way to fix but as I said I ended up putting a ton of other mod ones and now with the ones you mentioned all should be fixed now.

Thanks for stopping by the server yesterday also, great playing with you guys. I'm hoping to keep our server filled and one of the best to come to again - like the old days.

That patch and IP change when they went to 40 players killed our server from folks stopping by but recently there either is much more interest in the game or a lot of the old regulars are coming by once again. See you on the battlefield and hopefully without zombies.

Thanks again...
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:14 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2005 - 2013, Tripwire Interactive, LLC