IPB

Welcome Guest ( Log In | Register )


> New research information, You CAN teach an old dog new tricks!
DeathRay2K
post Jul 5 2007, 12:17 AM
Post #1


Banned God
Group Icon

Group: Super Moderators
Posts: 517
Joined: 2-October 06
From: Canada
Member No.: 9
Alliance: Nod
Favorite game: Tiberian Sun



Several new researches have been conducted at PPM recently, concerning Tiberian Sun.

First of all, it turns out that TS is more extensible than anyone previously thought! It turns out, you can make your own locomotors for TS with high-level programming languages that support DLL files, such as Delphi, C, and C++. CNCVK discovered this and posted a fair bit of information on it, and even posted a working locomotor (It makes the unit go around in circles) which you can download over at PPM.
The main part of the code ofr new locomotors looks something like this:
CODE
if (m_bMoving)
    {
        // rotate an object
        m_crd.X = m_pos.X + m_radius * sin(m_angle);
        m_crd.Y = m_pos.Y + m_radius * cos(m_angle);
        m_crd.Z = m_pos.Z;

        TechnoClass::InterMoveLocker(m_pObject, 0);
        TechnoClass::SetPos(m_pObject, &m_crd);
        TechnoClass::InterMoveLocker(m_pObject, 1);

        // increase an angle
        m_angle += 0.01;
        if (m_angle > 6.2831)
        {
            m_angle = 0;
        }
    }
   return m_bMoving;

Here's what it looks like:


There has also recently been some research on vehicular jumpjets.
Normally, when a vehicle is made a jumpjet, it becomes invincible and it cannot reveal shroud.
With this new research, conducted by Team Black, it was uncovered that in fact, two things do harm vehicular jumpjets. The firestorm defence and, more importantly, railguns!
Simply by giving the railgun AA=yes in its code allows it to fire at and harm vehicular jumpjets.

The ramifications of this discovery are huge for TS modders. This allows for helicopters with rotors (Or other animations), transports, and everything else vehicles are able to handle that aircraft are not. Even dogfights are made possible (albeit somewhat buggy) by giving the vehicular jumpjets a railgun.


--------------------
Go to the top of the page
 
: | +Quote Post
 
Start new topic
Replies
Creagor
post Jul 12 2007, 02:53 PM
Post #2


Flame Tank
Group Icon

Group: Global Moderators
Posts: 568
Joined: 21-October 06
From: Look over there! *runs*
Member No.: 40
Alliance: GDI
Favorite game: Tiberian Sun



Well, C&CVK has released the C++ source code on PPM - he also says, quite correctly, than any other High level langauge could potentially be used. So, analyze that C++ code, it holds the key. Then convert it (or rather, the method used in it) to your programming language of choice. It also uses some low-level machine code (x86 Assembly), but that does not need to be changed, only how it is used. Certainly, triganomatery could be used, but really you could use other maths too.


--------------------

Fluent in |3375p3k, 68 65 78 65 64 65 63 69 6d 61 6c, ebg13, -- --- .-. ... . -.-. --- -.. . --..-- and 01100010 01101001 01101110 01100001 01110010 0111100100101110
(Whoever translates that gets nothing, just +1 on thier geek score)
Go to the top of the page
 
: | +Quote Post



Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 30th May 2025 - 01:43 AM


XGhozt.com