Staredit Network > Forums > Modding Assistance > Topic: CRASH when SCV walks with ore chunk (with VIDEO)
CRASH when SCV walks with ore chunk (with VIDEO)
Jun 24 2020, 11:37 am
By: Netbek  

Jun 24 2020, 11:37 am Netbek Post #1



Hello all!

My problem:
SCV with Custom GRP --> harvest ore --> moves --> crash

Here's a demonstration video:
https://www.bitchute.com/video/P3IjrwSMvluT/

I suspect it has sth to do with shadows. As soon as the custom SCV reaches frameset 0x33 in its animation WHILE carrying ore, it crashes. :hurr:
In images.dat, I already made 'SCV Shadow' and 'Mineral Chunk Shadow' use the same GRP as 'SCV' and 'Mineral Chunk Type 1'. Yet it still crashes.

-
I attached the mod in case someone wants to try & find the error. Made for Broodwar 1.16.1.

Attachments:
SchuerferSpriteSeiteStandFIX.exe
Hits: 0 Size: 736.89kb




Jun 24 2020, 12:35 pm Neiv Post #2



If you haven't already, you'll need to add powerup carry offsets for any new frames to the unit\terran\scv.loo file.



None.

Jun 24 2020, 1:45 pm Netbek Post #3



Quote from Neiv
If you haven't already, you'll need to add powerup carry offsets for any new frames to the unit\terran\scv.loo file.

Thank you SO MUCH! It worked!

I am relatively new to SC1 modding; I was not even aware of what .loo files do.
You are my hero of the day, you can't imagine how much frustration you saved me from!



IN CASE SOMEONE WITH A SIMILAR PROBLEM EVER READS THIS, HERE IS DETAILED STEP BY STEP:
1) Working with Python Modding Suite (http://www.staredit.net/topic/17400/)
2) Using PyMPQ from the Modding Suite, extract unit\terran\scv.loo from 'StarDat.mpq'
3) Using PyLO from the Modding Suite, open 'scv.loo'
4) Here you will see packs of 2 lines, 1st line reads "Frame", 2nd line is 2 numbers in brackets
5) Add as many such packs as your SCV Model has images in its GRP-File (unit\terran\scv.GRP)




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-5-07. : 7:47 pm]
Ultraviolet -- Yeah, I suppose there's something to that
[2024-5-06. : 5:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[2024-5-06. : 5:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[2024-5-06. : 5:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
[2024-5-06. : 3:04 am]
Ultraviolet -- Vrael
Vrael shouted: I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
With the modern EUD editors, I don't think they're calculating nearly as many offsets as you might imagine. Still some fancy ass work that I'm sure took a ton of effort
[2024-5-06. : 12:51 am]
Oh_Man -- definitely EUD
[2024-5-05. : 9:35 pm]
Vrael -- I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
[2024-5-05. : 9:35 pm]
Vrael -- that is insane
[2024-5-05. : 9:35 pm]
Vrael -- damn is that all EUD effects?
[2024-5-04. : 10:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
Please log in to shout.


Members Online: NudeRaider, Roy