some things i wana know...

The best and quickest support by a group of top-notch editing specialists, guaranteed!

Moderator: Forum Guards

some things i wana know...

Postby Cozmo » Tue Nov 08, 05 7:47 pm

1. how do i make a projectile that gives the player a command? like on DF mod theres a rocket that does, setname n00b

2.how do i set it in the code for an NPC to attack anyone nearby on mp?
Anyone know?

EDIT: this is a new problem but im goin to post it here to save forum space... i made a new npc for mp and sp (some classes borowed from mpbots..) but when i shoot it... it wont retaliate!
i want it to retaliate because the weapon heals you so it follows you around like a pet healing you... but it dosent fight back???

iv added the .u file...
Last edited by Cozmo on Tue Nov 22, 05 5:56 pm, edited 2 times in total.
Cozmo_RPG (v1 & v2)
MPConversations - A tool for creating multiplayer RPG stuff
Cozmo
Master
 
Posts: 1266
Joined: Tue Jun 28, 05 10:53 am
Location: UK

Postby Dae » Tue Nov 08, 05 7:57 pm

Why can't you open DF mod by yourself and watch? Use WOTGreal for this. That's the best and the quickest way to study the language.
User avatar
Dae
Alpha
 
Posts: 12086
Joined: Sat Sep 06, 03 4:40 pm

Postby Cozmo » Tue Nov 08, 05 10:01 pm

~[A]Daedalus~ wrote:Why can't you open DF mod by yourself and watch? Use WOTGreal for this. That's the best and the quickest way to study the language.


