Quantcast

Jump to content

» «
Photo

Mission Coding

337 replies to this topic
NOskillx
  • NOskillx

    Get off

  • Members
  • Joined: 12 Aug 2015
  • Poland

#301

Posted 09 June 2017 - 05:32 PM

  • A long time ago when the city was moved upwards, the Airtrain model was offset to reflect the change. Using a regular Airtrain model would cause it to sink into the ground when taxiing. Also, III handles taxiing aircraft slightly differently from VC because the airport ground has variable height in III as opposed to constant height in VC, so having a constant offset is not correct everywhere. This update allows an unmodified Airtrain model to be used and allows aircraft to taxi on variable ground.

Can you tell me where this change is done ? in .scm or in dinput8.dll?


spaceeinstein
  • spaceeinstein

    Chocolate

  • GTA Mods Staff
  • Joined: 17 Jul 2003
  • Hong-Kong
  • Major Contribution Award [Mods]
    Helpfulness Awards [Mods]

#302

Posted 09 June 2017 - 05:42 PM

The variable height detection is in dinput8.dll.

NOskillx
  • NOskillx

    Get off

  • Members
  • Joined: 12 Aug 2015
  • Poland

#303

Posted 09 June 2017 - 05:57 PM

The variable height detection is in dinput8.dll.

then is this code for this is also in gta lcs pc? ;/ i hope not because lcs code is more like vc not 3 ;/ when it comes to some things like this


spaceeinstein
  • spaceeinstein

    Chocolate

  • GTA Mods Staff
  • Joined: 17 Jul 2003
  • Hong-Kong
  • Major Contribution Award [Mods]
    Helpfulness Awards [Mods]

#304

Posted 09 June 2017 - 07:28 PM

LCS should have this code eventually. It doesn't matter if the engine is more like VC, LCS uses the exact same airport as III.
  • Jinx. likes this

NOskillx
  • NOskillx

    Get off

  • Members
  • Joined: 12 Aug 2015
  • Poland

#305

Posted 09 June 2017 - 07:29 PM

well lcs pc dont have this bug with an airtrain in air


spaceeinstein
  • spaceeinstein

    Chocolate

  • GTA Mods Staff
  • Joined: 17 Jul 2003
  • Hong-Kong
  • Major Contribution Award [Mods]
    Helpfulness Awards [Mods]

#306

Posted 09 June 2017 - 07:35 PM

My code doesn't add 6 units to the Airtrain's path, it places the Airtrain directly on top of the ground. You won't notice it in LCS. Why should this be an issue at all? Surya can easily omit any changes I make.
  • Gladion, NOskillx and SolidFrost like this

Craig Kostelecky
  • Craig Kostelecky

    GTA:LC Team Leader

  • The Connection
  • Joined: 28 Jan 2004
  • United-States
  • Major Contribution Award [Mods]

#307

Posted 10 June 2017 - 12:26 AM

Awesome update. It's so cool to see some of those decades old bugs finally getting solved properly instead of just working around them like we did back then. 

 

And I looked up a bit of Surya's posts as I hadn't heard that name before. I'm impressed by what I have seen so far. 

  • Gladion and NOskillx like this

spaceeinstein
  • spaceeinstein

    Chocolate

  • GTA Mods Staff
  • Joined: 17 Jul 2003
  • Hong-Kong
  • Major Contribution Award [Mods]
    Helpfulness Awards [Mods]

#308

Posted 13 June 2017 - 05:07 AM

A preview of what's to come:
npc_dodo_1_th.jpgnpc_dodo_2_th.jpg
  • Blackbird88, Silent, Jinx. and 4 others like this

spaceeinstein
  • spaceeinstein

    Chocolate

  • GTA Mods Staff
  • Joined: 17 Jul 2003
  • Hong-Kong
  • Major Contribution Award [Mods]
    Helpfulness Awards [Mods]

#309

Posted 14 June 2017 - 04:10 PM

@Nick007J:
npc_dodo_3_th.jpg
  • Nick007J and NOskillx like this

spaceeinstein
  • spaceeinstein

    Chocolate

  • GTA Mods Staff
  • Joined: 17 Jul 2003
  • Hong-Kong
  • Major Contribution Award [Mods]
    Helpfulness Awards [Mods]

