Jump to content


Photo

New droppod ability


  • Please log in to reply
26 replies to this topic

#1 Noek1993

Noek1993
  • Members
  • 43 posts

Posted 14 October 2007 - 06:49 PM

I am making a TankDropPod but I dont get a droppod icon ingame
I used these files:
ObjectCreationLists.xml
SpecialPowerTemplates.xml
LogicCommand.xml
LogicCommandSet.xml
GDISpaceCommandUplink.xml
GDITankDropPod.xml

and I dont know what to put in the mod.str but I am still trying

#2 Phil

Phil

    Force Majeure

  • Network Leaders
  • 7,976 posts
  • Location:Switzerland
  • Projects:Revora, C&C:Online
  •  Thought Police
  • Division:Revora
  • Job:Network Leader
  • Donated
  • Association

Posted 14 October 2007 - 07:08 PM

You'll need to define a button in playerpowerbuttontemplates.xml or whatever it's called. It's the equivalent to unitabilitybuttontemplates.xml, but for player powers.

revorapresident.jpg
My Political Compass

Sieben Elefanten hatte Herr Dschin
Und da war dann noch der achte.
Sieben waren wild und der achte war zahm
Und der achte war's, der sie bewachte.


#3 Noek1993

Noek1993
  • Members
  • 43 posts

Posted 14 October 2007 - 07:13 PM

its using the normal droppod icons

#4 Phil

Phil

    Force Majeure

  • Network Leaders
  • 7,976 posts
  • Location:Switzerland
  • Projects:Revora, C&C:Online
  •  Thought Police
  • Division:Revora
  • Job:Network Leader
  • Donated
  • Association

Posted 14 October 2007 - 07:18 PM

Yeah, you need to define the button itself, not the icon for it. A new power needs a new button :)

revorapresident.jpg
My Political Compass

Sieben Elefanten hatte Herr Dschin
Und da war dann noch der achte.
Sieben waren wild und der achte war zahm
Und der achte war's, der sie bewachte.


#5 Noek1993

Noek1993
  • Members
  • 43 posts

Posted 14 October 2007 - 07:39 PM

<TargetedPowerButton
	RadiusCursor="TargetingDecalDropPods"
	id="SpecialPowerGDI_SpaceCommandDropPods">
	<State
		Image="Button_PlayerPowerDropPods"
		Title="NAME:PlayerPowerDropPods"
		TypeDescription="TYPE:PlayerPowerDropPods"
		Description="DESC:PlayerPowerDropPods" />
</TargetedPowerButton>

this and then for my ability???

and where do I have to place the text (what now is: SpecialPowerGDI_SpaceCommandDropPods)



Edit by DLotS: added code tags

Edited by Dark Lord of the Sith, 14 October 2007 - 08:20 PM.


#6 Phil

Phil

    Force Majeure

  • Network Leaders
  • 7,976 posts
  • Location:Switzerland
  • Projects:Revora, C&C:Online
  •  Thought Police
  • Division:Revora
  • Job:Network Leader
  • Donated
  • Association

Posted 14 October 2007 - 08:16 PM

Well, first you'd need to adjust the specialpower tag to your new power:
id="SpecialPowerGDI_SpaceCommandTankDropPods"
or whatever your power is called. Then edit the string file references. So for example:
Title="NAME:PlayerPowerTankDropPods"
Mod.str:
NAME:PlayerPowerTankDropPods
"Tank Drop Pods"
END

revorapresident.jpg
My Political Compass

Sieben Elefanten hatte Herr Dschin
Und da war dann noch der achte.
Sieben waren wild und der achte war zahm
Und der achte war's, der sie bewachte.


#7 Noek1993

Noek1993
  • Members
  • 43 posts

Posted 15 October 2007 - 08:34 AM

I got this,
what do I have to do now

#8 Phil

Phil

    Force Majeure

  • Network Leaders
  • 7,976 posts
  • Location:Switzerland
  • Projects:Revora, C&C:Online
  •  Thought Police
  • Division:Revora
  • Job:Network Leader
  • Donated
  • Association

Posted 15 October 2007 - 11:12 AM

What do you mean? Explain, we can't reply to such vague questions...

revorapresident.jpg
My Political Compass

Sieben Elefanten hatte Herr Dschin
Und da war dann noch der achte.
Sieben waren wild und der achte war zahm
Und der achte war's, der sie bewachte.


#9 Noek1993

Noek1993
  • Members
  • 43 posts

Posted 15 October 2007 - 01:51 PM

should I upload the files???

#10 Phil

Phil

    Force Majeure

  • Network Leaders
  • 7,976 posts
  • Location:Switzerland
  • Projects:Revora, C&C:Online
  •  Thought Police
  • Division:Revora
  • Job:Network Leader
  • Donated
  • Association

Posted 15 October 2007 - 01:55 PM

No, ask a specific question first. Where do you have problems? Where can we help? Things like that. We need something to 'work' with, "what do I have to do now?" isn't something we can answer...
Remember, we cannot read minds. If you want good answers, post good questions :)

revorapresident.jpg
My Political Compass

Sieben Elefanten hatte Herr Dschin
Und da war dann noch der achte.
Sieben waren wild und der achte war zahm
Und der achte war's, der sie bewachte.


#11 Noek1993

Noek1993
  • Members
  • 43 posts

Posted 15 October 2007 - 02:55 PM

ok, will will say it again.

I have tryed to make a TankDropPod, but it dont work.
I use these files:
GDISpaceCommandUplink.xml (I have add the abity here)
GDITankDropPod.xml (the tank drop pod)
ObjectCreationLists.xml (to let the droppod make a tank and not 3 zonetroopers)
PlayerPowerButtonTemplates.xml
SpecialPowerTemplates.xml
LogicCommand.xml (the command to drop the Tankdroppod)
LogicCommandSet.xml (I have add the abity here)