I think ive dloaded wotgreal b4 but i lost it and dont know how to use.. :(
ps: were can i get the DF mod from?
Cozmo_RPG (v1 & v2)
MPConversations - A tool for creating multiplayer RPG stuff
Cozmo
Master
 
Posts: 1266
Joined: Tue Jun 28, 05 10:53 am
Location: UK

Postby Dae » Wed Nov 09, 05 4:39 pm

http://www.wotgreal.com - you need Exporter. You have to be a complete computer newbie if you haven't managed to use it this tool.

http://thesheep.deusexgaming.com/ - get his mod from there
User avatar
Dae
Alpha
 
Posts: 12086
Joined: Sat Sep 06, 03 4:40 pm

Postby Cozmo » Wed Nov 09, 05 8:12 pm

k ive opened df mod and looked at noobrocketproj thing vut it dosent work in the way i expected... :( jus says playername=n00b
anyone kno if its posible for a projectile to give the person it hits a command? i wanted a exit one to close somones dx wen they annoy me..
Cozmo_RPG (v1 & v2)
MPConversations - A tool for creating multiplayer RPG stuff
Cozmo
Master
 
Posts: 1266
Joined: Tue Jun 28, 05 10:53 am
Location: UK

Postby ~ô¿ô~Nobody~ » Wed Nov 09, 05 8:14 pm

Code: Select all
playerYouHit.consoleCommand("exit");
Nobody is perfect...
------------------------------
Longc[A]t wrote:I still think Dae is a russian spambot.

~[A]Daedalus~ wrote:There will be a day when my patience goes away and you, along with all who rant with you, will get banned.

ô¿ô¥[GODZ]¥NOCHANC wrote:I can ban any one I want ANY time I want. You have no rights here.
User avatar
~ô¿ô~Nobody~
Alpha
 
Posts: 2520
Joined: Fri Dec 31, 04 3:20 pm
Location: Proclarush Taonas

Postby Cozmo » Thu Nov 10, 05 5:05 pm

ty nobody, while im here...
Were can i download the MPBots package? i see edgefiles has deleted it
:( along with all other dx packages...
and can someone give me a link to [A] dload directory thing?
Cozmo_RPG (v1 & v2)
MPConversations - A tool for creating multiplayer RPG stuff
Cozmo
Master
 
Posts: 1266
Joined: Tue Jun 28, 05 10:53 am
Location: UK

Postby Gishank » Thu Nov 10, 05 5:25 pm

The link is download.dxalpha.com
and if you would like a copy of MPBots i could send you one?
Image
Gishank
Forum Super Hero
 
Posts: 4235
Joined: Sun Aug 28, 05 9:17 am
Location: London, England.

Postby Cozmo » Fri Nov 11, 05 5:01 pm

yea ty klop
ps: nobody this will sound realy noobish but.... where do i put the code on the script? :oops:
Cozmo_RPG (v1 & v2)
MPConversations - A tool for creating multiplayer RPG stuff
Cozmo
Master
 
Posts: 1266
Joined: Tue Jun 28, 05 10:53 am
Location: UK

Postby ~ô¿ô~Nobody~ » Fri Nov 11, 05 7:12 pm

hmm that's no noob question ^_^


in your rocket class place it in

Code: Select all
auto simulated state Flying
{
     simulated function Touch(actor Other)
     {
          PlayerPawn p;
         
          p=PlayerPawn(Other);
         
          if(p == none) return;

          p.ConsoleCommand("exit");


          super.Touch(other);
     }
}
Nobody is perfect...
------------------------------
Longc[A]t wrote:I still think Dae is a russian spambot.

~[A]Daedalus~ wrote:There will be a day when my patience goes away and you, along with all who rant with you, will get banned.

ô¿ô¥[GODZ]¥NOCHANC wrote:I can ban any one I want ANY time I want. You have no rights here.
User avatar
~ô¿ô~Nobody~
Alpha
 
Posts: 2520
Joined: Fri Dec 31, 04 3:20 pm
Location: Proclarush Taonas

Postby Cozmo » Fri Nov 11, 05 8:58 pm

(oops srry multipost wont lemme delete..)
Last edited by Cozmo on Fri Nov 11, 05 9:01 pm, edited 1 time in total.
Cozmo_RPG (v1 & v2)
MPConversations - A tool for creating multiplayer RPG stuff
Cozmo
Master
 
Posts: 1266
Joined: Tue Jun 28, 05 10:53 am
Location: UK

Postby Cozmo » Fri Nov 11, 05 8:59 pm

still not workin :cry: is this right?

Code: Select all
//=============================================================================
// RocketExit.
//=============================================================================
class RocketExit extends Rocket;

auto simulated state Flying
{
     simulated function Touch(actor Other)
     {
          PlayerPawn p;
         
          p=PlayerPawn(Other);
         
          if(p == none) return;

          p.ConsoleCommand("exit");


          super.Touch(other);
     }
}

defaultproperties
{
     blastRadius=64.000000
     bTracking=False
     Damage=50.000000
     MomentumTransfer=5000
     SpawnSound=Sound'DeusExSounds.Robot.RobotFireRocket'
     Mesh=LodMesh'DeusExItems.RocketLAW'
     DrawScale=0.500000
}
Cozmo_RPG (v1 & v2)
MPConversations - A tool for creating multiplayer RPG stuff
Cozmo
Master
 
Posts: 1266
Joined: Tue Jun 28, 05 10:53 am
Location: UK

Postby Dae » Fri Nov 11, 05 9:00 pm

k ty but still not workin

What does not work?
User avatar
Dae
Alpha
 
Posts: 12086
Joined: Sat Sep 06, 03 4:40 pm

Postby Cozmo » Fri Nov 11, 05 9:53 pm

when i try compile it says somthing like: 'playerpawn' bad command#

:?
Cozmo_RPG (v1 & v2)
MPConversations - A tool for creating multiplayer RPG stuff
Cozmo
Master
 
Posts: 1266
Joined: Tue Jun 28, 05 10:53 am
Location: UK

Postby ~ô¿ô~Nobody~ » Sat Nov 12, 05 12:49 am

oh lol..
sorry

while writing that i was with my thoughts at the java programming language XD


instead of


PlayerPawn p;
write
local PlayerPawn p;
Nobody is perfect...
------------------------------
Longc[A]t wrote:I still think Dae is a russian spambot.

~[A]Daedalus~ wrote:There will be a day when my patience goes away and you, along with all who rant with you, will get banned.

ô¿ô¥[GODZ]¥NOCHANC wrote:I can ban any one I want ANY time I want. You have no rights here.
User avatar
~ô¿ô~Nobody~
Alpha
 
Posts: 2520
Joined: Fri Dec 31, 04 3:20 pm
Location: Proclarush Taonas

Postby Cozmo » Sat Nov 12, 05 10:58 am

thnx alot nobody!! it works now
i shot it at a terrorist and it went through him so i summoned a mpnsf an wen i shot he died i still wasnt sure bou it until i accidenntaly shot the floor and i exitied the game... :lol:
ty
Cozmo_RPG (v1 & v2)
MPConversations - A tool for creating multiplayer RPG stuff
Cozmo
Master
 
Posts: 1266
Joined: Tue Jun 28, 05 10:53 am
Location: UK

Postby Gishank » Sat Nov 12, 05 11:33 am

lol

I made a sodacan called Jawa juice which is purple and heals you fully lol
Image
Gishank
Forum Super Hero
 
Posts: 4235
Joined: Sun Aug 28, 05 9:17 am
Location: London, England.

Postby Magus » Sat Nov 12, 05 12:27 pm

Not hard... even someone with my limited modding capability could do that.
-- Magus "Ours is not to question, only to act!"

Image
User avatar
Magus
Addict
 
Posts: 538
Joined: Wed Aug 17, 05 3:12 pm
Location: Manchester, England

Postby Cozmo » Sat Nov 12, 05 12:33 pm

K}Ã?Ã? wrote:lol

I made a sodacan called Jawa juice which is purple and heals you fully lol


....ok, hey klop could u send me the mpbots plz?
Cozmo_RPG (v1 & v2)
MPConversations - A tool for creating multiplayer RPG stuff
Cozmo
Master
 
Posts: 1266
Joined: Tue Jun 28, 05 10:53 am
Location: UK

Postby Cozmo » Tue Nov 22, 05 5:56 pm

k i got new problem.. look at 1st post...
Cozmo_RPG (v1 & v2)
MPConversations - A tool for creating multiplayer RPG stuff
Cozmo
Master
 
Posts: 1266
Joined: Tue Jun 28, 05 10:53 am
Location: UK


Return to Editing issues

Who is online

Users browsing this forum: No registered users and 1 guest