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 07-10-2006, 08:03 AM
worluk's Avatar
worluk worluk is offline
Senior Member
 
Join Date: Nov 2005
Posts: 2,217
Default ROPawnSoundGroup

Hi,

im doing an actor atm that references the DamageTypes.
When i check only my newActor package in wotgreal it gives me an error that it cant find, for example, ROArtilleryDamType. When i check the ROEngine package too, where the DamTypes are declared, it starts to compile the ROEngine new.
I wouldnt have a problem with that as long as my other package compiles, but, the ROEngine compilation always hangs when it tried to import the defaults for ROPawnSoundGroup.

It has to be something incredible simple, but i dont see it atm. Some help would really be appreciated.

Last edited by worluk; 07-11-2006 at 06:36 AM.
Reply With Quote
  #2  
Old 07-30-2006, 06:20 PM
DevilDog (Teufelhund) DevilDog (Teufelhund) is offline
Senior Member
 
Join Date: Feb 2006
Location: USA
Posts: 156
Default

Well, I'm not the only person with this issue. Somewhat comforting, but still frustrating.

I've been able to get by the import issue/error by removing the ROEngine.dll from the system directory but I then get a whole new error in WOTgreal. See below. Any help would be appreciated. Sorry if this is a noob question. Didn't find anything in the unreal wiki.



'ROEngine' is not a DLL package; can't find export 'intAVehicleWeaponPawnexecUpdateTurretRotation'

History: UPackage::GetDllExport <- UFunction::Bind <- Function/Operator <- FScriptCompiler::CompileDeclaration <- FScriptCompiler::CompileStatement <- FirstPass <- TryCompile <- FScriptCompiler::CompileScript <- (Class ROEngine.VehicleWeaponPawn, Pass 0, Line 94) <- MakeScript <- MakeScript <- MakeScript <- MakeScript <- MakeScript <- DoScripts <- UEditorEngine::MakeScripts <- UMakeCommandlet::Main

Exiting due to error
Reply With Quote
  #3  
Old 07-30-2006, 06:29 PM
worluk's Avatar
worluk worluk is offline
Senior Member
 
Join Date: Nov 2005
Posts: 2,217
Default

sorry, i never posted a solution.

its as simple as not checking the ROEngine package when compiling.
You cant compile those, as they contain native functions.
Reply With Quote
  #4  
Old 07-30-2006, 11:16 PM
DevilDog (Teufelhund) DevilDog (Teufelhund) is offline
Senior Member
 
Join Date: Feb 2006
Location: USA
Posts: 156
Default

Thanks for the reply! So how do the Tripwire dev's compile this then?

I am trying to help Slyk on the Berezina map. We'd like to have two lines of attack with two routes of seperate objectives. When one route of objectives are taken we'd like force the state of the objectives in the other route to change to the other team.

In looking through the code, it appeared we could add properties (to hold the objective numbers we want to change state, not de-activate) to the MasterObjectiveManager class and then add code into the ObjectiveStateChanged function. Again, this was a thought, but if we can not compile the ROEngine package it pretty much kiils that idea.

I'm obviously new to unreal coding but a VB.net coder by trade. I'm dangerously familiar with C++ and C#.

Any thoughts on how to do this would be great. My next try is to throw an event out of the specific objective to change the other objective's state.
Reply With Quote
  #5  
Old 07-31-2006, 04:03 AM
worluk's Avatar
worluk worluk is offline
Senior Member
 
Join Date: Nov 2005
Posts: 2,217
Default

the devs have the native code sources


you dont need to compile the ROEngine.
You can subclass the ObjectiveManager (stored in a new package), and place that actor on the map.

Never create any file in one of the stock packages, and you wont have to compile them. A package only needs to be compiled when something is changed in there.
Reply With Quote
  #6  
Old 07-31-2006, 06:56 AM
Slyk's Avatar
Slyk Slyk is offline
Rising Storm Team
 
Join Date: Feb 2006
Posts: 1,277
Default

So the questions remains:

Can you change the state of the objective FROM Allies to Axis by actor, manager, script or code? Which method can work best, if any? I would rather see this done from the easy side of things rather than have Teufle work himself insane on code if we can go about it easier.
Reply With Quote
  #7  
Old 07-31-2006, 07:21 AM
worluk's Avatar
worluk worluk is offline
Senior Member
 
Join Date: Nov 2005
Posts: 2,217
Default

i did something in a similar direction for our map, though i did not change the state.
I havent looked in the ObjManager tbh. cause i needed multiple satchel objectives to work together and thats something not handled there.

What you could do is to create your own little actor that manages those switches. The side switches shouldnt be that hard. You just would have to call the appropriate functions of the actors.

Basically i would have and actor with an array (or 2 arrays if you have 2 routes/groups) which gets the names of the Objects on the map.
Probably a subclass of the ObjectiveManager would be suited best here since it is probably informed about the statechange and you could overload the function there to switch the state of the other objectives.

Just some pointers

I think it can be done by coding and overloading certain actors and maybe creating some new.
Reply With Quote
  #8  
Old 07-31-2006, 08:45 AM
DevilDog (Teufelhund) DevilDog (Teufelhund) is offline
Senior Member
 
Join Date: Feb 2006
Location: USA
Posts: 156
Default

Worluk, thank you! Subclassing and creating a new package is good advice. We appreciate your help. It gives me a better direction than we've previously had.

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 04:28 AM.


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