TG 2 OXP

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: [RELEASE] - ToughGuys 2 - the road to Armageddon

Post by Commander McLane »

In this country we have Gummibären, since 1922.

The treatment is roughly the same. Head first or feet first. Or chew them wholesale.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: [RELEASE] - ToughGuys 2 - the road to Armageddon

Post by Cody »

The purple ones were the best.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: [RELEASE] - ToughGuys 2 - the road to Armageddon

Post by Smivs »

Jellybabies! Who hijacked my thread with jellybabies? :shock:
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: [RELEASE] - ToughGuys 2 - the road to Armageddon

Post by Commander McLane »

It doesn't matter with what it was hijacked, only the fact that it was hijacked is what counts on these boards. :wink:
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: [RELEASE] - ToughGuys 2 - the road to Armageddon

Post by Commander McLane »

By the way: "Hijacked by Jellybabies" would be a good name for a Rock band.
Last edited by Commander McLane on Wed Feb 09, 2011 1:39 pm, edited 1 time in total.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: [RELEASE] - ToughGuys 2 - the road to Armageddon

Post by Cody »

The 'silver spacer' hijacked this thread... and Bonanza Jellybean was a character in Even Cowgirls get the Blues.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: [RELEASE] - ToughGuys 2 - the road to Armageddon

Post by Smivs »

NO MORE JELLYBABIES!

Seriously, there is something really weird happening with TG2 for Griff's. It could also be happening for those using the standard TG2 with some of Griff's individual downloads.
El_Viejo has had several sightings of twin lasers on the Gecko and possibly others. The reason for this is because Griff adds gun sub-entities to some of his ships, and I was unaware of this when I coded TG2. In a nutshell I was adding a gun to the ship while leaving the gun sub-entity un-touched.
Easy to sort out in theory, by adding the sub-entity to the shipdata-overrides.plist in TG2, and NOT specifying any laser details in the 'ship' part of the plist.
We've gone from this

Code: Select all

"griff_normalmapped_gecko_NPC" = 
        { 
                energy_recharge_rate = 7.2;
		forward_weapon_type = "WEAPON_MILITARY_LASER";
                "laser_color" = orangeColor;
		has_scoop = yes;
		has_shield_booster = yes;
                has_ecm = yes;
                missile_role = "EQ_HARDENED_MISSILE";
		name = "Gecko";
        }; 
        "griff_normalmapped_gecko_sharkteeth_decal" = 
        { 
                energy_recharge_rate = 7.2;
		forward_weapon_type = "WEAPON_MILITARY_LASER";
                "laser_color" = orangeColor;
		has_scoop = yes;
		has_shield_booster = yes;
                has_ecm = yes;
                missile_role = "EQ_HARDENED_MISSILE";
		name = "Gecko";
         }; 
to this

Code: Select all

 "griff_normalmapped_gecko_NPC" = 
        { 
                energy_recharge_rate = 7.2;
		has_scoop = yes;
		has_shield_booster = yes;
                has_ecm = yes;
                missile_role = "EQ_HARDENED_MISSILE";
		name = "Gecko"; 
        };
        "griff_normalmapped_gecko_sharkteeth_decal" = 
        { 
                energy_recharge_rate = 7.2;
		has_scoop = yes;
		has_shield_booster = yes;
                has_ecm = yes;
                missile_role = "EQ_HARDENED_MISSILE";
		name = "Gecko";
         }; 
         "griff_normalmapped_gecko_gun_NPC" =
         {
         forward_weapon_type = "WEAPON_MILITARY_LASER";
         "laser_color" = orangecolor;
         }; 
However this does not seem to be working. E_V is still reporting twin beams, and red ones at that, when they should be orange.

So two questions.
1) Has anybody else seen this effect?
2) Does anyone have any idea what's going on here?

Edit:- OK, I've spotted the small 'c' in orangecolor...it should be orangeColor. There seems to be some confusion about quotes here. should it be

Code: Select all

"laser_color" = "orangeColor"
as it's worked fine for me in the past with only the "laser_color" in quotes, not the color specifier.
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
Fatleaf
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 1988
Joined: Tue Jun 08, 2010 5:11 am
Location: In analysis mode on Phaelon
Contact:

Re: [RELEASE] - ToughGuys 2 - the road to Armageddon

Post by Fatleaf »

This may sound very stupid but isn't it - colour - or is it all american spelling for code?
Find out about the early influences of Fatleaf here. Also his OXP's!
Holds the Ooniversal record for "Thread Necromancy"
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: [RELEASE] - ToughGuys 2 - the road to Armageddon

Post by Cody »

From the Wiki: Example:

"laser_color" = "cyanColor"
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: [RELEASE] - ToughGuys 2 - the road to Armageddon

Post by Smivs »

Certainly not stupid, as typos are probably the most common source of angst for coders. I'm afraid all computers are American, or at least they think we should be. :roll:
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Re: [RELEASE] - ToughGuys 2 - the road to Armageddon

Post by JensAyton »

The general rule is American spelling, although I think there are exceptions and a few cases that accept both. Trying to use British spelling in code tends to lead to inconsistencies. For instance, in the case of laser_color = "cyanColor", Oolite controls the spelling of the left side but not the right side.
User avatar
TGHC
---- E L I T E ----
---- E L I T E ----
Posts: 2157
Joined: Mon Jan 31, 2005 4:16 pm
Location: Berkshire, UK

Re: [RELEASE] - ToughGuys 2 - the road to Armageddon

Post by TGHC »

It's a great shame that the best space game ever, devised by two Brits gets its code spellings hijacked by the Yanks

@Smivs Good work identifying an issue with lasers and sub entities (what ever they are)
Sorry about hijacking the thread, I won't mention Marmite either!
The Grey Haired Commander has spoken!
OK so I'm a PC user - "you know whats scary? Out of billions of sperm I was the fastest"
User avatar
CheeseRedux
---- E L I T E ----
---- E L I T E ----
Posts: 827
Joined: Fri Oct 02, 2009 6:50 pm

Re: [RELEASE] - ToughGuys 2 - the road to Armageddon

Post by CheeseRedux »

Now there's a thought: Jellybabies with Marmite. :mrgreen:
"Actually this is a common misconception... I do *not* in fact have a lot of time on my hands at all! I just have a very very very very bad sense of priorities."
--Dean C Engelhardt
User avatar
Gimi
---- E L I T E ----
---- E L I T E ----
Posts: 2073
Joined: Tue Aug 29, 2006 5:02 pm
Location: Norway

Re: [RELEASE] - ToughGuys 2 - the road to Armageddon

Post by Gimi »

CheeseRedux wrote:
Now there's a thought: Jellybabies with Marmite. :mrgreen:
Auch!, feel ill now. :mrgreen: (Need a Mr Green with a sad face to describe my current situation)
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: [RELEASE] - ToughGuys 2 - the road to Armageddon

Post by Smivs »

Can't stand Marmite. :(

@ TGHC, clever spotting the problem maybe, but not clever doing zero research and making the problem for myself in the first place. :cry:
Commander Smivs, the friendliest Gourd this side of Riedquat.
Post Reply