News UnrealEd Files Mods FragBU Liandri Archives
BeyondUnreal Forums

Go Back   BeyondUnreal Forums > Unreal Development > Coding

Reply
 
Thread Tools Display Modes
Old 26th Jun 2003, 04:21 PM   #1
Who
<->-<->-<->-<->-<->
 
Who's Avatar
 
Join Date: Dec. 3rd, 1999
Location: Trinidad, West Indies
Posts: 46
Unhappy Jackie Chan Style Wall Dodge

I've been working on some code to allow player to do multi jumps off the walls to gain height. Everything works fine except for one problem, i can't get it to work as a mutator.

I have given up on trying to make it work as a mutator . I have looked on the net for info on doing it and it seems that it is impossible. I will have to incorporate it into a new game type to get it to work.
If anyone knows how to change the player class using a mutator please let me know how.

For now, if you want to see how it works, I have attached a zip file with this message. Just extract it to your UT2003 system directory. You will then have to open the user.ini file in the system directory and change "Class=Engine.Pawn" to "Class=MarioPak.MarioPawn". It should be right at the top of the file. Just start any game in UT and you should be able to multijump of walls. Remember to change back to "Class=Engine.Pawn" when you done testing or you will not be able to play multiplayer games.

I will hopefully be working on more stuff to make a cool new game type with the multi-wall jump as an added feature....I don't want to make a whole new game type just for the jump.

Attachment: MarioPak.zip (3063 bytes, 0 views)
Attached Files
File Type: zip mariopak.zip (3.0 KB, 13 views)
__________________
Who is offline   Reply With Quote
Old 26th Jun 2003, 04:39 PM   #2
Wormbo
 
Wormbo's Avatar
 
Join Date: Jun. 4th, 2001
Location: Germany
Posts: 5,689
You shouldn't change the player class from a mutator. It's ok from a Gametype, though.

BTW, I already made a multi walldodge mutator: Multi Dodging
You can extract its source code to see how it works.
__________________
Wormbo's UT/UT2004/UT3 mods | YouTube channel | PlanetJailbreak/JDN | Unreal Wiki | Liandri Archives
Everything you ever wanted to know about replication| UnrealScript security considerations
<elmuerte> you shouldn't do all-nighters, it's a waste of time and effort
<TNSe> nono
<TNSe> its always funny to find code a week later you dont even remember writing
<Pfhoenix> what's worse is when you have a Star Wars moment
<Pfhoenix> "Luke! I am your code!" "No! Impossible! It can't be!"

Last edited by Wormbo; 26th Jun 2003 at 04:40 PM.
Wormbo is offline   Reply With Quote
Old 26th Jun 2003, 05:06 PM   #3
Who
<->-<->-<->-<->-<->
 
Who's Avatar
 
Join Date: Dec. 3rd, 1999
Location: Trinidad, West Indies
Posts: 46
Quote:
Originally Posted by Wormbo
You shouldn't change the player class from a mutator. It's ok from a Gametype, though.

BTW, I already made a multi walldodge mutator: Multi Dodging
You can extract its source code to see how it works.

In my quest for info on changing the player class I had come accross your mutator already . The problem with your mutator is that you don't add any Z velocity. I was going to use the dodgehack code along with some of mine to avoid having to change the player class but alas, it was another failure. I got the player to go higher evertime they kicked of the walls but the problem was that you could now dodge from the floor and gain significant Z velocity
__________________
Who is offline   Reply With Quote
Old 26th Jun 2003, 07:01 PM   #4
Who
<->-<->-<->-<->-<->
 
Who's Avatar
 
Join Date: Dec. 3rd, 1999
Location: Trinidad, West Indies
Posts: 46
YESSSSSSSSS It works. I just had a brainstorm after reading back my last post. Wormbo, I modified your code and now everytime you dodge off a wall you go higher and when you dodge on the floor it work as usual.

Their is one problem with your code though...I think. I tried a multiplayer game before I modified your code and only the server can multidodge. Any ideas??
__________________
Who is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 02:40 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.

Copyright ©1998 - 2012, BeyondUnreal, Inc.
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer