Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. Gameplay
      2. Missions
      3. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Arena War
      2. After Hours
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA Next

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. News

    2. Forum Support

    3. Site Suggestions

Sign in to follow this  
Rugz007

[WIP|SUG] Transformers Mod

Recommended Posts

Rugz007

Hey guys as the 4th movie of transformers is released so i decided to make a mod on it :D

 

We have been doing great work till now :p

 

To Do List:

1) Transforming

2) Super Punch

3) Weapons (minguns and laser/rockets)

4) Enemies

5) Robot Walk Sound

6) Ini (learning)

7) Backup

8) Your Suggestions ^-^ ^_^

 

Done List:

1) Transforming (all things included)

2) . ini files

3) Robot Walk Sound

4) Nothing else

 

Current Progress: http://pastebin.com/aS6qseAZ (please correct something if wrong) :D

 

 

Authors :

Rugz007

leftas

Maro Hannover (he is banned then also i am in contact with him :p [feeling sorry for him :( ])

 

Awesome Support With Some Help:

Compman

Wiebren (for inspiring to do things properly :D)

LetsPlayOrDy( for teaching creating .ini files :D )

 

We Invite Guys As Follows:

A Car Maker

A Ped Maker

A Animation Maker

A Scripter (have to think if someone wants to come)

 

Suggestions Would Be Great :D

 

Thank you all ! :)

Edited by Rugz007

Share this post


Link to post
Share on other sites
Jitnaught

So how'd you do the 'transforming' part?

Super punch would require an animator, weapons would require a modeler, and the enemies would also require a modeler.

Edited by LetsPlayOrDy

Share this post


Link to post
Share on other sites
Rugz007

i did transforming without animaitons :D i will make animations in future release (maybe in next version of release :p )

i have 2 questions guys

1) how to make a .ini file

2) loading a car model or player model through external folder (julio's deathrace mod method)

thanks :D

Share this post


Link to post
Share on other sites
Jitnaught

i did transforming without animaitons :D i will make animations in future release (maybe in next version of release :p )

i have 2 questions guys

1) how to make a .ini file

2) loading a car model or player model through external folder (julio's deathrace mod method)

thanks :D

 

Did you move a bunch of objects or what?

 

Call this code when your script starts:

if (!File.Exists(Settings.Filename))            {                Settings.SetValue("test", "category", 99.99f);                Settings.Save();            }            float test = Settings.GetValueFloat("test", "category", 99.99f);

Just download his mod then look at his source code using ILSpy to find out how he did it.

Edited by LetsPlayOrDy

Share this post


Link to post
Share on other sites
Rugz007

Dude he HAS A BIG CODE I can't understand the mess

Share this post


Link to post
Share on other sites
Jitnaught

Dude he HAS A BIG CODE I can't understand the mess

Use the search feature and search for something like "model" or something.

Share this post


Link to post
Share on other sites
Rugz007

Okay :D

 

I have the hardest thing :

 

ENEMIES WITH SUPERPOWERS :D

Share this post


Link to post
Share on other sites
Jitnaught

Okay :D

 

I have the hardest thing :

 

ENEMIES WITH SUPERPOWERS :D

Basically the same as with the player. If the enemy is near the player, call the animation, then make the player and near cars go flying.

Share this post


Link to post
Share on other sites
Rugz007

thanks ;) and btw are you free or making other mod?

Share this post


Link to post
Share on other sites
Jitnaught

thanks ;) and btw are you free or making other mod?

I'm working on my own mods at the moment, but if you need help, just ask.

Share this post


Link to post
Share on other sites
Rugz007

Guys a problem!

i am trying to create explosion

 

World.CreateExplosion(Vector3.RelativeFront , the effect i think)

 

currently on my mobile so cant tell the exact statment :p

Share this post


Link to post
Share on other sites
Jitnaught

Guys a problem!

i am trying to create explosion

 

World.CreateExplosion(Vector3.RelativeFront , the effect i think)

 

currently on my mobile so cant tell the exact statment :p

World.AddExplosion(Vector3.RelativeFront, ExplosionType.Default, 999); //Position, explosion type, power

Share this post


Link to post
Share on other sites
Rugz007

dude that doesnt work...will try it again :D

Share this post


Link to post
Share on other sites
Jitnaught

dude that doesnt work...will try it again :D

