GTA: Modification Area
Would you like to react to this message? Create an account in a few clicks or log in to continue.
GTA: Modification Area

A website for the GTA modding scene

Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Big-game starts raising Schneider's profile
[IV] Spoiler Script EmptySun Mar 04, 2012 2:28 am by lavivi

» [Help] cleo created lighting
[IV] Spoiler Script EmptyThu Oct 14, 2010 1:03 am by findmy012

» Mission Question
[IV] Spoiler Script EmptyThu Oct 14, 2010 1:02 am by findmy012

» [IV] Spoiler Script
[IV] Spoiler Script EmptyThu Oct 14, 2010 1:02 am by findmy012

» Mission mod [help]
[IV] Spoiler Script EmptySat Sep 18, 2010 5:50 pm by jayd00

» Bc7 Mod Help
[IV] Spoiler Script EmptyFri Aug 20, 2010 11:19 am by pengpeng

» Found a bug
[IV] Spoiler Script EmptyFri Dec 18, 2009 4:22 am by _CJ360_

» [IV] Novitec Rosso 599 GTB
[IV] Spoiler Script EmptyTue Nov 17, 2009 4:22 pm by Kotton

» Hello/Guidance Request
[IV] Spoiler Script EmptyMon Oct 12, 2009 6:45 am by Adler

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Affiliates
image

Image

Image

Image

Image

Image

Image

Image

Image

Image

image

Image

steve-m.com

Image


----- Русский -----

Если ваш сайт содержит большую коллекцию SCM/CLEO-скриптов (больше 16), напишите на мой e-mail, и я добавлю его в список. Приветствуются скрипты, которые не встречаются на других сайтах ... Спасибо. ))))


----- English -----

If your website has a big enough collection of SCM/CLEO scripts (more than 16) notify me by e-mail
, and I will add it to the list. The unique scripts are preferable ... Thank you. ))))
Log in

I forgot my password



May 2024
MonTueWedThuFriSatSun
  12345
6789101112
13141516171819
20212223242526
2728293031  

Calendar Calendar


You are not connected. Please login or register

[IV] Spoiler Script

3 posters

Go down  Message [Page 1 of 1]

1[IV] Spoiler Script Empty [IV] Spoiler Script Wed Oct 21, 2009 8:32 am

Kotton



what's happonen Big.. hope all's been goin good with ya man-

I know IV scripting is relatively new.. but I'm lookn to do a LUA script for IV
that controls my Veyron spoiler realistically-

first off, is it even possible? -if so, secondly, what should I do.. add the parts
as external objects? -or- can I put them as extras and modify their positions/rotation?
what sucks is, I know exactly what I would do to get it working in SA/CLEO :suicide:

some pics to reference..

the spoiler (3 parts) in it's native retracted position
[IV] Spoiler Script 5d254c53037111

the spoiler in it's extended position (top wing rotates 15 degrees, bottom wing extends)
[IV] Spoiler Script C34fe253037115

and braking at high speeds (top wing rotates another 55 degrees)
[IV] Spoiler Script 35e16453037117

so as you can see, the main wing would have to be "attached" the the mount, then the mount would
slowly move up and back (in diagonal fashion), while the main wing rotates 15 degrees towards the front-
at the same time this happens, the secondary wing would diagonally move up and out - of course,
then it would have to flip up when braking (above a preset speed) and retract back to it's original
position when driving below a certain speed- any pointers to get me going on this would be appreciated

2[IV] Spoiler Script Empty Re: [IV] Spoiler Script Thu Oct 22, 2009 11:34 am

gtasbigfoot

gtasbigfoot
Admin


any pointers to get me going on this would be appreciated


Should be possible - but is very much work, at least until modding in GTA4 becomes even more advanced. Yeah, in SA it's very easy and does not take much work. LUA scripting is some-what limited, until Alexander updates it, but is busy in university at the moment.



add the parts as external objects?

Probably would be best, yes.

At first, the spoiler will need to be a separate object from the actual car, and move it as a object. I know almost exactly what you're getting at -- as I tried the Bugatti mod for SA with the script spoiler. You do know how to write ASI-style (DLL - same) plugins, yea?

IMO, I think that it would be more easy to create this using C++ or via Script Hook - just my opinion, though. More is possible with C++, I guess more people use LUA because it's more easy to learn; I use all IV-scripting methods anyway, but just mainly C++. ))) Still hard though.

