Tripwire Interactive Forums

Go Back   Tripwire Interactive Forums > Red Orchestra 2 / Rising Storm Forums > RO2/RS Modifications > Coding

Reply
 
Thread Tools Display Modes
  #1  
Old 07-21-2012, 04:10 PM
Proud_God's Avatar
Proud_God Proud_God is offline
Senior Member
 
Join Date: Dec 2005
Location: Belgium
Posts: 2,591
Default Freedom in capping behaviour?

Does anyone have an idea how much freedom we have in changing capping behaviour?

As an example, would it be possible to make a cap have a different area for both teams? (I have some ideas with this)

Also, any pointers on where to look in the code would be nice.

Edit:

I've found a good candidate:

E:\Program Files\Steam\steamapps\common\red orchestra 2\Development\Src\ROGame\Classes\CCSBTInsideObject ive.uc


/**
* Copyright 2007-2011 GripHeavyIndustries, Inc. All Rights Reserved.
* Return true if inside the current objective.
*/

class CCSBTInsideObjective extends GripBTCondition
native
hidecategories(GripBTCondition);


/** If checked, return false if this NPC is threat aware. */
var() bool Negate;


cpptext
{
// Run-time.
public:
virtual class GripRBTNode* CreateRuntime();
virtual void InitializeRuntime( class GripRBTNode* pTo );

// GripBTNode Overrides.
public:
virtual BTMenuType GetMenuType() {return MT_CONDITION;}
}


DefaultProperties
{
Negate=FALSE;
NodeDescription="Return true if inside the current objective.";
Category="CCS"
}


--> however, which method is to be used to put the logic in for being in a cap??

Thanks!!
__________________
aka Wakke

Last edited by Proud_God; 07-21-2012 at 04:58 PM.
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 05:19 AM.


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