#310

Posted 15 June 2017 - 06:32 PM Edited by spaceeinstein, 16 June 2017 - 01:24 AM.

npc_dodo_4_th.jpg
npc_dodo_5_th.jpg
npc_dodo_6_th.jpg
npc_dodo_7_th.jpg

Planes update! (last updated 2017-06-15)
  • Until even as recently as a week ago I thought this task was beyond my capabilities. Then I decided to take the challenge and now we have proper planes! The behavior of Aeroplanes and all the full-winged Dodos (ambient ones, "A Drop in the Ocean", and "S.A.M.") have been faithfully converted from III and should now fly and behave exactly the same way as III. We no longer need a script-based solution which had all kinds of bugs. Their speed, position, rotation, creation, destruction, etc. should be indistinguishable from III. All the plane-related opcodes can now be used:
    OpcodeCommand
    033ASTART_DRUG_RUN
    033BHAS_DRUG_RUN_BEEN_COMPLETED
    033CHAS_DRUG_PLANE_BEEN_SHOT_DOWN
    0358START_DRUG_DROP_OFF
    0359HAS_DROP_OFF_PLANE_BEEN_SHOT_DOWN
    035AFIND_DROP_OFF_PLANE_COORDINATES
    03A6FIND_DRUG_PLANE_COORDINATES

    This is a lot of work for only two missions that mainly use it :breadfish:
  • Redid the pause menu map with better quality textures.
  • Yakuza Stinger engine noise fixed (reference).
  • Pickup blips in "A Drop in the Ocean" are removed when you fail the mission.
  • Craig Kostelecky, Kurropt Antagonist, Blackbird88 and 10 others like this

Craig Kostelecky
  • Craig Kostelecky

    GTA:LC Team Leader

  • The Connection
  • Joined: 28 Jan 2004
  • United-States
  • Major Contribution Award [Mods]

#311

Posted 16 June 2017 - 02:18 AM

Until even as recently as a week ago I thought this task was beyond my capabilities. 

 

I'm starting to wonder if anything between III and VC is beyond your abilities. :D 

  • Kaniel Outis likes this

spaceeinstein
  • spaceeinstein

    Chocolate

  • GTA Mods Staff
  • Joined: 17 Jul 2003
  • Hong-Kong
  • Major Contribution Award [Mods]
    Helpfulness Awards [Mods]

#312

Posted 16 June 2017 - 02:30 AM

Cutscene heads will be the ultimate test :p
  • Craig Kostelecky, xNCx, Tomasak and 3 others like this

Gladion
  • Gladion

    MERDEKA!!!

  • Members
  • Joined: 30 Apr 2011
  • Indonesia

#313

Posted 16 June 2017 - 04:57 AM

How about proper GTAIII trains? That would be useful for LCS2VP as well :p
  • Craig Kostelecky, NOskillx and SolidFrost like this

NOskillx
  • NOskillx

    Get off

  • Members
  • Joined: 12 Aug 2015
  • Poland

#314

Posted 16 June 2017 - 06:12 AM Edited by NOskillx, 16 June 2017 - 06:12 AM.

that would be very very cool! haha


spaceeinstein
  • spaceeinstein

    Chocolate

  • GTA Mods Staff
  • Joined: 17 Jul 2003
  • Hong-Kong
  • Major Contribution Award [Mods]
    Helpfulness Awards [Mods]

#315

Posted 19 June 2017 - 07:56 AM Edited by spaceeinstein, 19 June 2017 - 08:04 AM.

Script update (last updated 2017-06-19)
  • When starting a submission in III like Firefighter, a big blue message is shown on the screen for some amount of time. But in LC, it disappears much too quickly because of the call to opcode 054C. This update fixes that issue.
  • Liberty City Stories' Taxi Driver submission is added for fun. To try it out, open gta-lc.ini, find ViceCity=0 and change it to ViceCity=1.
  • I've included the source code for the SCM.
  • Kurropt Antagonist, Blackbird88, Gladion and 1 other like this

NOskillx
  • NOskillx

    Get off

  • Members
  • Joined: 12 Aug 2015
  • Poland

#316

Posted 19 June 2017 - 10:37 AM Edited by NOskillx, 19 June 2017 - 12:56 PM.