I'm not at home right now, so I can't help more yet, I'll take a look as soon as I get home.

--

Look through the natives, see if you can find any function to help you;

http://public.sannybuilder.com/GTA4/gta_natives_pc.txt
http://public.sannybuilder.com/GTA4/

Others (though maybe not useful for this subject):

http://public.sannybuilder.com/GTA4/natives.txt
http://sannybuilder.com/forums/attachment.php?item=102 (the 105 NOP-functions in GTA4)

[Thanks to Seemann & listener, etc...]

http://gtamodding.com

3[IV] Spoiler Script Empty Re: [IV] Spoiler Script Fri Oct 23, 2009 10:27 am

Kotton



Idgaf how it's done, just as long as it's possible Very Happy
I only said LUA because I thought that's the medium we needed to use
-and even tho I searched for a native that would help,
honestly, I haven't even tried doing a LUA script yet lol
and nah man, the only scripting I've done is all CLEO, nothn else

but I'm down man, just met me know what I gotta do and I'll do it-

4[IV] Spoiler Script Empty Re: [IV] Spoiler Script Fri Oct 23, 2009 11:25 am

gtasbigfoot

gtasbigfoot
Admin


I only said LUA because I thought that's the medium we needed to use

No, that's good, LUA is a nice language, just not advanced enough for some things and that's all.



-and even tho I searched for a native that would help, honestly, I haven't even tried doing a LUA script yet

You are far from the "only one" - because still, a lot of people still can't even play GTA4 because of the system requirements. =) In Russia, we have lots of books on C++, I don't know if America does, but I believe it should have.



and nah man, the only scripting I've done is all CLEO, nothn else

Doesn't matter. It's still classed as "programming" and if you have experience in scripting, it should not be so hard at all to learn C++.




but I'm down man, just met me know what I gotta do and I'll do it-

To get started, first:

1. Download aru's C++ Script Hook if you have not already. And read through the thread.

2. Read this http://forums.gtamodding.ru/index.php?showtopic=86&st=0 ; sorry it's in Russian, maybe you can use Google.

3. Read: http://en.wikipedia.org/wiki/C%2B%2B

4. Download Visual Studio C++ (if you don't already have it): http://www.microsoft.com/express/download/default.aspx

5. Read:

http://www.csharp-station.com/tutorial.aspx and the GTA 4 forum http://www.gtaforums.com/index.php?showforum=251

http://gtamodding.com

5[IV] Spoiler Script Empty Re: [IV] Spoiler Script Fri Oct 23, 2009 11:31 am

Kotton



cool, I'm on it.. many thanks for the pointers Big-

this script hook, will it work with xliveless? I have native trainer installed

also, there's 4 apps on that MS page, I need the visual C++ express edition yes?

6[IV] Spoiler Script Empty Re: [IV] Spoiler Script Fri Oct 23, 2009 11:49 am

gtasbigfoot

gtasbigfoot
Admin

Kotton wrote:cool, I'm on it.. many thanks for the pointers Big-

this script hook, will it work with xliveless? I have native trainer installed

also, there's 4 apps on that MS page, I need the visual C++ express edition yes?


1. Yes. I use XLiveLess also.
2. Yes, you download the one in the yellow box which says "Visual C++ Express Edition".

http://gtamodding.com

7[IV] Spoiler Script Empty Re: [IV] Spoiler Script Fri Oct 23, 2009 12:42 pm

Kotton



1.1 gigabytes!? [IV] Spoiler Script 20040615_giga_e

jebus christ man.. I need to install all this MYSQL/SQL server related junk just to write a effn script!? :suicide:
*feeling overwhelmed Kot gives up modeling to compensate for all time it will take to learn this ish*

8[IV] Spoiler Script Empty Re: [IV] Spoiler Script Sat Oct 24, 2009 6:14 am

gtasbigfoot

gtasbigfoot
Admin



A-ah, I know, size is just crazy ) I don't know why it's so big. For me it's 2.60 MB - and downloaded in 10 minutes. And English version is the same size.

It's annoying to install it, I know, with the computer restating crap and all. Once you have a good knowledge in C++ though it will be helpful with MANY things not just this spoiler script or GTA IV scripting. ))

http://gtamodding.com

9[IV] Spoiler Script Empty Re: [IV] Spoiler Script Fri Oct 30, 2009 10:52 pm

