IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the GTA IV Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules 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

Pages: (2) [1] 2   ( Go to first unread post ) Closed TopicStart new topicStart Poll

> Demarest's Bullet Time Mod, Me = SUCCESS!
 
spaceeinstein  
Posted: Jul 19 2005, 18:33
Quote Post


Chocolate
Group Icon
Group: Members
Joined: Jul 17, 2003

cn.gif

Member Award




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
Users WebsitePM
  Top
 

 
gtasanandreasmaster  
Posted: Jul 20 2005, 14:55
Quote Post


SAN ANDREAS !!!!!!!!!!&a
Group Icon
Group: BUSTED!
Joined: Jan 13, 2005

uk.gif

XXXXX



nice!!!!!!!!!!

but there is a cheat for this im sure!
PM
  Top
 

 
spaceeinstein  
Posted: Jul 20 2005, 16:06
Quote Post


Chocolate
Group Icon
Group: Members
Joined: Jul 17, 2003

cn.gif

Member Award




Yes there is. But I want to make use of the Adrenaline Pill.
Users WebsitePM
  Top
 

 
DJ_Professor_K  
Posted: Jul 20 2005, 16:16
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Jan 4, 2004

XXXXX



great idea smile.gif

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 tounge.gif 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...
PM
  Top
 

 
Bigun  
Posted: Jul 20 2005, 20:05
Quote Post


wandering about
Group Icon
Group: Members
Joined: Jul 10, 2004

ie.gif

XXXXX



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 tounge.gif -Bigun
Users WebsitePM
  Top
 

 
Demarest  
Posted: Jul 20 2005, 20:29
Quote Post


what could be
Group Icon
Group: BUSTED!
Joined: Jul 12, 2003

XXXXX



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 confused.gif
Users WebsitePMAOL
  Top
 

 
Bigun  
Posted: Jul 20 2005, 22:11
Quote Post


wandering about
Group Icon
Group: Members
Joined: Jul 10, 2004

ie.gif

XXXXX



Ooops. Thanks for clearing that up Dem smile.gif 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:
CODE
:LabelNEOADRENALINE


And switch it with the code in the label
QUOTE
:LabelKILLNEOTIMER


And if that doesnt work, restore :LabelKILLNEOTIMER to original and instead replace the very last label. -Bigun
Users WebsitePM
  Top
 

 
Demarest  
Posted: Jul 20 2005, 22:51
Quote Post


what could be
Group Icon
Group: BUSTED!
Joined: Jul 12, 2003

XXXXX



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.
Users WebsitePMAOL
  Top
 

 
spaceeinstein  
Posted: Jul 20 2005, 22:57
Quote Post


Chocolate
Group Icon
Group: Members
Joined: Jul 17, 2003

cn.gif

Member Award




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
Users WebsitePM
  Top
 

 
Demarest  
Posted: Jul 20 2005, 23:28
Quote Post


what could be
Group Icon
Group: BUSTED!
Joined: Jul 12, 2003

XXXXX



You do whatever you like. I just thought it was more useful with the ability to control it.
Users WebsitePMAOL
  Top
 

 
spaceeinstein  
Posted: Aug 6 2005, 22:55
Quote Post


Chocolate
Group Icon
Group: Members
Joined: Jul 17, 2003

cn.gif

Member Award




AIM + H = Activate Bullet Time (ends in 20 game minutes)
SHIFT = Deactivate Bullet Time

Anyway to simplify the code more?
Users WebsitePM
  Top
 

 
Bigun  
Posted: Aug 6 2005, 23:48
Quote Post


wandering about
Group Icon
Group: Members
Joined: Jul 10, 2004

ie.gif

XXXXX



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 ph34r.gif
Users WebsitePM
  Top
 

 
spaceeinstein  
Posted: Aug 7 2005, 00:12
Quote Post


Chocolate
Group Icon
Group: Members
Joined: Jul 17, 2003

cn.gif

Member Award




How many people press Shift before the directional keys to move?
Users WebsitePM
  Top
 

 
Bigun  
Posted: Aug 7 2005, 00:28
Quote Post


wandering about
Group Icon
Group: Members
Joined: Jul 10, 2004

ie.gif

XXXXX



It MAY happen catspider.gif
Users WebsitePM
  Top
 

 
doogle  
Posted: Aug 8 2005, 13:27
Quote Post


Dr Snuggles, King of the animal world...
Group Icon
Group: Members
Joined: Jun 25, 2002

uk.gif

XXXXX



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 smile.gif
Users WebsitePM
  Top
 

 
pie4john  
Posted: Aug 24 2005, 20:06
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Aug 16, 2005

us.gif

XXXXX



not knowing how to edit scripts, is any one hosting this so i can download it, no i dont want the all in one
PMAOL
  Top
 

 
Demarest  
Posted: Aug 24 2005, 20:13
Quote Post


what could be
Group Icon
Group: BUSTED!
Joined: Jul 12, 2003

XXXXX



I'll see what I can do about converting Neo v4 to SA, complete with Darkpactor.
Users WebsitePMAOL
  Top
 

 
pie4john  
Posted: Aug 24 2005, 22:01
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Aug 16, 2005

us.gif

XXXXX



thanks
PMAOL
  Top
 

 
San andreas master  
Posted: Aug 24 2005, 22:06
Quote Post


.:%$Catonic$%:.
Group Icon
Group: BUSTED!
Joined: Dec 28, 2004

au.gif

XXXXX



go to the scm database. no scripting is needed.- ѕ.а.м
Users WebsitePM
  Top
 

 
Demarest  
Posted: Aug 25 2005, 02:26
Quote Post


what could be
Group Icon
Group: BUSTED!
Joined: Jul 12, 2003

XXXXX



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?
Users WebsitePMAOL
  Top
 

 
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Pages: (2) [1] 2  Closed TopicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG
     

 
     
Message Boards and Forums Directory