Anyway if someone want text exact the same like in GTA 3 for the Firefighter here is a little GXT update from me

NOTE: Change is done on a latest released GXT from Spaceeinstein.

Changes:

When you end Firefighter mission text "Fire Truck mission ended." is displayed instead of "Firefighter mission ended." like in original GTA 3

DOWNLOAD Link: http://www.mediafire...33/american.gxt

If there are any more things in GXT that are not same as in GTA 3 i might release more of those GXT updates.


The Eddo
  • The Eddo

    Dead

  • Members
  • Joined: 02 Apr 2016
  • Canada

#317

Posted 19 June 2017 - 12:38 PM

Anyway if someone want text exact the same like in GTA 3 for the Firefighter here is a little GTX update from me

NOTE: Change is done on a latest released GTX from Spaceeinstein.

Changes:

When you end Firefighter mission text "Fire Truck mission ended." is displayed instead of "Firefighter mission ended." like in original GTA 3

DOWNLOAD Link: http://www.mediafire...33/american.gxt

If there are any more things in GTX that are not same as in GTA 3 i might release more of those GTX updates.

That's GXT, not GTX.

  • NOskillx likes this

zmudziak32
  • zmudziak32

    Homeboy

  • Members
  • Joined: 14 Dec 2007
  • Poland

#318

Posted 19 June 2017 - 02:05 PM

@spaceeinstein It would be good if we could choose between GTA III Vigilante and Firefighter and their VC/SA/LCS counterparts.

  • NOskillx likes this

spaceeinstein
  • spaceeinstein

    Chocolate

  • GTA Mods Staff
  • Joined: 17 Jul 2003
  • Hong-Kong
  • Major Contribution Award [Mods]
    Helpfulness Awards [Mods]

#319

Posted 19 June 2017 - 04:54 PM

The change to F_FAIL1 was intentional. When you end the mission, F_CANC says "Fire Fighter mission cancelled!" but "F_FAIL1" says "Fire Truck mission ended.". Vice City fixed that inconsistency so I kept that fix.
  • NOskillx likes this

The Eddo
  • The Eddo

    Dead

  • Members
  • Joined: 02 Apr 2016
  • Canada

#320

Posted 21 June 2017 - 02:00 PM Edited by EddoWilliams2016, 21 June 2017 - 02:00 PM.

Ooh, can we have Trash Dash from LCS too?


Ash_735
  • Ash_735

  • Members
  • Joined: 15 Nov 2005
  • None
  • Contribution Award [Mods]
    Most Knowledgeable [GTA] 2013
    Best Map 2013 "ViceCityStories PC Edition"

#321

Posted 21 June 2017 - 03:29 PM

Ooh, can we have Trash Dash from LCS too?

LET PEOPLE DO THEIR WORK! You constantly nagging for this and that isn't going to encourage anyone to want to do things, just comes across as pushy.
  • Tomasak, NOskillx and Ruvix like this

spaceeinstein
  • spaceeinstein

    Chocolate

  • GTA Mods Staff
  • Joined: 17 Jul 2003
  • Hong-Kong
  • Major Contribution Award [Mods]
    Helpfulness Awards [Mods]

#322

Posted 06 July 2017 - 01:59 AM

Script update (last updated 2017-07-05)
  • Weapon ammo count for all pickups should be correct. They include regular ones dotted around the city, Ammu-Nation ones, and drops from dead peds. Vice City has some behavior that differs from III.
  • Cinematic camera help message.
  • AK47 and M16 crouch fire rate fixed.
  • Shotgun fire and crouch fire animation timings less wonky.
  • Craig Kostelecky, Kurropt Antagonist, Tomasak and 3 others like this

spaceeinstein
  • spaceeinstein

    Chocolate

  • GTA Mods Staff
  • Joined: 17 Jul 2003
  • Hong-Kong
  • Major Contribution Award [Mods]
    Helpfulness Awards [Mods]

#323

Posted 3 weeks ago Edited by spaceeinstein, 3 weeks ago.

