|
 |
|
|
|
|
|
Attention:
MISSION CODING IV Official main.scm discussion, releases
 |
|
 |
| |
Konstantinos  |
Posted: Thursday, Jan 5 2006, 22:59
|
Just passing by

Group: Members
Joined: Jul 29, 2005


|
Allright, this is getting very confusing. Here's my experience with SS in the latest SCM. 1/ The text ben talks about displayed correctly - it was probably a random glitch. Don was supposed to leave at 11:30. I took vantage point at the roof of Woody's. No flickering occured. The mafia cars didn't arrive! At 12:00 mafia guys walked out of the club and immediately ran to the front wall of woody's. They started blasting their shotguns at me THROUGH THE WALL AND ROOF and actually hit me! I shot one who was still standing in front of Luigi's with my M60. This is where I got the message "You have been spotted" , although 3 mobsters were already shooting at me for some time. The game froze. 2/ The 2nd time was much like above except I wasn't hurt by the goons fire, it just made a ricochet effect on the roof! This time I shot the guy at the front with my PSG-1, got the "spotted" message but game continued. Leone walked out of the club correctly, I sniped him and voila - mission passed. EDIT: And I almost forgot - the mid-mission cutscene (Don walking out of the door) didn't play. Phew! This post has been edited by Konstantinos on Thursday, Jan 5 2006, 23:55
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Ben  |
|
Retired

Group: Members
Joined: May 12, 2005



|
Hahaha  ! Oh well, look how far you've brought it. Anyhow, back to my obsession with getting the Staunton Lift Bridge ringing - I had a thought. Since some of the car horns sound similar, would it be possible to replace one of them with the bridge alarm, and then just revert the cars affected to a similar sounding horn? I was going to have a look into this myself when, after staring at the code last night for about 20 mins, I thought I started to understand some of it. But, reality brought me back down to size when I realised I didn't even know where to start  ! I mean, it is possible to do, but would it be done?
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Stuff_of_Legends  |
|
Don't Got None on Mars

Group: Members
Joined: Jul 13, 2005


|
| QUOTE (benisablink182fan @ Jan 5 2006, 17:47) | | I mean, it is possible to do, but would it be done? |
I think it is quite possible, I have come across an opcode that plays a sound at coordinates x,y,z. It is usually set to 0,0,0, to play sound full volume no matter where you are in the game. If you specify x,y,z (the bridge location) I would think the sound would decrease in volume as you got further away. I haven't seen any examples in working code yet so not 100% sure. A little more code to play only when bridge isn't down, placed in the thread and you will have that dinging sound forever stuck in your head. Note to self (Gotta have option to turn it off). Then there's the flashing red lights at the approach to the bridge. Now you've got me thinking...
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Y_Less  |
|
629

Group: Members
Joined: Mar 14, 2004



