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

    2. News

    1. Red Dead Redemption 2

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

      1. Gameplay
    1. GTA Online

      1. After Hours
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

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

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

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

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

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

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

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. 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. Forum Support

    2. Site Suggestions

ani-gtascripter

Electro and Spider-man mod

Recommended Posts

ani-gtascripter

Hey guys, I am making a Electro and Spider-man mod. :rampage:

So, I wanted an assistance. So will anyone guide me?All are free to guide me.

Just need few suggestions and also want to know about "practical effects" related to GTA IV modding. :facedesk: Thank you

Share this post


Link to post
Share on other sites
Jitnaught

Well there's already a Spiderman mod...

Share this post


Link to post
Share on other sites
ani-gtascripter

Well there's already a Spiderman mod...

I want to make a "electro and spiderman" mod not spiderman mod

Share this post


Link to post
Share on other sites
Jitnaught

I'm just saying that there already is a Spiderman mod.

 

What do you mean by "practical effects".

Share this post


Link to post
Share on other sites
ani-gtascripter

According to my it is like a realistic view.

example- in iron man iv mod the light of the laser beam or in ghost rider mod the fire on the wheels of the bike is a practical effects.

Do you know how to add practical effects?Will you tell me? I want to add a effect to Electro. Like a electric spark. Is it possible?

Share this post


Link to post
Share on other sites
Jitnaught

According to my it is like a realistic view.

example- in iron man iv mod the light of the laser beam or in ghost rider mod the fire on the wheels of the bike is a practical effects.

Do you know how to add practical effects?Will you tell me? I want to add a effect to Electro. Like a electric spark. Is it possible?

"A practical effect is a special effect produced physically, without computer-generated imagery or other post production techniques."

Now how is a laser beam from Iron Man, or the fire on Ghost Rider's bike, a "practical effect"? With the definition of practical effects, it makes no sense.

 

To do what you are wanting, you would have to either use particle effects (there are some electric spark particle effects) or use e.Graphics.DrawLine and draw a little electric/lighting thing to your target. The latter would be more difficult than the particle effects option.

 

If you are going with the particle effects option, these webpages will help you: Tutorial on particle effects usage and List of particle effects

If you are going with the e.Graphics.DrawLine option, I can't really help you too much.

Edited by LetsPlayOrDy

Share this post


Link to post
Share on other sites
ani-gtascripter

Thank you very much LetsPlayorDy.

Will you help me in making this mod? :bbq:

Share this post


Link to post
Share on other sites
Jitnaught

Will you help me in making this mod?

 

No thanks

Share this post


Link to post
Share on other sites
ani-gtascripter

Okay at least tell me which of the following PTFX is perfect for this mod. I am confused :panic::facedesk: PLZ

 

  • break_electrical_sparks
  • break_electrical_fire_lg
  • break_electrical_fire_sm
  • col_electrical_arcexp_glow
  • col_electrical_arcexp_arc

Share this post


Link to post
Share on other sites
Jitnaught

Don't ask me. Just test and see what they look like in-game.

Share this post


Link to post
Share on other sites
leftas

Oh god, Indiano(not racist, at all) guys, again.

