Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Internal logics as pseudocode - worth posting or not?
#4
I concur with gordon's sentiments. For RP2 I suspect pd will release the source of his DLLs which should be sufficient for us to create further ones, however knowing how the game's native logics tackle things would be useful and interesting.

EDIT:
I've been looking at that pseudocode for some time and have finally figured out what was confusing me:
Code:
if ( weap1->Warhead->IsLocomotor
           && target
           && target->WhatAmI() == IS_BUILDING )
        return USE_SECONDARY;
...is completely unneccessary as long as the Verses are set up correctly.
I've switched MagneticBeam and MagneShake in my mod so that the Magnetron can attack walls, and it works fine.
Lol at WW.
Ever wondered what the hell is going on?
Believe me friend you're not the only one.
--Lysdexia

Check out Launch Base for RA2/YR - http://marshall.strategy-x.com
Also home to the Purple Alert mod, 1.002 UMP, and the YR Playlist Manager.
Reply


Messages In This Thread
RE: Internal logics as pseudocode - worth posting or not? - by Marshall - 23.04.2008, 21:18:47



Users browsing this thread: 1 Guest(s)