|
 |
|
|
|
|
|
Attention:
|
The Mod Showroom is only for posting previews/downloads of completed or near finished mods. All help topics should be posted in the Editing Discussion forums. Help topics and mod requests posted here will be locked or binned. Thank you.
|
|
GTAGarage.com : Free mod hosting, attach your files and screenshots to your topics
GTAModding.com : A wiki for everything related to GTA modding, including documentation and tutorials
|
Demarest's Bullet Time Mod, Me = SUCCESS!
 |
|
 |
| |
spaceeinstein  |
|
Chocolate

Group: Members
Joined: Jul 17, 2003



|
CONVERTED FOR SAN ANDREAS!
Created by Demarest for Vice City. Cropped for my Vice City All In One Mod. Converted to San Andreas by spaceeinstein.
This is a script mod that lets you be in bullet time (adrenaline mode). Press AIM + H to activate it. It'll lasts for 20 in-game seconds. The game will become very slow and your punch will be more powerful due to this drug. Press SPRINT to end bullet time.
First add this to the define objects area
| CODE | | DEFINE OBJECT ADRENALINE |
Remember to increase the number of defined objects by one.
| CODE | 004F: create_thread ££LabelNEO
------------
:LabelNEO 03A4: name_thread 'NEOTIME' 0004: $NEOTIMER = 0
:LabelNEOLOOPSTART 0001: wait 20 ms 00D6: if 0 0256: player $PLAYER_CHAR defined 004D: jump_if_false ££LabelNEOLOOPSTART2 00D6: if 0 8449: NOT actor $PLAYER_ACTOR in_a_car 004D: jump_if_false ££LabelNEOLOOPSTART2 00D6: if 0 00DF: actor $PLAYER_ACTOR driving 004D: jump_if_false ££LabelISONFOOT
:LabelNEOLOOPSTART2 0050: gosub ££LabelKILLNEOTIMER 0002: jump ££LabelNEOLOOPSTART
:LabelISONFOOT 00D6: if 1 00E1: key_pressed 0 6 00E1: key_pressed 0 9 004D: jump_if_false ££LabelNEORAGE 0050: gosub ££LabelNEOADRENALINE 0002: jump ££LabelNEOLOOPSTART
:LabelNEORAGE 00D6: if 2 00E1: key_pressed 0 16 80E1: NOT key_pressed 0 0 80E1: NOT key_pressed 0 1 004D: jump_if_false ££LabelNEOLOOPSTART 01B4: set_player $PLAYER_CHAR frozen_state 0 0050: gosub ££LabelKILLNEOTIMER 01B4: set_player $PLAYER_CHAR frozen_state 1 0002: jump ££LabelNEOLOOPSTART
:LabelNEOADRENALINE 00A0: store_actor $PLAYER_ACTOR position_to @0 @1 @2 0213: @15 = create_pickup #ADRENALINE type 15 at @0 @1 @2 0363: toggle_model_render_at @0 @1 @2 radius 50.0 object #ADRENALINE 0 0006: @33 = 0
:LabelNEOADRENALOOP 0001: wait 20 ms 00D6: if 0 001B: 201 > @33 004D: jump_if_false ££LabelNEOMISSED 00D6: if 0 0214: pickup @15 picked_up 004D: jump_if_false ££LabelNEOADRENALOOP 0004: $NEOTIMER = 20000 014E: set_timer_to $NEOTIMER type 1
:LabelNEOMISSED 0215: destroy_pickup @15 0051: return
:LabelKILLNEOTIMER 00D6: if 0 0018: $NEOTIMER > 0 004D: jump_if_false ££LabelKILLNEOTIMEREND 014F: stop_timer $NEOTIMER 0004: $NEOTIMER = 0
:LabelKILLNEOTIMEREND 0051: return | This post has been edited by spaceeinstein on Aug 8 2005, 14:45
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
DJ_Professor_K  |
|
Player Hater

Group: Members
Joined: Jan 4, 2004

