Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Function
Function [message #173609] Tue, 04 October 2005 02:58 Go to next message
Eyeless is currently offline  Eyeless
Messages: 9
Registered: October 2005
Location: behind computer
Karma: 0
Recruit
Hello,
I have these function "DrawViewModel"
How do i hook these into the Wall settings ??
And am i correct that i have to inject these in the game2.exe ??
Re: Function [message #173654 is a reply to message #173609] Tue, 04 October 2005 22:03 Go to previous messageGo to next message
Spice
Messages: 1448
Registered: November 2003
Location: Ohio
Karma: 0
General (1 Star)
Ok, well, wait. What are you talking about? A view distance increase?

There is a option in LE for vehicles. I'm not sure about characters. I don't think it works though. At least the way I think.


http://img46.imageshack.us/img46/8027/userbar358428pu3.gif

[Updated on: Thu, 06 October 2005 12:25]

Report message to a moderator

Re: Function [message #173659 is a reply to message #173609] Tue, 04 October 2005 23:55 Go to previous messageGo to next message
Eyeless is currently offline  Eyeless
Messages: 9
Registered: October 2005
Location: behind computer
Karma: 0
Recruit
No, i want that ( as the function says ) That all models will be drawn and viewed.
On the Wall, so somehow i have these to hook in the wall properties, but how do i specific hook them only on the wall.

thanx and peace
Re: Function [message #173740 is a reply to message #173609] Thu, 06 October 2005 12:23 Go to previous messageGo to next message
Spice
Messages: 1448
Registered: November 2003
Location: Ohio
Karma: 0
General (1 Star)
so you want each unti to beable to see different distances? If that is the case, I think due to engine limitations it is not possible. I've see SK do some things with view distance though so I'm not sure.

http://img46.imageshack.us/img46/8027/userbar358428pu3.gif
Re: Function [message #173815 is a reply to message #173609] Fri, 07 October 2005 00:09 Go to previous messageGo to next message
Eyeless is currently offline  Eyeless
Messages: 9
Registered: October 2005
Location: behind computer
Karma: 0
Recruit
No, i want that a Model will be Draw aka Viewed at the wall.
But how i set the code specific to the wall ??

I only need to know how to set it to the wall ??
And im speaking about Injection code.
I want to inject the code DrawViewModel, on a wall.
But how do inject it in the Wall but not ( as example ) the units.

Thanks allot you for your time Smile
Re: Function [message #173851 is a reply to message #173609] Fri, 07 October 2005 07:46 Go to previous messageGo to next message
Sir Phoenixx is currently offline  Sir Phoenixx
Messages: 2510
Registered: February 2003
Location: Behind You!
Karma: 0
General (2 Stars)

You want to be able to see things through walls?

.:Red Alert: A Path Beyond Modeler:.
E-mail: sirphoenixx@gmail.com
AIM: Sir Phoenixx
ICQ: 339325768
MSN: sirphoenixx@hotmail.com
Yahoo: sirphoenix86
If anyone needs any help with using 3dsmax, or gmax feel free to contact me.

My Gallery: sir-phoenixx.deviantart.com/gallery
Re: Function [message #174211 is a reply to message #173609] Mon, 10 October 2005 02:29 Go to previous messageGo to next message
Eyeless is currently offline  Eyeless
Messages: 9
Registered: October 2005
Location: behind computer
Karma: 0
Recruit
Yes, but the main question is how to adress the function ?

I want it on the walls but not for the units/vehicles.

Thanks for your time all
Re: Function [message #174213 is a reply to message #173609] Mon, 10 October 2005 03:18 Go to previous messageGo to next message
Oblivion165 is currently offline  Oblivion165
Messages: 3468
Registered: June 2003
Location: Hendersonville, North Car...
Karma: 0
General (3 Stars)
Erm, no. This has to be the oddest topic that has ever been written. That includes the garden-knomes mod.

WOL: Ob165ion Skype: Oblivion165 Yahoo Instant Messenger: CaptainJohn165

[Updated on: Mon, 10 October 2005 03:18]

Report message to a moderator

Re: Function [message #174278 is a reply to message #173609] Tue, 11 October 2005 05:53 Go to previous messageGo to next message
Eyeless is currently offline  Eyeless
Messages: 9
Registered: October 2005
Location: behind computer
Karma: 0
Recruit
What do you mean with that ?
Re: Function [message #174350 is a reply to message #173609] Tue, 11 October 2005 13:15 Go to previous messageGo to next message
Dan
Messages: 395
Registered: August 2003
Location: UK
Karma: 0
Commander
Why do you want to create a wall hack for?
Re: Function [message #174442 is a reply to message #173609] Wed, 12 October 2005 00:37 Go to previous messageGo to next message
Eyeless is currently offline  Eyeless
Messages: 9
Registered: October 2005
Location: behind computer
Karma: 0
Recruit
not a wallhack.
I want to create a X-Ray vision, just like James bond: Nightfire.
When you click the right button you will get an X-Ray with a filter ( hud.dds )

on *:Zoom:DrawViewodel:#:{
function {DrawViewModel}
}

and im gonna change the hudsniper.dds zo it will give a wierd view

but the main question is, how to adress the function?
Re: Function [message #174445 is a reply to message #173609] Wed, 12 October 2005 01:42 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

You cant do that with the renegade engine unless you could somehow make items invisible but only for the player who was using the X-Ray Vision.


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Re: Function [message #174559 is a reply to message #173609] Wed, 12 October 2005 23:58 Go to previous messageGo to next message
Eyeless is currently offline  Eyeless
Messages: 9
Registered: October 2005
Location: behind computer
Karma: 0
Recruit
you mean that everything is a .w3d = model.
Yeah that would be a problem.

mmm, i could think of the solution.

if ( Model == ifanterymodel ) { Viewmodel }

else if ( Model == infanterymodel ) { Viewmodel }

else { } ( HideModel )
Re: Function [message #174588 is a reply to message #173609] Thu, 13 October 2005 07:34 Go to previous messageGo to next message
Chronojam is currently offline  Chronojam
Messages: 688
Registered: March 2003
Karma: 0
Colonel
Ifantery Thumbs Up
Re: Function [message #174664 is a reply to message #173609] Thu, 13 October 2005 23:58 Go to previous messageGo to next message
Eyeless is currently offline  Eyeless
Messages: 9
Registered: October 2005
Location: behind computer
Karma: 0
Recruit
Huh k, what is your problem, never heard of a typo ??
and in place of the INFANTERY there comes the name of a infantery model
Re: Function [message #174683 is a reply to message #173609] Fri, 14 October 2005 06:04 Go to previous messageGo to next message
Sir Phoenixx is currently offline  Sir Phoenixx
Messages: 2510
Registered: February 2003
Location: Behind You!
Karma: 0
General (2 Stars)

Quote:

and in place of the INFANTERY there comes the name of a infantery model

Infantry


.:Red Alert: A Path Beyond Modeler:.
E-mail: sirphoenixx@gmail.com
AIM: Sir Phoenixx
ICQ: 339325768
MSN: sirphoenixx@hotmail.com
Yahoo: sirphoenix86
If anyone needs any help with using 3dsmax, or gmax feel free to contact me.

My Gallery: sir-phoenixx.deviantart.com/gallery
Re: Function [message #176324 is a reply to message #173609] Tue, 25 October 2005 02:55 Go to previous messageGo to next message
Eyeless is currently offline  Eyeless
Messages: 9
Registered: October 2005
Location: behind computer
Karma: 0
Recruit
K, are you guys still gonna answer my question?

How to adress a function in C++ ?
Re: Function [message #176325 is a reply to message #173609] Tue, 25 October 2005 03:03 Go to previous message
Oblivion165 is currently offline  Oblivion165
Messages: 3468
Registered: June 2003
Location: Hendersonville, North Car...
Karma: 0
General (3 Stars)
You do realise Renegade isnt open source right? If we could just inject code, we would have a much different renegade right now. You can only use HexEditors and such to edit existing values.

For instance

Draw distance = 1000
HexEdit
Draw Distance = 1500

You can only change the current value length, you cant add or subtract number lengths.

1000 is 4 characters long

500 is 3 characters long

etc.......

EDIT: If we could just inject code, then Jon would have been able to add all sorts of madness to renegade.


WOL: Ob165ion Skype: Oblivion165 Yahoo Instant Messenger: CaptainJohn165

[Updated on: Tue, 25 October 2005 03:05]

Report message to a moderator

Previous Topic: Problem with Corepatch for FDS
Next Topic: Need help Creating DLL/MOD
Goto Forum:
  


Current Time: Sun May 05 11:52:04 MST 2024

Total time taken to generate the page: 0.00975 seconds