You are an unregistered user, you can register here
Navigation

Information

Site

Donations
If you wish to make a donation you can by clicking the image below.


Site Sponsor

BeyondUnreal News

 
Go Back   The Unreal Admins Page > Forums > Unreal Admins > General > Tips & Tutorials Followups

Reply
Thread Tools Display Modes
  #1  
Unread 23rd August, 2010, 02:51 PM
curbstomp curbstomp is offline
Forum Newcomer
 
Join Date: Jun 2006
Posts: 6
Default UT99 IG power up - disguise

Hello,

Let me start off by saying that I've not previously written any mods for ut, but I do have experience with java and I can read uscript.
As you've probably gathered from my title, my goal is to have a power up that changes the owner's appearance to that of someone on the opposite team. It seems a fairly simple undertaking, but having never created anything for this game I figured I would post my idea here and perhaps someone more experienced could make sure I'm heading in the right direction.

I'll get on with it then, here is how I imagine this working.
1. Create a class that extends the shield belt.
2. Add to this class the functionality that switches the skin texture for the pawn.
3. Add this power up to a map.
4. Everything goes according to plan.


Are all my assumptions correct?
Is there an even easier path that I missed?
Bonus: is there a way to improve the disguise by setting the player's appearance to mimic a random person from the enemy team?


Thank you in advance
Reply With Quote
  #2  
Unread 23rd August, 2010, 09:14 PM
back4more's Avatar
back4more back4more is offline
Holy Shit!!
 
Join Date: Oct 2008
Location: NextDoor
Posts: 1,907
Default

sounds to me like you're in the wrong forum lol...

and just a tab bit curious ... why would you want to do that for?

Last edited by back4more : 23rd August, 2010 at 09:38 PM.
Reply With Quote
  #3  
Unread 24th August, 2010, 01:26 PM
Rush's Avatar
Rush Rush is offline
Holy Shit!!
 
Join Date: Apr 2003
Location: Poland
Posts: 1,156
Default

Sounds like an interesting addon but I honestly do not think it is that simple to implement - you certainly oversimplified since the skin is only a tip of the iceberg that identifies player identity. What I would (try to) do is:
1) save player state on pickup (various stats)
2) actually move the player to the opposite team setting its state to the random person in the opposite team (I am not sure if it is easily possible without respawning the Player Pawn) - at this point there would be two identical nicks on the scoreboard in the opposite team. Also save the base score from which the wielder of the addon started on the enemy team. I think you also need some mutator to allow damage to the enemy team in case of TeamDamage=0.
3) Disabling the addon would involve calculating the score difference, applying it to the saved state and resting that state.
__________________
[email address]
Reply With Quote
  #4  
Unread 24th August, 2010, 12:35 PM
back4more's Avatar
back4more back4more is offline
Holy Shit!!
 
Join Date: Oct 2008
Location: NextDoor
Posts: 1,907
Default

^_^ hehe soundz like a Spy vs Spy episode

I can see where this is goin interesting indeed.
Reply With Quote
  #5  
Unread 24th August, 2010, 09:38 PM
dodgethis dodgethis is offline
Godlike
 
Join Date: Jul 2007
Posts: 261
Default

Do you really want the pawn to switch maps or do you just want it to cloak and hide between opposite team members? If the last is the case, you 'just' need to set the skin of the player to the one on the opposite team and replicate this to all the other players as well.
Reply With Quote
  #6  
Unread 24th August, 2010, 10:58 PM
LeeBe's Avatar
LeeBe LeeBe is offline
Holy Shit!!
 
Join Date: Feb 2003
Location: Uk.gif
Posts: 1,340
Default

Im pretty sure this has already been done :?

I remember it being on the old SDA server when Baiter was running it.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:25 AM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

All pages are copyright The Unreal Admins Page.
You may not copy any pages without our express permission.