|
| QUOTE (Stuff_of_Legends @ Jan 6 2006, 08:39) | | QUOTE (benisablink182fan @ Jan 5 2006, 17:47) | | I mean, it is possible to do, but would it be done? |
I think it is quite possible, I have come across an opcode that plays a sound at coordinates x,y,z. It is usually set to 0,0,0, to play sound full volume no matter where you are in the game. If you specify x,y,z (the bridge location) I would think the sound would decrease in volume as you got further away. I haven't seen any examples in working code yet so not 100% sure. A little more code to play only when bridge isn't down, placed in the thread and you will have that dinging sound forever stuck in your head. Note to self (Gotta have option to turn it off). Then there's the flashing red lights at the approach to the bridge. Now you've got me thinking... | I have thought about the bridge before (as have others), I even timed the original to get it right (the LC one is WAY off but meh, so are my cranes). The sound, as you say, isn't hard to do, the lights are a little more difficult as I don't know of an OpCode (if there is one, that won't be hard though). The only hard part is making the cars stop like at lights, the current version just doesn't allow cars near. And the scrolling text is hardcoded, changing it won't be hard, but changing its position in the world may be.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Ben  |
Posted: Saturday, Jan 7 2006, 01:41
|
Retired

Group: Members
Joined: May 12, 2005



|
I've come across that opcode too. I tried it out yesterday (pretty unsuccessfully initially due to my coding (and possibly overall) n00bishness!) but there's still the problem (which I forgot about) of knowing what number to put in the scm to make the sound play. For those of you who are completely lost, like I was, each sound in the sfx has a number, like sfx00001.wav, etc. But, in order to get it to play through the scm, you need to use the create_sound sound <insert number> ... opcode, and that's where the problem comes in. The bridge is a bit out of time, but that isn't hard to change - I think it just involves changing the amount of time after the wait opcode under the SSV Bridge code part of the scm. There's even a section to insert code for the ringing when it gets done.
The main reason I'd like this fixed is because I've lost count of the number of times I've crashed (and sometimes died) into the bridge as it goes up without warning. The lights aren't too much of an issue - getting the sound to work solve the main part of that issue.
Another possibility is extracting the wav from the scm, putting it in the audioLC folder, and using a play_wav (or whatever it is) opcode if the sound number variable thingy can't be found. I don't know, just another suggestion to ponder.
But, this leads me to my question - how did you find the numbers already used in the scm? - like 91 (from Craig's example earlier), the sound played when Joey is "visiting" Misty. And, do all of the other sfx sounds play automatically because they are coded into the EXE?
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Y_Less  |
Posted: Saturday, Mar 11 2006, 15:58
|
629

Group: Members
Joined: Mar 14, 2004



|
| QUOTE (Craig Kostelecky @ Mar 10 2006, 20:06) | The opcode 3F8 needs to be reenabled for it to work. And Hammer said several times that he didn't think it could be done.
Here's what is supposed to happen. The body cast is thrown from the ambulance. It's meant to be bulletproof and fire proof. So to damage it, you should either run it over with a car repeatedly, or try and blow it up. Only exploding it will work at this point. |
[color=#12bd72]I assume you can physically get on top of the thing with your car (as in can drive over):
0366/db
Is used in conjunction with other codes in the cone-crazy missions to detect if the car has hit the cone.
Also, it works for shooting it with the 9mm as well (only the 9mm though), but that can be corrected
Edit: It can be corrected due to the fact that at any one point you can only be driving OR firing a 9mm, you can't do both at once.
Sorry, I would code it myself but as you know I'm down atm so I'm just trying to help as much as I can.
This post has been edited by Y_Less on Saturday, Mar 11 2006, 16:00
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Konstantinos  |
|
Just passing by

Group: Members
Joined: Jul 29, 2005


|
| QUOTE (ThunderPower @ Apr 21 2006, 14:19) | | I think you should know there is something wrong with The Exchange. The two mavericks spawn, but they are both unlocked. (One should be locked and a new one, unlocked should spawn for Catalina) You can easily just get into the Maverick, bail out, and push it off the dam. I think you should fix that. |
You gotta be kidding me. I reported this, and we even had a discussion over it in the Bugs, glitches and incompletes topic. Just *what* were you thinking, posting it here and making it sound like YOU found it? FYI, Craig read my original post and said it will be fixed. I thank you, you may f*ck off now. This post has been edited by Konstantinos on Friday, Apr 21 2006, 17:56
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Konstantinos  |
Posted: Saturday, Apr 22 2006, 21:05
|
Just passing by

Group: Members
Joined: Jul 29, 2005


|
No probs. I should've gone easy on that asterisk word, too. But in the future, if you feel the need to repeat something you know someone else found before, you should give him some credit. So it won't look like you're claiming authorship.[/offtopic] And now to something completely different... Craig, I'd like to know how exactly will the planned spawning of VC weapons as a 100% reward look. Have you given any thought to the idea of a new DebugVariable to enable them from the start? I think this could be in the official release, and then there won't be a need for my tiny VC weps mod. Of course, you are free to use my code (if it's any use to you). Right now I got spawning at hideouts, 7 weps at each, which IMO is pretty neat and could work for the official version... This post has been edited by Konstantinos on Saturday, Apr 22 2006, 21:23
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
Pages:
(27) « First ... 12 13 [14] 15 16 ... Last »
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
| |
 |
|
 |
|
|
|
|