|
great idea  1 small qwestion..... if i want to make it inf bullet time, so i can make and remake and remake those stunt actions in bullet time for my movies, i should only change this line: | CODE | | 0004: $NEOTIMER = 20000 |
to | CODE | | 0004: $NEOTIMER = -1 |
yeah.... i'm dumb with coding, yes i'm making own main.scm for the first time, but most of the things i don't know  i just search around and make some small qwestions when i don't see nothing talked on the tutorials now, if puted -1, becosue on some game engines, like the good old ut99 to ut2k3, ut2k4, if i put -1 it will make inf. time or in case of a weapon, inf ammo...
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Bigun  |
|
wandering about

Group: Members
Joined: Jul 10, 2004


|
Without looking at the code, that probably wont work because spacee uh /Dem checks if the timer is either 0 OR LESS than 0 and then stops the bullet time. BUT, you can always go for the simple way with....
| CODE | | 0004: $NEOTIMER = 999999999999999999999999999999999999999999999999999999999 |
That will practically make it inf -Bigun
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Demarest  |
|
what could be

Group: BUSTED!
Joined: Jul 12, 2003

|
Setting $NEOTIMER just says how long the timer ON SCREEN should read. It's to let the player know how much time they have. The effects of Adrenaline are hard coded, so it will last 20 game minutes (40 real life seconds because of the effect) regardless of what the timer says. I'm not sure which version of NEO (not bullet time mod) space is working from, but the latest version had the ability to reset the clock to 20 at will as well as the option to intentionally take yourself out of bullet time. So to be honest, I'm not sure why he bothered with an incomplete conversion, let alone call it a full mod
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Bigun  |
|
wandering about

Group: Members
Joined: Jul 10, 2004


|
Ooops. Thanks for clearing that up Dem I thought andrenaline wouldn't be hardcoded in SA because it isn't included by default. Space is probably using the VC v5 by SeBez? I don't think he works with GTA3 stuff.
Well uhm, @DJ_Professor_K, I think a quick fix would be this: Copy the code from label:
And switch it with the code in the label
And if that doesnt work, restore :LabelKILLNEOTIMER to original and instead replace the very last label. -Bigun
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Demarest  |
|
what could be

Group: BUSTED!
Joined: Jul 12, 2003

|
| QUOTE (Bigun @ Jul 20 2005, 17:11) | | Space is probably using the VC v5 by SeBez? I don't think he works with GTA3 stuff. | Still, SeBsZ's work was always direct ports. So Neo v5 is Neo v5 both in terms of coding (as close as engines would allow) and in game end experience.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
spaceeinstein  |
|
Chocolate

Group: Members
Joined: Jul 17, 2003



|
| QUOTE (spaceeinstein @ Jul 19 2005, 14:33) | | Cropped for my Vice City All In One Mod. | Yea that explained the incompleteness. If you want me to convert the entire thing, I would. This post has been edited by spaceeinstein on Jul 20 2005, 22:59
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Bigun  |
|
wandering about

Group: Members
Joined: Jul 10, 2004


|
You do check if you aren't pressing left/right/forward/backward but you should add to that so you need to press ACTION + SPRINT to exit Andrenaline Mode. Just a thought, less activated by mistake than just sprint.
Simplifying the code is Demarest's turn
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Bigun  |
|
wandering about

Group: Members
Joined: Jul 10, 2004


|
It MAY happen
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
doogle  |
|
Dr Snuggles, King of the animal world...

Group: Members
Joined: Jun 25, 2002


|
| QUOTE (spaceeinstein @ Aug 7 2005, 00:12) | | How many people press Shift before the directional keys to move? | I have shift as my run button, so I press shift before moving sometimes when I want to run
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Demarest  |
|
what could be

Group: BUSTED!
Joined: Jul 12, 2003

|
| QUOTE (San andreas master @ Aug 24 2005, 18:06) | | go to the scm database. no scripting is needed.- ѕ.а.м | What in god's name are you blathering about?
|
|
|
|
|
 |
|
 |
|
|
|
|