IPB

Welcome Guest ( Log In | Register )


 
Reply to this topicStart new topic
> 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
Robo fish
post Jul 5 2007, 12:33 AM
Post #2


Attack Cycle
Group Icon

Group: Members
Posts: 304
Joined: 21-October 06
From: Quebec, Canada
Member No.: 22
Alliance: Scrin
Favorite game: Tiberian Sun



Break dancing titans? Hell yeah!
That quite nice.


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

QUOTE(Ixith)
dude.......get this.......in my Latin class tomorrow........wer having an Orgi
Go to the top of the page
 
: | +Quote Post
Lin Kuei Ominae
post Jul 5 2007, 12:40 AM
Post #3


Stealth Tank
Group Icon

Group: Members
Posts: 1,065
Joined: 14-November 06
From: Germany
Member No.: 281
Alliance: CABAL
Favorite game: Tiberian Sun



is it only the image that moves in circles or the unit itself? (If you shoot at it, would the projectile fly to the midpoint or the unit)
It doesn't follows the restrictions of the cells, that's why i ask.

But after 8 years a late and none the less amazing advance in modding TS.

Just think about new Hover locos or jumping pogo like locos or aircraft/plane locos or new underground locos... just wow dance.gif


--------------------
Co-Leader of Twisted Insurrection
my public units for you
Nod units:____________________________GDI units:
Nod Scorpion__________________________GDI 3A Kodiak
Nod Tachyon Tank______________________GDI Medusa (Triple Cannon Mech)
Nod Goliath___________________________GDI Behemoth (medium size Mech)
Nod Cobra (fast medium mech)__________GDI Battleship Aurora
Nod Siegebot (light MG-Mech)__________GDI Fortress Tower (Heavy Base Defense)
Nod Redeemer (4 legged heavy Cyborg)__GDI Triton (Titan support Mech)
Nod/Scrin WotW Tripod_________________GDI Exciter
______________________________________GDI Ion Charge Collector
Misc and Fun units:
X-Mech Calendar 28 SHP Units
Star Wars Mechs ATAT/ATST
Cyborg Barrack on PPM_________________Mech Factory
Mutant Tiberium Flyer
yt1300 (Millenium Falcon + BIG version)

if you use my units in your mod, please credit me.if you want to use my units on your website please ask me before.
Go to the top of the page
 
: | +Quote Post
jadems
post Jul 5 2007, 12:43 AM
Post #4


Tick Tank
Group Icon

Group: Members
Posts: 697
Joined: 26-April 07
From: Australia
Member No.: 929
Alliance: Nod
Favorite game: Tiberian Sun



How cool.

I'm guessing what makes it walk in a circle are these tags:

QUOTE
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;

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



Giving the shape and the angle of it's path from the center, right?

It seems to act like an offset HVA, like when the unit is heaps away from the middle it rotates around the selection box (???) that's why it faces the center.

This post has been edited by jadems: Jul 5 2007, 12:45 AM


--------------------
Go to the top of the page
 
: | +Quote Post
Corsair
post Jul 5 2007, 12:53 AM
Post #5


Ghost Stalker
Group Icon

Group: Members
Posts: 1,244
Joined: 22-October 06
From: South Carolina, USA
Member No.: 87
Alliance: GDI
Favorite game: Tiberian Sun



Hooray for our hometown hero, Team Black!

Interesting, like LKO said, eight years and there's still stuff being found out about TS lol.gif


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

Epitoma Rei Militaris - Flavius Vegetius Renatus
All My Voxels - Gemini Mech
Go to the top of the page
 
: | +Quote Post
DeathRay2K
post Jul 5 2007, 01:04 AM
Post #6


Banned God
Group Icon

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



I kind of think the unit itself is moving around, since that's what locomotors are for. wink1.gif
You could always try it yourself, its available in one of the links I posted.


--------------------
Go to the top of the page
 
: | +Quote Post
ChielScape
post Jul 5 2007, 07:54 AM
Post #7


SSM Launcher
Group Icon

Group: Members
Posts: 799
Joined: 21-October 06
From: In ur BIOS, steeln ur Megahurtz!
Member No.: 33
Alliance: GDI
Favorite game: Tiberian Sun



it moonwalking...
"there's nothing scarier than a warmech that thinks its michael jackson" -some guy at the reborn forum.


--------------------
Admin Note: Please refer to signature rules.
Go to the top of the page
 
: | +Quote Post
Blacksilence
post Jul 7 2007, 05:59 PM
Post #8


Light Tank
Group Icon

Group: Members
Posts: 486
Joined: 21-October 06
From: Unknown
Member No.: 67
Alliance: Nod
Favorite game: Tiberian Sun



cool
Its a good AI attack, but the legs need to turn to the direction its walking to!!!


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

Thanks bittah for the sig .
Love MLRS, its the worlds most dangerous artillery.
Tibweb forum Mod Leader of VENGEANCE
TS/V Trailer Progress 20%
The Explosion Expert

Go to the top of the page
 
: | +Quote Post
SeekSomethingNew
post Jul 7 2007, 07:17 PM
Post #9

Stealth Tank
Group Icon

Group: Members
Posts: 1,025
Joined: 31-October 06
Member No.: 208
Alliance: GDI
Favorite game: Tiberian Sun



well, seeing as it has bugs, and is a test... i don't think its intended for use in mods... tongue.gif


--------------------
Go to the top of the page
 
: | +Quote Post
epicelite
post Jul 9 2007, 04:05 PM
Post #10


Grenadier
Group Icon

Group: Members
Posts: 34
Joined: 21-October 06
Member No.: 52



OMFG SOMEONE MAKE DROPSHIPS PLZ!

kthxbai.
Go to the top of the page
 
: | +Quote Post
SeekSomethingNew
post Jul 9 2007, 07:16 PM
Post #11

Stealth Tank
Group Icon

Group: Members
Posts: 1,025
Joined: 31-October 06
Member No.: 208
Alliance: GDI
Favorite game: Tiberian Sun



no... if you want it, you make it.


--------------------
Go to the top of the page
 
: | +Quote Post
epicelite
post Jul 12 2007, 03:18 AM
Post #12


Grenadier
Group Icon

Group: Members
Posts: 34
Joined: 21-October 06
Member No.: 52



QUOTE (TSHyper @ Jul 9 2007, 07:16 PM) *
no... if you want it, you make it.


Teach me how to program and I am on it! rolleyes.gif
Go to the top of the page
 
: | +Quote Post
jadems
post Jul 12 2007, 11:26 AM
Post #13


Tick Tank
Group Icon

Group: Members
Posts: 697
Joined: 26-April 07
From: Australia
Member No.: 929
Alliance: Nod
Favorite game: Tiberian Sun



Well, I can do basic C, and what's up there is the C if-then function.
And then I'm guessing you need to know a bit of maths (trigonometry - sin, cos, tan)
There's probably more required, but thats all I know.


--------------------
Go to the top of the page
 
: | +Quote Post
Creagor
post Jul 12 2007, 02:53 PM
Post #14


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: 28th March 2024 - 01:32 PM


XGhozt.com