Kotton



well ye, the exe that DL's everything is small.. but overall installation was 1.1gigs on my end..

but hey man, between my daughter, my work and the modeling, I really don't think I'll have time
to learn what I need to.. let alone the willpower and patience- so if you by chance get bored,
and feel like puttn your name on this mod alongside mine, I'd be grateful for days..

I've used misc_a, b and c to get the parts in game with the model, here's a sneak peek-
so if you're interested, just hit me back and I'll send over the beta..

10[IV] Spoiler Script Empty Re: [IV] Spoiler Script Mon Nov 02, 2009 1:17 pm

Kotton



so I take it that's a no? lol no worries man.. somethin'll pop up-
and actually, with it successfully in game now, I'm re-motivated to learn..
so I guess what I need to know is.. if we can manipulate(move and rotate)
those parts(misc_a,b,c) using C++ -we can right? it'd be comparable to

0392: make_object 0@ moveable 1
01BB: store_object 0@ position_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3
034D: rotate_object $2709 from_angle 0.0 to_angle 360.0 flag 0 and
034E: move_object 0@ to 1@ 2@ 3@ speed 13@ 16@ 19@ flag 1

commands used in cleo yes?

[IV] Spoiler Script Vey1

Original- EAGames (Shift)
Scratch work and Conversion- Kotton

Paint Job "Adihash" by daDUDE
Paint Jobs "TSW" & "Seeing Red" by Tar-Ton

-FEATURES-
Full Damage
Custom Handling
3 Paint Jobs
2 Carcols in traditional Vey Scheme
Rare '05 Rims
High Poly L1
Custom COL
Dual Color Lights
Optimized 4 IV
(no crappy enb)


DOWNLOAD

[IV] Spoiler Script 8ffbba54450475 [IV] Spoiler Script B0993154450476

[IV] Spoiler Script B9bdb754450477 [IV] Spoiler Script 3d298354450479

11[IV] Spoiler Script Empty Re: [IV] Spoiler Script Mon Nov 02, 2009 4:44 pm

gtasbigfoot

gtasbigfoot
Admin



No, it was not a "no" - I was not ignoring your question. Maybe others in my city do this, but not me (joking) )) Just that I don't have time to visit this site (nor- others) everyday. To answer, yes you can do almost everything via C++ (reasonably of course). Right now, I can't download that impeccable car/try to write a script, because I'm using the latest Russian-patched version and the tools need updating.


As soon as I have more free-time, update the tools for personal use myself / or wait for the author - I'll download that car, and try to help write the script =)




commands used in cleo yes?



Yes.

(and this car, wow, man, you can see the hard work just by looking at it - №1)

http://gtamodding.com

12[IV] Spoiler Script Empty Re: [IV] Spoiler Script Tue Nov 03, 2009 4:38 am

Kotton



I was only razzn ya brother [IV] Spoiler Script E115659 -but nice- thanks Big, that'd be freakn awesome-
and thx man, I think it came out really nice for my first IV mod

btw, if you register @theShop, hit me up via PM so I can VIP your ass[IV] Spoiler Script E115810

13[IV] Spoiler Script Empty Re: [IV] Spoiler Script Tue Nov 03, 2009 1:11 pm

gtasbigfoot

gtasbigfoot
Admin

Sorry, I was just busy that's all. I'm on holiday. Yes, thx I already signed up to your site months ago as a different name.

http://gtamodding.com

14[IV] Spoiler Script Empty Re: [IV] Spoiler Script Tue Nov 03, 2009 3:53 pm

Kotton



then Happy Holidays brotha! LOL- what's your nick so I can VIP you?

you can also nab it @4mods (gta4-mods/gtagaming)

even tho I see the similarities, learning C++ is difficult and has made me discover the reason I learned cleo so well.. I had a decompiled main with thousands of real examples to draw and learn from :/ :sui: lol

15[IV] Spoiler Script Empty Re: [IV] Spoiler Script Thu Oct 14, 2010 1:02 am

findmy012



It's annoying to install it, I know, with the computer restating crap and all. Once you have a good knowledge in C++ though it will be helpful with MANY things not just this spoiler script or GTA IV scripting. ))


______________

anal sex
girls next door

Sponsored content



Back to top  Message [Page 1 of 1]

Similar topics

-

» Script.img File

Permissions in this forum:
You cannot reply to topics in this forum