Script update (last updated 2017-07-27)
  • Fixed GXT key AS2_12A (reference)
  • Opcodes 00BD (PRINT_SOON) and 02FE (PRINT_WITH_2_NUMBERS_SOON) now work. I added 01E6 (PRINT_WITH_NUMBER_SOON) for when AS2_12A is displayed.
  • Use lc_environmentmap.dat if you don't want certain vehicles to have III's environment map. Place the vehicle's model index number on each line.
  • Pickups at hideouts have consistent vertical positions. They no longer look sunk into ground.
  • Craig Kostelecky, Kurropt Antagonist, Blackbird88 and 4 others like this

Niko Belic 605
  • Niko Belic 605

    -

  • Members
  • Joined: 26 Nov 2016
  • None

#324

Posted 3 weeks ago Edited by Niko Belic 605, 3 weeks ago.

Spoiler

Link doesn't work for me.

EDIT: Fixed link in the quote above.

perennial
  • perennial

    Busta

  • Members
  • Joined: 24 Apr 2015
  • None

#325

Posted 3 weeks ago

Changing the date in the URL from 2017-07-26 to 2017-07-27 made the download work.

  • Niko Belic 605 likes this

spaceeinstein
  • spaceeinstein

    Chocolate

  • GTA Mods Staff
  • Joined: 17 Jul 2003
  • Hong-Kong
  • Major Contribution Award [Mods]
    Helpfulness Awards [Mods]

#326

Posted 3 weeks ago

I fixed the link. You shouldn't quote a post containing a broken link.

Butcher696
  • Butcher696

    Rat

  • Members
  • Joined: 14 Jul 2012

#327

Posted 3 weeks ago

For my 1st day was working normal was ok 


spaceeinstein
  • spaceeinstein

    Chocolate

  • GTA Mods Staff
  • Joined: 17 Jul 2003
  • Hong-Kong
  • Major Contribution Award [Mods]
    Helpfulness Awards [Mods]

#328

Posted 2 weeks ago Edited by spaceeinstein, 3 days ago.

AK-47 update (last updated 2017-08-01)
Important! Delete Mss32Hooked.dll if it exists!
  • Silent's mss32.dll hacks are fully integrated into dinput8.dll. You no longer need Mss32Hooked.dll.
  • The Ruger is replaced with the AK-47 and the MP5 is restored. This required wide-ranging changes so bugs may arise from this update.
    ak_th.jpg
  • Craig Kostelecky, Tomasak and NOskillx like this

perennial
  • perennial

    Busta

  • Members
  • Joined: 24 Apr 2015
  • None

#329

Posted 2 weeks ago

Nice one. I still hope to see the MP5 return with its model and sound and spawn at Shoreside safehouse.

The chrome shotgun's shooting animation was broken too. A lazy workaround would be to use the stubby shotgun's animation, it looks decent enough for me.

  • Kaniel Outis likes this

spaceeinstein
  • spaceeinstein

    Chocolate

  • GTA Mods Staff
  • Joined: 17 Jul 2003
  • Hong-Kong
  • Major Contribution Award [Mods]
    Helpfulness Awards [Mods]

#330

Posted 3 days ago Edited by spaceeinstein, 2 days ago.

Script update (last updated 2017-08-17)
Important! Delete Mss32Hooked.dll and gta-lc.asi if they exist!
  • Fixed Chrome Shotgun animations.
  • gta-lc.asi hacks partially integrated. You no longer need that file. Navigation zones and garage doors have been reimplemented and better this time but the exception handler hasn't been transitioned yet.
  • All coordinate blip colors now use the correct colors.
  • Removed pickup markers in "A Drop in the Ocean"; they didn't appear in original mission.
  • Added 035B (CREATE_FLOATING_PACKAGE) and 0218 (PRINT_WITH_NUMBER_BIG_Q).
  • Experimental opaque water. This may or may not be included in the next version depending on its stability. In gta-lc.ini, add OpaqueWater=0 under Misc to disable opaque water.
  • Experimental vehicle camera positioning. It doesn't fully simulate III's but at least you can see over tall vehicles. This may or may not be included in the next version. In gta-lc.ini, add UseVCVehicleCam=0 under Misc. Before and after images:
    camera_old_th.jpg
    camera_new_th.jpg
  • Craig Kostelecky, Kurropt Antagonist, Blackbird88 and 3 others like this




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users