It will work, you just won't see it, since you are calling 'Vector3.RelativeFront', it is going to explode at (0, 1, 0) or something like that.

 

If you want it RelativeFront to YOU, then do this:

World.AddExplosion(Player.Character.GetOffsetPosition(Vector3.RelativeFront), ExplosionType.Default, 999); //Position, explosion type, power

Share this post


Link to post
Share on other sites
Compman

hey dude how to make the explosion at my aim :D

Share this post


Link to post
Share on other sites
Rugz007

Dude it's the best question ever :p

Share this post


Link to post
Share on other sites
Noox

Does GTA IV use raycast? If so you can use it.

Share this post


Link to post
Share on other sites
Jitnaught

hey dude how to make the explosion at my aim :D

Maybe do this tutorial from JulioNIB:

 

 

Just do these things to change it:

  1. Make the object invisible
  2. Remove the PTFX
  3. Make the object move faster than in the tutorial example
  4. And make the direction of the rockets to go to the player's camera's direction (using Game.CurrentCamera.Direction )
Edited by LetsPlayOrDy

Share this post


Link to post
Share on other sites
Rugz007

I was thinking of making a "custom crosshair" as iron man mod :D and then it will make the rocket launch on the aim

 

Anyone know of the animation which is like :

 

o

/| ------- Like This

| <- Or Hand up till level of shoulder fist closed

/ \

Share this post


Link to post
Share on other sites
Noox

I don't get the animation, something like using a pistol with only one hand?

If you mean the second option and if GTA IV supports it you might use a raycast, a raycast is an invisible line that starts at a given point (the center in this case, I say it again, if it's supported by IV you can put it at the center by using as X point Game.Resolution.Width / 2 and as Y Game.Resolution.Height / 2) and doesn't stop until it meets a solid object and it would create the explosion where the line ends.

I haven't seen anything about raycasts though.

Share this post


Link to post
Share on other sites
Jitnaught

I was thinking of making a "custom crosshair" as iron man mod :D and then it will make the rocket launch on the aim

 

Anyone know of the animation which is like :

 

 

o

/| ------- Like This

| <- Or Hand up till level of shoulder fist closed

/ \

 

The crosshair is easy. Just get some crosshair image, then use DrawSprite. Or use DrawRectange and draw two rectangles (so it looks like + ).

To fire rocket at crosshair, just follow that tutorial video I just put a link to, and change the direction to the camera direction.

Edited by LetsPlayOrDy

Share this post


Link to post
Share on other sites
Noox

Well I didn't read LetsPlayorDy posts so forget what I said.

Share this post


Link to post
Share on other sites
Jitnaught

Well I didn't read LetsPlayorDy posts so forget what I said.

Haha ;)

Share this post


Link to post
Share on other sites
Rugz007

Making video of current progress

Share this post


Link to post
Share on other sites
Rugz007

 

dude that doesnt work...will try it again :D

It will work, you just won't see it, since you are calling 'Vector3.RelativeFront', it is going to explode at (0, 1, 0) or something like that.

 

If you want it RelativeFront to YOU, then do this:

World.AddExplosion(Player.Character.GetOffsetPosition(Vector3.RelativeFront), ExplosionType.Default, 999); //Position, explosion type, power

Dude the explosion doesnt work :(

 

EDIT : Paste Bin Relase Up

Edited by Rugz007

Share this post


Link to post
Share on other sites
Jitnaught

If it doesn't work then just change Player.Character.GetOffsetPosition(Vector3.RelativeFront) to Player.Character.Position, just for testing purposes.

Edited by LetsPlayOrDy

Share this post


Link to post
Share on other sites
Rugz007

up there see in the first post of mine in which the autors and that all stuff :D


after .Position What should i put?

Share this post


Link to post
Share on other sites
Noox

pastebin is in the OP

Share this post


Link to post
Share on other sites
Jitnaught

up there see in the first post of mine in which the autors and that all stuff :D

 

after .Position What should i put?

Nothing?

 

Don't make multiple KeyDown's. Just make one.

And also you didn't post all of the code in pastebin. It cuts off at the end.

Share this post


Link to post
Share on other sites
Noox

Rugz if you made all of that alone that's a nice progress, congrats.

Anyway, some tips:

 

You used 3 ticks for key presses, one is enough.

Instead of using many IFs to see what key has been pressed, use a switch.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.