the problem is tat wehen I start the game it crashes

#12 Phil

Phil

    Force Majeure

  • Network Leaders
  • 7,976 posts
  • Location:Switzerland
  • Projects:Revora, C&C:Online
  •  Thought Police
  • Division:Revora
  • Job:Network Leader
  • Donated
  • Association

Posted 15 October 2007 - 03:03 PM

So basically, the game crashes on startup? Well, is the mod compiled without errors?

revorapresident.jpg
My Political Compass

Sieben Elefanten hatte Herr Dschin
Und da war dann noch der achte.
Sieben waren wild und der achte war zahm
Und der achte war's, der sie bewachte.


#13 Noek1993

Noek1993
  • Members
  • 43 posts

Posted 15 October 2007 - 03:15 PM

NOT ad start up, add game start, when it finished loading

only this error

Warning: Unknown asset 'LogicCommand:Command_SpaceCommandGDITankDropPods' refere
nced from 'LogicCommandSet:GDISpaceCommandUplinkCommandSet'
in 'file://c:\program files\electronic arts\command & conquer 3\mod sdk\mods
\k-mod\data\globaldata\logiccommandset.xml'

Edited by Noek1993, 15 October 2007 - 03:24 PM.


#14 Phil

Phil

    Force Majeure

  • Network Leaders
  • 7,976 posts
  • Location:Switzerland
  • Projects:Revora, C&C:Online
  •  Thought Police
  • Division:Revora
  • Job:Network Leader
  • Donated
  • Association

Posted 15 October 2007 - 03:19 PM

Hmm, as long as they are not critical errors, the game should actually work. Try fixing them nontheless, might still be the source...

revorapresident.jpg
My Political Compass

Sieben Elefanten hatte Herr Dschin
Und da war dann noch der achte.
Sieben waren wild und der achte war zahm
Und der achte war's, der sie bewachte.


#15 Noek1993

Noek1993
  • Members
  • 43 posts

Posted 15 October 2007 - 05:41 PM

now the game crashes on startup

#16 Phil

Phil

    Force Majeure

  • Network Leaders
  • 7,976 posts
  • Location:Switzerland
  • Projects:Revora, C&C:Online
  •  Thought Police
  • Division:Revora
  • Job:Network Leader
  • Donated
  • Association

Posted 15 October 2007 - 05:48 PM

Then you probably screwed something while fixing. Try it again or maybe attach the files.

revorapresident.jpg
My Political Compass

Sieben Elefanten hatte Herr Dschin
Und da war dann noch der achte.
Sieben waren wild und der achte war zahm
Und der achte war's, der sie bewachte.


#17 Noek1993

Noek1993
  • Members
  • 43 posts

Posted 15 October 2007 - 06:43 PM

I only chanced the logiccommandset.xml

files are atached
look in the GDI and GlobalData folders

Attached Files



#18 GodSun666

GodSun666

    Marching Trough The Eternal Fields Of Chaos!

  • Banned
  • 1,439 posts
  • Location:The Netherland @ Nod HQ!
  • Projects:Fast Fun And Crazy for Red Alert 3

Posted 15 October 2007 - 07:03 PM

Hmmm, it seems fine to me. I might have missed something since i only looked a few minutes! Anyways, i have another qeustion. I cannot find where it says what it drops IE : Zonetroopers,tanks whatever. I also couldn't locate it in the Zonetrooper file. Anyways, the code seems clean to me. But it might be me :p!

Quick edit : There shouldn't be a Mod_l.xml ! It isn't needed if you have MODSDK 2.0! i suggest you should download that!

bruce van duyn

Edited by godsun, 15 October 2007 - 07:05 PM.

для матери Россия! Советский Союз победит! Америка может облизывать мои яйца
Posted Image
Posted Image

#19 Noek1993

Noek1993
  • Members
  • 43 posts

Posted 15 October 2007 - 07:25 PM

do you mean this
<CreateObject
Options="IGNORE_ALL_OBJECTS"
Disposition="ON_GROUND_ALIGNED SPAWN_AROUND"
StartingBusyTime="2s"
JustBuiltFrames="2s">
<Offset
x="0.0"
y="0.0"
z="0.0"></Offset>
<CreateObject>GDIPredator</CreateObject>
</CreateObject>

this is the code that says it drops a pred

How do I upgrad it, and I use a program to make the bigfiles because the first time my sdk didnt work

Where else could I ask for help, this is the only place where people awnser me, on the oficialforum and on ppm they dont awnser

#20 Phil

Phil

    Force Majeure

  • Network Leaders
  • 7,976 posts
  • Location:Switzerland
  • Projects:Revora, C&C:Online
  •  Thought Police
  • Division:Revora
  • Job:Network Leader
  • Donated
  • Association

Posted 15 October 2007 - 08:24 PM

Well, I've taken a look at your codes and I realised that you didn't define the new power in the player spellbook (probably playerspellbook.xml). You will need to create a PlayerPowerManager (or whatever it is called) block there in order for the power to be available. I'm not sure if this will solve your crash problem though.

And just download version 2 from www.commandandconquer.com/community/mods/, I'm not sure, but I think you will have to choose "repair" for it to update the files. Otherwise just remove the whole Mod SDK and install the new one.
The SDK will then build your .big file and only aborts when it encounters critical errors. I can recommend CodeCat's buildmod.bat for improved error handling and comfort.

revorapresident.jpg
My Political Compass

Sieben Elefanten hatte Herr Dschin
Und da war dann noch der achte.
Sieben waren wild und der achte war zahm
Und der achte war's, der sie bewachte.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users