Most of things you need to do everything(find,program) by yourself, then you will get experience. Because copy-and-paste is not very good(of course, if you try to learn from source code or smth else, then yes, it's good).

Also most of time I'm doing copy&paste, because I'm lazy to find why my code is not working, but it's not very good.

 

All best,
Paul.

Share this post


Link to post
Share on other sites
ani-gtascripter

Oh god, Indiano(not racist, at all) guys, again.

Most of things you need to do everything(find,program) by yourself, then you will get experience. Because copy-and-paste is not very good

Hey Don't disrespect Indians!

Edited by ani-gtascripter

Share this post


Link to post
Share on other sites
leftas

You know there was/is like 3-5(including you) Indian guys in here, and all were/are lazy, asking to do everything for them, like write code for them, so now I find Indian guys lazy, but I'm respecting all people(just maybe I don't whose doesn't respect me or talking sh*t on me). Also I know few guys(from xda-developers) whose is not lazy as they created few roms for phones(android)

 

All best,

Paul.

Share this post


Link to post
Share on other sites
Jitnaught

Actually all of them were from 11 to 13 y.o. so... I'm pinning it on that instead of race

Edited by LetsPlayOrDy

Share this post


Link to post
Share on other sites
Rugz007

Dude... LOLWA DONT FIGHT

btw its good to be back :D and @ani-gtascripter : Dont be angry dude be calm he is talking that because of me

Share this post


Link to post
Share on other sites
Jitnaught

Dont be angry dude be calm he is talking that because of me

and Maro

Share this post


Link to post
Share on other sites
ani-gtascripter

Okay Sorry guys but Maro is not Indian!

Anyways yesterday I uninstalled GTA IV due to viruses; my anti-virus was unable to fix it

So I cant test the mod now

Therefore I am asking to you how do the following PTFX look in-game

 

break_electrical_sparks

break_electrical_fire_lg

break_electrical_fire_sm

col_electrical_arcexp_glow

col_electrical_arcexp_arc

Share this post


Link to post
Share on other sites
Rugz007

dude =_= really ? just buy it or download it from another site or torrent :| its very cheap now a days!!!

do one thing... just :v lol dont make this mod its not THAT simple as you think and if you end up keep asking like me(in the past) you cant make this mod... I was an idiot then but nowadays if i dont get a thing i research on it for hours thats the reason i am so much offline in this forums :D i dont want to disrespect you but its the truth (really sorry for my bad english) so go out and research first then come.. and you make mods of a game that you dont have? thats something idiotic thing i ever heard.. so first of all get the game and play it for hours till you understand how the game scripts works(how does it spawn vehicles rightly not anywhere and how do the al drivers drive cars perfectly on road and not on footpaths) and THEN mod it

 

sorry for long speech and bad english

 

Awesome Regards,

Rugz007

 

@ letsplayordy: dude your profile pic is damn funny XD

Edited by Rugz007

Share this post


Link to post
Share on other sites
ani-gtascripter

You say you dont want to disrespect me and still you disrespect me

Okay sorry for asking you that

I will do it myself

Share this post


Link to post
Share on other sites
Ricebox

Bro why are you even making a mod for a game you don't have installed. Nobody's trying to disrespect you, you just refuse to do anything yourself and keep coming up with excuses as to why you can't. You most likely won't finish this mod anyway because it's waaay beyond the scope of a beginner. Try something smaller (that doesn't already exist, hopefully) and maybe then people will want to help you.

Share this post


Link to post
Share on other sites
Rugz007

Ricebox is right :D I am very very you know convinced by ricebox...

Share this post


Link to post
Share on other sites
ani-gtascripter

Okay I re-installed the game

testing it

it works better than the old copy

now testing the code!

 

Code:

using System;
using System.Text;
using System.Drawing;
using System.Windows.Forms;
using GTA;
using GTA.Native;
public class Electromod : Script
{
private Vehicle[] vehiclesToTarget;
private Ped[] pedsToTarget;
public ElectroandShockrmod()
{
base.KeyDown += new GTA.KeyEventHandler(this.keyDown);
}
public void keyDown(object sender, GTA.KeyEventArgs e)
{
if (e.Key == Keys.CapsLock)
{
GTA.Native.Function.Call("TRIGGER_PTFX_ON_PED_BONE", "break_electrical_fire_lg", Player.Character, Bone.Head);
}
}
}
//There is a error in it! Trying to repair it
Edited by ani-gtascripter

Share this post


Link to post
Share on other sites
ani-gtascripter

thank you

See the code here

http://pastebin.com/RgYEBKSQ

Edited by ani-gtascripter

Share this post


Link to post
Share on other sites
leftas

1. Why are you creating array,which costumes memory, and you even not using it ?(9, 10 lines)

2.Not sure if "new Parameter[]" works. but if this works, then okay.(line 19)

3.You're doing on player ? Or on player character ?(line 22.)

4. You set cordinates (0;1;0) this means that you would need to go on map center, which is building near police or in downtown.(23-25 lines), to see that effect.

 

All the best,

Paul.

Edited by leftas

Share this post


Link to post
Share on other sites
Jitnaught

2. new Parameter[] does work.

4. I think the position is relative to the player, since the native is TRIGGER_PTFX_ON_PED_BONE (not 100% sure though)

Share this post


Link to post
Share on other sites
leftas

2.Good to hear that.

4.Yeah it's position offset. I just never used attaching with pos. offset.

 

All the best,

Paul.

Edited by leftas

Share this post


Link to post
Share on other sites
ani-gtascripter

New script plays 4 PTFX at a time.

It works but still the console shows error.

Trying to fix it

Share this post


Link to post
Share on other sites
Rugz007

Good luck... Btw you have to make one more thing :p

Lol enemy electro XD so people can really use Spidey Iv and electro as enemy so it will be Spidey vs electro

Share this post


Link to post
Share on other sites
ani-gtascripter

Thanks for the suggestion. Its a bit complected task. Will surely try thah

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

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

×

Important Information

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