IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V 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 GTA Modification Forums

Post mod/code requests in the Mod Requests topic

Post mod releases in the Mod Showroom

Read the Modding Rules BEFORE posting!

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


  Reply to this topicStart new topicStart Poll

 Fus Ro Dah mod question

 
quechus13  
Posted: Wednesday, Feb 22 2012, 10:52
Quote Post


Boss
Group Icon
Group: Members
Joined: Dec 19, 2008

Member Award




Hi!

I don't normally do this but I suck at coding and wanted to know how to make a force push mod like the Fus Ro Dah from skyrim

Will it be easy or hard? are there mods like this already?


Thanks guys!

please note that i didn't know where to post this so yeah XD
Users WebsitePMMSNPlayStation Network
  Top
 

 
thaCURSEDpie  
Posted: Friday, Feb 24 2012, 23:10
Quote Post


GTA:IV scripter
Group Icon
Group: Members
Joined: Jul 1, 2007

XXXXX



Very easy.

.Net scripthook:
CODE

Ped targetPed;

// init targetPed somehow

// We create a vector pointing from the player to the target ped
Vector3 aimVec = targetPed.Position - Player.Character.Position;
aimVec.Normalize();

float forceMultiplier = 10f;

targetPed.ApplyForce(aimVec * forceMultiplier);


This creates the push effect, though you don't have the particle FX, obviously.

IIRC someone already made something like this, dunno who.

Hardest thing would be finding what ped is being targetted, though that's not too hard either.
PM
  Top
 

 
quechus13  
Posted: Saturday, Feb 25 2012, 07:05
Quote Post


Boss
Group Icon
Group: Members
Joined: Dec 19, 2008

Member Award




Wow!

So do you think that by binding the script to say the fist? (when niko punches someone)

will it trigger and push everything niko sees?
dang i suck at this XD
Users WebsitePMMSNPlayStation Network
  Top
 

 
N-field  
Posted: Thursday, Mar 8 2012, 03:35
Quote Post


Crackhead
Group Icon
Group: Members
Joined: Sep 11, 2011

XXXXX



You could look at my touhou spellcards mod for a different approach. Deals damage to everything in its path.... Look at either master spark or gungnir
PM
  Top
 

 

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

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG