Two script problems

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
Shivan Hunter
Commonwealth Pilot
Commonwealth Pilot
Posts: 81
Joined: Tue Nov 29, 2011 3:07 am

I do not define &vtThermoExplosion1; in any XML referenced by my adventure extension (it's part of vanilla Trans).

If I set explosionType= "&vtThermoExplosion1;" on a station in my extension, it has the thermo explosion.

(sysCreateEffect &vtThermoExplosion1; gSource (objGetPos gSource)) throws an error. I assume this is the correct behavior.

Also, unrelated problem.

(objSetProperty gSource 'structuralHP -1) does not work; it does not destroy the station. I also tried 0.


NVM. objDestroy works. Should have checked that first. First problem is still a problem.

Need sleep. Should I post tickets of either of these tomorrow? Or someone else can do it if they want.
I'm here to shift paradigms and chew bubblegum... and I'm all out of bubblegum.

<+The_Shrike> If you install 2 solar panels, you will have 2 solar panels installed.
<DarthGeek|2> :o
User avatar
Shivan Hunter
Commonwealth Pilot
Commonwealth Pilot
Posts: 81
Joined: Tue Nov 29, 2011 3:07 am

sysCreateEffect is still throwing an error after I defined the explosion in my script.
I'm here to shift paradigms and chew bubblegum... and I'm all out of bubblegum.

<+The_Shrike> If you install 2 solar panels, you will have 2 solar panels installed.
<DarthGeek|2> :o
User avatar
Shivan Hunter
Commonwealth Pilot
Commonwealth Pilot
Posts: 81
Joined: Tue Nov 29, 2011 3:07 am

OK, I just made a test thingy using a Trans effect, where it overrides a Trans station (the Centauri Warlords camp). Still gives an error. Can someone install this and destroy that Centauri camp near Starton Eridani and see if it happens for you too? And if so, is this a bug, or am I doing something wrong?

"Centauri test", the test mod.
I'm here to shift paradigms and chew bubblegum... and I'm all out of bubblegum.

<+The_Shrike> If you install 2 solar panels, you will have 2 solar panels installed.
<DarthGeek|2> :o
User avatar
Shivan Hunter
Commonwealth Pilot
Commonwealth Pilot
Posts: 81
Joined: Tue Nov 29, 2011 3:07 am

Figured it out.

The very bottom of This page, about timers, is wrong and sysCreateEffect can not create explosions. An explosion is a virtual item defined by <ItemType>, whereas an effect (such as &efGemOfSacrifice;, the only thing used with sysCreateEffect) is defined by <Effect>.

This needs to be changed, because some weird people tend to assume that information in a wiki is correct.

(can I change it? who has access to change wiki pages?)

Also, how can I create explosions? I'm not that familiar with using virtual items.
I'm here to shift paradigms and chew bubblegum... and I'm all out of bubblegum.

<+The_Shrike> If you install 2 solar panels, you will have 2 solar panels installed.
<DarthGeek|2> :o
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

Syscreateweaponfire is your friend :)
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

DarthGeek: all you have to do is register and get approved by a list of people here. If you can give me the edits I can do them for you while we wait for your activation.
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
User avatar
Shivan Hunter
Commonwealth Pilot
Commonwealth Pilot
Posts: 81
Joined: Tue Nov 29, 2011 3:07 am

Registered. I just need the last section of code changed from

Code: Select all

<Events>
    <OnDestroy>
        (block Nil
            (plyMessage gPlayer "You haven't seen the last of me!!!! BOOM!")
            (sysAddObjTimerEvent 100 gSource "Kaboom")
            )
    </OnDestroy>
    <Kaboom>
         (sysCreateEffect &vtPlasmaExplosion2; gSource (objGetPos gSource))
    </Kaboom>
</Events>
to

Code: Select all

<Events>
    <OnDestroy>
        (block Nil
            (plyMessage gPlayer "You haven't seen the last of me!!!! BOOM!")
            (sysAddObjTimerEvent 100 gSource "Kaboom")
            )
    </OnDestroy>
    <Kaboom>
         (sysCreateWeaponFire &vtPlasmaExplosion2; gSource (objGetPos gSource) 0 0 gSource)
    </Kaboom>
</Events>
I'm here to shift paradigms and chew bubblegum... and I'm all out of bubblegum.

<+The_Shrike> If you install 2 solar panels, you will have 2 solar panels installed.
<DarthGeek|2> :o
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

Done. ;)
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
User avatar
Ttech
Fleet Admiral
Fleet Admiral
Posts: 2767
Joined: Tue Nov 06, 2007 12:03 am
Location: Traveling in the TARDIS
Contact:

Shivan Hunter wrote:Registered. I just need the last section of code changed from
I've activated your account on the wiki since that is the only one I could find.
Image
Image
Post Reply